Changeset 5901


Ignore:
Timestamp:
Oct 8, 2015 1:24:29 PM (8 years ago)
Author:
gah
Message:

first pass on new build

Location:
branches/1.5
Files:
40 added
3 deleted
17 edited
2 copied
40 moved

Legend:

Unmodified
Added
Removed
  • branches/1.5/apps/about.in

    • Property svn:executable deleted
  • branches/1.5/apps/copy_rappture_examples.in

    • Property svn:executable deleted
  • branches/1.5/apps/encodedata.in

    • Property svn:executable deleted
  • branches/1.5/apps/rappture.env.in

    • Property svn:executable deleted
  • branches/1.5/apps/rappture.in

    • Property svn:executable deleted
  • branches/1.5/apps/rerun.in

    • Property svn:executable deleted
  • branches/1.5/apps/simsim.in

    • Property svn:executable deleted
  • branches/1.5/apps/xmldiff.in

    • Property svn:executable deleted
  • branches/1.5/libs/Makefile.in

    r1944 r5901  
    3232RM              = rm -f
    3333
    34 .PHONY: core core2 objects
     34SUBDIRS         = rappture rappture2 objects
    3535
    36 all:    core core2 objects
     36.PHONY: $(SUBDIRS)
    3737
    38 RAPPTURE_LIB = core/librappture.a
     38all:
     39        for i in $(SUBDIRS) ; do \
     40          $(MAKE) -C $$i all || exit 1 ;\
     41        done
    3942
    40 core:
    41         $(MAKE) -C core all
    42 
    43 core2: core
    44         $(MAKE) -C core2 all
    45 
    46 objects: core
    47         $(MAKE) -C objects all
    48 
    49 install: core
    50         $(MAKE) -C core install
    51         $(MAKE) -C core2 install
    52         $(MAKE) -C objects install
     43install:  all
     44        for i in $(SUBDIRS) ; do \
     45          $(MAKE) -C $$i install || exit 1 ;\
     46        done
    5347
    5448docs:
     
    5751
    5852clean:
    59         $(MAKE) -C core clean
    60         $(MAKE) -C core2 clean
    61         $(MAKE) -C objects clean
     53        for i in $(SUBDIRS) ; do \
     54          $(MAKE) -C $$i clean || exit 1 ;\
     55        done
    6256
    6357distclean: clean
    64         $(MAKE) -C core distclean
    65         $(MAKE) -C core2 distclean
    66         $(MAKE) -C objects distclean
     58        for i in $(SUBDIRS) ; do \
     59          $(MAKE) -C $$i distclean || exit 1 ;\
     60        done
    6761        $(RM) Makefile
  • branches/1.5/libs/objects/Makefile.in

    r3471 r5901  
    2222SHLIB_LD        = @SHLIB_LD@
    2323SHLIB_CFLAGS    = @SHLIB_CFLAGS@
    24 SHLIB_LDFLAGS   = @SHLIB_LDFLAGS@
     24SHLIB_LDFLAGS   = @CC_SEARCH_FLAGS@
    2525SHLIB_SUFFIX    = @SHLIB_SUFFIX@
    2626CFLAGS_DEFAULT  = @CFLAGS_DEFAULT@
    2727LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@
     28LIB_RUNTIME_DIR  = $(libdir)
    2829CFLAGS          = @CFLAGS@ -fPIC
    2930FFMPEG          = @HAVE_FFMPEG_LIBS@
     
    3334INCLUDES    = \
    3435                -I. \
    35                 -I../core \
     36                -I../rappture \
    3637                -I$(srcdir) \
    37                 -I$(srcdir)/../core \
     38                -I$(srcdir)/../rappture \
    3839                -I$(includedir)
    39 LIBS        = -L../core -lrappture
     40LIBS        = -L../rappture -lrappture
    4041
    4142
  • branches/1.5/libs/rappture/Makefile.in

    r5850 r5901  
    1313INSTALL         = @INSTALL@
    1414MKDIR_P         = @MKDIR_P@
    15 SVN_VERSION     := $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
     15SVN_VERSION     := $(shell svnversion $(srcdir))
    1616RAPPTURE_VERSION = @PACKAGE_VERSION@
    1717CXX             = @CXX@
     
    2525STLIB_LD        = @STLIB_LD@
    2626SHLIB_LD        = @SHLIB_LD@
    27 SHLIB_CFLAGS    = @SHLIB_CFLAGS@
    28 SHLIB_LDFLAGS   = @SHLIB_LDFLAGS@
     27SHLIB_CFLAGS    = @SHLIB_CFLAGS@ 
     28SHLIB_LDFLAGS   = @CC_SEARCH_FLAGS@
    2929SHLIB_SUFFIX    = @SHLIB_SUFFIX@
     30LIB_RUNTIME_DIR  = $(libdir)
    3031CFLAGS_DEFAULT  = @CFLAGS_DEFAULT@
    3132LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@
    3233CFLAGS          = @CFLAGS@ -fPIC
    33 DX_LIB_SPEC     = @DX_LIB_SPEC@
    34 DX_INC_SPEC     = @DX_INC_SPEC@
    3534DEFINES         = -DSVN_VERSION=\"$(SVN_VERSION)\" \
    3635                  -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\"
    3736
    38 CC_SWITCHES     = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
    39 CXX_SWITCHES    = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
     37CC_SWITCHES     = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 
     38CXX_SWITCHES    = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 
    4039
    4140INCLUDES        = \
     
    104103                xerror.h
    105104
    106 # Build the scew and b64 libraries directly into Rappture for now.
     105# Build the scew and b64 libraries directly into Rappture for now. 
    107106# Note: This works because of viewpath-ing. See the VPATH variable.
    108107B64_OBJS        = \
     
    153152                RpDXWriter.h \
    154153                RpDXWriterFInterface.h \
    155                 RpDXWriterFStubs.h
     154                RpDXWriterFStubs.h 
    156155OBJS +=         \
    157156                RpDXWriter.o \
    158                 RpDXWriterFInterface.o
     157                RpDXWriterFInterface.o 
    159158endif
    160159
     
    178177
    179178install_libs: $(lib)  $(shared_lib)
     179        $(MKDIR_P) -m 755 $(libdir)
    180180        $(INSTALL) -m 444 $(lib) $(libdir)
    181181        $(INSTALL) -m 555 $(shared_lib) $(libdir)
     
    192192.cc.o:
    193193        $(CXX) $(CXX_SWITCHES) -c $?
    194 .c.o:
     194.c.o: 
    195195        $(CCC) $(CC_SWITCHES) -c $?
    196196
  • branches/1.5/libs/rappture/config.h.in

    r4225 r5901  
    1 /* src/core/config.h.in.  Generated from configure.in by autoheader.  */
     1/* libs/rappture/config.h.in.  Generated from configure.in by autoheader.  */
    22
    33/* Define if building universal (internal helper macro) */
    44#undef AC_APPLE_UNIVERSAL_BUILD
    5 
    6 /* Build rappture with ffmpeg widgets */
    7 #undef BUILD_with_ffmpeg
    85
    96/* Define to 1 if you have the <algorithm> header file. */
     
    129/* Define to 1 if you have the <assert.h> header file. */
    1310#undef HAVE_ASSERT_H
    14 
    15 /* Define to 1 if you have the `avcodec_decode_video' function. */
    16 #undef HAVE_AVCODEC_DECODE_VIDEO
    17 
    18 /* Define to 1 if you have the `avcodec_decode_video2' function. */
    19 #undef HAVE_AVCODEC_DECODE_VIDEO2
    20 
    21 /* Define to 1 if you have the `avcodec_open' function. */
    22 #undef HAVE_AVCODEC_OPEN
    23 
    24 /* Define to 1 if you have the `avcodec_open2' function. */
    25 #undef HAVE_AVCODEC_OPEN2
    26 
    27 /* Define to 1 if you have the `avformat_close_input' function. */
    28 #undef HAVE_AVFORMAT_CLOSE_INPUT
    29 
    30 /* Define to 1 if you have the `avformat_find_stream_info' function. */
    31 #undef HAVE_AVFORMAT_FIND_STREAM_INFO
    32 
    33 /* Define to 1 if you have the `avformat_open_input' function. */
    34 #undef HAVE_AVFORMAT_OPEN_INPUT
    35 
    36 /* Define to 1 if you have the `avio_close' function. */
    37 #undef HAVE_AVIO_CLOSE
    38 
    39 /* Define if AVMEDIA_TYPE_VIDEO enum exists. */
    40 #undef HAVE_AVMEDIA_TYPE_VIDEO
    41 
    42 /* Define to 1 if you have the `av_close_input_file' function. */
    43 #undef HAVE_AV_CLOSE_INPUT_FILE
    44 
    45 /* Define to 1 if you have the `av_find_stream_info' function. */
    46 #undef HAVE_AV_FIND_STREAM_INFO
    47 
    48 /* Define to 1 if you have the `av_open_input_file' function. */
    49 #undef HAVE_AV_OPEN_INPUT_FILE
    5011
    5112/* Define to 1 if you have the <cctype> header file. */
     
    7031#undef HAVE_CTYPE_H
    7132
    72 /* Define to 1 if you have the <env.h> header file. */
    73 #undef HAVE_ENV_H
    74 
    7533/* Define to 1 if you have the <errno.h> header file. */
    7634#undef HAVE_ERRNO_H
    77 
    78 /* Render servers can use ffmpeg */
    79 #undef HAVE_FFMPEG
    80 
    81 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
    82 #undef HAVE_FFMPEG_AVCODEC_H
    83 
    84 /* Define to 1 if you have the <ffmpeg/avformat.h> header file. */
    85 #undef HAVE_FFMPEG_AVFORMAT_H
    86 
    87 /* Define to 1 if you have the <ffmpeg/avutil.h> header file. */
    88 #undef HAVE_FFMPEG_AVUTIL_H
    89 
    90 /* Define to 1 if you have the <ffmpeg/swscale.h> header file. */
    91 #undef HAVE_FFMPEG_SWSCALE_H
    9235
    9336/* Define to 1 if you have the <float.h> header file. */
     
    10043#undef HAVE_GETTIMEOFDAY
    10144
    102 /* Define to 1 if you have the `img_convert' function. */
    103 #undef HAVE_IMG_CONVERT
    104 
    10545/* Define to 1 if you have the <inttypes.h> header file. */
    10646#undef HAVE_INTTYPES_H
     
    11252#undef HAVE_ITERATOR
    11353
    114 /* Define to 1 if you have the `avcodec' library (-lavcodec). */
    115 #undef HAVE_LIBAVCODEC
    116 
    117 /* Define to 1 if you have the <libavcodec/avcodec.h> header file. */
    118 #undef HAVE_LIBAVCODEC_AVCODEC_H
    119 
    120 /* Define to 1 if you have the `avformat' library (-lavformat). */
    121 #undef HAVE_LIBAVFORMAT
    122 
    123 /* Define to 1 if you have the <libavformat/avformat.h> header file. */
    124 #undef HAVE_LIBAVFORMAT_AVFORMAT_H
    125 
    126 /* Define to 1 if you have the `avutil' library (-lavutil). */
    127 #undef HAVE_LIBAVUTIL
    128 
    129 /* Define to 1 if you have the <libavutil/avutil.h> header file. */
    130 #undef HAVE_LIBAVUTIL_AVUTIL_H
    131 
    132 /* Define to 1 if you have the <libavutil/mathematics.h> header file. */
    133 #undef HAVE_LIBAVUTIL_MATHEMATICS_H
    134 
    13554/* Define to 1 if you have the `ncurses' library (-lncurses). */
    13655#undef HAVE_LIBNCURSES
     
    13857/* Define to 1 if you have the `stdc++' library (-lstdc++). */
    13958#undef HAVE_LIBSTDC__
    140 
    141 /* Define to 1 if you have the `swscale' library (-lswscale). */
    142 #undef HAVE_LIBSWSCALE
    143 
    144 /* Define to 1 if you have the <libswscale/swscale.h> header file. */
    145 #undef HAVE_LIBSWSCALE_SWSCALE_H
    14659
    14760/* Define to 1 if you have the <limits.h> header file. */
     
    16275/* Define to 1 if you have the <ncurses.h> header file. */
    16376#undef HAVE_NCURSES_H
    164 
    165 /* Define to 1 if you have the <node.h> header file. */
    166 #undef HAVE_NODE_H
    167 
    168 /* Define to 1 if you have the <Python.h> header file. */
    169 #undef HAVE_PYTHON_H
    170 
    171 /* Define to 1 if you have the <ruby.h> header file. */
    172 #undef HAVE_RUBY_H
    173 
    174 /* Define to 1 if you have the <ruby/node.h> header file. */
    175 #undef HAVE_RUBY_NODE_H
    17677
    17778/* Define to 1 if you have the <sstream> header file. */
     
    199100#undef HAVE_STRING_H
    200101
    201 /* Define to 1 if you have the `sws_getCachedContext' function. */
    202 #undef HAVE_SWS_GETCACHEDCONTEXT
    203 
    204 /* Define to 1 if you have the `sws_scale' function. */
    205 #undef HAVE_SWS_SCALE
    206 
    207102/* Define to 1 if you have the `sysinfo' function. */
    208103#undef HAVE_SYSINFO
     
    220115#undef HAVE_UNISTD_H
    221116
    222 /* Define to 1 if you have the `url_close' function. */
    223 #undef HAVE_URL_CLOSE
    224 
    225117/* Define to 1 if you have the <vector> header file. */
    226118#undef HAVE_VECTOR
    227 
    228 /* Define to 1 if you have the <version.h> header file. */
    229 #undef HAVE_VERSION_H
    230119
    231120/* Define to the address where bug reports for this package should be sent. */
     
    241130#undef PACKAGE_TARNAME
    242131
     132/* Define to the home page for this package. */
     133#undef PACKAGE_URL
     134
    243135/* Define to the version of this package. */
    244136#undef PACKAGE_VERSION
    245 
    246 /* Define this macro to use ruby/node.h */
    247 #undef REALLY_HAVE_RUBY_NODE_H
    248137
    249138/* The size of `int', as computed by sizeof. */
  • branches/1.5/libs/rappture2/Makefile.in

    r1944 r5901  
    3333SHLIB_LD        = @SHLIB_LD@
    3434SHLIB_CFLAGS    = @SHLIB_CFLAGS@
    35 SHLIB_LDFLAGS   = @SHLIB_LDFLAGS@
     35SHLIB_LDFLAGS   = @CC_SEARCH_FLAGS@
    3636SHLIB_SUFFIX    = @SHLIB_SUFFIX@
    3737CFLAGS_DEFAULT  = @CFLAGS_DEFAULT@
    38 LIB_SEARCH_DIRS = -L../core @LIB_SEARCH_DIRS@
     38LIB_SEARCH_DIRS = -L../rappture @LIB_SEARCH_DIRS@
     39LIB_RUNTIME_DIR  = $(libdir)
    3940CFLAGS          = @CFLAGS@ -fPIC
    4041CPP             = @CPP@
     
    5859INCLUDES        = \
    5960                -I$(srcdir) \
    60                 -I$(srcdir)/../core \
     61                -I$(srcdir)/../rappture \
    6162                -I$(includedir)
    6263
  • branches/1.5/pkgs/builder/Makefile.in

    r3471 r5901  
    1717top_builddir    = .
    1818
     19INSTALL         = @INSTALL@
    1920MKDIR_P         = @MKDIR_P@
    20 TCL_VERSION     = @TCL_VERSION@
    21 TCLSH           = $(bindir)/tclsh$(TCL_VERSION)
    22 INSTALL         = @INSTALL@
     21RAPPTURE_VERSION= @RAPPTURE_VERSION@
     22TCLSH           = $(bindir)/tclsh
    2323
    24 PACKAGE_VERSION = @PACKAGE_VERSION@
    25 
    26 version         = $(PACKAGE_VERSION)
     24version         = $(RAPPTURE_VERSION)
    2725name            = RapptureBuilder$(version)
    2826
  • branches/1.5/pkgs/builder/scripts/Makefile.in

    r3471 r5901  
    1010includedir      = @includedir@
    1111
    12 SHELL           = @SHELL@
    1312INSTALL         = @INSTALL@
    1413MKDIR_P         = @MKDIR_P@
    15 TCLSH           = @TCLSH@
     14RAPPTURE_VERSION = @RAPPTURE_VERSION@
     15SHELL           = @SHELL@
     16TCLSH           = $(bindir)/tclsh
    1617VPATH           = $(srcdir)
    17 PACKAGE_VERSION = @PACKAGE_VERSION@
    1818
    1919FILES           = \
     
    4040                $(srcdir)/templates/tcl.tl
    4141
    42 version         = $(PACKAGE_VERSION)
     42version         = $(RAPPTURE_VERSION)
    4343name            = RapptureBuilder$(version)
    4444
     
    5050
    5151tclIndex: $(FILES)
    52         $(TCLSH) $(srcdir)/../../gui/cf/mkindex.tcl --srcdir $(srcdir) \
     52        $(TCLSH) $(srcdir)/../../../cf/mkindex.tcl --srcdir $(srcdir) \
    5353                --outfile tclIndex
    5454
  • branches/1.5/pkgs/optimizer/src/Makefile.in

    r1052 r5901  
    8181DESTDIR         =
    8282
    83 PKG_DIR         = $(PACKAGE_NAME)$(PACKAGE_VERSION)
     83PKG_DIR         = $(name)$(RAPPTURE_VERSION)
    8484pkgdatadir      = $(datadir)/$(PKG_DIR)
    8585pkglibdir       = $(libdir)/$(PKG_DIR)
     
    8787
    8888top_builddir    = .
     89name            = RapptureOptimizer
    8990
    9091CC              = @CC@
     
    104105MAKE_STUB_LIB   = @MAKE_STUB_LIB@
    105106OBJEXT          = @OBJEXT@
    106 PACKAGE_NAME    = @PACKAGE_NAME@
    107 PACKAGE_VERSION = @PACKAGE_VERSION@
     107RAPPTURE_VERSION= @RAPPTURE_VERSION@
    108108RANLIB          = @RANLIB@
    109109RANLIB_STUB     = @RANLIB_STUB@
  • branches/1.5/pkgs/optimizer/src/configure

    </
    r1052 r5901  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.62 for RapptureOptimizer 1.0.
     3# Generated by GNU Autoconf 2.69 for RapptureOptimizer 1.0.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7#
     8#
    79# This configure script is free software; the Free Software Foundation
    810# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     11## -------------------- ##
     12## M4sh Initialization. ##
     13## -------------------- ##
    1214
    1315# Be more Bourne compatible
    1416DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1618  emulate sh
    1719  NULLCMD=:
     
    2123  setopt NO_GLOB_SUBST
    2224else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     25  case `(set -o) 2>/dev/null` in #(
     26  *posix*) :
     27    set -o posix ;; #(
     28  *) :
     29     ;;
    2530esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     31fi
     32
    3933
    4034as_nl='
     
    4539as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     41# Prefer a ksh shell builtin over an external printf program on Solaris,
     42# but without wasting forks for bash or zsh.
     43if test -z "$BASH_VERSION$ZSH_VERSION" \
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45  as_echo='print -r --'
     46  as_echo_n='print -rn --'
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    4848  as_echo='printf %s\n'
    4949  as_echo_n='printf %s'
     
    5656    as_echo_n_body='eval
    5757      arg=$1;
    58       case $arg in
     58      case $arg in #(
    5959      *"$as_nl"*)
    6060        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    7979fi
    8080
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    8881
    8982# IFS
     
    9588
    9689# Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
     90as_myself=
     91case $0 in #((
    9892  *[\\/]* ) as_myself=$0 ;;
    9993  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10296  IFS=$as_save_IFS
    10397  test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
     98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99  done
    106100IFS=$as_save_IFS
    107101
     
    115109if test ! -f "$as_myself"; then
    116110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     111  exit 1
     112fi
     113
     114# Unset variables that we do not need and which cause bugs (e.g. in
     115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     116# suppresses any "Segmentation fault" message there.  '((' could
     117# trigger a bug in pdksh 5.2.14.
     118for as_var in BASH_ENV ENV MAIL MAILPATH
     119do eval test x\${$as_var+set} = xset \
     120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123121done
    124122PS1='$ '
     
    132130export LANGUAGE
    133131
    134 # Required to use basename.
     132# CDPATH.
     133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
     160if test "x$CONFIG_SHELL" = x; then
     161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     162  emulate sh
     163  NULLCMD=:
     164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     165  # is contrary to our usage.  Disable this feature.
     166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     167  setopt NO_GLOB_SUBST
     168else
     169  case \`(set -o) 2>/dev/null\` in #(
     170  *posix*) :
     171    set -o posix ;; #(
     172  *) :
     173     ;;
     174esac
     175fi
     176"
     177  as_required="as_fn_return () { (exit \$1); }
     178as_fn_success () { as_fn_return 0; }
     179as_fn_failure () { as_fn_return 1; }
     180as_fn_ret_success () { return 0; }
     181as_fn_ret_failure () { return 1; }
     182
     183exitcode=0
     184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     189
     190else
     191  exitcode=1; echo positional parameters were not saved.
     192fi
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
     195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     199test \$(( 1 + 1 )) = 2 || exit 1"
     200  if (eval "$as_required") 2>/dev/null; then :
     201  as_have_required=yes
     202else
     203  as_have_required=no
     204fi
     205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     206
     207else
     208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     209as_found=false
     210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     211do
     212  IFS=$as_save_IFS
     213  test -z "$as_dir" && as_dir=.
     214  as_found=:
     215  case $as_dir in #(
     216         /*)
     217           for as_base in sh bash ksh sh5; do
     218             # Try only shells that exist, to save several forks.
     219             as_shell=$as_dir/$as_base
     220             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     221                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     222  CONFIG_SHELL=$as_shell as_have_required=yes
     223                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  break 2
     225fi
     226fi
     227           done;;
     228       esac
     229  as_found=false
     230done
     231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     232              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     233  CONFIG_SHELL=$SHELL as_have_required=yes
     234fi; }
     235IFS=$as_save_IFS
     236
     237
     238      if test "x$CONFIG_SHELL" != x; then :
     239  export CONFIG_SHELL
     240             # We cannot yet assume a decent shell, so we have to provide a
     241# neutralization value for shells without unset; and this also
     242# works around shells that cannot unset nonexistent variables.
     243# Preserve -v and -x to the replacement shell.
     244BASH_ENV=/dev/null
     245ENV=/dev/null
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     247case $- in # ((((
     248  *v*x* | *x*v* ) as_opts=-vx ;;
     249  *v* ) as_opts=-v ;;
     250  *x* ) as_opts=-x ;;
     251  * ) as_opts= ;;
     252esac
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     254# Admittedly, this is quite paranoid, since all the known shells bail
     255# out after a failed `exec'.
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     257exit 255
     258fi
     259
     260    if test x$as_have_required = xno; then :
     261  $as_echo "$0: This script requires a shell more modern than all"
     262  $as_echo "$0: the shells that I found on your system."
     263  if test x${ZSH_VERSION+set} = xset ; then
     264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     266  else
     267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
     268$0: including any error possibly output before this
     269$0: message. Then install a modern shell, or manually run
     270$0: the script under such a shell if you do have one."
     271  fi
     272  exit 1
     273fi
     274fi
     275fi
     276SHELL=${CONFIG_SHELL-/bin/sh}
     277export SHELL
     278# Unset more variables known to interfere with behavior of common tools.
     279CLICOLOR_FORCE= GREP_OPTIONS=
     280unset CLICOLOR_FORCE GREP_OPTIONS
     281
     282## --------------------- ##
     283## M4sh Shell Functions. ##
     284## --------------------- ##
     285# as_fn_unset VAR
     286# ---------------
     287# Portably unset VAR.
     288as_fn_unset ()
     289{
     290  { eval $1=; unset $1;}
     291}
     292as_unset=as_fn_unset
     293
     294# as_fn_set_status STATUS
     295# -----------------------
     296# Set $? to STATUS, without forking.
     297as_fn_set_status ()
     298{
     299  return $1
     300} # as_fn_set_status
     301
     302# as_fn_exit STATUS
     303# -----------------
     304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     305as_fn_exit ()
     306{
     307  set +e
     308  as_fn_set_status $1
     309  exit $1
     310} # as_fn_exit
     311
     312# as_fn_mkdir_p
     313# -------------
     314# Create "$as_dir" as a directory, including parents if necessary.
     315as_fn_mkdir_p ()
     316{
     317
     318  case $as_dir in #(
     319  -*) as_dir=./$as_dir;;
     320  esac
     321  test -d "$as_dir" || eval $as_mkdir_p || {
     322    as_dirs=
     323    while :; do
     324      case $as_dir in #(
     325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     326      *) as_qdir=$as_dir;;
     327      esac
     328      as_dirs="'$as_qdir' $as_dirs"
     329      as_dir=`$as_dirname -- "$as_dir" ||
     330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     331         X"$as_dir" : 'X\(//\)[^/]' \| \
     332         X"$as_dir" : 'X\(//\)$' \| \
     333         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     334$as_echo X"$as_dir" |
     335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     336            s//\1/
     337            q
     338          }
     339          /^X\(\/\/\)[^/].*/{
     340            s//\1/
     341            q
     342          }
     343          /^X\(\/\/\)$/{
     344            s//\1/
     345            q
     346          }
     347          /^X\(\/\).*/{
     348            s//\1/
     349            q
     350          }
     351          s/.*/./; q'`
     352      test -d "$as_dir" && break
     353    done
     354    test -z "$as_dirs" || eval "mkdir $as_dirs"
     355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     356
     357
     358} # as_fn_mkdir_p
     359
     360# as_fn_executable_p FILE
     361# -----------------------
     362# Test if FILE is an executable regular file.
     363as_fn_executable_p ()
     364{
     365  test -f "$1" && test -x "$1"
     366} # as_fn_executable_p
     367# as_fn_append VAR VALUE
     368# ----------------------
     369# Append the text in VALUE to the end of the definition contained in VAR. Take
     370# advantage of any shell optimizations that allow amortized linear growth over
     371# repeated appends, instead of the typical quadratic growth present in naive
     372# implementations.
     373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     374  eval 'as_fn_append ()
     375  {
     376    eval $1+=\$2
     377  }'
     378else
     379  as_fn_append ()
     380  {
     381    eval $1=\$$1\$2
     382  }
     383fi # as_fn_append
     384
     385# as_fn_arith ARG...
     386# ------------------
     387# Perform arithmetic evaluation on the ARGs, and store the result in the
     388# global $as_val. Take advantage of shells that can avoid forks. The arguments
     389# must be portable across $(()) and expr.
     390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     391  eval 'as_fn_arith ()
     392  {
     393    as_val=$(( $* ))
     394  }'
     395else
     396  as_fn_arith ()
     397  {
     398    as_val=`expr "$@" || test $? -eq 1`
     399  }
     400fi # as_fn_arith
     401
     402
     403# as_fn_error STATUS ERROR [LINENO LOG_FD]
     404# ----------------------------------------
     405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     407# script with STATUS, using 1 if that was 0.
     408as_fn_error ()
     409{
     410  as_status=$1; test $as_status -eq 0 && as_status=1
     411  if test "$4"; then
     412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     414  fi
     415  $as_echo "$as_me: error: $2" >&2
     416  as_fn_exit $as_status
     417} # as_fn_error
     418
    135419if expr a : '\(a\)' >/dev/null 2>&1 &&
    136420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    146430fi
    147431
    148 
    149 # Name of the executable.
     432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     433  as_dirname=dirname
     434else
     435  as_dirname=false
     436fi
     437
    150438as_me=`$as_basename -- "$0" ||
    151439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    167455          s/.*/./; q'`
    168456
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&     (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$exitcode = 0) || { (exit 1); exit 1; }
    230 
    231 (
    232   as_lineno_1=\$LINENO
    233   as_lineno_2=\$LINENO
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    236 ") 2> /dev/null; then
    237   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246          /*)
    247            for as_base in sh bash ksh sh5; do
    248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    249            done;;
    250        esac
    251 done
    252 IFS=$as_save_IFS
    253 
    254 
    255       for as_shell in $as_candidate_shells $SHELL; do
    256          # Try only shells that exist, to save several forks.
    257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    272 
    273 
    274 :
    275 _ASEOF
    276 }; then
    277   CONFIG_SHELL=$as_shell
    278                as_have_required=yes
    279                if { "$as_shell" 2> /dev/null <<\_ASEOF
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    281   emulate sh
    282   NULLCMD=:
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    284   # is contrary to our usage.  Disable this feature.
    285   alias -g '${1+"$@"}'='"$@"'
    286   setopt NO_GLOB_SUBST
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    358 
    359       done
    360 
    361       if test "x$CONFIG_SHELL" != x; then
    362   for as_var in BASH_ENV ENV
    363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    364         done
    365         export CONFIG_SHELL
    366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    367 fi
    368 
    369 
    370     if test $as_have_required = no; then
    371   echo This script requires a shell more modern than all the
    372       echo shells that I found on your system.  Please install a
    373       echo modern shell, or manually run the script under such a
    374       echo shell if you do have one.
    375       { (exit 1); exit 1; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$exitcode = 0") || {
    434   echo No shell found that supports shell functions.
    435   echo Please tell bug-autoconf@gnu.org about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    450   # line-number line after each line using $LINENO; the second 'sed'
    451   # does the real work.  The second script uses 'N' to pair each
    452   # line-number line with the line containing $LINENO, and appends
    453   # trailing '-' during substitution so that $LINENO is not a special
    454   # case at line end.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # E. McMahon (1931-1989) for sed's syntax.  :-)
     457# Avoid depending upon Character Ranges.
     458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     461as_cr_digits='0123456789'
     462as_cr_alnum=$as_cr_Letters$as_cr_digits
     463
     464
     465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    458470  sed -n '
    459471    p
     
    472484    ' >$as_me.lineno &&
    473485  chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
    476 
     486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     487
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     489  # already done that, so ensure we don't try to do so again and fall
     490  # in an infinite loop.  This has already happened in practice.
     491  _as_can_reexec=no; export _as_can_reexec
    477492  # Don't try to exec as it changes $[0], causing all sort of problems
    478493  # (the dirname of $[0] is not the place where we might find the
     
    483498}
    484499
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492500ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
     501case `echo -n x` in #(((((
    494502-n*)
    495   case `echo 'x\c'` in
     503  case `echo 'xy\c'` in
    496504  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
     505  xy)  ECHO_C='\c';;
     506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     507       ECHO_T=' ';;
    498508  esac;;
    499509*)
    500510  ECHO_N='-n';;
    501511esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508512
    509513rm -f conf$$ conf$$.exe conf$$.file
     
    520524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    521525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    522     # In both cases, we have to default to `cp -p'.
     526    # In both cases, we have to default to `cp -pR'.
    523527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    524       as_ln_s='cp -p'
     528      as_ln_s='cp -pR'
    525529  elif ln conf$$.file conf$$ 2>/dev/null; then
    526530    as_ln_s=ln
    527531  else
    528     as_ln_s='cp -p'
     532    as_ln_s='cp -pR'
    529533  fi
    530534else
    531   as_ln_s='cp -p'
     535  as_ln_s='cp -pR'
    532536fi
    533537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    535539
    536540if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
     541  as_mkdir_p='mkdir -p "$as_dir"'
    538542else
    539543  test -d ./-p && rmdir ./-p
     
    541545fi
    542546
    543 if test -x / >/dev/null 2>&1; then
    544   as_test_x='test -x'
    545 else
    546   if ls -dL / >/dev/null 2>&1; then
    547     as_ls_L_option=L
    548   else
    549     as_ls_L_option=
    550   fi
    551   as_test_x='
    552     eval sh -c '\''
    553       if test -d "$1"; then
    554         test -d "$1/.";
    555       else
    556         case $1 in
    557         -*)set "./$1";;
    558         esac;
    559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    560         ???[sx]*):;;*)false;;esac;fi
    561     '\'' sh
    562   '
    563 fi
    564 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    565549
    566550# Sed expression to map a string onto a valid CPP name.
     
    571555
    572556
    573 
    574 exec 7<&0 </dev/null 6>&1
     557test -n "$DJDIR" || exec 7<&0 </dev/null
     558exec 6>&1
    575559
    576560# Name of the host.
    577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    578562# so uname gets run too.
    579563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    590574MFLAGS=
    591575MAKEFLAGS=
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593576
    594577# Identity of this package.
    595578PACKAGE_NAME='RapptureOptimizer'
    596579PACKAGE_TARNAME='rapptureoptimizer'
    597 PACKAGE_VERSION='1.1'
     580PACKAGE_VERSION='1.0'
    598581PACKAGE_STRING='RapptureOptimizer 1.0'
    599582PACKAGE_BUGREPORT=''
     583PACKAGE_URL=''
    600584
    601585# Factoring default headers for most tests.
     
    636620
    637621enable_option_checking=no
    638 ac_subst_vars='SHELL
     622ac_subst_vars='LTLIBOBJS
     623subdirs
     624RAPPTURE_VERSION
     625NODOT_VERSION
     626EXACT_VERSION
     627PATCHLEVEL
     628TCLSH_PROG
     629RANLIB_STUB
     630MAKE_STUB_LIB
     631MAKE_STATIC_LIB
     632MAKE_SHARED_LIB
     633MAKE_LIB
     634LDFLAGS_DEFAULT
     635CFLAGS_DEFAULT
     636TCL_DBGX
     637LD_LIBRARY_PATH_VAR
     638SHLIB_CFLAGS
     639SHLIB_LD_LIBS
     640SHLIB_LD
     641STLIB_LD
     642CFLAGS_WARNING
     643CFLAGS_OPTIMIZE
     644CFLAGS_DEBUG
     645DL_LIBS
     646LIBOBJS
     647CELIB_DIR
     648AR
     649SHARED_BUILD
     650TCL_THREADS
     651TCL_INCLUDES
     652CLEANFILES
     653PKG_OBJECTS
     654PKG_SOURCES
     655ac_ct_F77
     656FFLAGS
     657F77
     658MATH_LIBS
     659EGREP
     660GREP
     661RANLIB
     662SET_MAKE
     663INSTALL_DATA
     664INSTALL_SCRIPT
     665INSTALL_PROGRAM
     666CPP
     667ac_ct_CXX
     668CXXFLAGS
     669CXX
     670OBJEXT
     671ac_ct_CC
     672CPPFLAGS
     673LDFLAGS
     674CFLAGS
     675CC
     676TCL_SHLIB_LD_LIBS
     677TCL_LD_FLAGS
     678TCL_EXTRA_CFLAGS
     679TCL_DEFS
     680TCL_LIBS
     681TCL_STUB_LIB_SPEC
     682TCL_STUB_LIB_FLAG
     683TCL_STUB_LIB_FILE
     684TCL_LIB_SPEC
     685TCL_LIB_FLAG
     686TCL_LIB_FILE
     687TCL_SRC_DIR
     688TCL_BIN_DIR
     689TCL_VERSION
     690PKG_CFLAGS
     691PKG_LIBS
     692PKG_INCLUDES
     693PKG_HEADERS
     694PKG_TCL_SOURCES
     695PKG_STUB_OBJECTS
     696PKG_STUB_SOURCES
     697PKG_STUB_LIB_FILE
     698PKG_LIB_FILE
     699EXEEXT
     700CYGPATH
     701target_alias
     702host_alias
     703build_alias
     704LIBS
     705ECHO_T
     706ECHO_N
     707ECHO_C
     708DEFS
     709mandir
     710localedir
     711libdir
     712psdir
     713pdfdir
     714dvidir
     715htmldir
     716infodir
     717docdir
     718oldincludedir
     719includedir
     720localstatedir
     721sharedstatedir
     722sysconfdir
     723datadir
     724datarootdir
     725libexecdir
     726sbindir
     727bindir
     728program_transform_name
     729prefix
     730exec_prefix
     731PACKAGE_URL
     732PACKAGE_BUGREPORT
     733PACKAGE_STRING
     734PACKAGE_VERSION
     735PACKAGE_TARNAME
     736PACKAGE_NAME
    639737PATH_SEPARATOR
    640 PACKAGE_NAME
    641 PACKAGE_TARNAME
    642 PACKAGE_VERSION
    643 PACKAGE_STRING
    644 PACKAGE_BUGREPORT
    645 exec_prefix
    646 prefix
    647 program_transform_name
    648 bindir
    649 sbindir
    650 libexecdir
    651 datarootdir
    652 datadir
    653 sysconfdir
    654 sharedstatedir
    655 localstatedir
    656 includedir
    657 oldincludedir
    658 docdir
    659 infodir
    660 htmldir
    661 dvidir
    662 pdfdir
    663 psdir
    664 libdir
    665 localedir
    666 mandir
    667 DEFS
    668 ECHO_C
    669 ECHO_N
    670 ECHO_T
    671 LIBS
    672 build_alias
    673 host_alias
    674 target_alias
    675 CYGPATH
    676 EXEEXT
    677 PKG_LIB_FILE
    678 PKG_STUB_LIB_FILE
    679 PKG_STUB_SOURCES
    680 PKG_STUB_OBJECTS
    681 PKG_TCL_SOURCES
    682 PKG_HEADERS
    683 PKG_INCLUDES
    684 PKG_LIBS
    685 PKG_CFLAGS
    686 TCL_VERSION
    687 TCL_BIN_DIR
    688 TCL_SRC_DIR
    689 TCL_LIB_FILE
    690 TCL_LIB_FLAG
    691 TCL_LIB_SPEC
    692 TCL_STUB_LIB_FILE
    693 TCL_STUB_LIB_FLAG
    694 TCL_STUB_LIB_SPEC
    695 TCL_LIBS
    696 TCL_DEFS
    697 TCL_EXTRA_CFLAGS
    698 TCL_LD_FLAGS
    699 TCL_SHLIB_LD_LIBS
    700 CC
    701 CFLAGS
    702 LDFLAGS
    703 CPPFLAGS
    704 ac_ct_CC
    705 OBJEXT
    706 CXX
    707 CXXFLAGS
    708 ac_ct_CXX
    709 CPP
    710 INSTALL_PROGRAM
    711 INSTALL_SCRIPT
    712 INSTALL_DATA
    713 SET_MAKE
    714 RANLIB
    715 GREP
    716 EGREP
    717 MATH_LIBS
    718 F77
    719 FFLAGS
    720 ac_ct_F77
    721 PKG_SOURCES
    722 PKG_OBJECTS
    723 CLEANFILES
    724 TCL_INCLUDES
    725 TCL_THREADS
    726 SHARED_BUILD
    727 AR
    728 CELIB_DIR
    729 LIBOBJS
    730 DL_LIBS
    731 CFLAGS_DEBUG
    732 CFLAGS_OPTIMIZE
    733 CFLAGS_WARNING
    734 STLIB_LD
    735 SHLIB_LD
    736 SHLIB_LD_LIBS
    737 SHLIB_CFLAGS
    738 LD_LIBRARY_PATH_VAR
    739 TCL_DBGX
    740 CFLAGS_DEFAULT
    741 LDFLAGS_DEFAULT
    742 MAKE_LIB
    743 MAKE_SHARED_LIB
    744 MAKE_STATIC_LIB
    745 MAKE_STUB_LIB
    746 RANLIB_STUB
    747 TCLSH_PROG
    748 PATCHLEVEL
    749 EXACT_VERSION
    750 NODOT_VERSION
    751 subdirs
    752 LTLIBOBJS'
     738SHELL'
    753739ac_subst_files=''
    754740ac_user_opts='
     
    841827
    842828  case $ac_option in
    843   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    844   *)    ac_optarg=yes ;;
     829  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     830  *=)   ac_optarg= ;;
     831  *)    ac_optarg=yes ;;
    845832  esac
    846833
     
    887874    # Reject names that are not valid shell variable names.
    888875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    890    { (exit 1); exit 1; }; }
     876      as_fn_error $? "invalid feature name: $ac_useropt"
    891877    ac_useropt_orig=$ac_useropt
    892878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    914900    # Reject names that are not valid shell variable names.
    915901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    917    { (exit 1); exit 1; }; }
     902      as_fn_error $? "invalid feature name: $ac_useropt"
    918903    ac_useropt_orig=$ac_useropt
    919904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11191104    # Reject names that are not valid shell variable names.
    11201105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1121       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1122    { (exit 1); exit 1; }; }
     1106      as_fn_error $? "invalid package name: $ac_useropt"
    11231107    ac_useropt_orig=$ac_useropt
    11241108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11361120    # Reject names that are not valid shell variable names.
    11371121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1138       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1139    { (exit 1); exit 1; }; }
     1122      as_fn_error $? "invalid package name: $ac_useropt"
    11401123    ac_useropt_orig=$ac_useropt
    11411124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11671150    x_libraries=$ac_optarg ;;
    11681151
    1169   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1170 Try \`$0 --help' for more information." >&2
    1171    { (exit 1); exit 1; }; }
     1152  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1153Try \`$0 --help' for more information"
    11721154    ;;
    11731155
     
    11751157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11761158    # Reject names that are not valid shell variable names.
    1177     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1178       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1179    { (exit 1); exit 1; }; }
     1159    case $ac_envvar in #(
     1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1161      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1162    esac
    11801163    eval $ac_envvar=\$ac_optarg
    11811164    export $ac_envvar ;;
     
    11861169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11871170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1188     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1171    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11891172    ;;
    11901173
     
    11941177if test -n "$ac_prev"; then
    11951178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1196   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1197    { (exit 1); exit 1; }; }
     1179  as_fn_error $? "missing argument to $ac_option"
    11981180fi
    11991181
     
    12011183  case $enable_option_checking in
    12021184    no) ;;
    1203     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
    1204    { (exit 1); exit 1; }; } ;;
    1205     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1185    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12061187  esac
    12071188fi
     
    12251206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12261207  esac
    1227   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1228    { (exit 1); exit 1; }; }
     1208  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12291209done
    12301210
     
    12401220  if test "x$build_alias" = x; then
    12411221    cross_compiling=maybe
    1242     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1243     If a cross compiler is detected then cross compile mode will be used." >&2
    12441222  elif test "x$build_alias" != "x$host_alias"; then
    12451223    cross_compiling=yes
     
    12561234ac_ls_di=`ls -di .` &&
    12571235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1258   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
    1259    { (exit 1); exit 1; }; }
     1236  as_fn_error $? "working directory cannot be determined"
    12601237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1261   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1262    { (exit 1); exit 1; }; }
     1238  as_fn_error $? "pwd does not report name of working directory"
    12631239
    12641240
     
    12991275if test ! -r "$srcdir/$ac_unique_file"; then
    13001276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1301   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1302    { (exit 1); exit 1; }; }
     1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13031278fi
    13041279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13051280ac_abs_confdir=`(
    1306         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1307    { (exit 1); exit 1; }; }
     1281        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13081282        pwd)`
    13091283# When building in place, set srcdir=.
     
    13451319      --help=recursive    display the short help of all the included packages
    13461320  -V, --version           display version information and exit
    1347   -q, --quiet, --silent   do not print \`checking...' messages
     1321  -q, --quiet, --silent   do not print \`checking ...' messages
    13481322      --cache-file=FILE   cache test results in FILE [disabled]
    13491323  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14241398              nonstandard directory <lib dir>
    14251399  LIBS        libraries to pass to the linker, e.g. -l<library>
    1426   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1400  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14271401              you have headers in a nonstandard directory <include dir>
    14281402  CXX         C++ compiler command
     
    14351409it to find libraries and programs with nonstandard names/locations.
    14361410
     1411Report bugs to the package provider.
    14371412_ACEOF
    14381413ac_status=$?
     
    14981473  cat <<\_ACEOF
    14991474RapptureOptimizer configure 1.0
    1500 generated by GNU Autoconf 2.62
    1501 
    1502 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1503 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1475generated by GNU Autoconf 2.69
     1476
     1477Copyright (C) 2012 Free Software Foundation, Inc.
    15041478This configure script is free software; the Free Software Foundation
    15051479gives unlimited permission to copy, distribute and modify it.
     
    15071481  exit
    15081482fi
     1483
     1484## ------------------------ ##
     1485## Autoconf initialization. ##
     1486## ------------------------ ##
     1487
     1488# ac_fn_c_try_compile LINENO
     1489# --------------------------
     1490# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1491ac_fn_c_try_compile ()
     1492{
     1493  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1494  rm -f conftest.$ac_objext
     1495  if { { ac_try="$ac_compile"
     1496case "(($ac_try" in
     1497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1498  *) ac_try_echo=$ac_try;;
     1499esac
     1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1501$as_echo "$ac_try_echo"; } >&5
     1502  (eval "$ac_compile") 2>conftest.err
     1503  ac_status=$?
     1504  if test -s conftest.err; then
     1505    grep -v '^ *+' conftest.err >conftest.er1
     1506    cat conftest.er1 >&5
     1507    mv -f conftest.er1 conftest.err
     1508  fi
     1509  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1510  test $ac_status = 0; } && {
     1511         test -z "$ac_c_werror_flag" ||
     1512         test ! -s conftest.err
     1513       } && test -s conftest.$ac_objext; then :
     1514  ac_retval=0
     1515else
     1516  $as_echo "$as_me: failed program was:" >&5
     1517sed 's/^/| /' conftest.$ac_ext >&5
     1518
     1519        ac_retval=1
     1520fi
     1521  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1522  as_fn_set_status $ac_retval
     1523
     1524} # ac_fn_c_try_compile
     1525
     1526# ac_fn_cxx_try_compile LINENO
     1527# ----------------------------
     1528# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1529ac_fn_cxx_try_compile ()
     1530{
     1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1532  rm -f conftest.$ac_objext
     1533  if { { ac_try="$ac_compile"
     1534case "(($ac_try" in
     1535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1536  *) ac_try_echo=$ac_try;;
     1537esac
     1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1539$as_echo "$ac_try_echo"; } >&5
     1540  (eval "$ac_compile") 2>conftest.err
     1541  ac_status=$?
     1542  if test -s conftest.err; then
     1543    grep -v '^ *+' conftest.err >conftest.er1
     1544    cat conftest.er1 >&5
     1545    mv -f conftest.er1 conftest.err
     1546  fi
     1547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1548  test $ac_status = 0; } && {
     1549         test -z "$ac_cxx_werror_flag" ||
     1550         test ! -s conftest.err
     1551       } && test -s conftest.$ac_objext; then :
     1552  ac_retval=0
     1553else
     1554  $as_echo "$as_me: failed program was:" >&5
     1555sed 's/^/| /' conftest.$ac_ext >&5
     1556
     1557        ac_retval=1
     1558fi
     1559  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1560  as_fn_set_status $ac_retval
     1561
     1562} # ac_fn_cxx_try_compile
     1563
     1564# ac_fn_c_try_cpp LINENO
     1565# ----------------------
     1566# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1567ac_fn_c_try_cpp ()
     1568{
     1569  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1570  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1571case "(($ac_try" in
     1572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1573  *) ac_try_echo=$ac_try;;
     1574esac
     1575eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1576$as_echo "$ac_try_echo"; } >&5
     1577  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1578  ac_status=$?
     1579  if test -s conftest.err; then
     1580    grep -v '^ *+' conftest.err >conftest.er1
     1581    cat conftest.er1 >&5
     1582    mv -f conftest.er1 conftest.err
     1583  fi
     1584  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1585  test $ac_status = 0; } > conftest.i && {
     1586         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1587         test ! -s conftest.err
     1588       }; then :
     1589  ac_retval=0
     1590else
     1591  $as_echo "$as_me: failed program was:" >&5
     1592sed 's/^/| /' conftest.$ac_ext >&5
     1593
     1594    ac_retval=1
     1595fi
     1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1597  as_fn_set_status $ac_retval
     1598
     1599} # ac_fn_c_try_cpp
     1600
     1601# ac_fn_c_try_run LINENO
     1602# ----------------------
     1603# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1604# that executables *can* be run.
     1605ac_fn_c_try_run ()
     1606{
     1607  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1608  if { { ac_try="$ac_link"
     1609case "(($ac_try" in
     1610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1611  *) ac_try_echo=$ac_try;;
     1612esac
     1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1614$as_echo "$ac_try_echo"; } >&5
     1615  (eval "$ac_link") 2>&5
     1616  ac_status=$?
     1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1618  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1619  { { case "(($ac_try" in
     1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1621  *) ac_try_echo=$ac_try;;
     1622esac
     1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1624$as_echo "$ac_try_echo"; } >&5
     1625  (eval "$ac_try") 2>&5
     1626  ac_status=$?
     1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1628  test $ac_status = 0; }; }; then :
     1629  ac_retval=0
     1630else
     1631  $as_echo "$as_me: program exited with status $ac_status" >&5
     1632       $as_echo "$as_me: failed program was:" >&5
     1633sed 's/^/| /' conftest.$ac_ext >&5
     1634
     1635       ac_retval=$ac_status
     1636fi
     1637  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1639  as_fn_set_status $ac_retval
     1640
     1641} # ac_fn_c_try_run
     1642
     1643# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1644# -------------------------------------------------------
     1645# Tests whether HEADER exists and can be compiled using the include files in
     1646# INCLUDES, setting the cache variable VAR accordingly.
     1647ac_fn_c_check_header_compile ()
     1648{
     1649  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1651$as_echo_n "checking for $2... " >&6; }
     1652if eval \${$3+:} false; then :
     1653  $as_echo_n "(cached) " >&6
     1654else
     1655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1656/* end confdefs.h.  */
     1657$4
     1658#include <$2>
     1659_ACEOF
     1660if ac_fn_c_try_compile "$LINENO"; then :
     1661  eval "$3=yes"
     1662else
     1663  eval "$3=no"
     1664fi
     1665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1666fi
     1667eval ac_res=\$$3
     1668               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1669$as_echo "$ac_res" >&6; }
     1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1671
     1672} # ac_fn_c_check_header_compile
     1673
     1674# ac_fn_c_try_link LINENO
     1675# -----------------------
     1676# Try to link conftest.$ac_ext, and return whether this succeeded.
     1677ac_fn_c_try_link ()
     1678{
     1679  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1680  rm -f conftest.$ac_objext conftest$ac_exeext
     1681  if { { ac_try="$ac_link"
     1682case "(($ac_try" in
     1683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1684  *) ac_try_echo=$ac_try;;
     1685esac
     1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1687$as_echo "$ac_try_echo"; } >&5
     1688  (eval "$ac_link") 2>conftest.err
     1689  ac_status=$?
     1690  if test -s conftest.err; then
     1691    grep -v '^ *+' conftest.err >conftest.er1
     1692    cat conftest.er1 >&5
     1693    mv -f conftest.er1 conftest.err
     1694  fi
     1695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1696  test $ac_status = 0; } && {
     1697         test -z "$ac_c_werror_flag" ||
     1698         test ! -s conftest.err
     1699       } && test -s conftest$ac_exeext && {
     1700         test "$cross_compiling" = yes ||
     1701         test -x conftest$ac_exeext
     1702       }; then :
     1703  ac_retval=0
     1704else
     1705  $as_echo "$as_me: failed program was:" >&5
     1706sed 's/^/| /' conftest.$ac_ext >&5
     1707
     1708        ac_retval=1
     1709fi
     1710  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1711  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1712  # interfere with the next link command; also delete a directory that is
     1713  # left behind by Apple's compiler.  We do this before executing the actions.
     1714  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1715  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1716  as_fn_set_status $ac_retval
     1717
     1718} # ac_fn_c_try_link
     1719
     1720# ac_fn_c_check_func LINENO FUNC VAR
     1721# ----------------------------------
     1722# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1723ac_fn_c_check_func ()
     1724{
     1725  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1727$as_echo_n "checking for $2... " >&6; }
     1728if eval \${$3+:} false; then :
     1729  $as_echo_n "(cached) " >&6
     1730else
     1731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1732/* end confdefs.h.  */
     1733/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1734   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1735#define $2 innocuous_$2
     1736
     1737/* System header to define __stub macros and hopefully few prototypes,
     1738    which can conflict with char $2 (); below.
     1739    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1740    <limits.h> exists even on freestanding compilers.  */
     1741
     1742#ifdef __STDC__
     1743# include <limits.h>
     1744#else
     1745# include <assert.h>
     1746#endif
     1747
     1748#undef $2
     1749
     1750/* Override any GCC internal prototype to avoid an error.
     1751   Use char because int might match the return type of a GCC
     1752   builtin and then its argument prototype would still apply.  */
     1753#ifdef __cplusplus
     1754extern "C"
     1755#endif
     1756char $2 ();
     1757/* The GNU C library defines this for functions which it implements
     1758    to always fail with ENOSYS.  Some functions are actually named
     1759    something starting with __ and the normal name is an alias.  */
     1760#if defined __stub_$2 || defined __stub___$2
     1761choke me
     1762#endif
     1763
     1764int
     1765main ()
     1766{
     1767return $2 ();
     1768  ;
     1769  return 0;
     1770}
     1771_ACEOF
     1772if ac_fn_c_try_link "$LINENO"; then :
     1773  eval "$3=yes"
     1774else
     1775  eval "$3=no"
     1776fi
     1777rm -f core conftest.err conftest.$ac_objext \
     1778    conftest$ac_exeext conftest.$ac_ext
     1779fi
     1780eval ac_res=\$$3
     1781               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1782$as_echo "$ac_res" >&6; }
     1783  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1784
     1785} # ac_fn_c_check_func
     1786
     1787# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1788# -------------------------------------------------------
     1789# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1790# the include files in INCLUDES and setting the cache variable VAR
     1791# accordingly.
     1792ac_fn_c_check_header_mongrel ()
     1793{
     1794  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1795  if eval \${$3+:} false; then :
     1796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1797$as_echo_n "checking for $2... " >&6; }
     1798if eval \${$3+:} false; then :
     1799  $as_echo_n "(cached) " >&6
     1800fi
     1801eval ac_res=\$$3
     1802               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1803$as_echo "$ac_res" >&6; }
     1804else
     1805  # Is the header compilable?
     1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1807$as_echo_n "checking $2 usability... " >&6; }
     1808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1809/* end confdefs.h.  */
     1810$4
     1811#include <$2>
     1812_ACEOF
     1813if ac_fn_c_try_compile "$LINENO"; then :
     1814  ac_header_compiler=yes
     1815else
     1816  ac_header_compiler=no
     1817fi
     1818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1820$as_echo "$ac_header_compiler" >&6; }
     1821
     1822# Is the header present?
     1823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1824$as_echo_n "checking $2 presence... " >&6; }
     1825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1826/* end confdefs.h.  */
     1827#include <$2>
     1828_ACEOF
     1829if ac_fn_c_try_cpp "$LINENO"; then :
     1830  ac_header_preproc=yes
     1831else
     1832  ac_header_preproc=no
     1833fi
     1834rm -f conftest.err conftest.i conftest.$ac_ext
     1835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1836$as_echo "$ac_header_preproc" >&6; }
     1837
     1838# So?  What about this header?
     1839case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1840  yes:no: )
     1841    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1842$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1844$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1845    ;;
     1846  no:yes:* )
     1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1848$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1850$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1852$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1854$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1856$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1857    ;;
     1858esac
     1859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1860$as_echo_n "checking for $2... " >&6; }
     1861if eval \${$3+:} false; then :
     1862  $as_echo_n "(cached) " >&6
     1863else
     1864  eval "$3=\$ac_header_compiler"
     1865fi
     1866eval ac_res=\$$3
     1867               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1868$as_echo "$ac_res" >&6; }
     1869fi
     1870  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1871
     1872} # ac_fn_c_check_header_mongrel
     1873
     1874# ac_fn_f77_try_compile LINENO
     1875# ----------------------------
     1876# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1877ac_fn_f77_try_compile ()
     1878{
     1879  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1880  rm -f conftest.$ac_objext
     1881  if { { ac_try="$ac_compile"
     1882case "(($ac_try" in
     1883  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1884  *) ac_try_echo=$ac_try;;
     1885esac
     1886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1887$as_echo "$ac_try_echo"; } >&5
     1888  (eval "$ac_compile") 2>conftest.err
     1889  ac_status=$?
     1890  if test -s conftest.err; then
     1891    grep -v '^ *+' conftest.err >conftest.er1
     1892    cat conftest.er1 >&5
     1893    mv -f conftest.er1 conftest.err
     1894  fi
     1895  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1896  test $ac_status = 0; } && {
     1897         test -z "$ac_f77_werror_flag" ||
     1898         test ! -s conftest.err
     1899       } && test -s conftest.$ac_objext; then :
     1900  ac_retval=0
     1901else
     1902  $as_echo "$as_me: failed program was:" >&5
     1903sed 's/^/| /' conftest.$ac_ext >&5
     1904
     1905        ac_retval=1
     1906fi
     1907  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1908  as_fn_set_status $ac_retval
     1909
     1910} # ac_fn_f77_try_compile
    15091911cat >config.log <<_ACEOF
    15101912This file contains any messages produced by compilers while
     
    15121914
    15131915It was created by RapptureOptimizer $as_me 1.0, which was
    1514 generated by GNU Autoconf 2.62.  Invocation command line was
     1916generated by GNU Autoconf 2.69.  Invocation command line was
    15151917
    15161918  $ $0 $@
     
    15481950  IFS=$as_save_IFS
    15491951  test -z "$as_dir" && as_dir=.
    1550   $as_echo "PATH: $as_dir"
    1551 done
     1952    $as_echo "PATH: $as_dir"
     1953  done
    15521954IFS=$as_save_IFS
    15531955
     
    15861988    esac
    15871989    case $ac_pass in
    1588     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1990    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15891991    2)
    1590       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1992      as_fn_append ac_configure_args1 " '$ac_arg'"
    15911993      if test $ac_must_keep_next = true; then
    15921994        ac_must_keep_next=false # Got value, back to normal.
     
    16042006        esac
    16052007      fi
    1606       ac_configure_args="$ac_configure_args '$ac_arg'"
     2008      as_fn_append ac_configure_args " '$ac_arg'"
    16072009      ;;
    16082010    esac
    16092011  done
    16102012done
    1611 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1612 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2013{ ac_configure_args0=; unset ac_configure_args0;}
     2014{ ac_configure_args1=; unset ac_configure_args1;}
    16132015
    16142016# When interrupted or exit'd, cleanup temporary files, and complete
     
    16222024    echo
    16232025
    1624     cat <<\_ASBOX
    1625 ## ---------------- ##
     2026    $as_echo "## ---------------- ##
    16262027## Cache variables. ##
    1627 ## ---------------- ##
    1628 _ASBOX
     2028## ---------------- ##"
    16292029    echo
    16302030    # The following way of writing the cache mishandles newlines in values,
     
    16352035    *${as_nl}*)
    16362036      case $ac_var in #(
    1637       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1638 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2037      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2038$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16392039      esac
    16402040      case $ac_var in #(
    16412041      _ | IFS | as_nl) ;; #(
    16422042      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1643       *) $as_unset $ac_var ;;
     2043      *) { eval $ac_var=; unset $ac_var;} ;;
    16442044      esac ;;
    16452045    esac
     
    16602060    echo
    16612061
    1662     cat <<\_ASBOX
    1663 ## ----------------- ##
     2062    $as_echo "## ----------------- ##
    16642063## Output variables. ##
    1665 ## ----------------- ##
    1666 _ASBOX
     2064## ----------------- ##"
    16672065    echo
    16682066    for ac_var in $ac_subst_vars
     
    16772075
    16782076    if test -n "$ac_subst_files"; then
    1679       cat <<\_ASBOX
    1680 ## ------------------- ##
     2077      $as_echo "## ------------------- ##
    16812078## File substitutions. ##
    1682 ## ------------------- ##
    1683 _ASBOX
     2079## ------------------- ##"
    16842080      echo
    16852081      for ac_var in $ac_subst_files
     
    16952091
    16962092    if test -s confdefs.h; then
    1697       cat <<\_ASBOX
    1698 ## ----------- ##
     2093      $as_echo "## ----------- ##
    16992094## confdefs.h. ##
    1700 ## ----------- ##
    1701 _ASBOX
     2095## ----------- ##"
    17022096      echo
    17032097      cat confdefs.h
     
    17132107' 0
    17142108for ac_signal in 1 2 13 15; do
    1715   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2109  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17162110done
    17172111ac_signal=0
     
    17202114rm -f -r conftest* confdefs.h
    17212115
     2116$as_echo "/* confdefs.h */" > confdefs.h
     2117
    17222118# Predefined preprocessor variables.
    17232119
     
    17262122_ACEOF
    17272123
    1728 
    17292124cat >>confdefs.h <<_ACEOF
    17302125#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17312126_ACEOF
    17322127
    1733 
    17342128cat >>confdefs.h <<_ACEOF
    17352129#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17362130_ACEOF
    17372131
    1738 
    17392132cat >>confdefs.h <<_ACEOF
    17402133#define PACKAGE_STRING "$PACKAGE_STRING"
    17412134_ACEOF
    17422135
    1743 
    17442136cat >>confdefs.h <<_ACEOF
    17452137#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2138_ACEOF
     2139
     2140cat >>confdefs.h <<_ACEOF
     2141#define PACKAGE_URL "$PACKAGE_URL"
    17462142_ACEOF
    17472143
     
    17522148ac_site_file2=NONE
    17532149if test -n "$CONFIG_SITE"; then
    1754   ac_site_file1=$CONFIG_SITE
     2150  # We do not want a PATH search for config.site.
     2151  case $CONFIG_SITE in #((
     2152    -*)  ac_site_file1=./$CONFIG_SITE;;
     2153    */*) ac_site_file1=$CONFIG_SITE;;
     2154    *)   ac_site_file1=./$CONFIG_SITE;;
     2155  esac
    17552156elif test "x$prefix" != xNONE; then
    17562157  ac_site_file1=$prefix/share/config.site
     
    17632164do
    17642165  test "x$ac_site_file" = xNONE && continue
    1765   if test -r "$ac_site_file"; then
    1766     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2166  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2167    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17672168$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17682169    sed 's/^/| /' "$ac_site_file" >&5
    1769     . "$ac_site_file"
     2170    . "$ac_site_file" \
     2171      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2173as_fn_error $? "failed to load site script $ac_site_file
     2174See \`config.log' for more details" "$LINENO" 5; }
    17702175  fi
    17712176done
    17722177
    17732178if test -r "$cache_file"; then
    1774   # Some versions of bash will fail to source /dev/null (special
    1775   # files actually), so we avoid doing that.
    1776   if test -f "$cache_file"; then
    1777     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2179  # Some versions of bash will fail to source /dev/null (special files
     2180  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2181  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2182    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17782183$as_echo "$as_me: loading cache $cache_file" >&6;}
    17792184    case $cache_file in
     
    17832188  fi
    17842189else
    1785   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2190  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17862191$as_echo "$as_me: creating cache $cache_file" >&6;}
    17872192  >$cache_file
     
    17982203  case $ac_old_set,$ac_new_set in
    17992204    set,)
    1800       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2205      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18012206$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18022207      ac_cache_corrupted=: ;;
    18032208    ,set)
    1804       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2209      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18052210$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18062211      ac_cache_corrupted=: ;;
     
    18122217        ac_new_val_w=`echo x $ac_new_val`
    18132218        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1814           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2219          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18152220$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18162221          ac_cache_corrupted=:
    18172222        else
    1818           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2223          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18192224$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18202225          eval $ac_var=\$ac_old_val
    18212226        fi
    1822         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2227        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18232228$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1824         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2229        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18252230$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18262231      fi;;
     
    18342239    case " $ac_configure_args " in
    18352240      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1836       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2241      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18372242    esac
    18382243  fi
    18392244done
    18402245if $ac_cache_corrupted; then
    1841   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2246  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2248  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18422249$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1843   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1845    { (exit 1); exit 1; }; }
    1846 fi
    1847 
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
     2250  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2251fi
     2252## -------------------- ##
     2253## Main body of script. ##
     2254## -------------------- ##
    18712255
    18722256ac_ext=c
     
    18782262
    18792263
     2264. ${exec_prefix}/lib/rapptureConfig.sh
     2265PACKAGE_VERSION=$RAPPTURE_VERSION
     2266PACKAGE_NAME=RapptureOptimzier
     2267
    18802268#--------------------------------------------------------------------
    18812269# Call TEA_INIT as the first TEA_ macro to set up initial vars.
     
    18892277    TEA_VERSION="3.5"
    18902278
    1891     { $as_echo "$as_me:$LINENO: checking for correct TEA configuration" >&5
     2279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct TEA configuration" >&5
    18922280$as_echo_n "checking for correct TEA configuration... " >&6; }
    18932281    if test x"${PACKAGE_NAME}" = x ; then
    1894         { { $as_echo "$as_me:$LINENO: error:
    1895 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&5
    1896 $as_echo "$as_me: error:
    1897 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&2;}
    1898    { (exit 1); exit 1; }; }
     2282        as_fn_error $? "
     2283The PACKAGE_NAME variable must be defined by your TEA configure.in" "$LINENO" 5
    18992284    fi
    19002285    if test x"3.5" = x ; then
    1901         { { $as_echo "$as_me:$LINENO: error:
    1902 TEA version not specified." >&5
    1903 $as_echo "$as_me: error:
    1904 TEA version not specified." >&2;}
    1905    { (exit 1); exit 1; }; }
     2286        as_fn_error $? "
     2287TEA version not specified." "$LINENO" 5
    19062288    elif test "3.5" != "${TEA_VERSION}" ; then
    1907         { $as_echo "$as_me:$LINENO: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5
     2289        { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5
    19082290$as_echo "warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&6; }
    19092291    else
    1910         { $as_echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5
     2292        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5
    19112293$as_echo "ok (TEA ${TEA_VERSION})" >&6; }
    19122294    fi
     
    19152297            # Extract the first word of "cygpath", so it can be a program name with args.
    19162298set dummy cygpath; ac_word=$2
    1917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19182300$as_echo_n "checking for $ac_word... " >&6; }
    1919 if test "${ac_cv_prog_CYGPATH+set}" = set; then
     2301if ${ac_cv_prog_CYGPATH+:} false; then :
    19202302  $as_echo_n "(cached) " >&6
    19212303else
     
    19282310  IFS=$as_save_IFS
    19292311  test -z "$as_dir" && as_dir=.
    1930   for ac_exec_ext in '' $ac_executable_extensions; do
    1931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2312    for ac_exec_ext in '' $ac_executable_extensions; do
     2313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19322314    ac_cv_prog_CYGPATH="cygpath -w"
    1933     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19342316    break 2
    19352317  fi
    19362318done
    1937 done
     2319  done
    19382320IFS=$as_save_IFS
    19392321
     
    19432325CYGPATH=$ac_cv_prog_CYGPATH
    19442326if test -n "$CYGPATH"; then
    1945   { $as_echo "$as_me:$LINENO: result: $CYGPATH" >&5
     2327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
    19462328$as_echo "$CYGPATH" >&6; }
    19472329else
    1948   { $as_echo "$as_me:$LINENO: result: no" >&5
     2330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19492331$as_echo "no" >&6; }
    19502332fi
     
    20062388done
    20072389if test -z "$ac_aux_dir"; then
    2008   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&5
    2009 $as_echo "$as_me: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&2;}
    2010    { (exit 1); exit 1; }; }
     2390  as_fn_error $? "cannot find install-sh, install.sh, or shtool in tclconfig \"$srcdir\"/tclconfig" "$LINENO" 5
    20112391fi
    20122392
     
    20382418
    20392419# Check whether --with-tcl was given.
    2040 if test "${with_tcl+set}" = set; then
     2420if test "${with_tcl+set}" = set; then :
    20412421  withval=$with_tcl; with_tclconfig=${withval}
    20422422fi
    20432423
    2044         { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
     2424        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
    20452425$as_echo_n "checking for Tcl configuration... " >&6; }
    2046         if test "${ac_cv_c_tclconfig+set}" = set; then
     2426        if ${ac_cv_c_tclconfig+:} false; then :
    20472427  $as_echo_n "(cached) " >&6
    20482428else
     
    20542434                    */tclConfig.sh )
    20552435                        if test -f ${with_tclconfig}; then
    2056                             { $as_echo "$as_me:$LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
     2436                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
    20572437$as_echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
    20582438                            with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'`
     
    20622442                    ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
    20632443                else
    2064                     { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
    2065 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
    2066    { (exit 1); exit 1; }; }
     2444                    as_fn_error $? "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
    20672445                fi
    20682446            fi
     
    21522530        if test x"${ac_cv_c_tclconfig}" = x ; then
    21532531            TCL_BIN_DIR="# no Tcl configs found"
    2154             { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
     2532            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
    21552533$as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
    21562534            exit 0
     
    21582536            no_tcl=
    21592537            TCL_BIN_DIR=${ac_cv_c_tclconfig}
    2160             { $as_echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2538            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21612539$as_echo "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
    21622540        fi
     
    21642542
    21652543
    2166     { $as_echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2544    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21672545$as_echo_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; }
    21682546
    21692547    if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
    2170         { $as_echo "$as_me:$LINENO: result: loading" >&5
     2548        { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
    21712549$as_echo "loading" >&6; }
    21722550        . ${TCL_BIN_DIR}/tclConfig.sh
    21732551    else
    2174         { $as_echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2552        { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21752553$as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
    21762554    fi
     
    22542632        prefix_default=yes
    22552633        if test x"${TCL_PREFIX}" != x; then
    2256             { $as_echo "$as_me:$LINENO: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5
     2634            { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5
    22572635$as_echo "$as_me: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&6;}
    22582636            prefix=${TCL_PREFIX}
    22592637        else
    2260             { $as_echo "$as_me:$LINENO: --prefix defaulting to /usr/local" >&5
     2638            { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to /usr/local" >&5
    22612639$as_echo "$as_me: --prefix defaulting to /usr/local" >&6;}
    22622640            prefix=/usr/local
     
    22662644        -o x"${exec_prefix_default}" = x"yes" ; then
    22672645        if test x"${TCL_EXEC_PREFIX}" != x; then
    2268             { $as_echo "$as_me:$LINENO: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5
     2646            { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5
    22692647$as_echo "$as_me: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&6;}
    22702648            exec_prefix=${TCL_EXEC_PREFIX}
    22712649        else
    2272             { $as_echo "$as_me:$LINENO: --exec-prefix defaulting to ${prefix}" >&5
     2650            { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to ${prefix}" >&5
    22732651$as_echo "$as_me: --exec-prefix defaulting to ${prefix}" >&6;}
    22742652            exec_prefix=$prefix
     
    22842662#-----------------------------------------------------------------------
    22852663
    2286 
    2287     # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE)
    2288     # in this macro, they need to go into TEA_SETUP_COMPILER instead.
    2289 
    2290     # If the user did not set CFLAGS, set it now to keep
    2291     # the AC_PROG_CC macro from adding "-g -O2".
    2292     if test "${CFLAGS+set}" != "set" ; then
    2293         CFLAGS=""
    2294     fi
    2295 
    2296     ac_ext=c
    2297 ac_cpp='$CPP $CPPFLAGS'
    2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2301 if test -n "$ac_tool_prefix"; then
    2302   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2305 $as_echo_n "checking for $ac_word... " >&6; }
    2306 if test "${ac_cv_prog_CC+set}" = set; then
    2307   $as_echo_n "(cached) " >&6
    2308 else
    2309   if test -n "$CC"; then
    2310   ac_cv_prog_CC="$CC" # Let the user override the test.
    2311 else
    2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2313 for as_dir in $PATH
    2314 do
    2315   IFS=$as_save_IFS
    2316   test -z "$as_dir" && as_dir=.
    2317   for ac_exec_ext in '' $ac_executable_extensions; do
    2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2319     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2321     break 2
    2322   fi
    2323 done
    2324 done
    2325 IFS=$as_save_IFS
    2326 
    2327 fi
    2328 fi
    2329 CC=$ac_cv_prog_CC
    2330 if test -n "$CC"; then
    2331   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2332 $as_echo "$CC" >&6; }
    2333 else
    2334   { $as_echo "$as_me:$LINENO: result: no" >&5
    2335 $as_echo "no" >&6; }
    2336 fi
    2337 
    2338 
    2339 fi
    2340 if test -z "$ac_cv_prog_CC"; then
    2341   ac_ct_CC=$CC
    2342   # Extract the first word of "gcc", so it can be a program name with args.
    2343 set dummy gcc; ac_word=$2
    2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2345 $as_echo_n "checking for $ac_word... " >&6; }
    2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2347   $as_echo_n "(cached) " >&6
    2348 else
    2349   if test -n "$ac_ct_CC"; then
    2350   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2351 else
    2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2353 for as_dir in $PATH
    2354 do
    2355   IFS=$as_save_IFS
    2356   test -z "$as_dir" && as_dir=.
    2357   for ac_exec_ext in '' $ac_executable_extensions; do
    2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2359     ac_cv_prog_ac_ct_CC="gcc"
    2360     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2361     break 2
    2362   fi
    2363 done
    2364 done
    2365 IFS=$as_save_IFS
    2366 
    2367 fi
    2368 fi
    2369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2370 if test -n "$ac_ct_CC"; then
    2371   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2372 $as_echo "$ac_ct_CC" >&6; }
    2373 else
    2374   { $as_echo "$as_me:$LINENO: result: no" >&5
    2375 $as_echo "no" >&6; }
    2376 fi
    2377 
    2378   if test "x$ac_ct_CC" = x; then
    2379     CC=""
    2380   else
    2381     case $cross_compiling:$ac_tool_warned in
    2382 yes:)
    2383 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2384 whose name does not start with the host triplet.  If you think this
    2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2386 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2387 whose name does not start with the host triplet.  If you think this
    2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2389 ac_tool_warned=yes ;;
    2390 esac
    2391     CC=$ac_ct_CC
    2392   fi
    2393 else
    2394   CC="$ac_cv_prog_CC"
    2395 fi
    2396 
    2397 if test -z "$CC"; then
    2398           if test -n "$ac_tool_prefix"; then
    2399     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
    2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2402 $as_echo_n "checking for $ac_word... " >&6; }
    2403 if test "${ac_cv_prog_CC+set}" = set; then
    2404   $as_echo_n "(cached) " >&6
    2405 else
    2406   if test -n "$CC"; then
    2407   ac_cv_prog_CC="$CC" # Let the user override the test.
    2408 else
    2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2410 for as_dir in $PATH
    2411 do
    2412   IFS=$as_save_IFS
    2413   test -z "$as_dir" && as_dir=.
    2414   for ac_exec_ext in '' $ac_executable_extensions; do
    2415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2416     ac_cv_prog_CC="${ac_tool_prefix}cc"
    2417     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2418     break 2
    2419   fi
    2420 done
    2421 done
    2422 IFS=$as_save_IFS
    2423 
    2424 fi
    2425 fi
    2426 CC=$ac_cv_prog_CC
    2427 if test -n "$CC"; then
    2428   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2429 $as_echo "$CC" >&6; }
    2430 else
    2431   { $as_echo "$as_me:$LINENO: result: no" >&5
    2432 $as_echo "no" >&6; }
    2433 fi
    2434 
    2435 
    2436   fi
    2437 fi
    2438 if test -z "$CC"; then
    2439   # Extract the first word of "cc", so it can be a program name with args.
    2440 set dummy cc; ac_word=$2
    2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2442 $as_echo_n "checking for $ac_word... " >&6; }
    2443 if test "${ac_cv_prog_CC+set}" = set; then
    2444   $as_echo_n "(cached) " >&6
    2445 else
    2446   if test -n "$CC"; then
    2447   ac_cv_prog_CC="$CC" # Let the user override the test.
    2448 else
    2449   ac_prog_rejected=no
    2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2451 for as_dir in $PATH
    2452 do
    2453   IFS=$as_save_IFS
    2454   test -z "$as_dir" && as_dir=.
    2455   for ac_exec_ext in '' $ac_executable_extensions; do
    2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2457     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    2458        ac_prog_rejected=yes
    2459        continue
    2460      fi
    2461     ac_cv_prog_CC="cc"
    2462     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2463     break 2
    2464   fi
    2465 done
    2466 done
    2467 IFS=$as_save_IFS
    2468 
    2469 if test $ac_prog_rejected = yes; then
    2470   # We found a bogon in the path, so make sure we never use it.
    2471   set dummy $ac_cv_prog_CC
    2472   shift
    2473   if test $# != 0; then
    2474     # We chose a different compiler from the bogus one.
    2475     # However, it has the same basename, so the bogon will be chosen
    2476     # first if we set CC to just the basename; use the full file name.
    2477     shift
    2478     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    2479   fi
    2480 fi
    2481 fi
    2482 fi
    2483 CC=$ac_cv_prog_CC
    2484 if test -n "$CC"; then
    2485   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2486 $as_echo "$CC" >&6; }
    2487 else
    2488   { $as_echo "$as_me:$LINENO: result: no" >&5
    2489 $as_echo "no" >&6; }
    2490 fi
    2491 
    2492 
    2493 fi
    2494 if test -z "$CC"; then
    2495   if test -n "$ac_tool_prefix"; then
    2496   for ac_prog in cl.exe
    2497   do
    2498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2501 $as_echo_n "checking for $ac_word... " >&6; }
    2502 if test "${ac_cv_prog_CC+set}" = set; then
    2503   $as_echo_n "(cached) " >&6
    2504 else
    2505   if test -n "$CC"; then
    2506   ac_cv_prog_CC="$CC" # Let the user override the test.
    2507 else
    2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2509 for as_dir in $PATH
    2510 do
    2511   IFS=$as_save_IFS
    2512   test -z "$as_dir" && as_dir=.
    2513   for ac_exec_ext in '' $ac_executable_extensions; do
    2514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2515     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2516     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2517     break 2
    2518   fi
    2519 done
    2520 done
    2521 IFS=$as_save_IFS
    2522 
    2523 fi
    2524 fi
    2525 CC=$ac_cv_prog_CC
    2526 if test -n "$CC"; then
    2527   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2528 $as_echo "$CC" >&6; }
    2529 else
    2530   { $as_echo "$as_me:$LINENO: result: no" >&5
    2531 $as_echo "no" >&6; }
    2532 fi
    2533 
    2534 
    2535     test -n "$CC" && break
    2536   done
    2537 fi
    2538 if test -z "$CC"; then
    2539   ac_ct_CC=$CC
    2540   for ac_prog in cl.exe
    2541 do
    2542   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2543 set dummy $ac_prog; ac_word=$2
    2544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2545 $as_echo_n "checking for $ac_word... " >&6; }
    2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2547   $as_echo_n "(cached) " >&6
    2548 else
    2549   if test -n "$ac_ct_CC"; then
    2550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2551 else
    2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2553 for as_dir in $PATH
    2554 do
    2555   IFS=$as_save_IFS
    2556   test -z "$as_dir" && as_dir=.
    2557   for ac_exec_ext in '' $ac_executable_extensions; do
    2558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2559     ac_cv_prog_ac_ct_CC="$ac_prog"
    2560     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2561     break 2
    2562   fi
    2563 done
    2564 done
    2565 IFS=$as_save_IFS
    2566 
    2567 fi
    2568 fi
    2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2570 if test -n "$ac_ct_CC"; then
    2571   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2572 $as_echo "$ac_ct_CC" >&6; }
    2573 else
    2574   { $as_echo "$as_me:$LINENO: result: no" >&5
    2575 $as_echo "no" >&6; }
    2576 fi
    2577 
    2578 
    2579   test -n "$ac_ct_CC" && break
    2580 done
    2581 
    2582   if test "x$ac_ct_CC" = x; then
    2583     CC=""
    2584   else
    2585     case $cross_compiling:$ac_tool_warned in
    2586 yes:)
    2587 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2588 whose name does not start with the host triplet.  If you think this
    2589 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2590 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2591 whose name does not start with the host triplet.  If you think this
    2592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2593 ac_tool_warned=yes ;;
    2594 esac
    2595     CC=$ac_ct_CC
    2596   fi
    2597 fi
    2598 
    2599 fi
    2600 
    2601 
    2602 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2603 See \`config.log' for more details." >&5
    2604 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2605 See \`config.log' for more details." >&2;}
    2606    { (exit 1); exit 1; }; }
    2607 
    2608 # Provide some information about the compiler.
    2609 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    2610 set X $ac_compile
    2611 ac_compiler=$2
    2612 { (ac_try="$ac_compiler --version >&5"
    2613 case "(($ac_try" in
    2614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2615   *) ac_try_echo=$ac_try;;
    2616 esac
    2617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2618 $as_echo "$ac_try_echo") >&5
    2619   (eval "$ac_compiler --version >&5") 2>&5
    2620   ac_status=$?
    2621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2622   (exit $ac_status); }
    2623 { (ac_try="$ac_compiler -v >&5"
    2624 case "(($ac_try" in
    2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2626   *) ac_try_echo=$ac_try;;
    2627 esac
    2628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2629 $as_echo "$ac_try_echo") >&5
    2630   (eval "$ac_compiler -v >&5") 2>&5
    2631   ac_status=$?
    2632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2633   (exit $ac_status); }
    2634 { (ac_try="$ac_compiler -V >&5"
    2635 case "(($ac_try" in
    2636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2637   *) ac_try_echo=$ac_try;;
    2638 esac
    2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2640 $as_echo "$ac_try_echo") >&5
    2641   (eval "$ac_compiler -V >&5") 2>&5
    2642   ac_status=$?
    2643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2644   (exit $ac_status); }
    2645 
    2646 cat >conftest.$ac_ext <<_ACEOF
    2647 /* confdefs.h.  */
    2648 _ACEOF
    2649 cat confdefs.h >>conftest.$ac_ext
    2650 cat >>conftest.$ac_ext <<_ACEOF
    2651 /* end confdefs.h.  */
    2652 
    2653 int
    2654 main ()
    2655 {
    2656 
    2657   ;
    2658   return 0;
    2659 }
    2660 _ACEOF
    2661 ac_clean_files_save=$ac_clean_files
    2662 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    2663 # Try to create an executable without -o first, disregard a.out.
    2664 # It will help us diagnose broken compilers, and finding out an intuition
    2665 # of exeext.
    2666 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2667 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2668 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2669 
    2670 # The possible output files:
    2671 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2672 
    2673 ac_rmfiles=
    2674 for ac_file in $ac_files
    2675 do
    2676   case $ac_file in
    2677     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2678     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2679   esac
    2680 done
    2681 rm -f $ac_rmfiles
    2682 
    2683 if { (ac_try="$ac_link_default"
    2684 case "(($ac_try" in
    2685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2686   *) ac_try_echo=$ac_try;;
    2687 esac
    2688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2689 $as_echo "$ac_try_echo") >&5
    2690   (eval "$ac_link_default") 2>&5
    2691   ac_status=$?
    2692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2693   (exit $ac_status); }; then
    2694   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2696 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2697 # so that the user can short-circuit this test for compilers unknown to
    2698 # Autoconf.
    2699 for ac_file in $ac_files ''
    2700 do
    2701   test -f "$ac_file" || continue
    2702   case $ac_file in
    2703     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    2704         ;;
    2705     [ab].out )
    2706         # We found the default executable, but exeext='' is most
    2707         # certainly right.
    2708         break;;
    2709     *.* )
    2710         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2711         then :; else
    2712            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2713         fi
    2714         # We set ac_cv_exeext here because the later test for it is not
    2715         # safe: cross compilers may not add the suffix if given an `-o'
    2716         # argument, so we may need to know it at that point already.
    2717         # Even if this section looks crufty: it has the advantage of
    2718         # actually working.
    2719         break;;
    2720     * )
    2721         break;;
    2722   esac
    2723 done
    2724 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2725 
    2726 else
    2727   ac_file=''
    2728 fi
    2729 
    2730 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
    2731 $as_echo "$ac_file" >&6; }
    2732 if test -z "$ac_file"; then
    2733   $as_echo "$as_me: failed program was:" >&5
    2734 sed 's/^/| /' conftest.$ac_ext >&5
    2735 
    2736 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2737 See \`config.log' for more details." >&5
    2738 $as_echo "$as_me: error: C compiler cannot create executables
    2739 See \`config.log' for more details." >&2;}
    2740    { (exit 77); exit 77; }; }
    2741 fi
    2742 
    2743 ac_exeext=$ac_cv_exeext
    2744 
    2745 # Check that the compiler produces executables we can run.  If not, either
    2746 # the compiler is broken, or we cross compile.
    2747 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2748 $as_echo_n "checking whether the C compiler works... " >&6; }
    2749 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2750 # If not cross compiling, check that we can run a simple program.
    2751 if test "$cross_compiling" != yes; then
    2752   if { ac_try='./$ac_file'
    2753   { (case "(($ac_try" in
    2754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2755   *) ac_try_echo=$ac_try;;
    2756 esac
    2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2758 $as_echo "$ac_try_echo") >&5
    2759   (eval "$ac_try") 2>&5
    2760   ac_status=$?
    2761   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2762   (exit $ac_status); }; }; then
    2763     cross_compiling=no
    2764   else
    2765     if test "$cross_compiling" = maybe; then
    2766         cross_compiling=yes
    2767     else
    2768         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2769 If you meant to cross compile, use \`--host'.
    2770 See \`config.log' for more details." >&5
    2771 $as_echo "$as_me: error: cannot run C compiled programs.
    2772 If you meant to cross compile, use \`--host'.
    2773 See \`config.log' for more details." >&2;}
    2774    { (exit 1); exit 1; }; }
    2775     fi
    2776   fi
    2777 fi
    2778 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2779 $as_echo "yes" >&6; }
    2780 
    2781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    2782 ac_clean_files=$ac_clean_files_save
    2783 # Check that the compiler produces executables we can run.  If not, either
    2784 # the compiler is broken, or we cross compile.
    2785 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2786 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2787 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2788 $as_echo "$cross_compiling" >&6; }
    2789 
    2790 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2791 $as_echo_n "checking for suffix of executables... " >&6; }
    2792 if { (ac_try="$ac_link"
    2793 case "(($ac_try" in
    2794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2795   *) ac_try_echo=$ac_try;;
    2796 esac
    2797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2798 $as_echo "$ac_try_echo") >&5
    2799   (eval "$ac_link") 2>&5
    2800   ac_status=$?
    2801   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2802   (exit $ac_status); }; then
    2803   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    2804 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2806 # `rm'.
    2807 for ac_file in conftest.exe conftest conftest.*; do
    2808   test -f "$ac_file" || continue
    2809   case $ac_file in
    2810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2811     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2812           break;;
    2813     * ) break;;
    2814   esac
    2815 done
    2816 else
    2817   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2818 See \`config.log' for more details." >&5
    2819 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2820 See \`config.log' for more details." >&2;}
    2821    { (exit 1); exit 1; }; }
    2822 fi
    2823 
    2824 rm -f conftest$ac_cv_exeext
    2825 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2826 $as_echo "$ac_cv_exeext" >&6; }
    2827 
    2828 rm -f conftest.$ac_ext
    2829 EXEEXT=$ac_cv_exeext
    2830 ac_exeext=$EXEEXT
    2831 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2832 $as_echo_n "checking for suffix of object files... " >&6; }
    2833 if test "${ac_cv_objext+set}" = set; then
    2834   $as_echo_n "(cached) " >&6
    2835 else
    2836   cat >conftest.$ac_ext <<_ACEOF
    2837 /* confdefs.h.  */
    2838 _ACEOF
    2839 cat confdefs.h >>conftest.$ac_ext
    2840 cat >>conftest.$ac_ext <<_ACEOF
    2841 /* end confdefs.h.  */
    2842 
    2843 int
    2844 main ()
    2845 {
    2846 
    2847   ;
    2848   return 0;
    2849 }
    2850 _ACEOF
    2851 rm -f conftest.o conftest.obj
    2852 if { (ac_try="$ac_compile"
    2853 case "(($ac_try" in
    2854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2855   *) ac_try_echo=$ac_try;;
    2856 esac
    2857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2858 $as_echo "$ac_try_echo") >&5
    2859   (eval "$ac_compile") 2>&5
    2860   ac_status=$?
    2861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); }; then
    2863   for ac_file in conftest.o conftest.obj conftest.*; do
    2864   test -f "$ac_file" || continue;
    2865   case $ac_file in
    2866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    2867     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    2868        break;;
    2869   esac
    2870 done
    2871 else
    2872   $as_echo "$as_me: failed program was:" >&5
    2873 sed 's/^/| /' conftest.$ac_ext >&5
    2874 
    2875 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2876 See \`config.log' for more details." >&5
    2877 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2878 See \`config.log' for more details." >&2;}
    2879    { (exit 1); exit 1; }; }
    2880 fi
    2881 
    2882 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2883 fi
    2884 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2885 $as_echo "$ac_cv_objext" >&6; }
    2886 OBJEXT=$ac_cv_objext
    2887 ac_objext=$OBJEXT
    2888 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2889 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2890 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2891   $as_echo_n "(cached) " >&6
    2892 else
    2893   cat >conftest.$ac_ext <<_ACEOF
    2894 /* confdefs.h.  */
    2895 _ACEOF
    2896 cat confdefs.h >>conftest.$ac_ext
    2897 cat >>conftest.$ac_ext <<_ACEOF
    2898 /* end confdefs.h.  */
    2899 
    2900 int
    2901 main ()
    2902 {
    2903 #ifndef __GNUC__
    2904        choke me
    2905 #endif
    2906 
    2907   ;
    2908   return 0;
    2909 }
    2910 _ACEOF
    2911 rm -f conftest.$ac_objext
    2912 if { (ac_try="$ac_compile"
    2913 case "(($ac_try" in
    2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2915   *) ac_try_echo=$ac_try;;
    2916 esac
    2917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2918 $as_echo "$ac_try_echo") >&5
    2919   (eval "$ac_compile") 2>conftest.er1
    2920   ac_status=$?
    2921   grep -v '^ *+' conftest.er1 >conftest.err
    2922   rm -f conftest.er1
    2923   cat conftest.err >&5
    2924   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2925   (exit $ac_status); } && {
    2926          test -z "$ac_c_werror_flag" ||
    2927          test ! -s conftest.err
    2928        } && test -s conftest.$ac_objext; then
    2929   ac_compiler_gnu=yes
    2930 else
    2931   $as_echo "$as_me: failed program was:" >&5
    2932 sed 's/^/| /' conftest.$ac_ext >&5
    2933 
    2934         ac_compiler_gnu=no
    2935 fi
    2936 
    2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2939 
    2940 fi
    2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2942 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    2943 if test $ac_compiler_gnu = yes; then
    2944   GCC=yes
    2945 else
    2946   GCC=
    2947 fi
    2948 ac_test_CFLAGS=${CFLAGS+set}
    2949 ac_save_CFLAGS=$CFLAGS
    2950 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2951 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    2952 if test "${ac_cv_prog_cc_g+set}" = set; then
    2953   $as_echo_n "(cached) " >&6
    2954 else
    2955   ac_save_c_werror_flag=$ac_c_werror_flag
    2956    ac_c_werror_flag=yes
    2957    ac_cv_prog_cc_g=no
    2958    CFLAGS="-g"
    2959    cat >conftest.$ac_ext <<_ACEOF
    2960 /* confdefs.h.  */
    2961 _ACEOF
    2962 cat confdefs.h >>conftest.$ac_ext
    2963 cat >>conftest.$ac_ext <<_ACEOF
    2964 /* end confdefs.h.  */
    2965 
    2966 int
    2967 main ()
    2968 {
    2969 
    2970   ;
    2971   return 0;
    2972 }
    2973 _ACEOF
    2974 rm -f conftest.$ac_objext
    2975 if { (ac_try="$ac_compile"
    2976 case "(($ac_try" in
    2977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2978   *) ac_try_echo=$ac_try;;
    2979 esac
    2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2981 $as_echo "$ac_try_echo") >&5
    2982   (eval "$ac_compile") 2>conftest.er1
    2983   ac_status=$?
    2984   grep -v '^ *+' conftest.er1 >conftest.err
    2985   rm -f conftest.er1
    2986   cat conftest.err >&5
    2987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2988   (exit $ac_status); } && {
    2989          test -z "$ac_c_werror_flag" ||
    2990          test ! -s conftest.err
    2991        } && test -s conftest.$ac_objext; then
    2992   ac_cv_prog_cc_g=yes
    2993 else
    2994   $as_echo "$as_me: failed program was:" >&5
    2995 sed 's/^/| /' conftest.$ac_ext >&5
    2996 
    2997         CFLAGS=""
    2998       cat >conftest.$ac_ext <<_ACEOF
    2999 /* confdefs.h.  */
    3000 _ACEOF
    3001 cat confdefs.h >>conftest.$ac_ext
    3002 cat >>conftest.$ac_ext <<_ACEOF
    3003 /* end confdefs.h.  */
    3004 
    3005 int
    3006 main ()
    3007 {
    3008 
    3009   ;
    3010   return 0;
    3011 }
    3012 _ACEOF
    3013 rm -f conftest.$ac_objext
    3014 if { (ac_try="$ac_compile"
    3015 case "(($ac_try" in
    3016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3017   *) ac_try_echo=$ac_try;;
    3018 esac
    3019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3020 $as_echo "$ac_try_echo") >&5
    3021   (eval "$ac_compile") 2>conftest.er1
    3022   ac_status=$?
    3023   grep -v '^ *+' conftest.er1 >conftest.err
    3024   rm -f conftest.er1
    3025   cat conftest.err >&5
    3026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3027   (exit $ac_status); } && {
    3028          test -z "$ac_c_werror_flag" ||
    3029          test ! -s conftest.err
    3030        } && test -s conftest.$ac_objext; then
    3031   :
    3032 else
    3033   $as_echo "$as_me: failed program was:" >&5
    3034 sed 's/^/| /' conftest.$ac_ext >&5
    3035 
    3036         ac_c_werror_flag=$ac_save_c_werror_flag
    3037          CFLAGS="-g"
    3038          cat >conftest.$ac_ext <<_ACEOF
    3039 /* confdefs.h.  */
    3040 _ACEOF
    3041 cat confdefs.h >>conftest.$ac_ext
    3042 cat >>conftest.$ac_ext <<_ACEOF
    3043 /* end confdefs.h.  */
    3044 
    3045 int
    3046 main ()
    3047 {
    3048 
    3049   ;
    3050   return 0;
    3051 }
    3052 _ACEOF
    3053 rm -f conftest.$ac_objext
    3054 if { (ac_try="$ac_compile"
    3055 case "(($ac_try" in
    3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3057   *) ac_try_echo=$ac_try;;
    3058 esac
    3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3060 $as_echo "$ac_try_echo") >&5
    3061   (eval "$ac_compile") 2>conftest.er1
    3062   ac_status=$?
    3063   grep -v '^ *+' conftest.er1 >conftest.err
    3064   rm -f conftest.er1
    3065   cat conftest.err >&5
    3066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3067   (exit $ac_status); } && {
    3068          test -z "$ac_c_werror_flag" ||
    3069          test ! -s conftest.err
    3070        } && test -s conftest.$ac_objext; then
    3071   ac_cv_prog_cc_g=yes
    3072 else
    3073   $as_echo "$as_me: failed program was:" >&5
    3074 sed 's/^/| /' conftest.$ac_ext >&5
    3075 
    3076 
    3077 fi
    3078 
    3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3080 fi
    3081 
    3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3083 fi
    3084 
    3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3086    ac_c_werror_flag=$ac_save_c_werror_flag
    3087 fi
    3088 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    3089 $as_echo "$ac_cv_prog_cc_g" >&6; }
    3090 if test "$ac_test_CFLAGS" = set; then
    3091   CFLAGS=$ac_save_CFLAGS
    3092 elif test $ac_cv_prog_cc_g = yes; then
    3093   if test "$GCC" = yes; then
    3094     CFLAGS="-g -O2"
    3095   else
    3096     CFLAGS="-g"
    3097   fi
    3098 else
    3099   if test "$GCC" = yes; then
    3100     CFLAGS="-O2"
    3101   else
    3102     CFLAGS=
    3103   fi
    3104 fi
    3105 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    3106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3107 if test "${ac_cv_prog_cc_c89+set}" = set; then
    3108   $as_echo_n "(cached) " >&6
    3109 else
    3110   ac_cv_prog_cc_c89=no
    3111 ac_save_CC=$CC
    3112 cat >conftest.$ac_ext <<_ACEOF
    3113 /* confdefs.h.  */
    3114 _ACEOF
    3115 cat confdefs.h >>conftest.$ac_ext
    3116 cat >>conftest.$ac_ext <<_ACEOF
    3117 /* end confdefs.h.  */
    3118 #include <stdarg.h>
    3119 #include <stdio.h>
    3120 #include <sys/types.h>
    3121 #include <sys/stat.h>
    3122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    3123 struct buf { int x; };
    3124 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    3125 static char *e (p, i)
    3126      char **p;
    3127      int i;
    3128 {
    3129   return p[i];
    3130 }
    3131 static char *f (char * (*g) (char **, int), char **p, ...)
    3132 {
    3133   char *s;
    3134   va_list v;
    3135   va_start (v,p);
    3136   s = g (p, va_arg (v,int));
    3137   va_end (v);
    3138   return s;
    3139 }
    3140 
    3141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    3142    function prototypes and stuff, but not '\xHH' hex character constants.
    3143    These don't provoke an error unfortunately, instead are silently treated
    3144    as 'x'.  The following induces an error, until -std is added to get
    3145    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3146    array size at least.  It's necessary to write '\x00'==0 to get something
    3147    that's true only with -std.  */
    3148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3149 
    3150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3151    inside strings and character constants.  */
    3152 #define FOO(x) 'x'
    3153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    3154 
    3155 int test (int i, double x);
    3156 struct s1 {int (*f) (int a);};
    3157 struct s2 {int (*f) (double a);};
    3158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    3159 int argc;
    3160 char **argv;
    3161 int
    3162 main ()
    3163 {
    3164 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    3165   ;
    3166   return 0;
    3167 }
    3168 _ACEOF
    3169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3170         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    3171 do
    3172   CC="$ac_save_CC $ac_arg"
    3173   rm -f conftest.$ac_objext
    3174 if { (ac_try="$ac_compile"
    3175 case "(($ac_try" in
    3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3177   *) ac_try_echo=$ac_try;;
    3178 esac
    3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3180 $as_echo "$ac_try_echo") >&5
    3181   (eval "$ac_compile") 2>conftest.er1
    3182   ac_status=$?
    3183   grep -v '^ *+' conftest.er1 >conftest.err
    3184   rm -f conftest.er1
    3185   cat conftest.err >&5
    3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3187   (exit $ac_status); } && {
    3188          test -z "$ac_c_werror_flag" ||
    3189          test ! -s conftest.err
    3190        } && test -s conftest.$ac_objext; then
    3191   ac_cv_prog_cc_c89=$ac_arg
    3192 else
    3193   $as_echo "$as_me: failed program was:" >&5
    3194 sed 's/^/| /' conftest.$ac_ext >&5
    3195 
    3196 
    3197 fi
    3198 
    3199 rm -f core conftest.err conftest.$ac_objext
    3200   test "x$ac_cv_prog_cc_c89" != "xno" && break
    3201 done
    3202 rm -f conftest.$ac_ext
    3203 CC=$ac_save_CC
    3204 
    3205 fi
    3206 # AC_CACHE_VAL
    3207 case "x$ac_cv_prog_cc_c89" in
    3208   x)
    3209     { $as_echo "$as_me:$LINENO: result: none needed" >&5
    3210 $as_echo "none needed" >&6; } ;;
    3211   xno)
    3212     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    3213 $as_echo "unsupported" >&6; } ;;
    3214   *)
    3215     CC="$CC $ac_cv_prog_cc_c89"
    3216     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    3217 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    3218 esac
    3219 
    3220 
    3221 ac_ext=c
    3222 ac_cpp='$CPP $CPPFLAGS'
    3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3226 
    3227     ac_ext=cpp
    3228 ac_cpp='$CXXCPP $CPPFLAGS'
    3229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3232 if test -z "$CXX"; then
    3233   if test -n "$CCC"; then
    3234     CXX=$CCC
    3235   else
    3236     if test -n "$ac_tool_prefix"; then
    3237   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    3238   do
    3239     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3242 $as_echo_n "checking for $ac_word... " >&6; }
    3243 if test "${ac_cv_prog_CXX+set}" = set; then
    3244   $as_echo_n "(cached) " >&6
    3245 else
    3246   if test -n "$CXX"; then
    3247   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    3248 else
    3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3250 for as_dir in $PATH
    3251 do
    3252   IFS=$as_save_IFS
    3253   test -z "$as_dir" && as_dir=.
    3254   for ac_exec_ext in '' $ac_executable_extensions; do
    3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3256     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3257     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3258     break 2
    3259   fi
    3260 done
    3261 done
    3262 IFS=$as_save_IFS
    3263 
    3264 fi
    3265 fi
    3266 CXX=$ac_cv_prog_CXX
    3267 if test -n "$CXX"; then
    3268   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    3269 $as_echo "$CXX" >&6; }
    3270 else
    3271   { $as_echo "$as_me:$LINENO: result: no" >&5
    3272 $as_echo "no" >&6; }
    3273 fi
    3274 
    3275 
    3276     test -n "$CXX" && break
    3277   done
    3278 fi
    3279 if test -z "$CXX"; then
    3280   ac_ct_CXX=$CXX
    3281   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    3282 do
    3283   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3284 set dummy $ac_prog; ac_word=$2
    3285 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3286 $as_echo_n "checking for $ac_word... " >&6; }
    3287 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3288   $as_echo_n "(cached) " >&6
    3289 else
    3290   if test -n "$ac_ct_CXX"; then
    3291   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    3292 else
    3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3294 for as_dir in $PATH
    3295 do
    3296   IFS=$as_save_IFS
    3297   test -z "$as_dir" && as_dir=.
    3298   for ac_exec_ext in '' $ac_executable_extensions; do
    3299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3300     ac_cv_prog_ac_ct_CXX="$ac_prog"
    3301     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3302     break 2
    3303   fi
    3304 done
    3305 done
    3306 IFS=$as_save_IFS
    3307 
    3308 fi
    3309 fi
    3310 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    3311 if test -n "$ac_ct_CXX"; then
    3312   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3313 $as_echo "$ac_ct_CXX" >&6; }
    3314 else
    3315   { $as_echo "$as_me:$LINENO: result: no" >&5
    3316 $as_echo "no" >&6; }
    3317 fi
    3318 
    3319 
    3320   test -n "$ac_ct_CXX" && break
    3321 done
    3322 
    3323   if test "x$ac_ct_CXX" = x; then
    3324     CXX="g++"
    3325   else
    3326     case $cross_compiling:$ac_tool_warned in
    3327 yes:)
    3328 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3329 whose name does not start with the host triplet.  If you think this
    3330 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3331 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3332 whose name does not start with the host triplet.  If you think this
    3333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    3334 ac_tool_warned=yes ;;
    3335 esac
    3336     CXX=$ac_ct_CXX
    3337   fi
    3338 fi
    3339 
    3340   fi
    3341 fi
    3342 # Provide some information about the compiler.
    3343 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3344 set X $ac_compile
    3345 ac_compiler=$2
    3346 { (ac_try="$ac_compiler --version >&5"
    3347 case "(($ac_try" in
    3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3349   *) ac_try_echo=$ac_try;;
    3350 esac
    3351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3352 $as_echo "$ac_try_echo") >&5
    3353   (eval "$ac_compiler --version >&5") 2>&5
    3354   ac_status=$?
    3355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3356   (exit $ac_status); }
    3357 { (ac_try="$ac_compiler -v >&5"
    3358 case "(($ac_try" in
    3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3360   *) ac_try_echo=$ac_try;;
    3361 esac
    3362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3363 $as_echo "$ac_try_echo") >&5
    3364   (eval "$ac_compiler -v >&5") 2>&5
    3365   ac_status=$?
    3366   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3367   (exit $ac_status); }
    3368 { (ac_try="$ac_compiler -V >&5"
    3369 case "(($ac_try" in
    3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3371   *) ac_try_echo=$ac_try;;
    3372 esac
    3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3374 $as_echo "$ac_try_echo") >&5
    3375   (eval "$ac_compiler -V >&5") 2>&5
    3376   ac_status=$?
    3377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3378   (exit $ac_status); }
    3379 
    3380 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3381 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3382 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3383   $as_echo_n "(cached) " >&6
    3384 else
    3385   cat >conftest.$ac_ext <<_ACEOF
    3386 /* confdefs.h.  */
    3387 _ACEOF
    3388 cat confdefs.h >>conftest.$ac_ext
    3389 cat >>conftest.$ac_ext <<_ACEOF
    3390 /* end confdefs.h.  */
    3391 
    3392 int
    3393 main ()
    3394 {
    3395 #ifndef __GNUC__
    3396        choke me
    3397 #endif
    3398 
    3399   ;
    3400   return 0;
    3401 }
    3402 _ACEOF
    3403 rm -f conftest.$ac_objext
    3404 if { (ac_try="$ac_compile"
    3405 case "(($ac_try" in
    3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3407   *) ac_try_echo=$ac_try;;
    3408 esac
    3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3410 $as_echo "$ac_try_echo") >&5
    3411   (eval "$ac_compile") 2>conftest.er1
    3412   ac_status=$?
    3413   grep -v '^ *+' conftest.er1 >conftest.err
    3414   rm -f conftest.er1
    3415   cat conftest.err >&5
    3416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3417   (exit $ac_status); } && {
    3418          test -z "$ac_cxx_werror_flag" ||
    3419          test ! -s conftest.err
    3420        } && test -s conftest.$ac_objext; then
    3421   ac_compiler_gnu=yes
    3422 else
    3423   $as_echo "$as_me: failed program was:" >&5
    3424 sed 's/^/| /' conftest.$ac_ext >&5
    3425 
    3426         ac_compiler_gnu=no
    3427 fi
    3428 
    3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3430 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    3431 
    3432 fi
    3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3434 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3435 if test $ac_compiler_gnu = yes; then
    3436   GXX=yes
    3437 else
    3438   GXX=
    3439 fi
    3440 ac_test_CXXFLAGS=${CXXFLAGS+set}
    3441 ac_save_CXXFLAGS=$CXXFLAGS
    3442 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3443 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3444 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3445   $as_echo_n "(cached) " >&6
    3446 else
    3447   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3448    ac_cxx_werror_flag=yes
    3449    ac_cv_prog_cxx_g=no
    3450    CXXFLAGS="-g"
    3451    cat >conftest.$ac_ext <<_ACEOF
    3452 /* confdefs.h.  */
    3453 _ACEOF
    3454 cat confdefs.h >>conftest.$ac_ext
    3455 cat >>conftest.$ac_ext <<_ACEOF
    3456 /* end confdefs.h.  */
    3457 
    3458 int
    3459 main ()
    3460 {
    3461 
    3462   ;
    3463   return 0;
    3464 }
    3465 _ACEOF
    3466 rm -f conftest.$ac_objext
    3467 if { (ac_try="$ac_compile"
    3468 case "(($ac_try" in
    3469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3470   *) ac_try_echo=$ac_try;;
    3471 esac
    3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3473 $as_echo "$ac_try_echo") >&5
    3474   (eval "$ac_compile") 2>conftest.er1
    3475   ac_status=$?
    3476   grep -v '^ *+' conftest.er1 >conftest.err
    3477   rm -f conftest.er1
    3478   cat conftest.err >&5
    3479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3480   (exit $ac_status); } && {
    3481          test -z "$ac_cxx_werror_flag" ||
    3482          test ! -s conftest.err
    3483        } && test -s conftest.$ac_objext; then
    3484   ac_cv_prog_cxx_g=yes
    3485 else
    3486   $as_echo "$as_me: failed program was:" >&5
    3487 sed 's/^/| /' conftest.$ac_ext >&5
    3488 
    3489         CXXFLAGS=""
    3490       cat >conftest.$ac_ext <<_ACEOF
    3491 /* confdefs.h.  */
    3492 _ACEOF
    3493 cat confdefs.h >>conftest.$ac_ext
    3494 cat >>conftest.$ac_ext <<_ACEOF
    3495 /* end confdefs.h.  */
    3496 
    3497 int
    3498 main ()
    3499 {
    3500 
    3501   ;
    3502   return 0;
    3503 }
    3504 _ACEOF
    3505 rm -f conftest.$ac_objext
    3506 if { (ac_try="$ac_compile"
    3507 case "(($ac_try" in
    3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3509   *) ac_try_echo=$ac_try;;
    3510 esac
    3511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3512 $as_echo "$ac_try_echo") >&5
    3513   (eval "$ac_compile") 2>conftest.er1
    3514   ac_status=$?
    3515   grep -v '^ *+' conftest.er1 >conftest.err
    3516   rm -f conftest.er1
    3517   cat conftest.err >&5
    3518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3519   (exit $ac_status); } && {
    3520          test -z "$ac_cxx_werror_flag" ||
    3521          test ! -s conftest.err
    3522        } && test -s conftest.$ac_objext; then
    3523   :
    3524 else
    3525   $as_echo "$as_me: failed program was:" >&5
    3526 sed 's/^/| /' conftest.$ac_ext >&5
    3527 
    3528         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3529          CXXFLAGS="-g"
    3530          cat >conftest.$ac_ext <<_ACEOF
    3531 /* confdefs.h.  */
    3532 _ACEOF
    3533 cat confdefs.h >>conftest.$ac_ext
    3534 cat >>conftest.$ac_ext <<_ACEOF
    3535 /* end confdefs.h.  */
    3536 
    3537 int
    3538 main ()
    3539 {
    3540 
    3541   ;
    3542   return 0;
    3543 }
    3544 _ACEOF
    3545 rm -f conftest.$ac_objext
    3546 if { (ac_try="$ac_compile"
    3547 case "(($ac_try" in
    3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3549   *) ac_try_echo=$ac_try;;
    3550 esac
    3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3552 $as_echo "$ac_try_echo") >&5
    3553   (eval "$ac_compile") 2>conftest.er1
    3554   ac_status=$?
    3555   grep -v '^ *+' conftest.er1 >conftest.err
    3556   rm -f conftest.er1
    3557   cat conftest.err >&5
    3558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3559   (exit $ac_status); } && {
    3560          test -z "$ac_cxx_werror_flag" ||
    3561          test ! -s conftest.err
    3562        } && test -s conftest.$ac_objext; then
    3563   ac_cv_prog_cxx_g=yes
    3564 else
    3565   $as_echo "$as_me: failed program was:" >&5
    3566 sed 's/^/| /' conftest.$ac_ext >&5
    3567 
    3568 
    3569 fi
    3570 
    3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3572 fi
    3573 
    3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3575 fi
    3576 
    3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3578    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3579 fi
    3580 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3581 $as_echo "$ac_cv_prog_cxx_g" >&6; }
    3582 if test "$ac_test_CXXFLAGS" = set; then
    3583   CXXFLAGS=$ac_save_CXXFLAGS
    3584 elif test $ac_cv_prog_cxx_g = yes; then
    3585   if test "$GXX" = yes; then
    3586     CXXFLAGS="-g -O2"
    3587   else
    3588     CXXFLAGS="-g"
    3589   fi
    3590 else
    3591   if test "$GXX" = yes; then
    3592     CXXFLAGS="-O2"
    3593   else
    3594     CXXFLAGS=
    3595   fi
    3596 fi
    3597 ac_ext=c
    3598 ac_cpp='$CPP $CPPFLAGS'
    3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3602 
    3603     ac_ext=c
    3604 ac_cpp='$CPP $CPPFLAGS'
    3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3608 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3609 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    3610 # On Suns, sometimes $CPP names a directory.
    3611 if test -n "$CPP" && test -d "$CPP"; then
    3612   CPP=
    3613 fi
    3614 if test -z "$CPP"; then
    3615   if test "${ac_cv_prog_CPP+set}" = set; then
    3616   $as_echo_n "(cached) " >&6
    3617 else
    3618       # Double quotes because CPP needs to be expanded
    3619     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3620     do
    3621       ac_preproc_ok=false
    3622 for ac_c_preproc_warn_flag in '' yes
    3623 do
    3624   # Use a header file that comes with gcc, so configuring glibc
    3625   # with a fresh cross-compiler works.
    3626   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3627   # <limits.h> exists even on freestanding compilers.
    3628   # On the NeXT, cc -E runs the code through the compiler's parser,
    3629   # not just through cpp. "Syntax error" is here to catch this case.
    3630   cat >conftest.$ac_ext <<_ACEOF
    3631 /* confdefs.h.  */
    3632 _ACEOF
    3633 cat confdefs.h >>conftest.$ac_ext
    3634 cat >>conftest.$ac_ext <<_ACEOF
    3635 /* end confdefs.h.  */
    3636 #ifdef __STDC__
    3637 # include <limits.h>
    3638 #else
    3639 # include <assert.h>
    3640 #endif
    3641                      Syntax error
    3642 _ACEOF
    3643 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3644 case "(($ac_try" in
    3645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3646   *) ac_try_echo=$ac_try;;
    3647 esac
    3648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3649 $as_echo "$ac_try_echo") >&5
    3650   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3651   ac_status=$?
    3652   grep -v '^ *+' conftest.er1 >conftest.err
    3653   rm -f conftest.er1
    3654   cat conftest.err >&5
    3655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3656   (exit $ac_status); } >/dev/null && {
    3657          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3658          test ! -s conftest.err
    3659        }; then
    3660   :
    3661 else
    3662   $as_echo "$as_me: failed program was:" >&5
    3663 sed 's/^/| /' conftest.$ac_ext >&5
    3664 
    3665   # Broken: fails on valid input.
    3666 continue
    3667 fi
    3668 
    3669 rm -f conftest.err conftest.$ac_ext
    3670 
    3671   # OK, works on sane cases.  Now check whether nonexistent headers
    3672   # can be detected and how.
    3673   cat >conftest.$ac_ext <<_ACEOF
    3674 /* confdefs.h.  */
    3675 _ACEOF
    3676 cat confdefs.h >>conftest.$ac_ext
    3677 cat >>conftest.$ac_ext <<_ACEOF
    3678 /* end confdefs.h.  */
    3679 #include <ac_nonexistent.h>
    3680 _ACEOF
    3681 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3682 case "(($ac_try" in
    3683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3684   *) ac_try_echo=$ac_try;;
    3685 esac
    3686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3687 $as_echo "$ac_try_echo") >&5
    3688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3689   ac_status=$?
    3690   grep -v '^ *+' conftest.er1 >conftest.err
    3691   rm -f conftest.er1
    3692   cat conftest.err >&5
    3693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3694   (exit $ac_status); } >/dev/null && {
    3695          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3696          test ! -s conftest.err
    3697        }; then
    3698   # Broken: success on invalid input.
    3699 continue
    3700 else
    3701   $as_echo "$as_me: failed program was:" >&5
    3702 sed 's/^/| /' conftest.$ac_ext >&5
    3703 
    3704   # Passes both tests.
    3705 ac_preproc_ok=:
    3706 break
    3707 fi
    3708 
    3709 rm -f conftest.err conftest.$ac_ext
    3710 
    3711 done
    3712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3713 rm -f conftest.err conftest.$ac_ext
    3714 if $ac_preproc_ok; then
    3715   break
    3716 fi
    3717 
    3718     done
    3719     ac_cv_prog_CPP=$CPP
    3720 
    3721 fi
    3722   CPP=$ac_cv_prog_CPP
    3723 else
    3724   ac_cv_prog_CPP=$CPP
    3725 fi
    3726 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
    3727 $as_echo "$CPP" >&6; }
    3728 ac_preproc_ok=false
    3729 for ac_c_preproc_warn_flag in '' yes
    3730 do
    3731   # Use a header file that comes with gcc, so configuring glibc
    3732   # with a fresh cross-compiler works.
    3733   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3734   # <limits.h> exists even on freestanding compilers.
    3735   # On the NeXT, cc -E runs the code through the compiler's parser,
    3736   # not just through cpp. "Syntax error" is here to catch this case.
    3737   cat >conftest.$ac_ext <<_ACEOF
    3738 /* confdefs.h.  */
    3739 _ACEOF
    3740 cat confdefs.h >>conftest.$ac_ext
    3741 cat >>conftest.$ac_ext <<_ACEOF
    3742 /* end confdefs.h.  */
    3743 #ifdef __STDC__
    3744 # include <limits.h>
    3745 #else
    3746 # include <assert.h>
    3747 #endif
    3748                      Syntax error
    3749 _ACEOF
    3750 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3751 case "(($ac_try" in
    3752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3753   *) ac_try_echo=$ac_try;;
    3754 esac
    3755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3756 $as_echo "$ac_try_echo") >&5
    3757   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3758   ac_status=$?
    3759   grep -v '^ *+' conftest.er1 >conftest.err
    3760   rm -f conftest.er1
    3761   cat conftest.err >&5
    3762   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3763   (exit $ac_status); } >/dev/null && {
    3764          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3765          test ! -s conftest.err
    3766        }; then
    3767   :
    3768 else
    3769   $as_echo "$as_me: failed program was:" >&5
    3770 sed 's/^/| /' conftest.$ac_ext >&5
    3771 
    3772   # Broken: fails on valid input.
    3773 continue
    3774 fi
    3775 
    3776 rm -f conftest.err conftest.$ac_ext
    3777 
    3778   # OK, works on sane cases.  Now check whether nonexistent headers
    3779   # can be detected and how.
    3780   cat >conftest.$ac_ext <<_ACEOF
    3781 /* confdefs.h.  */
    3782 _ACEOF
    3783 cat confdefs.h >>conftest.$ac_ext
    3784 cat >>conftest.$ac_ext <<_ACEOF
    3785 /* end confdefs.h.  */
    3786 #include <ac_nonexistent.h>
    3787 _ACEOF
    3788 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3789 case "(($ac_try" in
    3790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3791   *) ac_try_echo=$ac_try;;
    3792 esac
    3793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3794 $as_echo "$ac_try_echo") >&5
    3795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3796   ac_status=$?
    3797   grep -v '^ *+' conftest.er1 >conftest.err
    3798   rm -f conftest.er1
    3799   cat conftest.err >&5
    3800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3801   (exit $ac_status); } >/dev/null && {
    3802          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3803          test ! -s conftest.err
    3804        }; then
    3805   # Broken: success on invalid input.
    3806 continue
    3807 else
    3808   $as_echo "$as_me: failed program was:" >&5
    3809 sed 's/^/| /' conftest.$ac_ext >&5
    3810 
    3811   # Passes both tests.
    3812 ac_preproc_ok=:
    3813 break
    3814 fi
    3815 
    3816 rm -f conftest.err conftest.$ac_ext
    3817 
    3818 done
    3819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3820 rm -f conftest.err conftest.$ac_ext
    3821 if $ac_preproc_ok; then
    3822   :
    3823 else
    3824   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3825 See \`config.log' for more details." >&5
    3826 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3827 See \`config.log' for more details." >&2;}
    3828    { (exit 1); exit 1; }; }
    3829 fi
    3830 
    3831 ac_ext=c
    3832 ac_cpp='$CPP $CPPFLAGS'
    3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3836 
    3837 
    3838     # Find a good install program.  We prefer a C program (faster),
     2664# Find a good install program.  We prefer a C program (faster),
    38392665# so one script is as good as another.  But avoid the broken or
    38402666# incompatible versions:
     
    38502676# ./install, which can be erroneously created by make from ./install.sh.
    38512677# Reject install programs that cannot install multiple files.
    3852 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    38532679$as_echo_n "checking for a BSD-compatible install... " >&6; }
    38542680if test -z "$INSTALL"; then
    3855 if test "${ac_cv_path_install+set}" = set; then
     2681if ${ac_cv_path_install+:} false; then :
    38562682  $as_echo_n "(cached) " >&6
    38572683else
     
    38612687  IFS=$as_save_IFS
    38622688  test -z "$as_dir" && as_dir=.
    3863   # Account for people who put trailing slashes in PATH elements.
    3864 case $as_dir/ in
    3865   ./ | .// | /cC/* | \
     2689    # Account for people who put trailing slashes in PATH elements.
     2690case $as_dir/ in #((
     2691  ./ | .// | /[cC]/* | \
    38662692  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3867   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2693  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    38682694  /usr/ucb/* ) ;;
    38692695  *)
     
    38732699    for ac_prog in ginstall scoinst install; do
    38742700      for ac_exec_ext in '' $ac_executable_extensions; do
    3875         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2701        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    38762702          if test $ac_prog = install &&
    38772703            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    39022728esac
    39032729
    3904 done
     2730  done
    39052731IFS=$as_save_IFS
    39062732
     
    39182744  fi
    39192745fi
    3920 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    39212747$as_echo "$INSTALL" >&6; }
    39222748
     
    39302756
    39312757
    3932     #--------------------------------------------------------------------
    3933     # Checks to see if the make program sets the $MAKE variable.
    3934     #--------------------------------------------------------------------
    3935 
    3936     { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    3938 set x ${MAKE-make}
    3939 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3940 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    3941   $as_echo_n "(cached) " >&6
    3942 else
    3943   cat >conftest.make <<\_ACEOF
    3944 SHELL = /bin/sh
    3945 all:
    3946         @echo '@@@%%%=$(MAKE)=@@@%%%'
    3947 _ACEOF
    3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3950   *@@@%%%=?*=@@@%%%*)
    3951     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3952   *)
    3953     eval ac_cv_prog_make_${ac_make}_set=no;;
    3954 esac
    3955 rm -f conftest.make
    3956 fi
    3957 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3958   { $as_echo "$as_me:$LINENO: result: yes" >&5
    3959 $as_echo "yes" >&6; }
    3960   SET_MAKE=
    3961 else
    3962   { $as_echo "$as_me:$LINENO: result: no" >&5
    3963 $as_echo "no" >&6; }
    3964   SET_MAKE="MAKE=${MAKE-make}"
    3965 fi
    3966 
    3967 
    3968     #--------------------------------------------------------------------
    3969     # Find ranlib
    3970     #--------------------------------------------------------------------
    3971 
    3972     if test -n "$ac_tool_prefix"; then
    3973   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    3974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3976 $as_echo_n "checking for $ac_word... " >&6; }
    3977 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3978   $as_echo_n "(cached) " >&6
    3979 else
    3980   if test -n "$RANLIB"; then
    3981   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    3982 else
    3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3984 for as_dir in $PATH
    3985 do
    3986   IFS=$as_save_IFS
    3987   test -z "$as_dir" && as_dir=.
    3988   for ac_exec_ext in '' $ac_executable_extensions; do
    3989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3990     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3992     break 2
    3993   fi
    3994 done
    3995 done
    3996 IFS=$as_save_IFS
    3997 
    3998 fi
    3999 fi
    4000 RANLIB=$ac_cv_prog_RANLIB
    4001 if test -n "$RANLIB"; then
    4002   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    4003 $as_echo "$RANLIB" >&6; }
    4004 else
    4005   { $as_echo "$as_me:$LINENO: result: no" >&5
    4006 $as_echo "no" >&6; }
    4007 fi
    4008 
    4009 
    4010 fi
    4011 if test -z "$ac_cv_prog_RANLIB"; then
    4012   ac_ct_RANLIB=$RANLIB
    4013   # Extract the first word of "ranlib", so it can be a program name with args.
    4014 set dummy ranlib; ac_word=$2
    4015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    4016 $as_echo_n "checking for $ac_word... " >&6; }
    4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    4018   $as_echo_n "(cached) " >&6
    4019 else
    4020   if test -n "$ac_ct_RANLIB"; then
    4021   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    4022 else
    4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4024 for as_dir in $PATH
    4025 do
    4026   IFS=$as_save_IFS
    4027   test -z "$as_dir" && as_dir=.
    4028   for ac_exec_ext in '' $ac_executable_extensions; do
    4029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    4030     ac_cv_prog_ac_ct_RANLIB="ranlib"
    4031     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4032     break 2
    4033   fi
    4034 done
    4035 done
    4036 IFS=$as_save_IFS
    4037 
    4038 fi
    4039 fi
    4040 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    4041 if test -n "$ac_ct_RANLIB"; then
    4042   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    4043 $as_echo "$ac_ct_RANLIB" >&6; }
    4044 else
    4045   { $as_echo "$as_me:$LINENO: result: no" >&5
    4046 $as_echo "no" >&6; }
    4047 fi
    4048 
    4049   if test "x$ac_ct_RANLIB" = x; then
    4050     RANLIB=":"
    4051   else
    4052     case $cross_compiling:$ac_tool_warned in
    4053 yes:)
    4054 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4055 whose name does not start with the host triplet.  If you think this
    4056 configuration is useful to you, please write to autoconf@gnu.org." >&5
    4057 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4058 whose name does not start with the host triplet.  If you think this
    4059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    4060 ac_tool_warned=yes ;;
    4061 esac
    4062     RANLIB=$ac_ct_RANLIB
    4063   fi
    4064 else
    4065   RANLIB="$ac_cv_prog_RANLIB"
    4066 fi
    4067 
    4068 
    4069     #--------------------------------------------------------------------
    4070     # Determines the correct binary file extension (.o, .obj, .exe etc.)
    4071     #--------------------------------------------------------------------
    4072 
    4073 
    4074 
    4075 
    4076 
    4077 
    4078 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    4079 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4080 if test "${ac_cv_path_GREP+set}" = set; then
    4081   $as_echo_n "(cached) " >&6
    4082 else
    4083   if test -z "$GREP"; then
    4084   ac_path_GREP_found=false
    4085   # Loop through the user's path and test for each of PROGNAME-LIST
    4086   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4088 do
    4089   IFS=$as_save_IFS
    4090   test -z "$as_dir" && as_dir=.
    4091   for ac_prog in grep ggrep; do
    4092     for ac_exec_ext in '' $ac_executable_extensions; do
    4093       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4094       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4095 # Check for GNU ac_path_GREP and select it if it is found.
    4096   # Check for GNU $ac_path_GREP
    4097 case `"$ac_path_GREP" --version 2>&1` in
    4098 *GNU*)
    4099   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4100 *)
    4101   ac_count=0
    4102   $as_echo_n 0123456789 >"conftest.in"
    4103   while :
    4104   do
    4105     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4106     mv "conftest.tmp" "conftest.in"
    4107     cp "conftest.in" "conftest.nl"
    4108     $as_echo 'GREP' >> "conftest.nl"
    4109     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4110     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4111     ac_count=`expr $ac_count + 1`
    4112     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4113       # Best one so far, save it but keep looking for a better one
    4114       ac_cv_path_GREP="$ac_path_GREP"
    4115       ac_path_GREP_max=$ac_count
     2758    # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE)
     2759    # in this macro, they need to go into TEA_SETUP_COMPILER instead.
     2760
     2761    # If the user did not set CFLAGS, set it now to keep
     2762    # the AC_PROG_CC macro from adding "-g -O2".
     2763    if test "${CFLAGS+set}" != "set" ; then
     2764        CFLAGS=""
    41162765    fi
    4117     # 10*(2^10) chars as input seems more than enough
    4118     test $ac_count -gt 10 && break
    4119   done
    4120   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4121 esac
    4122 
    4123       $ac_path_GREP_found && break 3
    4124     done
    4125   done
    4126 done
    4127 IFS=$as_save_IFS
    4128   if test -z "$ac_cv_path_GREP"; then
    4129     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4130 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4131    { (exit 1); exit 1; }; }
    4132   fi
    4133 else
    4134   ac_cv_path_GREP=$GREP
    4135 fi
    4136 
    4137 fi
    4138 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4139 $as_echo "$ac_cv_path_GREP" >&6; }
    4140  GREP="$ac_cv_path_GREP"
    4141 
    4142 
    4143 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
    4144 $as_echo_n "checking for egrep... " >&6; }
    4145 if test "${ac_cv_path_EGREP+set}" = set; then
    4146   $as_echo_n "(cached) " >&6
    4147 else
    4148   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4149    then ac_cv_path_EGREP="$GREP -E"
    4150    else
    4151      if test -z "$EGREP"; then
    4152   ac_path_EGREP_found=false
    4153   # Loop through the user's path and test for each of PROGNAME-LIST
    4154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4156 do
    4157   IFS=$as_save_IFS
    4158   test -z "$as_dir" && as_dir=.
    4159   for ac_prog in egrep; do
    4160     for ac_exec_ext in '' $ac_executable_extensions; do
    4161       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4162       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4163 # Check for GNU ac_path_EGREP and select it if it is found.
    4164   # Check for GNU $ac_path_EGREP
    4165 case `"$ac_path_EGREP" --version 2>&1` in
    4166 *GNU*)
    4167   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4168 *)
    4169   ac_count=0
    4170   $as_echo_n 0123456789 >"conftest.in"
    4171   while :
    4172   do
    4173     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4174     mv "conftest.tmp" "conftest.in"
    4175     cp "conftest.in" "conftest.nl"
    4176     $as_echo 'EGREP' >> "conftest.nl"
    4177     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4178     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4179     ac_count=`expr $ac_count + 1`
    4180     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4181       # Best one so far, save it but keep looking for a better one
    4182       ac_cv_path_EGREP="$ac_path_EGREP"
    4183       ac_path_EGREP_max=$ac_count
    4184     fi
    4185     # 10*(2^10) chars as input seems more than enough
    4186     test $ac_count -gt 10 && break
    4187   done
    4188   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4189 esac
    4190 
    4191       $ac_path_EGREP_found && break 3
    4192     done
    4193   done
    4194 done
    4195 IFS=$as_save_IFS
    4196   if test -z "$ac_cv_path_EGREP"; then
    4197     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4198 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4199    { (exit 1); exit 1; }; }
    4200   fi
    4201 else
    4202   ac_cv_path_EGREP=$EGREP
    4203 fi
    4204 
    4205    fi
    4206 fi
    4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4208 $as_echo "$ac_cv_path_EGREP" >&6; }
    4209  EGREP="$ac_cv_path_EGREP"
    4210 
    4211 
    4212 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4213 $as_echo_n "checking for ANSI C header files... " >&6; }
    4214 if test "${ac_cv_header_stdc+set}" = set; then
    4215   $as_echo_n "(cached) " >&6
    4216 else
    4217   cat >conftest.$ac_ext <<_ACEOF
    4218 /* confdefs.h.  */
    4219 _ACEOF
    4220 cat confdefs.h >>conftest.$ac_ext
    4221 cat >>conftest.$ac_ext <<_ACEOF
    4222 /* end confdefs.h.  */
    4223 #include <stdlib.h>
    4224 #include <stdarg.h>
    4225 #include <string.h>
    4226 #include <float.h>
    4227 
    4228 int
    4229 main ()
    4230 {
    4231 
    4232   ;
    4233   return 0;
    4234 }
    4235 _ACEOF
    4236 rm -f conftest.$ac_objext
    4237 if { (ac_try="$ac_compile"
    4238 case "(($ac_try" in
    4239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4240   *) ac_try_echo=$ac_try;;
    4241 esac
    4242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4243 $as_echo "$ac_try_echo") >&5
    4244   (eval "$ac_compile") 2>conftest.er1
    4245   ac_status=$?
    4246   grep -v '^ *+' conftest.er1 >conftest.err
    4247   rm -f conftest.er1
    4248   cat conftest.err >&5
    4249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4250   (exit $ac_status); } && {
    4251          test -z "$ac_c_werror_flag" ||
    4252          test ! -s conftest.err
    4253        } && test -s conftest.$ac_objext; then
    4254   ac_cv_header_stdc=yes
    4255 else
    4256   $as_echo "$as_me: failed program was:" >&5
    4257 sed 's/^/| /' conftest.$ac_ext >&5
    4258 
    4259         ac_cv_header_stdc=no
    4260 fi
    4261 
    4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4263 
    4264 if test $ac_cv_header_stdc = yes; then
    4265   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4266   cat >conftest.$ac_ext <<_ACEOF
    4267 /* confdefs.h.  */
    4268 _ACEOF
    4269 cat confdefs.h >>conftest.$ac_ext
    4270 cat >>conftest.$ac_ext <<_ACEOF
    4271 /* end confdefs.h.  */
    4272 #include <string.h>
    4273 
    4274 _ACEOF
    4275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4276   $EGREP "memchr" >/dev/null 2>&1; then
    4277   :
    4278 else
    4279   ac_cv_header_stdc=no
    4280 fi
    4281 rm -f conftest*
    4282 
    4283 fi
    4284 
    4285 if test $ac_cv_header_stdc = yes; then
    4286   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4287   cat >conftest.$ac_ext <<_ACEOF
    4288 /* confdefs.h.  */
    4289 _ACEOF
    4290 cat confdefs.h >>conftest.$ac_ext
    4291 cat >>conftest.$ac_ext <<_ACEOF
    4292 /* end confdefs.h.  */
    4293 #include <stdlib.h>
    4294 
    4295 _ACEOF
    4296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4297   $EGREP "free" >/dev/null 2>&1; then
    4298   :
    4299 else
    4300   ac_cv_header_stdc=no
    4301 fi
    4302 rm -f conftest*
    4303 
    4304 fi
    4305 
    4306 if test $ac_cv_header_stdc = yes; then
    4307   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4308   if test "$cross_compiling" = yes; then
    4309   :
    4310 else
    4311   cat >conftest.$ac_ext <<_ACEOF
    4312 /* confdefs.h.  */
    4313 _ACEOF
    4314 cat confdefs.h >>conftest.$ac_ext
    4315 cat >>conftest.$ac_ext <<_ACEOF
    4316 /* end confdefs.h.  */
    4317 #include <ctype.h>
    4318 #include <stdlib.h>
    4319 #if ((' ' & 0x0FF) == 0x020)
    4320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4322 #else
    4323 # define ISLOWER(c) \
    4324                    (('a' <= (c) && (c) <= 'i') \
    4325                      || ('j' <= (c) && (c) <= 'r') \
    4326                      || ('s' <= (c) && (c) <= 'z'))
    4327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4328 #endif
    4329 
    4330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4331 int
    4332 main ()
    4333 {
    4334   int i;
    4335   for (i = 0; i < 256; i++)
    4336     if (XOR (islower (i), ISLOWER (i))
    4337         || toupper (i) != TOUPPER (i))
    4338       return 2;
    4339   return 0;
    4340 }
    4341 _ACEOF
    4342 rm -f conftest$ac_exeext
    4343 if { (ac_try="$ac_link"
    4344 case "(($ac_try" in
    4345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4346   *) ac_try_echo=$ac_try;;
    4347 esac
    4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4349 $as_echo "$ac_try_echo") >&5
    4350   (eval "$ac_link") 2>&5
    4351   ac_status=$?
    4352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4353   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4354   { (case "(($ac_try" in
    4355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4356   *) ac_try_echo=$ac_try;;
    4357 esac
    4358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4359 $as_echo "$ac_try_echo") >&5
    4360   (eval "$ac_try") 2>&5
    4361   ac_status=$?
    4362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4363   (exit $ac_status); }; }; then
    4364   :
    4365 else
    4366   $as_echo "$as_me: program exited with status $ac_status" >&5
    4367 $as_echo "$as_me: failed program was:" >&5
    4368 sed 's/^/| /' conftest.$ac_ext >&5
    4369 
    4370 ( exit $ac_status )
    4371 ac_cv_header_stdc=no
    4372 fi
    4373 rm -rf conftest.dSYM
    4374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4375 fi
    4376 
    4377 
    4378 fi
    4379 fi
    4380 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4381 $as_echo "$ac_cv_header_stdc" >&6; }
    4382 if test $ac_cv_header_stdc = yes; then
    4383 
    4384 cat >>confdefs.h <<\_ACEOF
    4385 #define STDC_HEADERS 1
    4386 _ACEOF
    4387 
    4388 fi
    4389 
    4390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4391 
    4392 
    4393 
    4394 
    4395 
    4396 
    4397 
    4398 
    4399 
    4400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4401                   inttypes.h stdint.h unistd.h
    4402 do
    4403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4405 $as_echo_n "checking for $ac_header... " >&6; }
    4406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4407   $as_echo_n "(cached) " >&6
    4408 else
    4409   cat >conftest.$ac_ext <<_ACEOF
    4410 /* confdefs.h.  */
    4411 _ACEOF
    4412 cat confdefs.h >>conftest.$ac_ext
    4413 cat >>conftest.$ac_ext <<_ACEOF
    4414 /* end confdefs.h.  */
    4415 $ac_includes_default
    4416 
    4417 #include <$ac_header>
    4418 _ACEOF
    4419 rm -f conftest.$ac_objext
    4420 if { (ac_try="$ac_compile"
    4421 case "(($ac_try" in
    4422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4423   *) ac_try_echo=$ac_try;;
    4424 esac
    4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4426 $as_echo "$ac_try_echo") >&5
    4427   (eval "$ac_compile") 2>conftest.er1
    4428   ac_status=$?
    4429   grep -v '^ *+' conftest.er1 >conftest.err
    4430   rm -f conftest.er1
    4431   cat conftest.err >&5
    4432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4433   (exit $ac_status); } && {
    4434          test -z "$ac_c_werror_flag" ||
    4435          test ! -s conftest.err
    4436        } && test -s conftest.$ac_objext; then
    4437   eval "$as_ac_Header=yes"
    4438 else
    4439   $as_echo "$as_me: failed program was:" >&5
    4440 sed 's/^/| /' conftest.$ac_ext >&5
    4441 
    4442         eval "$as_ac_Header=no"
    4443 fi
    4444 
    4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4446 fi
    4447 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4448                  $as_echo "$as_val"'`
    4449                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4450 $as_echo "$ac_res" >&6; }
    4451 if test `eval 'as_val=${'$as_ac_Header'}
    4452                  $as_echo "$as_val"'` = yes; then
    4453   cat >>confdefs.h <<_ACEOF
    4454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4455 _ACEOF
    4456 
    4457 fi
    4458 
    4459 done
    4460 
    4461 
    4462 
    4463     # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here.
    4464 
    4465 
    4466     #------------------------------------------------------------------------
    4467     # If we're using GCC, see if the compiler understands -pipe. If so, use it.
    4468     # It makes compiling go faster.  (This is only a performance feature.)
    4469     #------------------------------------------------------------------------
    4470 
    4471     if test -z "$no_pipe" -a -n "$GCC"; then
    4472         { $as_echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
    4473 $as_echo_n "checking if the compiler understands -pipe... " >&6; }
    4474         OLDCC="$CC"
    4475         CC="$CC -pipe"
    4476         cat >conftest.$ac_ext <<_ACEOF
    4477 /* confdefs.h.  */
    4478 _ACEOF
    4479 cat confdefs.h >>conftest.$ac_ext
    4480 cat >>conftest.$ac_ext <<_ACEOF
    4481 /* end confdefs.h.  */
    4482 
    4483 int
    4484 main ()
    4485 {
    4486 
    4487   ;
    4488   return 0;
    4489 }
    4490 _ACEOF
    4491 rm -f conftest.$ac_objext
    4492 if { (ac_try="$ac_compile"
    4493 case "(($ac_try" in
    4494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4495   *) ac_try_echo=$ac_try;;
    4496 esac
    4497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4498 $as_echo "$ac_try_echo") >&5
    4499   (eval "$ac_compile") 2>conftest.er1
    4500   ac_status=$?
    4501   grep -v '^ *+' conftest.er1 >conftest.err
    4502   rm -f conftest.er1
    4503   cat conftest.err >&5
    4504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4505   (exit $ac_status); } && {
    4506          test -z "$ac_c_werror_flag" ||
    4507          test ! -s conftest.err
    4508        } && test -s conftest.$ac_objext; then
    4509   { $as_echo "$as_me:$LINENO: result: yes" >&5
    4510 $as_echo "yes" >&6; }
    4511 else
    4512   $as_echo "$as_me: failed program was:" >&5
    4513 sed 's/^/| /' conftest.$ac_ext >&5
    4514 
    4515         CC="$OLDCC"
    4516             { $as_echo "$as_me:$LINENO: result: no" >&5
    4517 $as_echo "no" >&6; }
    4518 fi
    4519 
    4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4521     fi
    4522 
    4523     #--------------------------------------------------------------------
    4524     # Common compiler flag setup
    4525     #--------------------------------------------------------------------
    4526 
    4527 
    4528  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    4529 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    4530 if test "${ac_cv_c_bigendian+set}" = set; then
    4531   $as_echo_n "(cached) " >&6
    4532 else
    4533   ac_cv_c_bigendian=unknown
    4534 
    4535     if test $ac_cv_c_bigendian = unknown; then
    4536       # See if sys/param.h defines the BYTE_ORDER macro.
    4537       cat >conftest.$ac_ext <<_ACEOF
    4538 /* confdefs.h.  */
    4539 _ACEOF
    4540 cat confdefs.h >>conftest.$ac_ext
    4541 cat >>conftest.$ac_ext <<_ACEOF
    4542 /* end confdefs.h.  */
    4543 #include <sys/types.h>
    4544              #include <sys/param.h>
    4545 
    4546 int
    4547 main ()
    4548 {
    4549 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
    4550                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
    4551                      && LITTLE_ENDIAN)
    4552               bogus endian macros
    4553              #endif
    4554 
    4555   ;
    4556   return 0;
    4557 }
    4558 _ACEOF
    4559 rm -f conftest.$ac_objext
    4560 if { (ac_try="$ac_compile"
    4561 case "(($ac_try" in
    4562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4563   *) ac_try_echo=$ac_try;;
    4564 esac
    4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4566 $as_echo "$ac_try_echo") >&5
    4567   (eval "$ac_compile") 2>conftest.er1
    4568   ac_status=$?
    4569   grep -v '^ *+' conftest.er1 >conftest.err
    4570   rm -f conftest.er1
    4571   cat conftest.err >&5
    4572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4573   (exit $ac_status); } && {
    4574          test -z "$ac_c_werror_flag" ||
    4575          test ! -s conftest.err
    4576        } && test -s conftest.$ac_objext; then
    4577   # It does; now see whether it defined to BIG_ENDIAN or not.
    4578          cat >conftest.$ac_ext <<_ACEOF
    4579 /* confdefs.h.  */
    4580 _ACEOF
    4581 cat confdefs.h >>conftest.$ac_ext
    4582 cat >>conftest.$ac_ext <<_ACEOF
    4583 /* end confdefs.h.  */
    4584 #include <sys/types.h>
    4585                 #include <sys/param.h>
    4586 
    4587 int
    4588 main ()
    4589 {
    4590 #if BYTE_ORDER != BIG_ENDIAN
    4591                  not big endian
    4592                 #endif
    4593 
    4594   ;
    4595   return 0;
    4596 }
    4597 _ACEOF
    4598 rm -f conftest.$ac_objext
    4599 if { (ac_try="$ac_compile"
    4600 case "(($ac_try" in
    4601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4602   *) ac_try_echo=$ac_try;;
    4603 esac
    4604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4605 $as_echo "$ac_try_echo") >&5
    4606   (eval "$ac_compile") 2>conftest.er1
    4607   ac_status=$?
    4608   grep -v '^ *+' conftest.er1 >conftest.err
    4609   rm -f conftest.er1
    4610   cat conftest.err >&5
    4611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4612   (exit $ac_status); } && {
    4613          test -z "$ac_c_werror_flag" ||
    4614          test ! -s conftest.err
    4615        } && test -s conftest.$ac_objext; then
    4616   ac_cv_c_bigendian=yes
    4617 else
    4618   $as_echo "$as_me: failed program was:" >&5
    4619 sed 's/^/| /' conftest.$ac_ext >&5
    4620 
    4621         ac_cv_c_bigendian=no
    4622 fi
    4623 
    4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4625 else
    4626   $as_echo "$as_me: failed program was:" >&5
    4627 sed 's/^/| /' conftest.$ac_ext >&5
    4628 
    4629 
    4630 fi
    4631 
    4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4633     fi
    4634     if test $ac_cv_c_bigendian = unknown; then
    4635       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    4636       cat >conftest.$ac_ext <<_ACEOF
    4637 /* confdefs.h.  */
    4638 _ACEOF
    4639 cat confdefs.h >>conftest.$ac_ext
    4640 cat >>conftest.$ac_ext <<_ACEOF
    4641 /* end confdefs.h.  */
    4642 #include <limits.h>
    4643 
    4644 int
    4645 main ()
    4646 {
    4647 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
    4648               bogus endian macros
    4649              #endif
    4650 
    4651   ;
    4652   return 0;
    4653 }
    4654 _ACEOF
    4655 rm -f conftest.$ac_objext
    4656 if { (ac_try="$ac_compile"
    4657 case "(($ac_try" in
    4658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4659   *) ac_try_echo=$ac_try;;
    4660 esac
    4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4662 $as_echo "$ac_try_echo") >&5
    4663   (eval "$ac_compile") 2>conftest.er1
    4664   ac_status=$?
    4665   grep -v '^ *+' conftest.er1 >conftest.err
    4666   rm -f conftest.er1
    4667   cat conftest.err >&5
    4668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4669   (exit $ac_status); } && {
    4670          test -z "$ac_c_werror_flag" ||
    4671          test ! -s conftest.err
    4672        } && test -s conftest.$ac_objext; then
    4673   # It does; now see whether it defined to _BIG_ENDIAN or not.
    4674          cat >conftest.$ac_ext <<_ACEOF
    4675 /* confdefs.h.  */
    4676 _ACEOF
    4677 cat confdefs.h >>conftest.$ac_ext
    4678 cat >>conftest.$ac_ext <<_ACEOF
    4679 /* end confdefs.h.  */
    4680 #include <limits.h>
    4681 
    4682 int
    4683 main ()
    4684 {
    4685 #ifndef _BIG_ENDIAN
    4686                  not big endian
    4687                 #endif
    4688 
    4689   ;
    4690   return 0;
    4691 }
    4692 _ACEOF
    4693 rm -f conftest.$ac_objext
    4694 if { (ac_try="$ac_compile"
    4695 case "(($ac_try" in
    4696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4697   *) ac_try_echo=$ac_try;;
    4698 esac
    4699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4700 $as_echo "$ac_try_echo") >&5
    4701   (eval "$ac_compile") 2>conftest.er1
    4702   ac_status=$?
    4703   grep -v '^ *+' conftest.er1 >conftest.err
    4704   rm -f conftest.er1
    4705   cat conftest.err >&5
    4706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4707   (exit $ac_status); } && {
    4708          test -z "$ac_c_werror_flag" ||
    4709          test ! -s conftest.err
    4710        } && test -s conftest.$ac_objext; then
    4711   ac_cv_c_bigendian=yes
    4712 else
    4713   $as_echo "$as_me: failed program was:" >&5
    4714 sed 's/^/| /' conftest.$ac_ext >&5
    4715 
    4716         ac_cv_c_bigendian=no
    4717 fi
    4718 
    4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724 
    4725 fi
    4726 
    4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4728     fi
    4729     if test $ac_cv_c_bigendian = unknown; then
    4730       # Compile a test program.
    4731       if test "$cross_compiling" = yes; then
    4732   # Try to guess by grepping values from an object file.
    4733          cat >conftest.$ac_ext <<_ACEOF
    4734 /* confdefs.h.  */
    4735 _ACEOF
    4736 cat confdefs.h >>conftest.$ac_ext
    4737 cat >>conftest.$ac_ext <<_ACEOF
    4738 /* end confdefs.h.  */
    4739 short int ascii_mm[] =
    4740                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    4741                 short int ascii_ii[] =
    4742                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    4743                 int use_ascii (int i) {
    4744                   return ascii_mm[i] + ascii_ii[i];
    4745                 }
    4746                 short int ebcdic_ii[] =
    4747                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    4748                 short int ebcdic_mm[] =
    4749                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    4750                 int use_ebcdic (int i) {
    4751                   return ebcdic_mm[i] + ebcdic_ii[i];
    4752                 }
    4753                 extern int foo;
    4754 
    4755 int
    4756 main ()
    4757 {
    4758 return use_ascii (foo) == use_ebcdic (foo);
    4759   ;
    4760   return 0;
    4761 }
    4762 _ACEOF
    4763 rm -f conftest.$ac_objext
    4764 if { (ac_try="$ac_compile"
    4765 case "(($ac_try" in
    4766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4767   *) ac_try_echo=$ac_try;;
    4768 esac
    4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4770 $as_echo "$ac_try_echo") >&5
    4771   (eval "$ac_compile") 2>conftest.er1
    4772   ac_status=$?
    4773   grep -v '^ *+' conftest.er1 >conftest.err
    4774   rm -f conftest.er1
    4775   cat conftest.err >&5
    4776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4777   (exit $ac_status); } && {
    4778          test -z "$ac_c_werror_flag" ||
    4779          test ! -s conftest.err
    4780        } && test -s conftest.$ac_objext; then
    4781   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    4782               ac_cv_c_bigendian=yes
    4783             fi
    4784             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    4785               if test "$ac_cv_c_bigendian" = unknown; then
    4786                 ac_cv_c_bigendian=no
    4787               else
    4788                 # finding both strings is unlikely to happen, but who knows?
    4789                 ac_cv_c_bigendian=unknown
    4790               fi
    4791             fi
    4792 else
    4793   $as_echo "$as_me: failed program was:" >&5
    4794 sed 's/^/| /' conftest.$ac_ext >&5
    4795 
    4796 
    4797 fi
    4798 
    4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4800 else
    4801   cat >conftest.$ac_ext <<_ACEOF
    4802 /* confdefs.h.  */
    4803 _ACEOF
    4804 cat confdefs.h >>conftest.$ac_ext
    4805 cat >>conftest.$ac_ext <<_ACEOF
    4806 /* end confdefs.h.  */
    4807 $ac_includes_default
    4808 int
    4809 main ()
    4810 {
    4811 
    4812              /* Are we little or big endian?  From Harbison&Steele.  */
    4813              union
    4814              {
    4815                long int l;
    4816                char c[sizeof (long int)];
    4817              } u;
    4818              u.l = 1;
    4819              return u.c[sizeof (long int) - 1] == 1;
    4820 
    4821   ;
    4822   return 0;
    4823 }
    4824 _ACEOF
    4825 rm -f conftest$ac_exeext
    4826 if { (ac_try="$ac_link"
    4827 case "(($ac_try" in
    4828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4829   *) ac_try_echo=$ac_try;;
    4830 esac
    4831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4832 $as_echo "$ac_try_echo") >&5
    4833   (eval "$ac_link") 2>&5
    4834   ac_status=$?
    4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4836   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4837   { (case "(($ac_try" in
    4838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4839   *) ac_try_echo=$ac_try;;
    4840 esac
    4841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4842 $as_echo "$ac_try_echo") >&5
    4843   (eval "$ac_try") 2>&5
    4844   ac_status=$?
    4845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4846   (exit $ac_status); }; }; then
    4847   ac_cv_c_bigendian=no
    4848 else
    4849   $as_echo "$as_me: program exited with status $ac_status" >&5
    4850 $as_echo "$as_me: failed program was:" >&5
    4851 sed 's/^/| /' conftest.$ac_ext >&5
    4852 
    4853 ( exit $ac_status )
    4854 ac_cv_c_bigendian=yes
    4855 fi
    4856 rm -rf conftest.dSYM
    4857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4858 fi
    4859 
    4860 
    4861     fi
    4862 fi
    4863 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    4864 $as_echo "$ac_cv_c_bigendian" >&6; }
    4865  case $ac_cv_c_bigendian in #(
    4866    yes)
    4867      cat >>confdefs.h <<\_ACEOF
    4868 #define WORDS_BIGENDIAN 1
    4869 _ACEOF
    4870 ;; #(
    4871    no)
    4872       ;; #(
    4873    universal)
    4874       ;; #(
    4875    *)
    4876      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    4877  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    4878 $as_echo "$as_me: error: unknown endianness
    4879  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    4880    { (exit 1); exit 1; }; } ;;
    4881  esac
    4882 
    4883     if test "${TEA_PLATFORM}" = "unix" ; then
    4884 
    4885     #--------------------------------------------------------------------
    4886     # On a few very rare systems, all of the libm.a stuff is
    4887     # already in libc.a.  Set compiler flags accordingly.
    4888     # Also, Linux requires the "ieee" library for math to work
    4889     # right (and it must appear before "-lm").
    4890     #--------------------------------------------------------------------
    4891 
    4892     { $as_echo "$as_me:$LINENO: checking for sin" >&5
    4893 $as_echo_n "checking for sin... " >&6; }
    4894 if test "${ac_cv_func_sin+set}" = set; then
    4895   $as_echo_n "(cached) " >&6
    4896 else
    4897   cat >conftest.$ac_ext <<_ACEOF
    4898 /* confdefs.h.  */
    4899 _ACEOF
    4900 cat confdefs.h >>conftest.$ac_ext
    4901 cat >>conftest.$ac_ext <<_ACEOF
    4902 /* end confdefs.h.  */
    4903 /* Define sin to an innocuous variant, in case <limits.h> declares sin.
    4904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4905 #define sin innocuous_sin
    4906 
    4907 /* System header to define __stub macros and hopefully few prototypes,
    4908     which can conflict with char sin (); below.
    4909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4910     <limits.h> exists even on freestanding compilers.  */
    4911 
    4912 #ifdef __STDC__
    4913 # include <limits.h>
    4914 #else
    4915 # include <assert.h>
    4916 #endif
    4917 
    4918 #undef sin
    4919 
    4920 /* Override any GCC internal prototype to avoid an error.
    4921    Use char because int might match the return type of a GCC
    4922    builtin and then its argument prototype would still apply.  */
    4923 #ifdef __cplusplus
    4924 extern "C"
    4925 #endif
    4926 char sin ();
    4927 /* The GNU C library defines this for functions which it implements
    4928     to always fail with ENOSYS.  Some functions are actually named
    4929     something starting with __ and the normal name is an alias.  */
    4930 #if defined __stub_sin || defined __stub___sin
    4931 choke me
    4932 #endif
    4933 
    4934 int
    4935 main ()
    4936 {
    4937 return sin ();
    4938   ;
    4939   return 0;
    4940 }
    4941 _ACEOF
    4942 rm -f conftest.$ac_objext conftest$ac_exeext
    4943 if { (ac_try="$ac_link"
    4944 case "(($ac_try" in
    4945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4946   *) ac_try_echo=$ac_try;;
    4947 esac
    4948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4949 $as_echo "$ac_try_echo") >&5
    4950   (eval "$ac_link") 2>conftest.er1
    4951   ac_status=$?
    4952   grep -v '^ *+' conftest.er1 >conftest.err
    4953   rm -f conftest.er1
    4954   cat conftest.err >&5
    4955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4956   (exit $ac_status); } && {
    4957          test -z "$ac_c_werror_flag" ||
    4958          test ! -s conftest.err
    4959        } && test -s conftest$ac_exeext && {
    4960          test "$cross_compiling" = yes ||
    4961          $as_test_x conftest$ac_exeext
    4962        }; then
    4963   ac_cv_func_sin=yes
    4964 else
    4965   $as_echo "$as_me: failed program was:" >&5
    4966 sed 's/^/| /' conftest.$ac_ext >&5
    4967 
    4968         ac_cv_func_sin=no
    4969 fi
    4970 
    4971 rm -rf conftest.dSYM
    4972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4973       conftest$ac_exeext conftest.$ac_ext
    4974 fi
    4975 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
    4976 $as_echo "$ac_cv_func_sin" >&6; }
    4977 if test $ac_cv_func_sin = yes; then
    4978   MATH_LIBS=""
    4979 else
    4980   MATH_LIBS="-lm"
    4981 fi
    4982 
    4983     { $as_echo "$as_me:$LINENO: checking for main in -lieee" >&5
    4984 $as_echo_n "checking for main in -lieee... " >&6; }
    4985 if test "${ac_cv_lib_ieee_main+set}" = set; then
    4986   $as_echo_n "(cached) " >&6
    4987 else
    4988   ac_check_lib_save_LIBS=$LIBS
    4989 LIBS="-lieee  $LIBS"
    4990 cat >conftest.$ac_ext <<_ACEOF
    4991 /* confdefs.h.  */
    4992 _ACEOF
    4993 cat confdefs.h >>conftest.$ac_ext
    4994 cat >>conftest.$ac_ext <<_ACEOF
    4995 /* end confdefs.h.  */
    4996 
    4997 
    4998 int
    4999 main ()
    5000 {
    5001 return main ();
    5002   ;
    5003   return 0;
    5004 }
    5005 _ACEOF
    5006 rm -f conftest.$ac_objext conftest$ac_exeext
    5007 if { (ac_try="$ac_link"
    5008 case "(($ac_try" in
    5009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5010   *) ac_try_echo=$ac_try;;
    5011 esac
    5012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5013 $as_echo "$ac_try_echo") >&5
    5014   (eval "$ac_link") 2>conftest.er1
    5015   ac_status=$?
    5016   grep -v '^ *+' conftest.er1 >conftest.err
    5017   rm -f conftest.er1
    5018   cat conftest.err >&5
    5019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5020   (exit $ac_status); } && {
    5021          test -z "$ac_c_werror_flag" ||
    5022          test ! -s conftest.err
    5023        } && test -s conftest$ac_exeext && {
    5024          test "$cross_compiling" = yes ||
    5025          $as_test_x conftest$ac_exeext
    5026        }; then
    5027   ac_cv_lib_ieee_main=yes
    5028 else
    5029   $as_echo "$as_me: failed program was:" >&5
    5030 sed 's/^/| /' conftest.$ac_ext >&5
    5031 
    5032         ac_cv_lib_ieee_main=no
    5033 fi
    5034 
    5035 rm -rf conftest.dSYM
    5036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5037       conftest$ac_exeext conftest.$ac_ext
    5038 LIBS=$ac_check_lib_save_LIBS
    5039 fi
    5040 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
    5041 $as_echo "$ac_cv_lib_ieee_main" >&6; }
    5042 if test $ac_cv_lib_ieee_main = yes; then
    5043   MATH_LIBS="-lieee $MATH_LIBS"
    5044 fi
    5045 
    5046 
    5047     #--------------------------------------------------------------------
    5048     # Interactive UNIX requires -linet instead of -lsocket, plus it
    5049     # needs net/errno.h to define the socket-related error codes.
    5050     #--------------------------------------------------------------------
    5051 
    5052     { $as_echo "$as_me:$LINENO: checking for main in -linet" >&5
    5053 $as_echo_n "checking for main in -linet... " >&6; }
    5054 if test "${ac_cv_lib_inet_main+set}" = set; then
    5055   $as_echo_n "(cached) " >&6
    5056 else
    5057   ac_check_lib_save_LIBS=$LIBS
    5058 LIBS="-linet  $LIBS"
    5059 cat >conftest.$ac_ext <<_ACEOF
    5060 /* confdefs.h.  */
    5061 _ACEOF
    5062 cat confdefs.h >>conftest.$ac_ext
    5063 cat >>conftest.$ac_ext <<_ACEOF
    5064 /* end confdefs.h.  */
    5065 
    5066 
    5067 int
    5068 main ()
    5069 {
    5070 return main ();
    5071   ;
    5072   return 0;
    5073 }
    5074 _ACEOF
    5075 rm -f conftest.$ac_objext conftest$ac_exeext
    5076 if { (ac_try="$ac_link"
    5077 case "(($ac_try" in
    5078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5079   *) ac_try_echo=$ac_try;;
    5080 esac
    5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5082 $as_echo "$ac_try_echo") >&5
    5083   (eval "$ac_link") 2>conftest.er1
    5084   ac_status=$?
    5085   grep -v '^ *+' conftest.er1 >conftest.err
    5086   rm -f conftest.er1
    5087   cat conftest.err >&5
    5088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5089   (exit $ac_status); } && {
    5090          test -z "$ac_c_werror_flag" ||
    5091          test ! -s conftest.err
    5092        } && test -s conftest$ac_exeext && {
    5093          test "$cross_compiling" = yes ||
    5094          $as_test_x conftest$ac_exeext
    5095        }; then
    5096   ac_cv_lib_inet_main=yes
    5097 else
    5098   $as_echo "$as_me: failed program was:" >&5
    5099 sed 's/^/| /' conftest.$ac_ext >&5
    5100 
    5101         ac_cv_lib_inet_main=no
    5102 fi
    5103 
    5104 rm -rf conftest.dSYM
    5105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5106       conftest$ac_exeext conftest.$ac_ext
    5107 LIBS=$ac_check_lib_save_LIBS
    5108 fi
    5109 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
    5110 $as_echo "$ac_cv_lib_inet_main" >&6; }
    5111 if test $ac_cv_lib_inet_main = yes; then
    5112   LIBS="$LIBS -linet"
    5113 fi
    5114 
    5115     if test "${ac_cv_header_net_errno_h+set}" = set; then
    5116   { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5
    5117 $as_echo_n "checking for net/errno.h... " >&6; }
    5118 if test "${ac_cv_header_net_errno_h+set}" = set; then
    5119   $as_echo_n "(cached) " >&6
    5120 fi
    5121 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
    5122 $as_echo "$ac_cv_header_net_errno_h" >&6; }
    5123 else
    5124   # Is the header compilable?
    5125 { $as_echo "$as_me:$LINENO: checking net/errno.h usability" >&5
    5126 $as_echo_n "checking net/errno.h usability... " >&6; }
    5127 cat >conftest.$ac_ext <<_ACEOF
    5128 /* confdefs.h.  */
    5129 _ACEOF
    5130 cat confdefs.h >>conftest.$ac_ext
    5131 cat >>conftest.$ac_ext <<_ACEOF
    5132 /* end confdefs.h.  */
    5133 $ac_includes_default
    5134 #include <net/errno.h>
    5135 _ACEOF
    5136 rm -f conftest.$ac_objext
    5137 if { (ac_try="$ac_compile"
    5138 case "(($ac_try" in
    5139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5140   *) ac_try_echo=$ac_try;;
    5141 esac
    5142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5143 $as_echo "$ac_try_echo") >&5
    5144   (eval "$ac_compile") 2>conftest.er1
    5145   ac_status=$?
    5146   grep -v '^ *+' conftest.er1 >conftest.err
    5147   rm -f conftest.er1
    5148   cat conftest.err >&5
    5149   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5150   (exit $ac_status); } && {
    5151          test -z "$ac_c_werror_flag" ||
    5152          test ! -s conftest.err
    5153        } && test -s conftest.$ac_objext; then
    5154   ac_header_compiler=yes
    5155 else
    5156   $as_echo "$as_me: failed program was:" >&5
    5157 sed 's/^/| /' conftest.$ac_ext >&5
    5158 
    5159         ac_header_compiler=no
    5160 fi
    5161 
    5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5163 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5164 $as_echo "$ac_header_compiler" >&6; }
    5165 
    5166 # Is the header present?
    5167 { $as_echo "$as_me:$LINENO: checking net/errno.h presence" >&5
    5168 $as_echo_n "checking net/errno.h presence... " >&6; }
    5169 cat >conftest.$ac_ext <<_ACEOF
    5170 /* confdefs.h.  */
    5171 _ACEOF
    5172 cat confdefs.h >>conftest.$ac_ext
    5173 cat >>conftest.$ac_ext <<_ACEOF
    5174 /* end confdefs.h.  */
    5175 #include <net/errno.h>
    5176 _ACEOF
    5177 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5178 case "(($ac_try" in
    5179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5180   *) ac_try_echo=$ac_try;;
    5181 esac
    5182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5183 $as_echo "$ac_try_echo") >&5
    5184   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5185   ac_status=$?
    5186   grep -v '^ *+' conftest.er1 >conftest.err
    5187   rm -f conftest.er1
    5188   cat conftest.err >&5
    5189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5190   (exit $ac_status); } >/dev/null && {
    5191          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5192          test ! -s conftest.err
    5193        }; then
    5194   ac_header_preproc=yes
    5195 else
    5196   $as_echo "$as_me: failed program was:" >&5
    5197 sed 's/^/| /' conftest.$ac_ext >&5
    5198 
    5199   ac_header_preproc=no
    5200 fi
    5201 
    5202 rm -f conftest.err conftest.$ac_ext
    5203 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5204 $as_echo "$ac_header_preproc" >&6; }
    5205 
    5206 # So?  What about this header?
    5207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5208   yes:no: )
    5209     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5210 $as_echo "$as_me: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5211     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the compiler's result" >&5
    5212 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the compiler's result" >&2;}
    5213     ac_header_preproc=yes
    5214     ;;
    5215   no:yes:* )
    5216     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: present but cannot be compiled" >&5
    5217 $as_echo "$as_me: WARNING: net/errno.h: present but cannot be compiled" >&2;}
    5218     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h:     check for missing prerequisite headers?" >&5
    5219 $as_echo "$as_me: WARNING: net/errno.h:     check for missing prerequisite headers?" >&2;}
    5220     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: see the Autoconf documentation" >&5
    5221 $as_echo "$as_me: WARNING: net/errno.h: see the Autoconf documentation" >&2;}
    5222     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h:     section \"Present But Cannot Be Compiled\"" >&5
    5223 $as_echo "$as_me: WARNING: net/errno.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5224     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the preprocessor's result" >&5
    5225 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;}
    5226     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: in the future, the compiler will take precedence" >&5
    5227 $as_echo "$as_me: WARNING: net/errno.h: in the future, the compiler will take precedence" >&2;}
    5228 
    5229     ;;
    5230 esac
    5231 { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5
    5232 $as_echo_n "checking for net/errno.h... " >&6; }
    5233 if test "${ac_cv_header_net_errno_h+set}" = set; then
    5234   $as_echo_n "(cached) " >&6
    5235 else
    5236   ac_cv_header_net_errno_h=$ac_header_preproc
    5237 fi
    5238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
    5239 $as_echo "$ac_cv_header_net_errno_h" >&6; }
    5240 
    5241 fi
    5242 if test $ac_cv_header_net_errno_h = yes; then
    5243 
    5244 
    5245 cat >>confdefs.h <<\_ACEOF
    5246 #define HAVE_NET_ERRNO_H 1
    5247 _ACEOF
    5248 
    5249 fi
    5250 
    5251 
    5252 
    5253     #--------------------------------------------------------------------
    5254     #   Check for the existence of the -lsocket and -lnsl libraries.
    5255     #   The order here is important, so that they end up in the right
    5256     #   order in the command line generated by make.  Here are some
    5257     #   special considerations:
    5258     #   1. Use "connect" and "accept" to check for -lsocket, and
    5259     #      "gethostbyname" to check for -lnsl.
    5260     #   2. Use each function name only once:  can't redo a check because
    5261     #      autoconf caches the results of the last check and won't redo it.
    5262     #   3. Use -lnsl and -lsocket only if they supply procedures that
    5263     #      aren't already present in the normal libraries.  This is because
    5264     #      IRIX 5.2 has libraries, but they aren't needed and they're
    5265     #      bogus:  they goof up name resolution if used.
    5266     #   4. On some SVR4 systems, can't use -lsocket without -lnsl too.
    5267     #      To get around this problem, check for both libraries together
    5268     #      if -lsocket doesn't work by itself.
    5269     #--------------------------------------------------------------------
    5270 
    5271     tcl_checkBoth=0
    5272     { $as_echo "$as_me:$LINENO: checking for connect" >&5
    5273 $as_echo_n "checking for connect... " >&6; }
    5274 if test "${ac_cv_func_connect+set}" = set; then
    5275   $as_echo_n "(cached) " >&6
    5276 else
    5277   cat >conftest.$ac_ext <<_ACEOF
    5278 /* confdefs.h.  */
    5279 _ACEOF
    5280 cat confdefs.h >>conftest.$ac_ext
    5281 cat >>conftest.$ac_ext <<_ACEOF
    5282 /* end confdefs.h.  */
    5283 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
    5284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5285 #define connect innocuous_connect
    5286 
    5287 /* System header to define __stub macros and hopefully few prototypes,
    5288     which can conflict with char connect (); below.
    5289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5290     <limits.h> exists even on freestanding compilers.  */
    5291 
    5292 #ifdef __STDC__
    5293 # include <limits.h>
    5294 #else
    5295 # include <assert.h>
    5296 #endif
    5297 
    5298 #undef connect
    5299 
    5300 /* Override any GCC internal prototype to avoid an error.
    5301    Use char because int might match the return type of a GCC
    5302    builtin and then its argument prototype would still apply.  */
    5303 #ifdef __cplusplus
    5304 extern "C"
    5305 #endif
    5306 char connect ();
    5307 /* The GNU C library defines this for functions which it implements
    5308     to always fail with ENOSYS.  Some functions are actually named
    5309     something starting with __ and the normal name is an alias.  */
    5310 #if defined __stub_connect || defined __stub___connect
    5311 choke me
    5312 #endif
    5313 
    5314 int
    5315 main ()
    5316 {
    5317 return connect ();
    5318   ;
    5319   return 0;
    5320 }
    5321 _ACEOF
    5322 rm -f conftest.$ac_objext conftest$ac_exeext
    5323 if { (ac_try="$ac_link"
    5324 case "(($ac_try" in
    5325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5326   *) ac_try_echo=$ac_try;;
    5327 esac
    5328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5329 $as_echo "$ac_try_echo") >&5
    5330   (eval "$ac_link") 2>conftest.er1
    5331   ac_status=$?
    5332   grep -v '^ *+' conftest.er1 >conftest.err
    5333   rm -f conftest.er1
    5334   cat conftest.err >&5
    5335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5336   (exit $ac_status); } && {
    5337          test -z "$ac_c_werror_flag" ||
    5338          test ! -s conftest.err
    5339        } && test -s conftest$ac_exeext && {
    5340          test "$cross_compiling" = yes ||
    5341          $as_test_x conftest$ac_exeext
    5342        }; then
    5343   ac_cv_func_connect=yes
    5344 else
    5345   $as_echo "$as_me: failed program was:" >&5
    5346 sed 's/^/| /' conftest.$ac_ext >&5
    5347 
    5348         ac_cv_func_connect=no
    5349 fi
    5350 
    5351 rm -rf conftest.dSYM
    5352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5353       conftest$ac_exeext conftest.$ac_ext
    5354 fi
    5355 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
    5356 $as_echo "$ac_cv_func_connect" >&6; }
    5357 if test $ac_cv_func_connect = yes; then
    5358   tcl_checkSocket=0
    5359 else
    5360   tcl_checkSocket=1
    5361 fi
    5362 
    5363     if test "$tcl_checkSocket" = 1; then
    5364         { $as_echo "$as_me:$LINENO: checking for setsockopt" >&5
    5365 $as_echo_n "checking for setsockopt... " >&6; }
    5366 if test "${ac_cv_func_setsockopt+set}" = set; then
    5367   $as_echo_n "(cached) " >&6
    5368 else
    5369   cat >conftest.$ac_ext <<_ACEOF
    5370 /* confdefs.h.  */
    5371 _ACEOF
    5372 cat confdefs.h >>conftest.$ac_ext
    5373 cat >>conftest.$ac_ext <<_ACEOF
    5374 /* end confdefs.h.  */
    5375 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
    5376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5377 #define setsockopt innocuous_setsockopt
    5378 
    5379 /* System header to define __stub macros and hopefully few prototypes,
    5380     which can conflict with char setsockopt (); below.
    5381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5382     <limits.h> exists even on freestanding compilers.  */
    5383 
    5384 #ifdef __STDC__
    5385 # include <limits.h>
    5386 #else
    5387 # include <assert.h>
    5388 #endif
    5389 
    5390 #undef setsockopt
    5391 
    5392 /* Override any GCC internal prototype to avoid an error.
    5393    Use char because int might match the return type of a GCC
    5394    builtin and then its argument prototype would still apply.  */
    5395 #ifdef __cplusplus
    5396 extern "C"
    5397 #endif
    5398 char setsockopt ();
    5399 /* The GNU C library defines this for functions which it implements
    5400     to always fail with ENOSYS.  Some functions are actually named
    5401     something starting with __ and the normal name is an alias.  */
    5402 #if defined __stub_setsockopt || defined __stub___setsockopt
    5403 choke me
    5404 #endif
    5405 
    5406 int
    5407 main ()
    5408 {
    5409 return setsockopt ();
    5410   ;
    5411   return 0;
    5412 }
    5413 _ACEOF
    5414 rm -f conftest.$ac_objext conftest$ac_exeext
    5415 if { (ac_try="$ac_link"
    5416 case "(($ac_try" in
    5417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5418   *) ac_try_echo=$ac_try;;
    5419 esac
    5420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5421 $as_echo "$ac_try_echo") >&5
    5422   (eval "$ac_link") 2>conftest.er1
    5423   ac_status=$?
    5424   grep -v '^ *+' conftest.er1 >conftest.err
    5425   rm -f conftest.er1
    5426   cat conftest.err >&5
    5427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5428   (exit $ac_status); } && {
    5429          test -z "$ac_c_werror_flag" ||
    5430          test ! -s conftest.err
    5431        } && test -s conftest$ac_exeext && {
    5432          test "$cross_compiling" = yes ||
    5433          $as_test_x conftest$ac_exeext
    5434        }; then
    5435   ac_cv_func_setsockopt=yes
    5436 else
    5437   $as_echo "$as_me: failed program was:" >&5
    5438 sed 's/^/| /' conftest.$ac_ext >&5
    5439 
    5440         ac_cv_func_setsockopt=no
    5441 fi
    5442 
    5443 rm -rf conftest.dSYM
    5444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5445       conftest$ac_exeext conftest.$ac_ext
    5446 fi
    5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
    5448 $as_echo "$ac_cv_func_setsockopt" >&6; }
    5449 if test $ac_cv_func_setsockopt = yes; then
    5450   :
    5451 else
    5452   { $as_echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
    5453 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
    5454 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
    5455   $as_echo_n "(cached) " >&6
    5456 else
    5457   ac_check_lib_save_LIBS=$LIBS
    5458 LIBS="-lsocket  $LIBS"
    5459 cat >conftest.$ac_ext <<_ACEOF
    5460 /* confdefs.h.  */
    5461 _ACEOF
    5462 cat confdefs.h >>conftest.$ac_ext
    5463 cat >>conftest.$ac_ext <<_ACEOF
    5464 /* end confdefs.h.  */
    5465 
    5466 /* Override any GCC internal prototype to avoid an error.
    5467    Use char because int might match the return type of a GCC
    5468    builtin and then its argument prototype would still apply.  */
    5469 #ifdef __cplusplus
    5470 extern "C"
    5471 #endif
    5472 char setsockopt ();
    5473 int
    5474 main ()
    5475 {
    5476 return setsockopt ();
    5477   ;
    5478   return 0;
    5479 }
    5480 _ACEOF
    5481 rm -f conftest.$ac_objext conftest$ac_exeext
    5482 if { (ac_try="$ac_link"
    5483 case "(($ac_try" in
    5484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5485   *) ac_try_echo=$ac_try;;
    5486 esac
    5487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5488 $as_echo "$ac_try_echo") >&5
    5489   (eval "$ac_link") 2>conftest.er1
    5490   ac_status=$?
    5491   grep -v '^ *+' conftest.er1 >conftest.err
    5492   rm -f conftest.er1
    5493   cat conftest.err >&5
    5494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5495   (exit $ac_status); } && {
    5496          test -z "$ac_c_werror_flag" ||
    5497          test ! -s conftest.err
    5498        } && test -s conftest$ac_exeext && {
    5499          test "$cross_compiling" = yes ||
    5500          $as_test_x conftest$ac_exeext
    5501        }; then
    5502   ac_cv_lib_socket_setsockopt=yes
    5503 else
    5504   $as_echo "$as_me: failed program was:" >&5
    5505 sed 's/^/| /' conftest.$ac_ext >&5
    5506 
    5507         ac_cv_lib_socket_setsockopt=no
    5508 fi
    5509 
    5510 rm -rf conftest.dSYM
    5511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5512       conftest$ac_exeext conftest.$ac_ext
    5513 LIBS=$ac_check_lib_save_LIBS
    5514 fi
    5515 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
    5516 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
    5517 if test $ac_cv_lib_socket_setsockopt = yes; then
    5518   LIBS="$LIBS -lsocket"
    5519 else
    5520   tcl_checkBoth=1
    5521 fi
    5522 
    5523 fi
    5524 
    5525     fi
    5526     if test "$tcl_checkBoth" = 1; then
    5527         tk_oldLibs=$LIBS
    5528         LIBS="$LIBS -lsocket -lnsl"
    5529         { $as_echo "$as_me:$LINENO: checking for accept" >&5
    5530 $as_echo_n "checking for accept... " >&6; }
    5531 if test "${ac_cv_func_accept+set}" = set; then
    5532   $as_echo_n "(cached) " >&6
    5533 else
    5534   cat >conftest.$ac_ext <<_ACEOF
    5535 /* confdefs.h.  */
    5536 _ACEOF
    5537 cat confdefs.h >>conftest.$ac_ext
    5538 cat >>conftest.$ac_ext <<_ACEOF
    5539 /* end confdefs.h.  */
    5540 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
    5541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5542 #define accept innocuous_accept
    5543 
    5544 /* System header to define __stub macros and hopefully few prototypes,
    5545     which can conflict with char accept (); below.
    5546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5547     <limits.h> exists even on freestanding compilers.  */
    5548 
    5549 #ifdef __STDC__
    5550 # include <limits.h>
    5551 #else
    5552 # include <assert.h>
    5553 #endif
    5554 
    5555 #undef accept
    5556 
    5557 /* Override any GCC internal prototype to avoid an error.
    5558    Use char because int might match the return type of a GCC
    5559    builtin and then its argument prototype would still apply.  */
    5560 #ifdef __cplusplus
    5561 extern "C"
    5562 #endif
    5563 char accept ();
    5564 /* The GNU C library defines this for functions which it implements
    5565     to always fail with ENOSYS.  Some functions are actually named
    5566     something starting with __ and the normal name is an alias.  */
    5567 #if defined __stub_accept || defined __stub___accept
    5568 choke me
    5569 #endif
    5570 
    5571 int
    5572 main ()
    5573 {
    5574 return accept ();
    5575   ;
    5576   return 0;
    5577 }
    5578 _ACEOF
    5579 rm -f conftest.$ac_objext conftest$ac_exeext
    5580 if { (ac_try="$ac_link"
    5581 case "(($ac_try" in
    5582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5583   *) ac_try_echo=$ac_try;;
    5584 esac
    5585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5586 $as_echo "$ac_try_echo") >&5
    5587   (eval "$ac_link") 2>conftest.er1
    5588   ac_status=$?
    5589   grep -v '^ *+' conftest.er1 >conftest.err
    5590   rm -f conftest.er1
    5591   cat conftest.err >&5
    5592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5593   (exit $ac_status); } && {
    5594          test -z "$ac_c_werror_flag" ||
    5595          test ! -s conftest.err
    5596        } && test -s conftest$ac_exeext && {
    5597          test "$cross_compiling" = yes ||
    5598          $as_test_x conftest$ac_exeext
    5599        }; then
    5600   ac_cv_func_accept=yes
    5601 else
    5602   $as_echo "$as_me: failed program was:" >&5
    5603 sed 's/^/| /' conftest.$ac_ext >&5
    5604 
    5605         ac_cv_func_accept=no
    5606 fi
    5607 
    5608 rm -rf conftest.dSYM
    5609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5610       conftest$ac_exeext conftest.$ac_ext
    5611 fi
    5612 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
    5613 $as_echo "$ac_cv_func_accept" >&6; }
    5614 if test $ac_cv_func_accept = yes; then
    5615   tcl_checkNsl=0
    5616 else
    5617   LIBS=$tk_oldLibs
    5618 fi
    5619 
    5620     fi
    5621     { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
    5622 $as_echo_n "checking for gethostbyname... " >&6; }
    5623 if test "${ac_cv_func_gethostbyname+set}" = set; then
    5624   $as_echo_n "(cached) " >&6
    5625 else
    5626   cat >conftest.$ac_ext <<_ACEOF
    5627 /* confdefs.h.  */
    5628 _ACEOF
    5629 cat confdefs.h >>conftest.$ac_ext
    5630 cat >>conftest.$ac_ext <<_ACEOF
    5631 /* end confdefs.h.  */
    5632 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
    5633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5634 #define gethostbyname innocuous_gethostbyname
    5635 
    5636 /* System header to define __stub macros and hopefully few prototypes,
    5637     which can conflict with char gethostbyname (); below.
    5638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5639     <limits.h> exists even on freestanding compilers.  */
    5640 
    5641 #ifdef __STDC__
    5642 # include <limits.h>
    5643 #else
    5644 # include <assert.h>
    5645 #endif
    5646 
    5647 #undef gethostbyname
    5648 
    5649 /* Override any GCC internal prototype to avoid an error.
    5650    Use char because int might match the return type of a GCC
    5651    builtin and then its argument prototype would still apply.  */
    5652 #ifdef __cplusplus
    5653 extern "C"
    5654 #endif
    5655 char gethostbyname ();
    5656 /* The GNU C library defines this for functions which it implements
    5657     to always fail with ENOSYS.  Some functions are actually named
    5658     something starting with __ and the normal name is an alias.  */
    5659 #if defined __stub_gethostbyname || defined __stub___gethostbyname
    5660 choke me
    5661 #endif
    5662 
    5663 int
    5664 main ()
    5665 {
    5666 return gethostbyname ();
    5667   ;
    5668   return 0;
    5669 }
    5670 _ACEOF
    5671 rm -f conftest.$ac_objext conftest$ac_exeext
    5672 if { (ac_try="$ac_link"
    5673 case "(($ac_try" in
    5674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5675   *) ac_try_echo=$ac_try;;
    5676 esac
    5677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5678 $as_echo "$ac_try_echo") >&5
    5679   (eval "$ac_link") 2>conftest.er1
    5680   ac_status=$?
    5681   grep -v '^ *+' conftest.er1 >conftest.err
    5682   rm -f conftest.er1
    5683   cat conftest.err >&5
    5684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5685   (exit $ac_status); } && {
    5686          test -z "$ac_c_werror_flag" ||
    5687          test ! -s conftest.err
    5688        } && test -s conftest$ac_exeext && {
    5689          test "$cross_compiling" = yes ||
    5690          $as_test_x conftest$ac_exeext
    5691        }; then
    5692   ac_cv_func_gethostbyname=yes
    5693 else
    5694   $as_echo "$as_me: failed program was:" >&5
    5695 sed 's/^/| /' conftest.$ac_ext >&5
    5696 
    5697         ac_cv_func_gethostbyname=no
    5698 fi
    5699 
    5700 rm -rf conftest.dSYM
    5701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5702       conftest$ac_exeext conftest.$ac_ext
    5703 fi
    5704 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
    5705 $as_echo "$ac_cv_func_gethostbyname" >&6; }
    5706 if test $ac_cv_func_gethostbyname = yes; then
    5707   :
    5708 else
    5709   { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
    5710 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
    5711 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
    5712   $as_echo_n "(cached) " >&6
    5713 else
    5714   ac_check_lib_save_LIBS=$LIBS
    5715 LIBS="-lnsl  $LIBS"
    5716 cat >conftest.$ac_ext <<_ACEOF
    5717 /* confdefs.h.  */
    5718 _ACEOF
    5719 cat confdefs.h >>conftest.$ac_ext
    5720 cat >>conftest.$ac_ext <<_ACEOF
    5721 /* end confdefs.h.  */
    5722 
    5723 /* Override any GCC internal prototype to avoid an error.
    5724    Use char because int might match the return type of a GCC
    5725    builtin and then its argument prototype would still apply.  */
    5726 #ifdef __cplusplus
    5727 extern "C"
    5728 #endif
    5729 char gethostbyname ();
    5730 int
    5731 main ()
    5732 {
    5733 return gethostbyname ();
    5734   ;
    5735   return 0;
    5736 }
    5737 _ACEOF
    5738 rm -f conftest.$ac_objext conftest$ac_exeext
    5739 if { (ac_try="$ac_link"
    5740 case "(($ac_try" in
    5741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5742   *) ac_try_echo=$ac_try;;
    5743 esac
    5744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5745 $as_echo "$ac_try_echo") >&5
    5746   (eval "$ac_link") 2>conftest.er1
    5747   ac_status=$?
    5748   grep -v '^ *+' conftest.er1 >conftest.err
    5749   rm -f conftest.er1
    5750   cat conftest.err >&5
    5751   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5752   (exit $ac_status); } && {
    5753          test -z "$ac_c_werror_flag" ||
    5754          test ! -s conftest.err
    5755        } && test -s conftest$ac_exeext && {
    5756          test "$cross_compiling" = yes ||
    5757          $as_test_x conftest$ac_exeext
    5758        }; then
    5759   ac_cv_lib_nsl_gethostbyname=yes
    5760 else
    5761   $as_echo "$as_me: failed program was:" >&5
    5762 sed 's/^/| /' conftest.$ac_ext >&5
    5763 
    5764         ac_cv_lib_nsl_gethostbyname=no
    5765 fi
    5766 
    5767 rm -rf conftest.dSYM
    5768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5769       conftest$ac_exeext conftest.$ac_ext
    5770 LIBS=$ac_check_lib_save_LIBS
    5771 fi
    5772 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
    5773 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
    5774 if test $ac_cv_lib_nsl_gethostbyname = yes; then
    5775   LIBS="$LIBS -lnsl"
    5776 fi
    5777 
    5778 fi
    5779 
    5780 
    5781     # Don't perform the eval of the libraries here because DL_LIBS
    5782     # won't be set until we call TEA_CONFIG_CFLAGS
    5783 
    5784     TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}'
    5785 
    5786 
    5787 
    5788 
    5789     { $as_echo "$as_me:$LINENO: checking dirent.h" >&5
    5790 $as_echo_n "checking dirent.h... " >&6; }
    5791 if test "${tcl_cv_dirent_h+set}" = set; then
    5792   $as_echo_n "(cached) " >&6
    5793 else
    5794   cat >conftest.$ac_ext <<_ACEOF
    5795 /* confdefs.h.  */
    5796 _ACEOF
    5797 cat confdefs.h >>conftest.$ac_ext
    5798 cat >>conftest.$ac_ext <<_ACEOF
    5799 /* end confdefs.h.  */
    5800 #include <sys/types.h>
    5801 #include <dirent.h>
    5802 int
    5803 main ()
    5804 {
    5805 
    5806 #ifndef _POSIX_SOURCE
    5807 #   ifdef __Lynx__
    5808         /*
    5809          * Generate compilation error to make the test fail:  Lynx headers
    5810          * are only valid if really in the POSIX environment.
    5811          */
    5812 
    5813         missing_procedure();
    5814 #   endif
    5815 #endif
    5816 DIR *d;
    5817 struct dirent *entryPtr;
    5818 char *p;
    5819 d = opendir("foobar");
    5820 entryPtr = readdir(d);
    5821 p = entryPtr->d_name;
    5822 closedir(d);
    5823 
    5824   ;
    5825   return 0;
    5826 }
    5827 _ACEOF
    5828 rm -f conftest.$ac_objext conftest$ac_exeext
    5829 if { (ac_try="$ac_link"
    5830 case "(($ac_try" in
    5831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5832   *) ac_try_echo=$ac_try;;
    5833 esac
    5834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5835 $as_echo "$ac_try_echo") >&5
    5836   (eval "$ac_link") 2>conftest.er1
    5837   ac_status=$?
    5838   grep -v '^ *+' conftest.er1 >conftest.err
    5839   rm -f conftest.er1
    5840   cat conftest.err >&5
    5841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5842   (exit $ac_status); } && {
    5843          test -z "$ac_c_werror_flag" ||
    5844          test ! -s conftest.err
    5845        } && test -s conftest$ac_exeext && {
    5846          test "$cross_compiling" = yes ||
    5847          $as_test_x conftest$ac_exeext
    5848        }; then
    5849   tcl_cv_dirent_h=yes
    5850 else
    5851   $as_echo "$as_me: failed program was:" >&5
    5852 sed 's/^/| /' conftest.$ac_ext >&5
    5853 
    5854         tcl_cv_dirent_h=no
    5855 fi
    5856 
    5857 rm -rf conftest.dSYM
    5858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5859       conftest$ac_exeext conftest.$ac_ext
    5860 fi
    5861 { $as_echo "$as_me:$LINENO: result: $tcl_cv_dirent_h" >&5
    5862 $as_echo "$tcl_cv_dirent_h" >&6; }
    5863 
    5864     if test $tcl_cv_dirent_h = no; then
    5865 
    5866 cat >>confdefs.h <<\_ACEOF
    5867 #define NO_DIRENT_H 1
    5868 _ACEOF
    5869 
    5870     fi
    5871 
    5872     if test "${ac_cv_header_errno_h+set}" = set; then
    5873   { $as_echo "$as_me:$LINENO: checking for errno.h" >&5
    5874 $as_echo_n "checking for errno.h... " >&6; }
    5875 if test "${ac_cv_header_errno_h+set}" = set; then
    5876   $as_echo_n "(cached) " >&6
    5877 fi
    5878 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
    5879 $as_echo "$ac_cv_header_errno_h" >&6; }
    5880 else
    5881   # Is the header compilable?
    5882 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5
    5883 $as_echo_n "checking errno.h usability... " >&6; }
    5884 cat >conftest.$ac_ext <<_ACEOF
    5885 /* confdefs.h.  */
    5886 _ACEOF
    5887 cat confdefs.h >>conftest.$ac_ext
    5888 cat >>conftest.$ac_ext <<_ACEOF
    5889 /* end confdefs.h.  */
    5890 $ac_includes_default
    5891 #include <errno.h>
    5892 _ACEOF
    5893 rm -f conftest.$ac_objext
    5894 if { (ac_try="$ac_compile"
    5895 case "(($ac_try" in
    5896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5897   *) ac_try_echo=$ac_try;;
    5898 esac
    5899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5900 $as_echo "$ac_try_echo") >&5
    5901   (eval "$ac_compile") 2>conftest.er1
    5902   ac_status=$?
    5903   grep -v '^ *+' conftest.er1 >conftest.err
    5904   rm -f conftest.er1
    5905   cat conftest.err >&5
    5906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5907   (exit $ac_status); } && {
    5908          test -z "$ac_c_werror_flag" ||
    5909          test ! -s conftest.err
    5910        } && test -s conftest.$ac_objext; then
    5911   ac_header_compiler=yes
    5912 else
    5913   $as_echo "$as_me: failed program was:" >&5
    5914 sed 's/^/| /' conftest.$ac_ext >&5
    5915 
    5916         ac_header_compiler=no
    5917 fi
    5918 
    5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5920 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5921 $as_echo "$ac_header_compiler" >&6; }
    5922 
    5923 # Is the header present?
    5924 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5
    5925 $as_echo_n "checking errno.h presence... " >&6; }
    5926 cat >conftest.$ac_ext <<_ACEOF
    5927 /* confdefs.h.  */
    5928 _ACEOF
    5929 cat confdefs.h >>conftest.$ac_ext
    5930 cat >>conftest.$ac_ext <<_ACEOF
    5931 /* end confdefs.h.  */
    5932 #include <errno.h>
    5933 _ACEOF
    5934 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5935 case "(($ac_try" in
    5936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5937   *) ac_try_echo=$ac_try;;
    5938 esac
    5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5940 $as_echo "$ac_try_echo") >&5
    5941   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5942   ac_status=$?
    5943   grep -v '^ *+' conftest.er1 >conftest.err
    5944   rm -f conftest.er1
    5945   cat conftest.err >&5
    5946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5947   (exit $ac_status); } >/dev/null && {
    5948          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5949          test ! -s conftest.err
    5950        }; then
    5951   ac_header_preproc=yes
    5952 else
    5953   $as_echo "$as_me: failed program was:" >&5
    5954 sed 's/^/| /' conftest.$ac_ext >&5
    5955 
    5956   ac_header_preproc=no
    5957 fi
    5958 
    5959 rm -f conftest.err conftest.$ac_ext
    5960 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5961 $as_echo "$ac_header_preproc" >&6; }
    5962 
    5963 # So?  What about this header?
    5964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5965   yes:no: )
    5966     { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5967 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5968     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5
    5969 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;}
    5970     ac_header_preproc=yes
    5971     ;;
    5972   no:yes:* )
    5973     { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5
    5974 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;}
    5975     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5
    5976 $as_echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;}
    5977     { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5
    5978 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;}
    5979     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5
    5980 $as_echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5981     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5
    5982 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;}
    5983     { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5
    5984 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;}
    5985 
    5986     ;;
    5987 esac
    5988 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5
    5989 $as_echo_n "checking for errno.h... " >&6; }
    5990 if test "${ac_cv_header_errno_h+set}" = set; then
    5991   $as_echo_n "(cached) " >&6
    5992 else
    5993   ac_cv_header_errno_h=$ac_header_preproc
    5994 fi
    5995 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
    5996 $as_echo "$ac_cv_header_errno_h" >&6; }
    5997 
    5998 fi
    5999 if test $ac_cv_header_errno_h = yes; then
    6000   :
    6001 else
    6002 
    6003 cat >>confdefs.h <<\_ACEOF
    6004 #define NO_ERRNO_H 1
    6005 _ACEOF
    6006 
    6007 fi
    6008 
    6009 
    6010     if test "${ac_cv_header_float_h+set}" = set; then
    6011   { $as_echo "$as_me:$LINENO: checking for float.h" >&5
    6012 $as_echo_n "checking for float.h... " >&6; }
    6013 if test "${ac_cv_header_float_h+set}" = set; then
    6014   $as_echo_n "(cached) " >&6
    6015 fi
    6016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
    6017 $as_echo "$ac_cv_header_float_h" >&6; }
    6018 else
    6019   # Is the header compilable?
    6020 { $as_echo "$as_me:$LINENO: checking float.h usability" >&5
    6021 $as_echo_n "checking float.h usability... " >&6; }
    6022 cat >conftest.$ac_ext <<_ACEOF
    6023 /* confdefs.h.  */
    6024 _ACEOF
    6025 cat confdefs.h >>conftest.$ac_ext
    6026 cat >>conftest.$ac_ext <<_ACEOF
    6027 /* end confdefs.h.  */
    6028 $ac_includes_default
    6029 #include <float.h>
    6030 _ACEOF
    6031 rm -f conftest.$ac_objext
    6032 if { (ac_try="$ac_compile"
    6033 case "(($ac_try" in
    6034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6035   *) ac_try_echo=$ac_try;;
    6036 esac
    6037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6038 $as_echo "$ac_try_echo") >&5
    6039   (eval "$ac_compile") 2>conftest.er1
    6040   ac_status=$?
    6041   grep -v '^ *+' conftest.er1 >conftest.err
    6042   rm -f conftest.er1
    6043   cat conftest.err >&5
    6044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6045   (exit $ac_status); } && {
    6046          test -z "$ac_c_werror_flag" ||
    6047          test ! -s conftest.err
    6048        } && test -s conftest.$ac_objext; then
    6049   ac_header_compiler=yes
    6050 else
    6051   $as_echo "$as_me: failed program was:" >&5
    6052 sed 's/^/| /' conftest.$ac_ext >&5
    6053 
    6054         ac_header_compiler=no
    6055 fi
    6056 
    6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6059 $as_echo "$ac_header_compiler" >&6; }