Changeset c1ec9a in git


Ignore:
Timestamp:
Mar 18, 2013, 6:59:04 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
a601d5555bc411c2f00957c8f324951e8d88085f
Parents:
ae74d2ae268551f6d008e85e9f2ba78cfc3fa92f5417fff5d4d977443ea13f49a1da1d9de9a2a171
Message:
Merge pull request #307 from malex984/gfanlib

Gfanlib
Files:
14 added
5 deleted
29 edited
2 moved

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rae74d2 rc1ec9a  
    11ACLOCAL_AMFLAGS = -I m4
    22
     3USE_FACTORY =
    34if ENABLE_FACTORY
    4   USE_FACTORY = factory
    5 else
    6   USE_FACTORY =
     5  USE_FACTORY += factory
    76endif
    8  
    9 PACKAGES=findexec omalloc $(USE_FACTORY) libpolys kernel numeric Singular IntegerProgramming dyn_modules
    107
    11 SUBDIRS=$(PACKAGES)
     8PACKAGES=findexec omalloc $(USE_FACTORY) libpolys kernel numeric Singular IntegerProgramming gfanlib dyn_modules
    129
     10SUBDIRS =$(PACKAGES)
    1311TESTDIRS=$(PACKAGES)
    1412
    15 
     13 
    1614emacsdir=$(datadir)/singular/emacs
    1715
     
    2422
    2523#++ hlp-cmpl.el lib-cmpl.el ex-cmpl.el cmd-cmpl.el ??
    26 #-- emacs/BUGS     emacs/cmpl.pl     emacs/ESingular.emacs21     emacs/lib.pl     emacs/Makefile.in     emacs/singular.el.decl 
     24#-- emacs/BUGS     emacs/cmpl.pl     emacs/ESingular.emacs21     emacs/lib.pl     emacs/Makefile.in     emacs/singular.el.decl
    2725
    2826dist_emacs_DATA = $(EMACS)
     
    3432
    3533
    36 EXTRA_DIST = autogen.sh $(EMACS)
    37 
     34EXTRA_DIST = autogen.sh $(EMACS)
    3835
    3936bin_SCRIPTS = libsingular-config
  • Singular/LIB/gitfan.lib

    r5417ff rc1ec9a  
    11////////////////////////////////////////////////////////////////////
    2 version="$Id: gitfan.lib";
     2version="$Id$";
    33category="Algebraic Geometry";
    44info="
  • Singular/Makefile.am

    rae74d2 rc1ec9a  
    1212NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
    1313NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
    14 NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG 
     14NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
    1515
    1616CXXTEMPLFLAGS =-ftrapv ## -fno-implicit-templates
     
    3434libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)  $(WARNCFLAGS)
    3535libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)   $(WARNCFLAGS)
    36 # -fdiagnostics-show-option 
     36# -fdiagnostics-show-option
    3737
    3838
     
    4545   links/asciiLink.cc\
    4646   attrib.cc\
    47    bbcone.cc\
    48    bbfan.cc\
    4947   bigintm.cc\
    5048   blackbox.cc\
     
    9492   walk_ip.cc\
    9593   wrapper.cc\
    96    fereadl.c mmstd.c claptmpl.cc 
     94   fereadl.c mmstd.c claptmpl.cc
    9795
    9896#   links/slInit_Dynamic.cc
     
    153151   table.h \
    154152   tok.h \
    155    walk.h 
    156 
    157 # plural_cmd.inc 
     153   walk.h
     154
     155# plural_cmd.inc
    158156nodist_libSingular_la_SOURCES = iparith.inc
    159157nodist_libSingular_g_la_SOURCES = iparith.inc
     
    187185feOptES_SOURCES = feOptGen.cc feOptGen.h
    188186feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    189 feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR 
     187feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR
    190188
    191189feOptTS_SOURCES = feOptGen.cc feOptGen.h
     
    199197# the "optional_programs" variable should be defined in the configure
    200198# script, and listed in an AC_SUBST macro
    201 optional_Singular_programs = 
     199optional_Singular_programs =
    202200
    203201bin_PROGRAMS = Singular ESingular TSingular $(optional_Singular_programs)
     
    221219nodist_Singularg_SOURCES =  libSingular_g.la
    222220
    223 Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h 
    224 Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h 
     221Singular_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
     222Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
    225223
    226224Singular_LDADD = libSingular.la ${top_builddir}/numeric/libnumeric.la ${top_builddir}/kernel/libkernel.la ${top_builddir}/libpolys/polys/libpolys.la -lcoeffs -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS}
     
    228226
    229227Singular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    230 Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 
     228Singularg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    231229
    232230Singular_LDFLAGS = -static ${AMLDFLAGS}
     
    240238Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    241239
    242 Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h 
     240Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
    243241nodist_Singulard_SOURCES = libSingular.la
    244242
    245 Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h 
     243Singulardg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
    246244nodist_Singulardg_SOURCES =  libSingular_g.la
    247245
     
    250248
    251249Singulard_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    252 Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 
     250Singulardg_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    253251
    254252Singulard_LDFLAGS = ${AMLDFLAGS}
     
    256254
    257255
    258 #### ESingular 
     256#### ESingular
    259257
    260258ESingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    261259ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    262 ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO 
     260ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO
    263261ESingular_LDFLAGS = -static ${AMLDFLAGS}
    264 ESingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec 
     262ESingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec
    265263
    266264ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc
    267265
    268 #### same for TSingular 
     266#### same for TSingular
    269267
    270268TSingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    271269TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    272 TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO 
     270TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO
    273271TSingular_LDFLAGS = -static ${AMLDFLAGS}
    274 TSingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec 
     272TSingular_LDADD =   -lreporter -lmisc -lomalloc -lfindexec
    275273
    276274TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc
     
    278276
    279277
    280 #### libparse 
     278#### libparse
    281279libparse_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER
    282280libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    283281libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    284  
     282
    285283libparse_SOURCES = libparse.cc fegetopt.c fegetopt.h utils.cc  utils.h
    286284# nodist_libparse_SOURCES = libSingular.la
    287  
    288 # # libSingular.la -lnumeric 
     285
     286# # libSingular.la -lnumeric
    289287libparse_LDADD = -lomalloc
    290288libparse_LDFLAGS = -static ${AMLDFLAGS}
     
    341339
    342340test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    343 test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 
     341test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    344342
    345343test_s_r_LDFLAGS = -static ${AMLDFLAGS}
     
    362360
    363361test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    364 test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 
     362test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    365363
    366364test_d_r_LDFLAGS = ${AMLDFLAGS}
     
    371369# These files are built first
    372370BUILT_SOURCES = feOpt.inc feOptTS.inc feOptES.inc iparith.inc all.lib plural_cmd.inc \
    373                 gftables MOD 
     371                gftables MOD
    374372
    375373CLEANFILES = $(BUILT_SOURCES) $(EXTRA_PROGRAMS)
     
    419417pyobject_g_la_CPPFLAGS = ${AM_CPPFLAGS}
    420418
    421 pyobject_la_CXXFLAGS   = ${NODEBUGCXXFLAGS} @PYTHON_CSPEC@ 
    422 pyobject_g_la_CXXFLAGS = ${DEBUGCXXFLAGS} @PYTHON_CSPEC@ 
     419pyobject_la_CXXFLAGS   = ${NODEBUGCXXFLAGS} @PYTHON_CSPEC@
     420pyobject_g_la_CXXFLAGS = ${DEBUGCXXFLAGS} @PYTHON_CSPEC@
    423421
    424422pyobject_la_LDFLAGS = -export-dynamic -shared -module -avoid-version \
  • Singular/extra.cc

    rae74d2 rc1ec9a  
    9999#ifdef HAVE_RINGS
    100100#include <kernel/ringgb.h>
    101 #endif
    102 
    103 #ifdef HAVE_FANS
    104 #include <kernel/gfan.h>
    105 #include <gfanlib/gfanlib.h>
    106101#endif
    107102
     
    36613656
    36623657  #endif
    3663 
    3664 #ifdef HAVE_FANS
    3665   /*======== GFAN ==============*/
    3666   /*
    3667    WILL HAVE TO CHANGE RETURN TYPE TO LIST_CMD
    3668   */
    3669   if (strcmp(sys_cmd,"grfan")==0)
    3670   {
    3671     /*
    3672     heuristic:
    3673     0 = keep all Gröbner bases in memory
    3674     1 = write all Gröbner bases to disk and read whenever necessary
    3675     2 = use a mixed heuristic, based on length of Gröbner bases
    3676     */
    3677     if( h!=NULL && h->Typ()==IDEAL_CMD && h->next!=NULL && h->next->Typ()==INT_CMD)
    3678     {
    3679       int heuristic;
    3680       heuristic=(int)(long)h->next->Data();
    3681       ideal I=((ideal)h->Data());
    3682       #ifndef USE_ZFAN
    3683         #define USE_ZFAN
    3684       #endif
    3685       #ifndef USE_ZFAN
    3686         res->rtyp=LIST_CMD; //res->rtyp=coneID; res->data(char*)zcone;
    3687         res->data=(lists) grfan(I,heuristic,FALSE);
    3688       #else
    3689         extern int fanID;
    3690         res->rtyp=fanID;
    3691         res->data=(void*)(grfan(I,heuristic,FALSE));
    3692       #endif
    3693       return FALSE;
    3694     }
    3695     else
    3696     {
    3697       WerrorS("Usage: system(\"grfan\",I,int)");
    3698       return TRUE;
    3699     }
    3700   }
    3701   //Possibility to have only one Gröbner cone computed by specifying a weight vector FROM THE RELATIVE INTERIOR!
    3702   //Needs wp as ordering!
    3703 //   if(strcmp(sys_cmd,"grcone")==0)
    3704 //   {
    3705 //     if(h!=NULL && h->Typ()==IDEAL_CMD && h->next!=NULL && h->next->Typ()==INT_CMD)
    3706 //     {
    3707 //       ideal I=((ideal)h->Data());
    3708 //       res->rtyp=LIST_CMD;
    3709 //       res->data=(lists)grcone_by_intvec(I);
    3710 //     }
    3711 //   }
    3712   else
    3713 #endif
     3658/*======================= demon_list =====================*/
    37143659  if (strcmp(sys_cmd,"denom_list")==0)
    37153660  {
  • Singular/test.cc

    rae74d2 rc1ec9a  
    9999#include <kernel/shiftgb.h>
    100100#include "mmalloc.h"
    101 #include <kernel/gfan.h>
    102101
    103102#include <kernel/kutil.h>
     
    122121#include <kernel/f5lists.h>
    123122////////#include <kernel/F5cLists.h>
    124 
    125 #include <kernel/gfan.h>
    126123
    127124
     
    348345    {
    349346      printf("iiMake_proc: datetime returned type %d, >>%s<<\n", iiRETURNEXPR.Typ(), (char *)iiRETURNEXPR.Data());
    350       iiRETURNEXPR.CleanUp(); // calls Init afterwards 
    351     }   
     347      iiRETURNEXPR.CleanUp(); // calls Init afterwards
     348    }
    352349  }
    353350
  • Singular/tesths.cc

    rae74d2 rc1ec9a  
    2323#include <kernel/timer.h>
    2424
    25 #ifdef HAVE_FANS
    26 #include <kernel/bbcone.h>
    27 #include <kernel/bbfan.h>
    28 #endif
     25// #ifdef HAVE_FANS
     26// #include <callgfanlib/bbcone.h>
     27// #include <callgfanlib/bbpolytope.h>
     28// #include <callgfanlib/bbfan.h>
     29// #include <callgfanlib/gitfan.h>
     30// #endif
    2931
    3032#include "ipshell.h"
     
    177179  countedref_init();
    178180#endif
    179 #ifdef HAVE_FANS
    180   bbcone_setup();
    181   bbfan_setup();
    182 #endif /* HAVE_FANS */
     181// #ifdef HAVE_FANS
     182//   bbcone_setup();
     183//   bbpolytope_setup();
     184//   bbfan_setup();
     185//   gitfan_setup();
     186// #endif /* HAVE_FANS */
    183187  errorreported = 0;
    184188
  • configure.ac

    rae74d2 rc1ec9a  
    5454AC_PROG_INSTALL
    5555
    56 # AM_PROG_AR
    5756LT_INIT
    58    
     57
    5958# Checks for libraries.
    6059LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
     
    8786SING_CHECK_READLINE
    8887SING_CHECK_DBM
     88SING_CHECK_GFANLIB
    8989
    9090# CFLAGS
     
    149149fi
    150150
    151 AC_CONFIG_SUBDIRS([findexec]) 
     151AC_CONFIG_SUBDIRS([findexec])
    152152AC_CONFIG_SUBDIRS([omalloc])
    153153
     
    157157
    158158AC_CONFIG_SUBDIRS([libpolys])
     159
    159160AC_CONFIG_FILES([Makefile])
    160161AC_CONFIG_FILES([kernel/Makefile])
    161162AC_CONFIG_FILES([numeric/Makefile])
    162163AC_CONFIG_FILES([Singular/Makefile])
    163 AC_CONFIG_FILES([IntegerProgramming/Makefile])
    164164AC_CONFIG_FILES([dyn_modules/Makefile])
    165165AC_CONFIG_FILES([dyn_modules/bigintm/Makefile])
    166166AC_CONFIG_FILES([dyn_modules/syzextra/Makefile])
     167AC_CONFIG_FILES([dyn_modules/callgfanlib/Makefile])
     168AC_CONFIG_FILES([IntegerProgramming/Makefile])
    167169AC_CONFIG_FILES([libsingular-config])
     170AC_CONFIG_SUBDIRS([gfanlib])
    168171
    169172AC_OUTPUT
  • doc/Makefile.in

    r5417ff rc1ec9a  
    102102                          INSTALL_win.texi
    103103
    104 DOC2TEX_FILES   = decodegb.tex \
     104DOC2TEX_FILES   = cones.tex countedref.tex decodegb.tex \
    105105                examples.tex general.tex ti_ip.tex math.tex reference.tex \
    106106                start.tex types.tex pdata.tex tricks.tex platform.tex \
  • dyn_modules/Makefile.am

    rae74d2 rc1ec9a  
    11ACLOCAL_AMFLAGS = -I ../m4
    22
    3 PACKAGES=bigintm syzextra
     3PACKAGES=bigintm syzextra callgfanlib
    44SUBDIRS=$(PACKAGES)
    55
  • dyn_modules/callgfanlib/gfan.h

    rae74d2 rc1ec9a  
    22gfan.h Interface to gfan.cc
    33
    4 $Author: monerjan $
    5 $Date: 2009/11/03 06:57:32 $
    6 $Header: /usr/local/Singular/cvsroot/kernel/gfan.h,v 1.13 2009/11/03 06:57:32 monerjan Exp $
     4Author: monerjan
    75*/
    86#ifdef HAVE_FANS
     
    119#define GFAN_H
    1210
    13 #include <misc/int64vec.h>
    14 
    15 #define p800
    16 #ifdef p800
    17 #include <kernel/../../cddlib/include/setoper.h>
    18 #include <kernel/../../cddlib/include/cdd.h>
    19 #include <kernel/../../cddlib/include/cddmp.h>
    20 #endif
    21 #include <kernel/bbfan.h>
    22 #include <kernel/bbcone.h>
     11#include <libpolys/misc/int64vec.h>
     12
     13#include <setoper.h>
     14#include <cdd.h>
     15#include <cddmp.h>
     16#include <bbfan.h>
     17#include <bbcone.h>
    2318extern int gfanHeuristic;
    2419
     
    2924  lists grfan(ideal inputIdeal, int heuristic, bool singleCone);
    3025#else
    31   #include <../gfanlib/gfanlib.h>
     26  #include <gfanlib/gfanlib.h>
    3227  gfan::ZFan *grfan(ideal inputIdeal, int h, bool singleCone);
    3328#endif
     
    3934                /** \brief Inner normal of the facet, describing it uniquely up to isomorphism */
    4035                int64vec *fNormal;
    41                
     36
    4237                /** \brief An interior point of the facet*/
    4338                int64vec *interiorPoint;
    44                
     39
    4540                /** \brief Universal Cone Number
    4641                 * The number of the cone the facet belongs to, Set in getConeNormals()
    4742                 */
    4843                int UCN;
    49                
     44
    5045                /** \brief The codim of the facet
    5146                 */
    5247                short codim;
    53                
     48
    5449                /** \brief The Groebner basis on the other side of a shared facet
    5550                 *
    5651                 * In order not to have to compute the flipped GB twice we store the basis we already get
    57                  * when identifying search facets. Thus in the next step of the reverse search we can 
     52                 * when identifying search facets. Thus in the next step of the reverse search we can
    5853                 * just copy the old cone and update the facet and the gcBasis.
    5954                 * facet::flibGB is set via facet::setFlipGB() and printed via facet::printFlipGB
    6055                 */
    6156                ideal flipGB;           //The Groebner Basis on the other side, computed via gcone::flip
    62                
    63         public: 
     57
     58        public:
    6459                /** \brief Boolean value to indicate whether a facet is flippable or not
    6560                * This is also used to mark facets that nominally are flippable but which do
    6661                * not intersect with the positive orthant. This check is done in gcone::getCodim2Normals
    67                  */     
     62                 */
    6863                bool isFlippable;       //**flippable facet? */
    6964                //bool isIncoming;      //Is the facet incoming or outgoing in the reverse search? No longer in use
     
    7570                ring flipRing;          //the ring on the other side of the facet
    7671//              int64vec **fRays;
    77                                
     72
    7873                /** The default constructor. */
    7974                facet();
     
    8883                ~facet();
    8984                /** Comparison operator*/
    90 //              inline bool operator==(const facet *f,const facet *g);                 
     85//              inline bool operator==(const facet *f,const facet *g);
    9186                /** \brief Comparison of facets*/
    9287//              inline bool areEqual(facet *f, facet *g);//Now static
     
    107102                /** Set the UCN */
    108103                inline void setUCN(int n);
    109                 /** \brief Get the UCN 
     104                /** \brief Get the UCN
    110105                 * Returns the UCN iff this != NULL, else -1
    111106                 */
     
    119114                 */
    120115                volatile void fDebugPrint();
    121                 friend class gcone;             
     116                friend class gcone;
    122117};
    123118
    124                
     119
    125120/**
    126121 *\brief Implements the cone structure
     
    132127class gcone
    133128{
    134         private:               
     129        private:
    135130                ideal inputIdeal;       //the original
    136                 ring baseRing;          //the basering of the cone                             
     131                ring baseRing;          //the basering of the cone
    137132                int64vec *ivIntPt;      //an interior point of the cone
    138133                int UCN;                //unique number of the cone
    139134                int pred;               //UCN of the cone this one is derived from
    140135                static int counter;
    141                
    142         public: 
     136
     137        public:
    143138                /** \brief Pointer to the first facet */
    144139                facet *facetPtr;        //Will hold the adress of the first facet; set by gcone::getConeNormals
     
    155150                static float t_dd;
    156151                static float t_kStd;
    157                 static float time_enqueue;             
     152                static float time_enqueue;
    158153                static float time_computeInv;
    159154                static float t_ddMC;
     
    177172                /** The zero vector. Needed in case of fNormal mismatch*/
    178173                static int64vec *ivZeroVector;
    179                
     174
    180175                /** # of facets of the cone
    181176                 * This value is set by gcone::getConeNormals
    182177                 */
    183178                int numFacets;          //#of facets of the cone
    184                
     179
    185180                /**
    186181                 * At least as a workaround we store the irredundant facets of a matrix here.
    187                  * This is needed to compute an interior points of a cone. Note that there 
    188                  * will be non-flippable facets in it!           
     182                 * This is needed to compute an interior points of a cone. Note that there
     183                 * will be non-flippable facets in it!
    189184                 */
    190185                dd_MatrixPtr ddFacets;  //Matrix to store irredundant facets of the cone
    191                
     186
    192187                /** Array of intvecs representing the rays of the cone*/
    193188                int64vec **gcRays;
     
    197192                gcone *next;            //Pointer to next cone
    198193                gcone *prev;
    199                
     194
    200195                gcone();
    201196                gcone(ring r, ideal I);
     
    212207                inline int getNumFacets();
    213208                inline int getUCN();
    214                 inline int getPredUCN();               
     209                inline int getPredUCN();
    215210                volatile void showFacets(short codim=1);
    216211//              volatile void showSLA(facet &f);
     
    221216//              inline int dotProduct(int64vec &iva, int64vec &ivb);
    222217//              inline int dotProduct(const int64vec &iva, const int64vec &ivb);
    223 //              inline bool isParallel(const int64vec &a, const int64vec &b);                           
     218//              inline bool isParallel(const int64vec &a, const int64vec &b);
    224219                void noRevS(gcone &gcRoot, bool usingIntPoint=FALSE);
    225220//              inline int intgcd(const int &a, const int &b);
     
    238233                //poly restOfDiv(poly const &f, ideal const &I); removed with r12286
    239234                inline ideal ffG(const ideal &H, const ideal &G);
    240                 inline void getGB(ideal const &inputIdeal);             
     235                inline void getGB(ideal const &inputIdeal);
    241236                void interiorPoint( dd_MatrixPtr &M, int64vec &iv);//used from flip and optionally from getConeNormals
    242237//              void interiorPoint2(); //removed Feb 8th, 2010, new method Feb 19th, 2010, again removed Mar 16th, 2010
     
    244239                ring rCopyAndAddWeight(const ring &r, int64vec *ivw);
    245240                ring rCopyAndAddWeight2(const ring &, const int64vec *, const int64vec *);
    246 //              ring rCopyAndChangeWeight(const ring &r, int64vec *ivw);        //NOTE remove   
     241//              ring rCopyAndChangeWeight(const ring &r, int64vec *ivw);        //NOTE remove
    247242//              void reverseSearch(gcone *gcAct); //NOTE both removed from r12286
    248243//              bool isSearchFacet(gcone &gcTmp, facet *testfacet); //NOTE remove
     
    257252                /** Exchange 2 ordertype_a by just 1 */
    258253                void replaceDouble_ringorder_a_ByASingleOne();
    259 //              static void gcone::idPrint(ideal &I);           
    260 //              friend class facet;     
     254//              static void gcone::idPrint(ideal &I);
     255//              friend class facet;
    261256};
    262257lists lprepareResult(gcone *gc, const int n);
  • gfanlib/Makefile.in.save

    • Property mode changed from 100644 to 100755
    rae74d2 rc1ec9a  
    3333##
    3434PIPE            = -pipe
    35 CFLAGS          = @CFLAGS@ ${PIPE}
    36 CXXFLAGS        = @CXXFLAGS@ ${PIPE}
    37 #CXXTEMPLFLAGS  = -fno-implicit-templates
     35CFLAGS          = -fpic @CFLAGS@ ${PIPE}
     36CXXFLAGS        = -fpic @CXXFLAGS@ ${PIPE}
     37#CXXTEMPLFLAGS  = -fno-implicit-templates --no-exceptions
    3838CPPFLAGS        = -I${srcdir} -I${includedir}
    3939DEFS            = -DGMPRATIONAL
  • gfanlib/README.txt

    rae74d2 rc1ec9a  
    55or
    66
    7 export CPPFLAGS="-I/usr/include/cdd"
     7export CPPFLAGS="-I/home/ren/cddlib-094f/lib-src-gmp/"
    88./configure
    9 make includedir=/usr/include/cdd
    10 
     9make includedir=/home/ren/cddlib-094f/lib-src-gmp/
  • gfanlib/configure

    rae74d2 rc1ec9a  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for FULL-PACKAGE-NAME VERSION.
     3# Generated by GNU Autoconf 2.69 for libgfan 0.1.
    44#
    5 # Report bugs to <BUG-REPORT-ADDRESS>.
     5# Report bugs to <ren@mathematik.uni-kl.de>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
     209test \$(( 1 + 1 )) = 2 || exit 1"
     210  if (eval "$as_required") 2>/dev/null; then :
     211  as_have_required=yes
     212else
     213  as_have_required=no
     214fi
     215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     216
     217else
     218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     219as_found=false
     220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     221do
     222  IFS=$as_save_IFS
     223  test -z "$as_dir" && as_dir=.
     224  as_found=:
     225  case $as_dir in #(
     226         /*)
     227           for as_base in sh bash ksh sh5; do
     228             # Try only shells that exist, to save several forks.
     229             as_shell=$as_dir/$as_base
     230             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     231                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     232  CONFIG_SHELL=$as_shell as_have_required=yes
     233                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     234  break 2
     235fi
     236fi
     237           done;;
     238       esac
     239  as_found=false
     240done
     241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     242              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     243  CONFIG_SHELL=$SHELL as_have_required=yes
     244fi; }
     245IFS=$as_save_IFS
     246
     247
     248      if test "x$CONFIG_SHELL" != x; then :
     249  export CONFIG_SHELL
     250             # We cannot yet assume a decent shell, so we have to provide a
     251# neutralization value for shells without unset; and this also
     252# works around shells that cannot unset nonexistent variables.
     253# Preserve -v and -x to the replacement shell.
     254BASH_ENV=/dev/null
     255ENV=/dev/null
     256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     257case $- in # ((((
     258  *v*x* | *x*v* ) as_opts=-vx ;;
     259  *v* ) as_opts=-v ;;
     260  *x* ) as_opts=-x ;;
     261  * ) as_opts= ;;
     262esac
     263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     264# Admittedly, this is quite paranoid, since all the known shells bail
     265# out after a failed `exec'.
     266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     267exit 255
     268fi
     269
     270    if test x$as_have_required = xno; then :
     271  $as_echo "$0: This script requires a shell more modern than all"
     272  $as_echo "$0: the shells that I found on your system."
     273  if test x${ZSH_VERSION+set} = xset ; then
     274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     276  else
     277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     278$0: ren@mathematik.uni-kl.de about your system, including
     279$0: any error possibly output before this message. Then
     280$0: install a modern shell, or manually run the script
     281$0: under such a shell if you do have one."
     282  fi
     283  exit 1
     284fi
     285fi
     286fi
     287SHELL=${CONFIG_SHELL-/bin/sh}
     288export SHELL
     289# Unset more variables known to interfere with behavior of common tools.
     290CLICOLOR_FORCE= GREP_OPTIONS=
     291unset CLICOLOR_FORCE GREP_OPTIONS
     292
     293## --------------------- ##
     294## M4sh Shell Functions. ##
     295## --------------------- ##
     296# as_fn_unset VAR
     297# ---------------
     298# Portably unset VAR.
     299as_fn_unset ()
     300{
     301  { eval $1=; unset $1;}
     302}
     303as_unset=as_fn_unset
     304
     305# as_fn_set_status STATUS
     306# -----------------------
     307# Set $? to STATUS, without forking.
     308as_fn_set_status ()
     309{
     310  return $1
     311} # as_fn_set_status
     312
     313# as_fn_exit STATUS
     314# -----------------
     315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     316as_fn_exit ()
     317{
     318  set +e
     319  as_fn_set_status $1
     320  exit $1
     321} # as_fn_exit
     322
     323# as_fn_mkdir_p
     324# -------------
     325# Create "$as_dir" as a directory, including parents if necessary.
     326as_fn_mkdir_p ()
     327{
     328
     329  case $as_dir in #(
     330  -*) as_dir=./$as_dir;;
     331  esac
     332  test -d "$as_dir" || eval $as_mkdir_p || {
     333    as_dirs=
     334    while :; do
     335      case $as_dir in #(
     336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     337      *) as_qdir=$as_dir;;
     338      esac
     339      as_dirs="'$as_qdir' $as_dirs"
     340      as_dir=`$as_dirname -- "$as_dir" ||
     341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     342         X"$as_dir" : 'X\(//\)[^/]' \| \
     343         X"$as_dir" : 'X\(//\)$' \| \
     344         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     345$as_echo X"$as_dir" |
     346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\/\)[^/].*/{
     351            s//\1/
     352            q
     353          }
     354          /^X\(\/\/\)$/{
     355            s//\1/
     356            q
     357          }
     358          /^X\(\/\).*/{
     359            s//\1/
     360            q
     361          }
     362          s/.*/./; q'`
     363      test -d "$as_dir" && break
     364    done
     365    test -z "$as_dirs" || eval "mkdir $as_dirs"
     366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     367
     368
     369} # as_fn_mkdir_p
     370
     371# as_fn_executable_p FILE
     372# -----------------------
     373# Test if FILE is an executable regular file.
     374as_fn_executable_p ()
     375{
     376  test -f "$1" && test -x "$1"
     377} # as_fn_executable_p
     378# as_fn_append VAR VALUE
     379# ----------------------
     380# Append the text in VALUE to the end of the definition contained in VAR. Take
     381# advantage of any shell optimizations that allow amortized linear growth over
     382# repeated appends, instead of the typical quadratic growth present in naive
     383# implementations.
     384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     385  eval 'as_fn_append ()
     386  {
     387    eval $1+=\$2
     388  }'
     389else
     390  as_fn_append ()
     391  {
     392    eval $1=\$$1\$2
     393  }
     394fi # as_fn_append
     395
     396# as_fn_arith ARG...
     397# ------------------
     398# Perform arithmetic evaluation on the ARGs, and store the result in the
     399# global $as_val. Take advantage of shells that can avoid forks. The arguments
     400# must be portable across $(()) and expr.
     401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     402  eval 'as_fn_arith ()
     403  {
     404    as_val=$(( $* ))
     405  }'
     406else
     407  as_fn_arith ()
     408  {
     409    as_val=`expr "$@" || test $? -eq 1`
     410  }
     411fi # as_fn_arith
     412
     413
     414# as_fn_error STATUS ERROR [LINENO LOG_FD]
     415# ----------------------------------------
     416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     418# script with STATUS, using 1 if that was 0.
     419as_fn_error ()
     420{
     421  as_status=$1; test $as_status -eq 0 && as_status=1
     422  if test "$4"; then
     423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     425  fi
     426  $as_echo "$as_me: error: $2" >&2
     427  as_fn_exit $as_status
     428} # as_fn_error
     429
    137430if expr a : '\(a\)' >/dev/null 2>&1 &&
    138431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148441fi
    149442
    150 
    151 # Name of the executable.
     443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     444  as_dirname=dirname
     445else
     446  as_dirname=false
     447fi
     448
    152449as_me=`$as_basename -- "$0" ||
    153450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169466          s/.*/./; q'`
    170467
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     468# Avoid depending upon Character Ranges.
     469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     472as_cr_digits='0123456789'
     473as_cr_alnum=$as_cr_Letters$as_cr_digits
     474
     475
     476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460481  sed -n '
    461482    p
     
    474495    ' >$as_me.lineno &&
    475496  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     498
     499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     500  # already done that, so ensure we don't try to do so again and fall
     501  # in an infinite loop.  This has already happened in practice.
     502  _as_can_reexec=no; export _as_can_reexec
    479503  # Don't try to exec as it changes $[0], causing all sort of problems
    480504  # (the dirname of $[0] is not the place where we might find the
     
    485509}
    486510
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494511ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     512case `echo -n x` in #(((((
    496513-n*)
    497   case `echo 'x\c'` in
     514  case `echo 'xy\c'` in
    498515  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     516  xy)  ECHO_C='\c';;
     517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     518       ECHO_T=' ';;
    500519  esac;;
    501520*)
    502521  ECHO_N='-n';;
    503522esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510523
    511524rm -f conf$$ conf$$.exe conf$$.file
     
    522535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     537    # In both cases, we have to default to `cp -pR'.
    525538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     539      as_ln_s='cp -pR'
    527540  elif ln conf$$.file conf$$ 2>/dev/null; then
    528541    as_ln_s=ln
    529542  else
    530     as_ln_s='cp -p'
     543    as_ln_s='cp -pR'
    531544  fi
    532545else
    533   as_ln_s='cp -p'
     546  as_ln_s='cp -pR'
    534547fi
    535548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537550
    538551if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     552  as_mkdir_p='mkdir -p "$as_dir"'
    540553else
    541554  test -d ./-p && rmdir ./-p
     
    543556fi
    544557
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     558as_test_x='test -x'
     559as_executable_p=as_fn_executable_p
    567560
    568561# Sed expression to map a string onto a valid CPP name.
     
    572565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573566
    574 
    575 
    576 exec 7<&0 </dev/null 6>&1
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
     569
     570test -n "$DJDIR" || exec 7<&0 </dev/null
     571exec 6>&1
    577572
    578573# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580575# so uname gets run too.
    581576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592587MFLAGS=
    593588MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595589
    596590# Identity of this package.
    597 PACKAGE_NAME='FULL-PACKAGE-NAME'
    598 PACKAGE_TARNAME='full-package-name'
    599 PACKAGE_VERSION='VERSION'
    600 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
    601 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
     591PACKAGE_NAME='libgfan'
     592PACKAGE_TARNAME='libgfan'
     593PACKAGE_VERSION='0.1'
     594PACKAGE_STRING='libgfan 0.1'
     595PACKAGE_BUGREPORT='ren@mathematik.uni-kl.de'
     596PACKAGE_URL=''
    602597
    603598ac_unique_file="gfanlib.h"
     
    638633#endif"
    639634
    640 ac_subst_vars='LTLIBOBJS
     635ac_subst_vars='am__EXEEXT_FALSE
     636am__EXEEXT_TRUE
     637LTLIBOBJS
    641638LIBOBJS
     639WANT_DEBUG_FALSE
     640WANT_DEBUG_TRUE
     641HAVE_GFANLIB_FALSE
     642HAVE_GFANLIB_TRUE
     643GMP_VERSION
     644GMP_LIBS
     645GMP_CFLAGS
     646CXXCPP
     647CPP
     648OTOOL64
     649OTOOL
     650LIPO
     651NMEDIT
     652DSYMUTIL
     653MANIFEST_TOOL
     654RANLIB
     655DLLTOOL
     656OBJDUMP
     657NM
     658ac_ct_DUMPBIN
     659DUMPBIN
     660LD
     661FGREP
    642662EGREP
    643663GREP
    644 CPP
    645 RANLIB
     664SED
     665host_os
     666host_vendor
     667host_cpu
     668host
     669build_os
     670build_vendor
     671build_cpu
     672build
     673LIBTOOL
    646674LN_S
     675am__fastdepCXX_FALSE
     676am__fastdepCXX_TRUE
     677CXXDEPMODE
    647678ac_ct_CXX
    648679CXXFLAGS
    649680CXX
     681am__fastdepCC_FALSE
     682am__fastdepCC_TRUE
     683CCDEPMODE
     684am__nodep
     685AMDEPBACKSLASH
     686AMDEP_FALSE
     687AMDEP_TRUE
     688am__quote
     689am__include
     690DEPDIR
    650691OBJEXT
    651692EXEEXT
     
    655696CFLAGS
    656697CC
     698ac_ct_AR
     699AR
     700AM_BACKSLASH
     701AM_DEFAULT_VERBOSITY
     702AM_DEFAULT_V
     703AM_V
     704am__untar
     705am__tar
     706AMTAR
     707am__leading_dot
     708SET_MAKE
     709AWK
     710mkdir_p
     711MKDIR_P
     712INSTALL_STRIP_PROGRAM
     713STRIP
     714install_sh
     715MAKEINFO
     716AUTOHEADER
     717AUTOMAKE
     718AUTOCONF
     719ACLOCAL
     720VERSION
     721PACKAGE
     722CYGPATH_W
     723am__isrc
     724INSTALL_DATA
     725INSTALL_SCRIPT
     726INSTALL_PROGRAM
     727MAINT
     728MAINTAINER_MODE_FALSE
     729MAINTAINER_MODE_TRUE
    657730target_alias
    658731host_alias
     
    685758prefix
    686759exec_prefix
     760PACKAGE_URL
    687761PACKAGE_BUGREPORT
    688762PACKAGE_STRING
     
    695769ac_user_opts='
    696770enable_option_checking
     771enable_maintainer_mode
     772enable_silent_rules
     773enable_dependency_tracking
     774enable_shared
     775enable_static
     776with_pic
     777enable_fast_install
     778with_gnu_ld
     779with_sysroot
     780enable_libtool_lock
     781with_gmp
     782enable_gfanlib
     783enable_debug
    697784'
    698785      ac_precious_vars='build_alias
     
    707794CXXFLAGS
    708795CCC
    709 CPP'
     796CPP
     797CXXCPP'
    710798
    711799
     
    770858
    771859  case $ac_option in
    772   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    773   *)    ac_optarg=yes ;;
     860  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     861  *=)   ac_optarg= ;;
     862  *)    ac_optarg=yes ;;
    774863  esac
    775864
     
    816905    # Reject names that are not valid shell variable names.
    817906    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    818       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    819    { (exit 1); exit 1; }; }
     907      as_fn_error $? "invalid feature name: $ac_useropt"
    820908    ac_useropt_orig=$ac_useropt
    821909    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    843931    # Reject names that are not valid shell variable names.
    844932    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    845       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    846    { (exit 1); exit 1; }; }
     933      as_fn_error $? "invalid feature name: $ac_useropt"
    847934    ac_useropt_orig=$ac_useropt
    848935    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10481135    # Reject names that are not valid shell variable names.
    10491136    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1050       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1051    { (exit 1); exit 1; }; }
     1137      as_fn_error $? "invalid package name: $ac_useropt"
    10521138    ac_useropt_orig=$ac_useropt
    10531139    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10651151    # Reject names that are not valid shell variable names.
    10661152    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1067       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1068    { (exit 1); exit 1; }; }
     1153      as_fn_error $? "invalid package name: $ac_useropt"
    10691154    ac_useropt_orig=$ac_useropt
    10701155    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10961181    x_libraries=$ac_optarg ;;
    10971182
    1098   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1099 Try \`$0 --help' for more information." >&2
    1100    { (exit 1); exit 1; }; }
     1183  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1184Try \`$0 --help' for more information"
    11011185    ;;
    11021186
     
    11041188    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11051189    # Reject names that are not valid shell variable names.
    1106     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1107       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1108    { (exit 1); exit 1; }; }
     1190    case $ac_envvar in #(
     1191      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1192      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1193    esac
    11091194    eval $ac_envvar=\$ac_optarg
    11101195    export $ac_envvar ;;
     
    11151200    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11161201      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1117     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1202    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11181203    ;;
    11191204
     
    11231208if test -n "$ac_prev"; then
    11241209  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1125   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1126    { (exit 1); exit 1; }; }
     1210  as_fn_error $? "missing argument to $ac_option"
    11271211fi
    11281212
     
    11301214  case $enable_option_checking in
    11311215    no) ;;
    1132     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1133    { (exit 1); exit 1; }; } ;;
     1216    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11341217    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11351218  esac
     
    11541237    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11551238  esac
    1156   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1157    { (exit 1); exit 1; }; }
     1239  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11581240done
    11591241
     
    11691251  if test "x$build_alias" = x; then
    11701252    cross_compiling=maybe
    1171     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1172     If a cross compiler is detected then cross compile mode will be used." >&2
    11731253  elif test "x$build_alias" != "x$host_alias"; then
    11741254    cross_compiling=yes
     
    11851265ac_ls_di=`ls -di .` &&
    11861266ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1187   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1188    { (exit 1); exit 1; }; }
     1267  as_fn_error $? "working directory cannot be determined"
    11891268test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1190   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1191    { (exit 1); exit 1; }; }
     1269  as_fn_error $? "pwd does not report name of working directory"
    11921270
    11931271
     
    12281306if test ! -r "$srcdir/$ac_unique_file"; then
    12291307  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1230   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1231    { (exit 1); exit 1; }; }
     1308  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12321309fi
    12331310ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12341311ac_abs_confdir=`(
    1235         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1236    { (exit 1); exit 1; }; }
     1312        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12371313        pwd)`
    12381314# When building in place, set srcdir=.
     
    12601336  # This message is too long to be a string in the A/UX 3.1 sh.
    12611337  cat <<_ACEOF
    1262 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
     1338\`configure' configures libgfan 0.1 to adapt to many kinds of systems.
    12631339
    12641340Usage: $0 [OPTION]... [VAR=VALUE]...
     
    12741350      --help=recursive    display the short help of all the included packages
    12751351  -V, --version           display version information and exit
    1276   -q, --quiet, --silent   do not print \`checking...' messages
     1352  -q, --quiet, --silent   do not print \`checking ...' messages
    12771353      --cache-file=FILE   cache test results in FILE [disabled]
    12781354  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13081384  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
    13091385  --mandir=DIR            man documentation [DATAROOTDIR/man]
    1310   --docdir=DIR            documentation root
    1311                           [DATAROOTDIR/doc/full-package-name]
     1386  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfan]
    13121387  --htmldir=DIR           html documentation [DOCDIR]
    13131388  --dvidir=DIR            dvi documentation [DOCDIR]
     
    13171392
    13181393  cat <<\_ACEOF
     1394
     1395Program names:
     1396  --program-prefix=PREFIX            prepend PREFIX to installed program names
     1397  --program-suffix=SUFFIX            append SUFFIX to installed program names
     1398  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     1399
     1400System types:
     1401  --build=BUILD     configure for building on BUILD [guessed]
     1402  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    13191403_ACEOF
    13201404fi
     
    13221406if test -n "$ac_init_help"; then
    13231407  case $ac_init_help in
    1324      short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
     1408     short | recursive ) echo "Configuration of libgfan 0.1:";;
    13251409   esac
    13261410  cat <<\_ACEOF
     1411
     1412Optional Features:
     1413  --disable-option-checking  ignore unrecognized --enable/--with options
     1414  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     1415  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1416  --enable-maintainer-mode
     1417                          enable make rules and dependencies not useful (and
     1418                          sometimes confusing) to the casual installer
     1419  --enable-silent-rules   less verbose build output (undo: "make V=1")
     1420  --disable-silent-rules  verbose build output (undo: "make V=0")
     1421  --enable-dependency-tracking
     1422                          do not reject slow dependency extractors
     1423  --disable-dependency-tracking
     1424                          speeds up one-time build
     1425  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1426  --enable-static[=PKGS]  build static libraries [default=yes]
     1427  --enable-fast-install[=PKGS]
     1428                          optimize for fast installation [default=yes]
     1429  --disable-libtool-lock  avoid locking (might break parallel builds)
     1430  --enable-gfanlib        Enables gfanlib, a package for basic convex geometry
     1431  --enable-debug          build the debugging version of the libraries
     1432
     1433Optional Packages:
     1434  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     1435  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     1436  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1437                          both]
     1438  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1439  --with-sysroot=DIR Search for dependent libraries within DIR
     1440                        (or the compiler's sysroot if not specified).
     1441  --with-gmp= <path>|yes Use GMP library. This library is mandatory for Singular
     1442                         compilation. If argument is yes or <empty> that means
     1443                         the library is reachable with the standard search path
     1444                         "/usr" or "/usr/local" (set as default). Otherwise you
     1445                         give the <path> to the directory which contain the
     1446                         library.
     1447
    13271448
    13281449Some influential environment variables:
     
    13321453              nonstandard directory <lib dir>
    13331454  LIBS        libraries to pass to the linker, e.g. -l<library>
    1334   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1455  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13351456              you have headers in a nonstandard directory <include dir>
    13361457  CXX         C++ compiler command
    13371458  CXXFLAGS    C++ compiler flags
    13381459  CPP         C preprocessor
     1460  CXXCPP      C++ preprocessor
    13391461
    13401462Use these variables to override the choices made by `configure' or to help
    13411463it to find libraries and programs with nonstandard names/locations.
    13421464
    1343 Report bugs to <BUG-REPORT-ADDRESS>.
     1465Report bugs to <ren@mathematik.uni-kl.de>.
    13441466_ACEOF
    13451467ac_status=$?
     
    14041526if $ac_init_version; then
    14051527  cat <<\_ACEOF
    1406 FULL-PACKAGE-NAME configure VERSION
    1407 generated by GNU Autoconf 2.63
    1408 
    1409 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1410 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1528libgfan configure 0.1
     1529generated by GNU Autoconf 2.69
     1530
     1531Copyright (C) 2012 Free Software Foundation, Inc.
    14111532This configure script is free software; the Free Software Foundation
    14121533gives unlimited permission to copy, distribute and modify it.
     
    14141535  exit
    14151536fi
     1537
     1538## ------------------------ ##
     1539## Autoconf initialization. ##
     1540## ------------------------ ##
     1541
     1542# ac_fn_c_try_compile LINENO
     1543# --------------------------
     1544# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1545ac_fn_c_try_compile ()
     1546{
     1547  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1548  rm -f conftest.$ac_objext
     1549  if { { ac_try="$ac_compile"
     1550case "(($ac_try" in
     1551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1552  *) ac_try_echo=$ac_try;;
     1553esac
     1554eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1555$as_echo "$ac_try_echo"; } >&5
     1556  (eval "$ac_compile") 2>conftest.err
     1557  ac_status=$?
     1558  if test -s conftest.err; then
     1559    grep -v '^ *+' conftest.err >conftest.er1
     1560    cat conftest.er1 >&5
     1561    mv -f conftest.er1 conftest.err
     1562  fi
     1563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1564  test $ac_status = 0; } && {
     1565         test -z "$ac_c_werror_flag" ||
     1566         test ! -s conftest.err
     1567       } && test -s conftest.$ac_objext; then :
     1568  ac_retval=0
     1569else
     1570  $as_echo "$as_me: failed program was:" >&5
     1571sed 's/^/| /' conftest.$ac_ext >&5
     1572
     1573        ac_retval=1
     1574fi
     1575  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1576  as_fn_set_status $ac_retval
     1577
     1578} # ac_fn_c_try_compile
     1579
     1580# ac_fn_cxx_try_compile LINENO
     1581# ----------------------------
     1582# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1583ac_fn_cxx_try_compile ()
     1584{
     1585  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1586  rm -f conftest.$ac_objext
     1587  if { { ac_try="$ac_compile"
     1588case "(($ac_try" in
     1589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1590  *) ac_try_echo=$ac_try;;
     1591esac
     1592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1593$as_echo "$ac_try_echo"; } >&5
     1594  (eval "$ac_compile") 2>conftest.err
     1595  ac_status=$?
     1596  if test -s conftest.err; then
     1597    grep -v '^ *+' conftest.err >conftest.er1
     1598    cat conftest.er1 >&5
     1599    mv -f conftest.er1 conftest.err
     1600  fi
     1601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1602  test $ac_status = 0; } && {
     1603         test -z "$ac_cxx_werror_flag" ||
     1604         test ! -s conftest.err
     1605       } && test -s conftest.$ac_objext; then :
     1606  ac_retval=0
     1607else
     1608  $as_echo "$as_me: failed program was:" >&5
     1609sed 's/^/| /' conftest.$ac_ext >&5
     1610
     1611        ac_retval=1
     1612fi
     1613  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1614  as_fn_set_status $ac_retval
     1615
     1616} # ac_fn_cxx_try_compile
     1617
     1618# ac_fn_c_try_link LINENO
     1619# -----------------------
     1620# Try to link conftest.$ac_ext, and return whether this succeeded.
     1621ac_fn_c_try_link ()
     1622{
     1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1624  rm -f conftest.$ac_objext conftest$ac_exeext
     1625  if { { ac_try="$ac_link"
     1626case "(($ac_try" in
     1627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1628  *) ac_try_echo=$ac_try;;
     1629esac
     1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1631$as_echo "$ac_try_echo"; } >&5
     1632  (eval "$ac_link") 2>conftest.err
     1633  ac_status=$?
     1634  if test -s conftest.err; then
     1635    grep -v '^ *+' conftest.err >conftest.er1
     1636    cat conftest.er1 >&5
     1637    mv -f conftest.er1 conftest.err
     1638  fi
     1639  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1640  test $ac_status = 0; } && {
     1641         test -z "$ac_c_werror_flag" ||
     1642         test ! -s conftest.err
     1643       } && test -s conftest$ac_exeext && {
     1644         test "$cross_compiling" = yes ||
     1645         test -x conftest$ac_exeext
     1646       }; then :
     1647  ac_retval=0
     1648else
     1649  $as_echo "$as_me: failed program was:" >&5
     1650sed 's/^/| /' conftest.$ac_ext >&5
     1651
     1652        ac_retval=1
     1653fi
     1654  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1655  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1656  # interfere with the next link command; also delete a directory that is
     1657  # left behind by Apple's compiler.  We do this before executing the actions.
     1658  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1659  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1660  as_fn_set_status $ac_retval
     1661
     1662} # ac_fn_c_try_link
     1663
     1664# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1665# -------------------------------------------------------
     1666# Tests whether HEADER exists and can be compiled using the include files in
     1667# INCLUDES, setting the cache variable VAR accordingly.
     1668ac_fn_c_check_header_compile ()
     1669{
     1670  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1671  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1672$as_echo_n "checking for $2... " >&6; }
     1673if eval \${$3+:} false; then :
     1674  $as_echo_n "(cached) " >&6
     1675else
     1676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1677/* end confdefs.h.  */
     1678$4
     1679#include <$2>
     1680_ACEOF
     1681if ac_fn_c_try_compile "$LINENO"; then :
     1682  eval "$3=yes"
     1683else
     1684  eval "$3=no"
     1685fi
     1686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1687fi
     1688eval ac_res=\$$3
     1689               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1690$as_echo "$ac_res" >&6; }
     1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1692
     1693} # ac_fn_c_check_header_compile
     1694
     1695# ac_fn_c_try_cpp LINENO
     1696# ----------------------
     1697# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1698ac_fn_c_try_cpp ()
     1699{
     1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1701  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1702case "(($ac_try" in
     1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1704  *) ac_try_echo=$ac_try;;
     1705esac
     1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1707$as_echo "$ac_try_echo"; } >&5
     1708  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1709  ac_status=$?
     1710  if test -s conftest.err; then
     1711    grep -v '^ *+' conftest.err >conftest.er1
     1712    cat conftest.er1 >&5
     1713    mv -f conftest.er1 conftest.err
     1714  fi
     1715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1716  test $ac_status = 0; } > conftest.i && {
     1717         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1718         test ! -s conftest.err
     1719       }; then :
     1720  ac_retval=0
     1721else
     1722  $as_echo "$as_me: failed program was:" >&5
     1723sed 's/^/| /' conftest.$ac_ext >&5
     1724
     1725    ac_retval=1
     1726fi
     1727  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1728  as_fn_set_status $ac_retval
     1729
     1730} # ac_fn_c_try_cpp
     1731
     1732# ac_fn_c_try_run LINENO
     1733# ----------------------
     1734# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1735# that executables *can* be run.
     1736ac_fn_c_try_run ()
     1737{
     1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1739  if { { ac_try="$ac_link"
     1740case "(($ac_try" in
     1741  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1742  *) ac_try_echo=$ac_try;;
     1743esac
     1744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1745$as_echo "$ac_try_echo"; } >&5
     1746  (eval "$ac_link") 2>&5
     1747  ac_status=$?
     1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1749  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1750  { { case "(($ac_try" in
     1751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1752  *) ac_try_echo=$ac_try;;
     1753esac
     1754eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1755$as_echo "$ac_try_echo"; } >&5
     1756  (eval "$ac_try") 2>&5
     1757  ac_status=$?
     1758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1759  test $ac_status = 0; }; }; then :
     1760  ac_retval=0
     1761else
     1762  $as_echo "$as_me: program exited with status $ac_status" >&5
     1763       $as_echo "$as_me: failed program was:" >&5
     1764sed 's/^/| /' conftest.$ac_ext >&5
     1765
     1766       ac_retval=$ac_status
     1767fi
     1768  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1769  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1770  as_fn_set_status $ac_retval
     1771
     1772} # ac_fn_c_try_run
     1773
     1774# ac_fn_c_check_func LINENO FUNC VAR
     1775# ----------------------------------
     1776# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1777ac_fn_c_check_func ()
     1778{
     1779  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1781$as_echo_n "checking for $2... " >&6; }
     1782if eval \${$3+:} false; then :
     1783  $as_echo_n "(cached) " >&6
     1784else
     1785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1786/* end confdefs.h.  */
     1787/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1788   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1789#define $2 innocuous_$2
     1790
     1791/* System header to define __stub macros and hopefully few prototypes,
     1792    which can conflict with char $2 (); below.
     1793    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1794    <limits.h> exists even on freestanding compilers.  */
     1795
     1796#ifdef __STDC__
     1797# include <limits.h>
     1798#else
     1799# include <assert.h>
     1800#endif
     1801
     1802#undef $2
     1803
     1804/* Override any GCC internal prototype to avoid an error.
     1805   Use char because int might match the return type of a GCC
     1806   builtin and then its argument prototype would still apply.  */
     1807#ifdef __cplusplus
     1808extern "C"
     1809#endif
     1810char $2 ();
     1811/* The GNU C library defines this for functions which it implements
     1812    to always fail with ENOSYS.  Some functions are actually named
     1813    something starting with __ and the normal name is an alias.  */
     1814#if defined __stub_$2 || defined __stub___$2
     1815choke me
     1816#endif
     1817
     1818int
     1819main ()
     1820{
     1821return $2 ();
     1822  ;
     1823  return 0;
     1824}
     1825_ACEOF
     1826if ac_fn_c_try_link "$LINENO"; then :
     1827  eval "$3=yes"
     1828else
     1829  eval "$3=no"
     1830fi
     1831rm -f core conftest.err conftest.$ac_objext \
     1832    conftest$ac_exeext conftest.$ac_ext
     1833fi
     1834eval ac_res=\$$3
     1835               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1836$as_echo "$ac_res" >&6; }
     1837  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1838
     1839} # ac_fn_c_check_func
     1840
     1841# ac_fn_cxx_try_cpp LINENO
     1842# ------------------------
     1843# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1844ac_fn_cxx_try_cpp ()
     1845{
     1846  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1847  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1848case "(($ac_try" in
     1849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1850  *) ac_try_echo=$ac_try;;
     1851esac
     1852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1853$as_echo "$ac_try_echo"; } >&5
     1854  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1855  ac_status=$?
     1856  if test -s conftest.err; then
     1857    grep -v '^ *+' conftest.err >conftest.er1
     1858    cat conftest.er1 >&5
     1859    mv -f conftest.er1 conftest.err
     1860  fi
     1861  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1862  test $ac_status = 0; } > conftest.i && {
     1863         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1864         test ! -s conftest.err
     1865       }; then :
     1866  ac_retval=0
     1867else
     1868  $as_echo "$as_me: failed program was:" >&5
     1869sed 's/^/| /' conftest.$ac_ext >&5
     1870
     1871    ac_retval=1
     1872fi
     1873  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1874  as_fn_set_status $ac_retval
     1875
     1876} # ac_fn_cxx_try_cpp
     1877
     1878# ac_fn_cxx_try_link LINENO
     1879# -------------------------
     1880# Try to link conftest.$ac_ext, and return whether this succeeded.
     1881ac_fn_cxx_try_link ()
     1882{
     1883  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1884  rm -f conftest.$ac_objext conftest$ac_exeext
     1885  if { { ac_try="$ac_link"
     1886case "(($ac_try" in
     1887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1888  *) ac_try_echo=$ac_try;;
     1889esac
     1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1891$as_echo "$ac_try_echo"; } >&5
     1892  (eval "$ac_link") 2>conftest.err
     1893  ac_status=$?
     1894  if test -s conftest.err; then
     1895    grep -v '^ *+' conftest.err >conftest.er1
     1896    cat conftest.er1 >&5
     1897    mv -f conftest.er1 conftest.err
     1898  fi
     1899  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1900  test $ac_status = 0; } && {
     1901         test -z "$ac_cxx_werror_flag" ||
     1902         test ! -s conftest.err
     1903       } && test -s conftest$ac_exeext && {
     1904         test "$cross_compiling" = yes ||
     1905         test -x conftest$ac_exeext
     1906       }; then :
     1907  ac_retval=0
     1908else
     1909  $as_echo "$as_me: failed program was:" >&5
     1910sed 's/^/| /' conftest.$ac_ext >&5
     1911
     1912        ac_retval=1
     1913fi
     1914  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1915  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1916  # interfere with the next link command; also delete a directory that is
     1917  # left behind by Apple's compiler.  We do this before executing the actions.
     1918  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1919  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1920  as_fn_set_status $ac_retval
     1921
     1922} # ac_fn_cxx_try_link
     1923
     1924# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1925# -------------------------------------------------------
     1926# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1927# the include files in INCLUDES and setting the cache variable VAR
     1928# accordingly.
     1929ac_fn_c_check_header_mongrel ()
     1930{
     1931  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1932  if eval \${$3+:} false; then :
     1933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1934$as_echo_n "checking for $2... " >&6; }
     1935if eval \${$3+:} false; then :
     1936  $as_echo_n "(cached) " >&6
     1937fi
     1938eval ac_res=\$$3
     1939               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1940$as_echo "$ac_res" >&6; }
     1941else
     1942  # Is the header compilable?
     1943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1944$as_echo_n "checking $2 usability... " >&6; }
     1945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1946/* end confdefs.h.  */
     1947$4
     1948#include <$2>
     1949_ACEOF
     1950if ac_fn_c_try_compile "$LINENO"; then :
     1951  ac_header_compiler=yes
     1952else
     1953  ac_header_compiler=no
     1954fi
     1955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1957$as_echo "$ac_header_compiler" >&6; }
     1958
     1959# Is the header present?
     1960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1961$as_echo_n "checking $2 presence... " >&6; }
     1962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1963/* end confdefs.h.  */
     1964#include <$2>
     1965_ACEOF
     1966if ac_fn_c_try_cpp "$LINENO"; then :
     1967  ac_header_preproc=yes
     1968else
     1969  ac_header_preproc=no
     1970fi
     1971rm -f conftest.err conftest.i conftest.$ac_ext
     1972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1973$as_echo "$ac_header_preproc" >&6; }
     1974
     1975# So?  What about this header?
     1976case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1977  yes:no: )
     1978    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1979$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1980    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1981$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1982    ;;
     1983  no:yes:* )
     1984    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1985$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1986    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1987$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1988    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1989$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1990    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1991$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1993$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1994( $as_echo "## --------------------------------------- ##
     1995## Report this to ren@mathematik.uni-kl.de ##
     1996## --------------------------------------- ##"
     1997     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1998    ;;
     1999esac
     2000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2001$as_echo_n "checking for $2... " >&6; }
     2002if eval \${$3+:} false; then :
     2003  $as_echo_n "(cached) " >&6
     2004else
     2005  eval "$3=\$ac_header_compiler"
     2006fi
     2007eval ac_res=\$$3
     2008               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2009$as_echo "$ac_res" >&6; }
     2010fi
     2011  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2012
     2013} # ac_fn_c_check_header_mongrel
    14162014cat >config.log <<_ACEOF
    14172015This file contains any messages produced by compilers while
    14182016running configure, to aid debugging if configure makes a mistake.
    14192017
    1420 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
    1421 generated by GNU Autoconf 2.63.  Invocation command line was
     2018It was created by libgfan $as_me 0.1, which was
     2019generated by GNU Autoconf 2.69.  Invocation command line was
    14222020
    14232021  $ $0 $@
     
    14552053  IFS=$as_save_IFS
    14562054  test -z "$as_dir" && as_dir=.
    1457   $as_echo "PATH: $as_dir"
    1458 done
     2055    $as_echo "PATH: $as_dir"
     2056  done
    14592057IFS=$as_save_IFS
    14602058
     
    14932091    esac
    14942092    case $ac_pass in
    1495     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2093    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    14962094    2)
    1497       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2095      as_fn_append ac_configure_args1 " '$ac_arg'"
    14982096      if test $ac_must_keep_next = true; then
    14992097        ac_must_keep_next=false # Got value, back to normal.
     
    15112109        esac
    15122110      fi
    1513       ac_configure_args="$ac_configure_args '$ac_arg'"
     2111      as_fn_append ac_configure_args " '$ac_arg'"
    15142112      ;;
    15152113    esac
    15162114  done
    15172115done
    1518 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1519 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2116{ ac_configure_args0=; unset ac_configure_args0;}
     2117{ ac_configure_args1=; unset ac_configure_args1;}
    15202118
    15212119# When interrupted or exit'd, cleanup temporary files, and complete
     
    15292127    echo
    15302128
    1531     cat <<\_ASBOX
    1532 ## ---------------- ##
     2129    $as_echo "## ---------------- ##
    15332130## Cache variables. ##
    1534 ## ---------------- ##
    1535 _ASBOX
     2131## ---------------- ##"
    15362132    echo
    15372133    # The following way of writing the cache mishandles newlines in values,
     
    15422138    *${as_nl}*)
    15432139      case $ac_var in #(
    1544       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2140      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    15452141$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15462142      esac
     
    15482144      _ | IFS | as_nl) ;; #(
    15492145      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1550       *) $as_unset $ac_var ;;
     2146      *) { eval $ac_var=; unset $ac_var;} ;;
    15512147      esac ;;
    15522148    esac
     
    15672163    echo
    15682164
    1569     cat <<\_ASBOX
    1570 ## ----------------- ##
     2165    $as_echo "## ----------------- ##
    15712166## Output variables. ##
    1572 ## ----------------- ##
    1573 _ASBOX
     2167## ----------------- ##"
    15742168    echo
    15752169    for ac_var in $ac_subst_vars
     
    15842178
    15852179    if test -n "$ac_subst_files"; then
    1586       cat <<\_ASBOX
    1587 ## ------------------- ##
     2180      $as_echo "## ------------------- ##
    15882181## File substitutions. ##
    1589 ## ------------------- ##
    1590 _ASBOX
     2182## ------------------- ##"
    15912183      echo
    15922184      for ac_var in $ac_subst_files
     
    16022194
    16032195    if test -s confdefs.h; then
    1604       cat <<\_ASBOX
    1605 ## ----------- ##
     2196      $as_echo "## ----------- ##
    16062197## confdefs.h. ##
    1607 ## ----------- ##
    1608 _ASBOX
     2198## ----------- ##"
    16092199      echo
    16102200      cat confdefs.h
     
    16202210' 0
    16212211for ac_signal in 1 2 13 15; do
    1622   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2212  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16232213done
    16242214ac_signal=0
     
    16262216# confdefs.h avoids OS command line length limits that DEFS can exceed.
    16272217rm -f -r conftest* confdefs.h
     2218
     2219$as_echo "/* confdefs.h */" > confdefs.h
    16282220
    16292221# Predefined preprocessor variables.
     
    16332225_ACEOF
    16342226
    1635 
    16362227cat >>confdefs.h <<_ACEOF
    16372228#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    16382229_ACEOF
    16392230
    1640 
    16412231cat >>confdefs.h <<_ACEOF
    16422232#define PACKAGE_VERSION "$PACKAGE_VERSION"
    16432233_ACEOF
    16442234
    1645 
    16462235cat >>confdefs.h <<_ACEOF
    16472236#define PACKAGE_STRING "$PACKAGE_STRING"
    16482237_ACEOF
    16492238
    1650 
    16512239cat >>confdefs.h <<_ACEOF
    16522240#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2241_ACEOF
     2242
     2243cat >>confdefs.h <<_ACEOF
     2244#define PACKAGE_URL "$PACKAGE_URL"
    16532245_ACEOF
    16542246
     
    16592251ac_site_file2=NONE
    16602252if test -n "$CONFIG_SITE"; then
    1661   ac_site_file1=$CONFIG_SITE
     2253  # We do not want a PATH search for config.site.
     2254  case $CONFIG_SITE in #((
     2255    -*)  ac_site_file1=./$CONFIG_SITE;;
     2256    */*) ac_site_file1=$CONFIG_SITE;;
     2257    *)   ac_site_file1=./$CONFIG_SITE;;
     2258  esac
    16622259elif test "x$prefix" != xNONE; then
    16632260  ac_site_file1=$prefix/share/config.site
     
    16702267do
    16712268  test "x$ac_site_file" = xNONE && continue
    1672   if test -r "$ac_site_file"; then
    1673     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2269  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2270    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    16742271$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    16752272    sed 's/^/| /' "$ac_site_file" >&5
    1676     . "$ac_site_file"
     2273    . "$ac_site_file" \
     2274      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2275$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2276as_fn_error $? "failed to load site script $ac_site_file
     2277See \`config.log' for more details" "$LINENO" 5; }
    16772278  fi
    16782279done
    16792280
    16802281if test -r "$cache_file"; then
    1681   # Some versions of bash will fail to source /dev/null (special
    1682   # files actually), so we avoid doing that.
    1683   if test -f "$cache_file"; then
    1684     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2282  # Some versions of bash will fail to source /dev/null (special files
     2283  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2284  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2285    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    16852286$as_echo "$as_me: loading cache $cache_file" >&6;}
    16862287    case $cache_file in
     
    16902291  fi
    16912292else
    1692   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2293  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    16932294$as_echo "$as_me: creating cache $cache_file" >&6;}
    16942295  >$cache_file
     
    17052306  case $ac_old_set,$ac_new_set in
    17062307    set,)
    1707       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2308      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17082309$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17092310      ac_cache_corrupted=: ;;
    17102311    ,set)
    1711       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2312      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    17122313$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17132314      ac_cache_corrupted=: ;;
     
    17192320        ac_new_val_w=`echo x $ac_new_val`
    17202321        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1721           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2322          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    17222323$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    17232324          ac_cache_corrupted=:
    17242325        else
    1725           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2326          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    17262327$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    17272328          eval $ac_var=\$ac_old_val
    17282329        fi
    1729         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2330        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    17302331$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1731         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2332        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    17322333$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17332334      fi;;
     
    17412342    case " $ac_configure_args " in
    17422343      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1743       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2344      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17442345    esac
    17452346  fi
    17462347done
    17472348if $ac_cache_corrupted; then
    1748   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2349  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    17492350$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1750   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2351  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    17512352$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1752   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1753 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1754    { (exit 1); exit 1; }; }
    1755 fi
    1756 
    1757 
    1758 
    1759 
    1760 
    1761 
    1762 
    1763 
    1764 
    1765 
    1766 
    1767 
    1768 
    1769 
    1770 
    1771 
    1772 
    1773 
    1774 
    1775 
    1776 
    1777 
    1778 
    1779 
     2353  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2354fi
     2355## -------------------- ##
     2356## Main body of script. ##
     2357## -------------------- ##
    17802358
    17812359ac_ext=c
     
    17872365
    17882366
     2367
    17892368#AC_CONFIG_HEADERS([config.h])
    17902369
    1791 # Checks for programs.
     2370
     2371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2372$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     2373    # Check whether --enable-maintainer-mode was given.
     2374if test "${enable_maintainer_mode+set}" = set; then :
     2375  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
     2376else
     2377  USE_MAINTAINER_MODE=no
     2378fi
     2379
     2380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
     2381$as_echo "$USE_MAINTAINER_MODE" >&6; }
     2382   if test $USE_MAINTAINER_MODE = yes; then
     2383  MAINTAINER_MODE_TRUE=
     2384  MAINTAINER_MODE_FALSE='#'
     2385else
     2386  MAINTAINER_MODE_TRUE='#'
     2387  MAINTAINER_MODE_FALSE=
     2388fi
     2389
     2390  MAINT=$MAINTAINER_MODE_TRUE
     2391
     2392
     2393am__api_version='1.13'
     2394
     2395ac_aux_dir=
     2396for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2397  if test -f "$ac_dir/install-sh"; then
     2398    ac_aux_dir=$ac_dir
     2399    ac_install_sh="$ac_aux_dir/install-sh -c"
     2400    break
     2401  elif test -f "$ac_dir/install.sh"; then
     2402    ac_aux_dir=$ac_dir
     2403    ac_install_sh="$ac_aux_dir/install.sh -c"
     2404    break
     2405  elif test -f "$ac_dir/shtool"; then
     2406    ac_aux_dir=$ac_dir
     2407    ac_install_sh="$ac_aux_dir/shtool install -c"
     2408    break
     2409  fi
     2410done
     2411if test -z "$ac_aux_dir"; then
     2412  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2413fi
     2414
     2415# These three variables are undocumented and unsupported,
     2416# and are intended to be withdrawn in a future Autoconf release.
     2417# They can cause serious problems if a builder's source tree is in a directory
     2418# whose full name contains unusual characters.
     2419ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2420ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2421ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2422
     2423
     2424# Find a good install program.  We prefer a C program (faster),
     2425# so one script is as good as another.  But avoid the broken or
     2426# incompatible versions:
     2427# SysV /etc/install, /usr/sbin/install
     2428# SunOS /usr/etc/install
     2429# IRIX /sbin/install
     2430# AIX /bin/install
     2431# AmigaOS /C/install, which installs bootblocks on floppy discs
     2432# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     2433# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     2434# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2435# OS/2's system install, which has a completely different semantic
     2436# ./install, which can be erroneously created by make from ./install.sh.
     2437# Reject install programs that cannot install multiple files.
     2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     2439$as_echo_n "checking for a BSD-compatible install... " >&6; }
     2440if test -z "$INSTALL"; then
     2441if ${ac_cv_path_install+:} false; then :
     2442  $as_echo_n "(cached) " >&6
     2443else
     2444  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2445for as_dir in $PATH
     2446do
     2447  IFS=$as_save_IFS
     2448  test -z "$as_dir" && as_dir=.
     2449    # Account for people who put trailing slashes in PATH elements.
     2450case $as_dir/ in #((
     2451  ./ | .// | /[cC]/* | \
     2452  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2453  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     2454  /usr/ucb/* ) ;;
     2455  *)
     2456    # OSF1 and SCO ODT 3.0 have their own names for install.
     2457    # Don't use installbsd from OSF since it installs stuff as root
     2458    # by default.
     2459    for ac_prog in ginstall scoinst install; do
     2460      for ac_exec_ext in '' $ac_executable_extensions; do
     2461        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2462          if test $ac_prog = install &&
     2463            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2464            # AIX install.  It has an incompatible calling convention.
     2465            :
     2466          elif test $ac_prog = install &&
     2467            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2468            # program-specific install script used by HP pwplus--don't use.
     2469            :
     2470          else
     2471            rm -rf conftest.one conftest.two conftest.dir
     2472            echo one > conftest.one
     2473            echo two > conftest.two
     2474            mkdir conftest.dir
     2475            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     2476              test -s conftest.one && test -s conftest.two &&
     2477              test -s conftest.dir/conftest.one &&
     2478              test -s conftest.dir/conftest.two
     2479            then
     2480              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2481              break 3
     2482            fi
     2483          fi
     2484        fi
     2485      done
     2486    done
     2487    ;;
     2488esac
     2489
     2490  done
     2491IFS=$as_save_IFS
     2492
     2493rm -rf conftest.one conftest.two conftest.dir
     2494
     2495fi
     2496  if test "${ac_cv_path_install+set}" = set; then
     2497    INSTALL=$ac_cv_path_install
     2498  else
     2499    # As a last resort, use the slow shell script.  Don't cache a
     2500    # value for INSTALL within a source directory, because that will
     2501    # break other packages using the cache if that directory is
     2502    # removed, or if the value is a relative name.
     2503    INSTALL=$ac_install_sh
     2504  fi
     2505fi
     2506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     2507$as_echo "$INSTALL" >&6; }
     2508
     2509# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     2510# It thinks the first close brace ends the variable substitution.
     2511test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     2512
     2513test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     2514
     2515test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     2516
     2517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
     2518$as_echo_n "checking whether build environment is sane... " >&6; }
     2519# Reject unsafe characters in $srcdir or the absolute working directory
     2520# name.  Accept space and tab only in the latter.
     2521am_lf='
     2522'
     2523case `pwd` in
     2524  *[\\\"\#\$\&\'\`$am_lf]*)
     2525    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
     2526esac
     2527case $srcdir in
     2528  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
     2529    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
     2530esac
     2531
     2532# Do 'set' in a subshell so we don't clobber the current shell's
     2533# arguments.  Must try -L first in case configure is actually a
     2534# symlink; some systems play weird games with the mod time of symlinks
     2535# (eg FreeBSD returns the mod time of the symlink's containing
     2536# directory).
     2537if (
     2538   am_has_slept=no
     2539   for am_try in 1 2; do
     2540     echo "timestamp, slept: $am_has_slept" > conftest.file
     2541     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     2542     if test "$*" = "X"; then
     2543        # -L didn't work.
     2544        set X `ls -t "$srcdir/configure" conftest.file`
     2545     fi
     2546     if test "$*" != "X $srcdir/configure conftest.file" \
     2547        && test "$*" != "X conftest.file $srcdir/configure"; then
     2548
     2549        # If neither matched, then we have a broken ls.  This can happen
     2550        # if, for instance, CONFIG_SHELL is bash and it inherits a
     2551        # broken ls alias from the environment.  This has actually
     2552        # happened.  Such a system could not be considered "sane".
     2553        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     2554  alias in your environment" "$LINENO" 5
     2555     fi
     2556     if test "$2" = conftest.file || test $am_try -eq 2; then
     2557       break
     2558     fi
     2559     # Just in case.
     2560     sleep 1
     2561     am_has_slept=yes
     2562   done
     2563   test "$2" = conftest.file
     2564   )
     2565then
     2566   # Ok.
     2567   :
     2568else
     2569   as_fn_error $? "newly created file is older than distributed files!
     2570Check your system clock" "$LINENO" 5
     2571fi
     2572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2573$as_echo "yes" >&6; }
     2574# If we didn't sleep, we still need to ensure time stamps of config.status and
     2575# generated files are strictly newer.
     2576am_sleep_pid=
     2577if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     2578  ( sleep 1 ) &
     2579  am_sleep_pid=$!
     2580fi
     2581
     2582rm -f conftest.file
     2583
     2584test "$program_prefix" != NONE &&
     2585  program_transform_name="s&^&$program_prefix&;$program_transform_name"
     2586# Use a double $ so make ignores it.
     2587test "$program_suffix" != NONE &&
     2588  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
     2589# Double any \ or $.
     2590# By default was `s,x,x', remove it if useless.
     2591ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
     2592program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
     2593
     2594# expand $ac_aux_dir to an absolute path
     2595am_aux_dir=`cd $ac_aux_dir && pwd`
     2596
     2597if test x"${MISSING+set}" != xset; then
     2598  case $am_aux_dir in
     2599  *\ * | *\     *)
     2600    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
     2601  *)
     2602    MISSING="\${SHELL} $am_aux_dir/missing" ;;
     2603  esac
     2604fi
     2605# Use eval to expand $SHELL
     2606if eval "$MISSING --is-lightweight"; then
     2607  am_missing_run="$MISSING "
     2608else
     2609  am_missing_run=
     2610  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
     2611$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
     2612fi
     2613
     2614if test x"${install_sh}" != xset; then
     2615  case $am_aux_dir in
     2616  *\ * | *\     *)
     2617    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
     2618  *)
     2619    install_sh="\${SHELL} $am_aux_dir/install-sh"
     2620  esac
     2621fi
     2622
     2623# Installed binaries are usually stripped using 'strip' when the user
     2624# run "make install-strip".  However 'strip' might not be the right
     2625# tool to use in cross-compilation environments, therefore Automake
     2626# will honor the 'STRIP' environment variable to overrule this program.
     2627if test "$cross_compiling" != no; then
     2628  if test -n "$ac_tool_prefix"; then
     2629  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     2630set dummy ${ac_tool_prefix}strip; ac_word=$2
     2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2632$as_echo_n "checking for $ac_word... " >&6; }
     2633if ${ac_cv_prog_STRIP+:} false; then :
     2634  $as_echo_n "(cached) " >&6
     2635else
     2636  if test -n "$STRIP"; then
     2637  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     2638else
     2639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2640for as_dir in $PATH
     2641do
     2642  IFS=$as_save_IFS
     2643  test -z "$as_dir" && as_dir=.
     2644    for ac_exec_ext in '' $ac_executable_extensions; do
     2645  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2646    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     2647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2648    break 2
     2649  fi
     2650done
     2651  done
     2652IFS=$as_save_IFS
     2653
     2654fi
     2655fi
     2656STRIP=$ac_cv_prog_STRIP
     2657if test -n "$STRIP"; then
     2658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     2659$as_echo "$STRIP" >&6; }
     2660else
     2661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2662$as_echo "no" >&6; }
     2663fi
     2664
     2665
     2666fi
     2667if test -z "$ac_cv_prog_STRIP"; then
     2668  ac_ct_STRIP=$STRIP
     2669  # Extract the first word of "strip", so it can be a program name with args.
     2670set dummy strip; ac_word=$2
     2671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2672$as_echo_n "checking for $ac_word... " >&6; }
     2673if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     2674  $as_echo_n "(cached) " >&6
     2675else
     2676  if test -n "$ac_ct_STRIP"; then
     2677  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     2678else
     2679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2680for as_dir in $PATH
     2681do
     2682  IFS=$as_save_IFS
     2683  test -z "$as_dir" && as_dir=.
     2684    for ac_exec_ext in '' $ac_executable_extensions; do
     2685  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2686    ac_cv_prog_ac_ct_STRIP="strip"
     2687    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2688    break 2
     2689  fi
     2690done
     2691  done
     2692IFS=$as_save_IFS
     2693
     2694fi
     2695fi
     2696ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     2697if test -n "$ac_ct_STRIP"; then
     2698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     2699$as_echo "$ac_ct_STRIP" >&6; }
     2700else
     2701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2702$as_echo "no" >&6; }
     2703fi
     2704
     2705  if test "x$ac_ct_STRIP" = x; then
     2706    STRIP=":"
     2707  else
     2708    case $cross_compiling:$ac_tool_warned in
     2709yes:)
     2710{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2711$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2712ac_tool_warned=yes ;;
     2713esac
     2714    STRIP=$ac_ct_STRIP
     2715  fi
     2716else
     2717  STRIP="$ac_cv_prog_STRIP"
     2718fi
     2719
     2720fi
     2721INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
     2722
     2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     2724$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     2725if test -z "$MKDIR_P"; then
     2726  if ${ac_cv_path_mkdir+:} false; then :
     2727  $as_echo_n "(cached) " >&6
     2728else
     2729  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2730for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     2731do
     2732  IFS=$as_save_IFS
     2733  test -z "$as_dir" && as_dir=.
     2734    for ac_prog in mkdir gmkdir; do
     2735         for ac_exec_ext in '' $ac_executable_extensions; do
     2736           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
     2737           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     2738             'mkdir (GNU coreutils) '* | \
     2739             'mkdir (coreutils) '* | \
     2740             'mkdir (fileutils) '4.1*)
     2741               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     2742               break 3;;
     2743           esac
     2744         done
     2745       done
     2746  done
     2747IFS=$as_save_IFS
     2748
     2749fi
     2750
     2751  test -d ./--version && rmdir ./--version
     2752  if test "${ac_cv_path_mkdir+set}" = set; then
     2753    MKDIR_P="$ac_cv_path_mkdir -p"
     2754  else
     2755    # As a last resort, use the slow shell script.  Don't cache a
     2756    # value for MKDIR_P within a source directory, because that will
     2757    # break other packages using the cache if that directory is
     2758    # removed, or if the value is a relative name.
     2759    MKDIR_P="$ac_install_sh -d"
     2760  fi
     2761fi
     2762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     2763$as_echo "$MKDIR_P" >&6; }
     2764
     2765for ac_prog in gawk mawk nawk awk
     2766do
     2767  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2768set dummy $ac_prog; ac_word=$2
     2769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2770$as_echo_n "checking for $ac_word... " >&6; }
     2771if ${ac_cv_prog_AWK+:} false; then :
     2772  $as_echo_n "(cached) " >&6
     2773else
     2774  if test -n "$AWK"; then
     2775  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     2776else
     2777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2778for as_dir in $PATH
     2779do
     2780  IFS=$as_save_IFS
     2781  test -z "$as_dir" && as_dir=.
     2782    for ac_exec_ext in '' $ac_executable_extensions; do
     2783  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2784    ac_cv_prog_AWK="$ac_prog"
     2785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2786    break 2
     2787  fi
     2788done
     2789  done
     2790IFS=$as_save_IFS
     2791
     2792fi
     2793fi
     2794AWK=$ac_cv_prog_AWK
     2795if test -n "$AWK"; then
     2796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     2797$as_echo "$AWK" >&6; }
     2798else
     2799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2800$as_echo "no" >&6; }
     2801fi
     2802
     2803
     2804  test -n "$AWK" && break
     2805done
     2806
     2807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2808$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     2809set x ${MAKE-make}
     2810ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     2811if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     2812  $as_echo_n "(cached) " >&6
     2813else
     2814  cat >conftest.make <<\_ACEOF
     2815SHELL = /bin/sh
     2816all:
     2817        @echo '@@@%%%=$(MAKE)=@@@%%%'
     2818_ACEOF
     2819# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     2820case `${MAKE-make} -f conftest.make 2>/dev/null` in
     2821  *@@@%%%=?*=@@@%%%*)
     2822    eval ac_cv_prog_make_${ac_make}_set=yes;;
     2823  *)
     2824    eval ac_cv_prog_make_${ac_make}_set=no;;
     2825esac
     2826rm -f conftest.make
     2827fi
     2828if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     2829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2830$as_echo "yes" >&6; }
     2831  SET_MAKE=
     2832else
     2833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2834$as_echo "no" >&6; }
     2835  SET_MAKE="MAKE=${MAKE-make}"
     2836fi
     2837
     2838rm -rf .tst 2>/dev/null
     2839mkdir .tst 2>/dev/null
     2840if test -d .tst; then
     2841  am__leading_dot=.
     2842else
     2843  am__leading_dot=_
     2844fi
     2845rmdir .tst 2>/dev/null
     2846
     2847# Check whether --enable-silent-rules was given.
     2848if test "${enable_silent_rules+set}" = set; then :
     2849  enableval=$enable_silent_rules;
     2850fi
     2851
     2852case $enable_silent_rules in # (((
     2853  yes) AM_DEFAULT_VERBOSITY=0;;
     2854   no) AM_DEFAULT_VERBOSITY=1;;
     2855    *) AM_DEFAULT_VERBOSITY=1;;
     2856esac
     2857am_make=${MAKE-make}
     2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     2859$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     2860if ${am_cv_make_support_nested_variables+:} false; then :
     2861  $as_echo_n "(cached) " >&6
     2862else
     2863  if $as_echo 'TRUE=$(BAR$(V))
     2864BAR0=false
     2865BAR1=true
     2866V=1
     2867am__doit:
     2868        @$(TRUE)
     2869.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     2870  am_cv_make_support_nested_variables=yes
     2871else
     2872  am_cv_make_support_nested_variables=no
     2873fi
     2874fi
     2875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     2876$as_echo "$am_cv_make_support_nested_variables" >&6; }
     2877if test $am_cv_make_support_nested_variables = yes; then
     2878    AM_V='$(V)'
     2879  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     2880else
     2881  AM_V=$AM_DEFAULT_VERBOSITY
     2882  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     2883fi
     2884AM_BACKSLASH='\'
     2885
     2886if test "`cd $srcdir && pwd`" != "`pwd`"; then
     2887  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     2888  # is not polluted with repeated "-I."
     2889  am__isrc=' -I$(srcdir)'
     2890  # test to see if srcdir already configured
     2891  if test -f $srcdir/config.status; then
     2892    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     2893  fi
     2894fi
     2895
     2896# test whether we have cygpath
     2897if test -z "$CYGPATH_W"; then
     2898  if (cygpath --version) >/dev/null 2>/dev/null; then
     2899    CYGPATH_W='cygpath -w'
     2900  else
     2901    CYGPATH_W=echo
     2902  fi
     2903fi
     2904
     2905
     2906# Define the identity of the package.
     2907 PACKAGE='libgfan'
     2908 VERSION='0.1'
     2909
     2910
     2911cat >>confdefs.h <<_ACEOF
     2912#define PACKAGE "$PACKAGE"
     2913_ACEOF
     2914
     2915
     2916cat >>confdefs.h <<_ACEOF
     2917#define VERSION "$VERSION"
     2918_ACEOF
     2919
     2920# Some tools Automake needs.
     2921
     2922ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     2923
     2924
     2925AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     2926
     2927
     2928AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     2929
     2930
     2931AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     2932
     2933
     2934MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     2935
     2936# For better backward compatibility.  To be removed once Automake 1.9.x
     2937# dies out for good.  For more background, see:
     2938# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     2939# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     2940mkdir_p='$(MKDIR_P)'
     2941
     2942# We need awk for the "check" target.  The system "awk" is bad on
     2943# some platforms.
     2944# Always define AMTAR for backward compatibility.  Yes, it's still used
     2945# in the wild :-(  We should find a proper way to deprecate it ...
     2946AMTAR='$${TAR-tar}'
     2947
     2948am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     2949
     2950
     2951
     2952
     2953 # -Wno-extra-portability -Werror silent-rules
     2954# Check whether --enable-silent-rules was given.
     2955if test "${enable_silent_rules+set}" = set; then :
     2956  enableval=$enable_silent_rules;
     2957fi
     2958
     2959case $enable_silent_rules in # (((
     2960  yes) AM_DEFAULT_VERBOSITY=0;;
     2961   no) AM_DEFAULT_VERBOSITY=1;;
     2962    *) AM_DEFAULT_VERBOSITY=1;;
     2963esac
     2964am_make=${MAKE-make}
     2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     2966$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     2967if ${am_cv_make_support_nested_variables+:} false; then :
     2968  $as_echo_n "(cached) " >&6
     2969else
     2970  if $as_echo 'TRUE=$(BAR$(V))
     2971BAR0=false
     2972BAR1=true
     2973V=1
     2974am__doit:
     2975        @$(TRUE)
     2976.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     2977  am_cv_make_support_nested_variables=yes
     2978else
     2979  am_cv_make_support_nested_variables=no
     2980fi
     2981fi
     2982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     2983$as_echo "$am_cv_make_support_nested_variables" >&6; }
     2984if test $am_cv_make_support_nested_variables = yes; then
     2985    AM_V='$(V)'
     2986  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     2987else
     2988  AM_V=$AM_DEFAULT_VERBOSITY
     2989  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     2990fi
     2991AM_BACKSLASH='\'
     2992
     2993DEPDIR="${am__leading_dot}deps"
     2994
     2995ac_config_commands="$ac_config_commands depfiles"
     2996
     2997
     2998am_make=${MAKE-make}
     2999cat > confinc << 'END'
     3000am__doit:
     3001        @echo this is the am__doit target
     3002.PHONY: am__doit
     3003END
     3004# If we don't find an include directive, just comment out the code.
     3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
     3006$as_echo_n "checking for style of include used by $am_make... " >&6; }
     3007am__include="#"
     3008am__quote=
     3009_am_result=none
     3010# First try GNU make style include.
     3011echo "include confinc" > confmf
     3012# Ignore all kinds of additional output from 'make'.
     3013case `$am_make -s -f confmf 2> /dev/null` in #(
     3014*the\ am__doit\ target*)
     3015  am__include=include
     3016  am__quote=
     3017  _am_result=GNU
     3018  ;;
     3019esac
     3020# Now try BSD make style include.
     3021if test "$am__include" = "#"; then
     3022   echo '.include "confinc"' > confmf
     3023   case `$am_make -s -f confmf 2> /dev/null` in #(
     3024   *the\ am__doit\ target*)
     3025     am__include=.include
     3026     am__quote="\""
     3027     _am_result=BSD
     3028     ;;
     3029   esac
     3030fi
     3031
     3032
     3033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3034$as_echo "$_am_result" >&6; }
     3035rm -f confinc confmf
     3036
     3037# Check whether --enable-dependency-tracking was given.
     3038if test "${enable_dependency_tracking+set}" = set; then :
     3039  enableval=$enable_dependency_tracking;
     3040fi
     3041
     3042if test "x$enable_dependency_tracking" != xno; then
     3043  am_depcomp="$ac_aux_dir/depcomp"
     3044  AMDEPBACKSLASH='\'
     3045  am__nodep='_no'
     3046fi
     3047 if test "x$enable_dependency_tracking" != xno; then
     3048  AMDEP_TRUE=
     3049  AMDEP_FALSE='#'
     3050else
     3051  AMDEP_TRUE='#'
     3052  AMDEP_FALSE=
     3053fi
     3054
     3055
    17923056ac_ext=c
    17933057ac_cpp='$CPP $CPPFLAGS'
     
    17983062  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    17993063set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18013065$as_echo_n "checking for $ac_word... " >&6; }
    1802 if test "${ac_cv_prog_CC+set}" = set; then
     3066if ${ac_cv_prog_CC+:} false; then :
    18033067  $as_echo_n "(cached) " >&6
    18043068else
     
    18113075  IFS=$as_save_IFS
    18123076  test -z "$as_dir" && as_dir=.
    1813   for ac_exec_ext in '' $ac_executable_extensions; do
    1814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3077    for ac_exec_ext in '' $ac_executable_extensions; do
     3078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18153079    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1816     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18173081    break 2
    18183082  fi
    18193083done
    1820 done
     3084  done
    18213085IFS=$as_save_IFS
    18223086
     
    18253089CC=$ac_cv_prog_CC
    18263090if test -n "$CC"; then
    1827   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    18283092$as_echo "$CC" >&6; }
    18293093else
    1830   { $as_echo "$as_me:$LINENO: result: no" >&5
     3094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18313095$as_echo "no" >&6; }
    18323096fi
     
    18383102  # Extract the first word of "gcc", so it can be a program name with args.
    18393103set dummy gcc; ac_word=$2
    1840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18413105$as_echo_n "checking for $ac_word... " >&6; }
    1842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3106if ${ac_cv_prog_ac_ct_CC+:} false; then :
    18433107  $as_echo_n "(cached) " >&6
    18443108else
     
    18513115  IFS=$as_save_IFS
    18523116  test -z "$as_dir" && as_dir=.
    1853   for ac_exec_ext in '' $ac_executable_extensions; do
    1854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3117    for ac_exec_ext in '' $ac_executable_extensions; do
     3118  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18553119    ac_cv_prog_ac_ct_CC="gcc"
    1856     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3120    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18573121    break 2
    18583122  fi
    18593123done
    1860 done
     3124  done
    18613125IFS=$as_save_IFS
    18623126
     
    18653129ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18663130if test -n "$ac_ct_CC"; then
    1867   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    18683132$as_echo "$ac_ct_CC" >&6; }
    18693133else
    1870   { $as_echo "$as_me:$LINENO: result: no" >&5
     3134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    18713135$as_echo "no" >&6; }
    18723136fi
     
    18773141    case $cross_compiling:$ac_tool_warned in
    18783142yes:)
    1879 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    18803144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    18813145ac_tool_warned=yes ;;
     
    18913155    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    18923156set dummy ${ac_tool_prefix}cc; ac_word=$2
    1893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18943158$as_echo_n "checking for $ac_word... " >&6; }
    1895 if test "${ac_cv_prog_CC+set}" = set; then
     3159if ${ac_cv_prog_CC+:} false; then :
    18963160  $as_echo_n "(cached) " >&6
    18973161else
     
    19043168  IFS=$as_save_IFS
    19053169  test -z "$as_dir" && as_dir=.
    1906   for ac_exec_ext in '' $ac_executable_extensions; do
    1907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3170    for ac_exec_ext in '' $ac_executable_extensions; do
     3171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19083172    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1909     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19103174    break 2
    19113175  fi
    19123176done
    1913 done
     3177  done
    19143178IFS=$as_save_IFS
    19153179
     
    19183182CC=$ac_cv_prog_CC
    19193183if test -n "$CC"; then
    1920   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19213185$as_echo "$CC" >&6; }
    19223186else
    1923   { $as_echo "$as_me:$LINENO: result: no" >&5
     3187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19243188$as_echo "no" >&6; }
    19253189fi
     
    19313195  # Extract the first word of "cc", so it can be a program name with args.
    19323196set dummy cc; ac_word=$2
    1933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19343198$as_echo_n "checking for $ac_word... " >&6; }
    1935 if test "${ac_cv_prog_CC+set}" = set; then
     3199if ${ac_cv_prog_CC+:} false; then :
    19363200  $as_echo_n "(cached) " >&6
    19373201else
     
    19453209  IFS=$as_save_IFS
    19463210  test -z "$as_dir" && as_dir=.
    1947   for ac_exec_ext in '' $ac_executable_extensions; do
    1948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3211    for ac_exec_ext in '' $ac_executable_extensions; do
     3212  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19493213    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    19503214       ac_prog_rejected=yes
     
    19523216     fi
    19533217    ac_cv_prog_CC="cc"
    1954     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19553219    break 2
    19563220  fi
    19573221done
    1958 done
     3222  done
    19593223IFS=$as_save_IFS
    19603224
     
    19753239CC=$ac_cv_prog_CC
    19763240if test -n "$CC"; then
    1977   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19783242$as_echo "$CC" >&6; }
    19793243else
    1980   { $as_echo "$as_me:$LINENO: result: no" >&5
     3244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19813245$as_echo "no" >&6; }
    19823246fi
     
    19903254    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    19913255set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19933257$as_echo_n "checking for $ac_word... " >&6; }
    1994 if test "${ac_cv_prog_CC+set}" = set; then
     3258if ${ac_cv_prog_CC+:} false; then :
    19953259  $as_echo_n "(cached) " >&6
    19963260else
     
    20033267  IFS=$as_save_IFS
    20043268  test -z "$as_dir" && as_dir=.
    2005   for ac_exec_ext in '' $ac_executable_extensions; do
    2006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3269    for ac_exec_ext in '' $ac_executable_extensions; do
     3270  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20073271    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2008     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3272    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20093273    break 2
    20103274  fi
    20113275done
    2012 done
     3276  done
    20133277IFS=$as_save_IFS
    20143278
     
    20173281CC=$ac_cv_prog_CC
    20183282if test -n "$CC"; then
    2019   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20203284$as_echo "$CC" >&6; }
    20213285else
    2022   { $as_echo "$as_me:$LINENO: result: no" >&5
     3286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20233287$as_echo "no" >&6; }
    20243288fi
     
    20343298  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20353299set dummy $ac_prog; ac_word=$2
    2036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20373301$as_echo_n "checking for $ac_word... " >&6; }
    2038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3302if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20393303  $as_echo_n "(cached) " >&6
    20403304else
     
    20473311  IFS=$as_save_IFS
    20483312  test -z "$as_dir" && as_dir=.
    2049   for ac_exec_ext in '' $ac_executable_extensions; do
    2050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3313    for ac_exec_ext in '' $ac_executable_extensions; do
     3314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20513315    ac_cv_prog_ac_ct_CC="$ac_prog"
    2052     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20533317    break 2
    20543318  fi
    20553319done
    2056 done
     3320  done
    20573321IFS=$as_save_IFS
    20583322
     
    20613325ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20623326if test -n "$ac_ct_CC"; then
    2063   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20643328$as_echo "$ac_ct_CC" >&6; }
    20653329else
    2066   { $as_echo "$as_me:$LINENO: result: no" >&5
     3330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20673331$as_echo "no" >&6; }
    20683332fi
     
    20773341    case $cross_compiling:$ac_tool_warned in
    20783342yes:)
    2079 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20803344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20813345ac_tool_warned=yes ;;
     
    20883352
    20893353
    2090 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3354test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    20913355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2092 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2093 See \`config.log' for more details." >&5
    2094 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2095 See \`config.log' for more details." >&2;}
    2096    { (exit 1); exit 1; }; }; }
     3356as_fn_error $? "no acceptable C compiler found in \$PATH
     3357See \`config.log' for more details" "$LINENO" 5; }
    20973358
    20983359# Provide some information about the compiler.
    2099 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3360$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    21003361set X $ac_compile
    21013362ac_compiler=$2
    2102 { (ac_try="$ac_compiler --version >&5"
     3363for ac_option in --version -v -V -qversion; do
     3364  { { ac_try="$ac_compiler $ac_option >&5"
    21033365case "(($ac_try" in
    21043366  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    21053367  *) ac_try_echo=$ac_try;;
    21063368esac
    2107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2108 $as_echo "$ac_try_echo") >&5
    2109   (eval "$ac_compiler --version >&5") 2>&5
     3369eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3370$as_echo "$ac_try_echo"; } >&5
     3371  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    21103372  ac_status=$?
    2111   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2112   (exit $ac_status); }
    2113 { (ac_try="$ac_compiler -v >&5"
    2114 case "(($ac_try" in
    2115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2116   *) ac_try_echo=$ac_try;;
    2117 esac
    2118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2119 $as_echo "$ac_try_echo") >&5
    2120   (eval "$ac_compiler -v >&5") 2>&5
    2121   ac_status=$?
    2122   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2123   (exit $ac_status); }
    2124 { (ac_try="$ac_compiler -V >&5"
    2125 case "(($ac_try" in
    2126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2127   *) ac_try_echo=$ac_try;;
    2128 esac
    2129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2130 $as_echo "$ac_try_echo") >&5
    2131   (eval "$ac_compiler -V >&5") 2>&5
    2132   ac_status=$?
    2133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2134   (exit $ac_status); }
    2135 
    2136 cat >conftest.$ac_ext <<_ACEOF
    2137 /* confdefs.h.  */
    2138 _ACEOF
    2139 cat confdefs.h >>conftest.$ac_ext
    2140 cat >>conftest.$ac_ext <<_ACEOF
     3373  if test -s conftest.err; then
     3374    sed '10a\
     3375... rest of stderr output deleted ...
     3376         10q' conftest.err >conftest.er1
     3377    cat conftest.er1 >&5
     3378  fi
     3379  rm -f conftest.er1 conftest.err
     3380  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3381  test $ac_status = 0; }
     3382done
     3383
     3384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21413385/* end confdefs.h.  */
    21423386
     
    21543398# It will help us diagnose broken compilers, and finding out an intuition
    21553399# of exeext.
    2156 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2157 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3401$as_echo_n "checking whether the C compiler works... " >&6; }
    21583402ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    21593403
     
    21713415rm -f $ac_rmfiles
    21723416
    2173 if { (ac_try="$ac_link_default"
     3417if { { ac_try="$ac_link_default"
    21743418case "(($ac_try" in
    21753419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    21763420  *) ac_try_echo=$ac_try;;
    21773421esac
    2178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2179 $as_echo "$ac_try_echo") >&5
     3422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3423$as_echo "$ac_try_echo"; } >&5
    21803424  (eval "$ac_link_default") 2>&5
    21813425  ac_status=$?
    2182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2183   (exit $ac_status); }; then
     3426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3427  test $ac_status = 0; }; then :
    21843428  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    21853429# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    21983442        break;;
    21993443    *.* )
    2200         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3444        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    22013445        then :; else
    22023446           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    22173461  ac_file=''
    22183462fi
    2219 
    2220 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3463if test -z "$ac_file"; then :
     3464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3465$as_echo "no" >&6; }
     3466$as_echo "$as_me: failed program was:" >&5
     3467sed 's/^/| /' conftest.$ac_ext >&5
     3468
     3469{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3470$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3471as_fn_error 77 "C compiler cannot create executables
     3472See \`config.log' for more details" "$LINENO" 5; }
     3473else
     3474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3475$as_echo "yes" >&6; }
     3476fi
     3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3478$as_echo_n "checking for C compiler default output file name... " >&6; }
     3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    22213480$as_echo "$ac_file" >&6; }
    2222 if test -z "$ac_file"; then
    2223   $as_echo "$as_me: failed program was:" >&5
    2224 sed 's/^/| /' conftest.$ac_ext >&5
    2225 
    2226 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2228 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2229 See \`config.log' for more details." >&5
    2230 $as_echo "$as_me: error: C compiler cannot create executables
    2231 See \`config.log' for more details." >&2;}
    2232    { (exit 77); exit 77; }; }; }
    2233 fi
    2234 
    22353481ac_exeext=$ac_cv_exeext
    2236 
    2237 # Check that the compiler produces executables we can run.  If not, either
    2238 # the compiler is broken, or we cross compile.
    2239 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2240 $as_echo_n "checking whether the C compiler works... " >&6; }
    2241 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2242 # If not cross compiling, check that we can run a simple program.
    2243 if test "$cross_compiling" != yes; then
    2244   if { ac_try='./$ac_file'
    2245   { (case "(($ac_try" in
    2246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2247   *) ac_try_echo=$ac_try;;
    2248 esac
    2249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2250 $as_echo "$ac_try_echo") >&5
    2251   (eval "$ac_try") 2>&5
    2252   ac_status=$?
    2253   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2254   (exit $ac_status); }; }; then
    2255     cross_compiling=no
    2256   else
    2257     if test "$cross_compiling" = maybe; then
    2258         cross_compiling=yes
    2259     else
    2260         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2262 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2263 If you meant to cross compile, use \`--host'.
    2264 See \`config.log' for more details." >&5
    2265 $as_echo "$as_me: error: cannot run C compiled programs.
    2266 If you meant to cross compile, use \`--host'.
    2267 See \`config.log' for more details." >&2;}
    2268    { (exit 1); exit 1; }; }; }
    2269     fi
    2270   fi
    2271 fi
    2272 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2273 $as_echo "yes" >&6; }
    22743482
    22753483rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    22763484ac_clean_files=$ac_clean_files_save
    2277 # Check that the compiler produces executables we can run.  If not, either
    2278 # the compiler is broken, or we cross compile.
    2279 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2280 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2281 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2282 $as_echo "$cross_compiling" >&6; }
    2283 
    2284 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    22853486$as_echo_n "checking for suffix of executables... " >&6; }
    2286 if { (ac_try="$ac_link"
     3487if { { ac_try="$ac_link"
    22873488case "(($ac_try" in
    22883489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22893490  *) ac_try_echo=$ac_try;;
    22903491esac
    2291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2292 $as_echo "$ac_try_echo") >&5
     3492eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3493$as_echo "$ac_try_echo"; } >&5
    22933494  (eval "$ac_link") 2>&5
    22943495  ac_status=$?
    2295   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2296   (exit $ac_status); }; then
     3496  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3497  test $ac_status = 0; }; then :
    22973498  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    22983499# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    23093510done
    23103511else
    2311   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3512  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    23123513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2313 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2314 See \`config.log' for more details." >&5
    2315 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2316 See \`config.log' for more details." >&2;}
    2317    { (exit 1); exit 1; }; }; }
    2318 fi
    2319 
    2320 rm -f conftest$ac_cv_exeext
    2321 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3514as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3515See \`config.log' for more details" "$LINENO" 5; }
     3516fi
     3517rm -f conftest conftest$ac_cv_exeext
     3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    23223519$as_echo "$ac_cv_exeext" >&6; }
    23233520
     
    23253522EXEEXT=$ac_cv_exeext
    23263523ac_exeext=$EXEEXT
    2327 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     3524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3525/* end confdefs.h.  */
     3526#include <stdio.h>
     3527int
     3528main ()
     3529{
     3530FILE *f = fopen ("conftest.out", "w");
     3531 return ferror (f) || fclose (f) != 0;
     3532
     3533  ;
     3534  return 0;
     3535}
     3536_ACEOF
     3537ac_clean_files="$ac_clean_files conftest.out"
     3538# Check that the compiler produces executables we can run.  If not, either
     3539# the compiler is broken, or we cross compile.
     3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3541$as_echo_n "checking whether we are cross compiling... " >&6; }
     3542if test "$cross_compiling" != yes; then
     3543  { { ac_try="$ac_link"
     3544case "(($ac_try" in
     3545  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3546  *) ac_try_echo=$ac_try;;
     3547esac
     3548eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3549$as_echo "$ac_try_echo"; } >&5
     3550  (eval "$ac_link") 2>&5
     3551  ac_status=$?
     3552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3553  test $ac_status = 0; }
     3554  if { ac_try='./conftest$ac_cv_exeext'
     3555  { { case "(($ac_try" in
     3556  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3557  *) ac_try_echo=$ac_try;;
     3558esac
     3559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3560$as_echo "$ac_try_echo"; } >&5
     3561  (eval "$ac_try") 2>&5
     3562  ac_status=$?
     3563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3564  test $ac_status = 0; }; }; then
     3565    cross_compiling=no
     3566  else
     3567    if test "$cross_compiling" = maybe; then
     3568        cross_compiling=yes
     3569    else
     3570        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3571$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3572as_fn_error $? "cannot run C compiled programs.
     3573If you meant to cross compile, use \`--host'.
     3574See \`config.log' for more details" "$LINENO" 5; }
     3575    fi
     3576  fi
     3577fi
     3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3579$as_echo "$cross_compiling" >&6; }
     3580
     3581rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3582ac_clean_files=$ac_clean_files_save
     3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    23283584$as_echo_n "checking for suffix of object files... " >&6; }
    2329 if test "${ac_cv_objext+set}" = set; then
     3585if ${ac_cv_objext+:} false; then :
    23303586  $as_echo_n "(cached) " >&6
    23313587else
    2332   cat >conftest.$ac_ext <<_ACEOF
    2333 /* confdefs.h.  */
    2334 _ACEOF
    2335 cat confdefs.h >>conftest.$ac_ext
    2336 cat >>conftest.$ac_ext <<_ACEOF
     3588  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23373589/* end confdefs.h.  */
    23383590
     
    23463598_ACEOF
    23473599rm -f conftest.o conftest.obj
    2348 if { (ac_try="$ac_compile"
     3600if { { ac_try="$ac_compile"
    23493601case "(($ac_try" in
    23503602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23513603  *) ac_try_echo=$ac_try;;
    23523604esac
    2353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2354 $as_echo "$ac_try_echo") >&5
     3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3606$as_echo "$ac_try_echo"; } >&5
    23553607  (eval "$ac_compile") 2>&5
    23563608  ac_status=$?
    2357   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2358   (exit $ac_status); }; then
     3609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3610  test $ac_status = 0; }; then :
    23593611  for ac_file in conftest.o conftest.obj conftest.*; do
    23603612  test -f "$ac_file" || continue;
     
    23693621sed 's/^/| /' conftest.$ac_ext >&5
    23703622
    2371 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3623{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    23723624$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2373 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2374 See \`config.log' for more details." >&5
    2375 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2376 See \`config.log' for more details." >&2;}
    2377    { (exit 1); exit 1; }; }; }
    2378 fi
    2379 
     3625as_fn_error $? "cannot compute suffix of object files: cannot compile
     3626See \`config.log' for more details" "$LINENO" 5; }
     3627fi
    23803628rm -f conftest.$ac_cv_objext conftest.$ac_ext
    23813629fi
    2382 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    23833631$as_echo "$ac_cv_objext" >&6; }
    23843632OBJEXT=$ac_cv_objext
    23853633ac_objext=$OBJEXT
    2386 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    23873635$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3636if ${ac_cv_c_compiler_gnu+:} false; then :
    23893637  $as_echo_n "(cached) " >&6
    23903638else
    2391   cat >conftest.$ac_ext <<_ACEOF
    2392 /* confdefs.h.  */
    2393 _ACEOF
    2394 cat confdefs.h >>conftest.$ac_ext
    2395 cat >>conftest.$ac_ext <<_ACEOF
     3639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23963640/* end confdefs.h.  */
    23973641
     
    24073651}
    24083652_ACEOF
    2409 rm -f conftest.$ac_objext
    2410 if { (ac_try="$ac_compile"
    2411 case "(($ac_try" in
    2412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2413   *) ac_try_echo=$ac_try;;
    2414 esac
    2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2416 $as_echo "$ac_try_echo") >&5
    2417   (eval "$ac_compile") 2>conftest.er1
    2418   ac_status=$?
    2419   grep -v '^ *+' conftest.er1 >conftest.err
    2420   rm -f conftest.er1
    2421   cat conftest.err >&5
    2422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2423   (exit $ac_status); } && {
    2424          test -z "$ac_c_werror_flag" ||
    2425          test ! -s conftest.err
    2426        } && test -s conftest.$ac_objext; then
     3653if ac_fn_c_try_compile "$LINENO"; then :
    24273654  ac_compiler_gnu=yes
    24283655else
    2429   $as_echo "$as_me: failed program was:" >&5
    2430 sed 's/^/| /' conftest.$ac_ext >&5
    2431 
    2432         ac_compiler_gnu=no
    2433 fi
    2434 
     3656  ac_compiler_gnu=no
     3657fi
    24353658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    24363659ac_cv_c_compiler_gnu=$ac_compiler_gnu
    24373660
    24383661fi
    2439 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    24403663$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    24413664if test $ac_compiler_gnu = yes; then
     
    24463669ac_test_CFLAGS=${CFLAGS+set}
    24473670ac_save_CFLAGS=$CFLAGS
    2448 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    24493672$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2450 if test "${ac_cv_prog_cc_g+set}" = set; then
     3673if ${ac_cv_prog_cc_g+:} false; then :
    24513674  $as_echo_n "(cached) " >&6
    24523675else
     
    24553678   ac_cv_prog_cc_g=no
    24563679   CFLAGS="-g"
    2457    cat >conftest.$ac_ext <<_ACEOF
    2458 /* confdefs.h.  */
    2459 _ACEOF
    2460 cat confdefs.h >>conftest.$ac_ext
    2461 cat >>conftest.$ac_ext <<_ACEOF
     3680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24623681/* end confdefs.h.  */
    24633682
     
    24703689}
    24713690_ACEOF
    2472 rm -f conftest.$ac_objext
    2473 if { (ac_try="$ac_compile"
    2474 case "(($ac_try" in
    2475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2476   *) ac_try_echo=$ac_try;;
    2477 esac
    2478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2479 $as_echo "$ac_try_echo") >&5
    2480   (eval "$ac_compile") 2>conftest.er1
    2481   ac_status=$?
    2482   grep -v '^ *+' conftest.er1 >conftest.err
    2483   rm -f conftest.er1
    2484   cat conftest.err >&5
    2485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2486   (exit $ac_status); } && {
    2487          test -z "$ac_c_werror_flag" ||
    2488          test ! -s conftest.err
    2489        } && test -s conftest.$ac_objext; then
     3691if ac_fn_c_try_compile "$LINENO"; then :
    24903692  ac_cv_prog_cc_g=yes
    24913693else
    2492   $as_echo "$as_me: failed program was:" >&5
    2493 sed 's/^/| /' conftest.$ac_ext >&5
    2494 
    2495         CFLAGS=""
    2496       cat >conftest.$ac_ext <<_ACEOF
    2497 /* confdefs.h.  */
    2498 _ACEOF
    2499 cat confdefs.h >>conftest.$ac_ext
    2500 cat >>conftest.$ac_ext <<_ACEOF
     3694  CFLAGS=""
     3695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25013696/* end confdefs.h.  */
    25023697
     
    25093704}
    25103705_ACEOF
    2511 rm -f conftest.$ac_objext
    2512 if { (ac_try="$ac_compile"
    2513 case "(($ac_try" in
    2514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2515   *) ac_try_echo=$ac_try;;
    2516 esac
    2517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2518 $as_echo "$ac_try_echo") >&5
    2519   (eval "$ac_compile") 2>conftest.er1
    2520   ac_status=$?
    2521   grep -v '^ *+' conftest.er1 >conftest.err
    2522   rm -f conftest.er1
    2523   cat conftest.err >&5
    2524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2525   (exit $ac_status); } && {
    2526          test -z "$ac_c_werror_flag" ||
    2527          test ! -s conftest.err
    2528        } && test -s conftest.$ac_objext; then
    2529   :
    2530 else
    2531   $as_echo "$as_me: failed program was:" >&5
    2532 sed 's/^/| /' conftest.$ac_ext >&5
    2533 
    2534         ac_c_werror_flag=$ac_save_c_werror_flag
     3706if ac_fn_c_try_compile "$LINENO"; then :
     3707
     3708else
     3709  ac_c_werror_flag=$ac_save_c_werror_flag
    25353710         CFLAGS="-g"
    2536          cat >conftest.$ac_ext <<_ACEOF
    2537 /* confdefs.h.  */
    2538 _ACEOF
    2539 cat confdefs.h >>conftest.$ac_ext
    2540 cat >>conftest.$ac_ext <<_ACEOF
     3711         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25413712/* end confdefs.h.  */
    25423713
     
    25493720}
    25503721_ACEOF
    2551 rm -f conftest.$ac_objext
    2552 if { (ac_try="$ac_compile"
    2553 case "(($ac_try" in
    2554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2555   *) ac_try_echo=$ac_try;;
    2556 esac
    2557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2558 $as_echo "$ac_try_echo") >&5
    2559   (eval "$ac_compile") 2>conftest.er1
    2560   ac_status=$?
    2561   grep -v '^ *+' conftest.er1 >conftest.err
    2562   rm -f conftest.er1
    2563   cat conftest.err >&5
    2564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2565   (exit $ac_status); } && {
    2566          test -z "$ac_c_werror_flag" ||
    2567          test ! -s conftest.err
    2568        } && test -s conftest.$ac_objext; then
     3722if ac_fn_c_try_compile "$LINENO"; then :
    25693723  ac_cv_prog_cc_g=yes
    2570 else
    2571   $as_echo "$as_me: failed program was:" >&5
    2572 sed 's/^/| /' conftest.$ac_ext >&5
    2573 
    2574 
    2575 fi
    2576 
     3724fi
    25773725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25783726fi
    2579 
    25803727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25813728fi
    2582 
    25833729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25843730   ac_c_werror_flag=$ac_save_c_werror_flag
    25853731fi
    2586 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    25873733$as_echo "$ac_cv_prog_cc_g" >&6; }
    25883734if test "$ac_test_CFLAGS" = set; then
     
    26013747  fi
    26023748fi
    2603 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    26043750$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2605 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3751if ${ac_cv_prog_cc_c89+:} false; then :
    26063752  $as_echo_n "(cached) " >&6
    26073753else
    26083754  ac_cv_prog_cc_c89=no
    26093755ac_save_CC=$CC
    2610 cat >conftest.$ac_ext <<_ACEOF
    2611 /* confdefs.h.  */
    2612 _ACEOF
    2613 cat confdefs.h >>conftest.$ac_ext
    2614 cat >>conftest.$ac_ext <<_ACEOF
     3756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26153757/* end confdefs.h.  */
    26163758#include <stdarg.h>
    26173759#include <stdio.h>
    2618 #include <sys/types.h>
    2619 #include <sys/stat.h>
     3760struct stat;
    26203761/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    26213762struct buf { int x; };
     
    26693810do
    26703811  CC="$ac_save_CC $ac_arg"
    2671   rm -f conftest.$ac_objext
    2672 if { (ac_try="$ac_compile"
    2673 case "(($ac_try" in
    2674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2675   *) ac_try_echo=$ac_try;;
    2676 esac
    2677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2678 $as_echo "$ac_try_echo") >&5
    2679   (eval "$ac_compile") 2>conftest.er1
    2680   ac_status=$?
    2681   grep -v '^ *+' conftest.er1 >conftest.err
    2682   rm -f conftest.er1
    2683   cat conftest.err >&5
    2684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2685   (exit $ac_status); } && {
    2686          test -z "$ac_c_werror_flag" ||
    2687          test ! -s conftest.err
    2688        } && test -s conftest.$ac_objext; then
     3812  if ac_fn_c_try_compile "$LINENO"; then :
    26893813  ac_cv_prog_cc_c89=$ac_arg
    2690 else
    2691   $as_echo "$as_me: failed program was:" >&5
    2692 sed 's/^/| /' conftest.$ac_ext >&5
    2693 
    2694 
    2695 fi
    2696 
     3814fi
    26973815rm -f core conftest.err conftest.$ac_objext
    26983816  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    27053823case "x$ac_cv_prog_cc_c89" in
    27063824  x)
    2707     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3825    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    27083826$as_echo "none needed" >&6; } ;;
    27093827  xno)
    2710     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    27113829$as_echo "unsupported" >&6; } ;;
    27123830  *)
    27133831    CC="$CC $ac_cv_prog_cc_c89"
    2714     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3832    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    27153833$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    27163834esac
    2717 
     3835if test "x$ac_cv_prog_cc_c89" != xno; then :
     3836
     3837fi
    27183838
    27193839ac_ext=c
     
    27223842ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27233843ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3844
     3845depcc="$CC"   am_compiler_list=
     3846
     3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     3848$as_echo_n "checking dependency style of $depcc... " >&6; }
     3849if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     3850  $as_echo_n "(cached) " >&6
     3851else
     3852  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     3853  # We make a subdir and do the tests there.  Otherwise we can end up
     3854  # making bogus files that we don't know about and never remove.  For
     3855  # instance it was reported that on HP-UX the gcc test will end up
     3856  # making a dummy file named 'D' -- because '-MD' means "put the output
     3857  # in D".
     3858  rm -rf conftest.dir
     3859  mkdir conftest.dir
     3860  # Copy depcomp to subdir because otherwise we won't find it if we're
     3861  # using a relative directory.
     3862  cp "$am_depcomp" conftest.dir
     3863  cd conftest.dir
     3864  # We will build objects and dependencies in a subdirectory because
     3865  # it helps to detect inapplicable dependency modes.  For instance
     3866  # both Tru64's cc and ICC support -MD to output dependencies as a
     3867  # side effect of compilation, but ICC will put the dependencies in
     3868  # the current directory while Tru64 will put them in the object
     3869  # directory.
     3870  mkdir sub
     3871
     3872  am_cv_CC_dependencies_compiler_type=none
     3873  if test "$am_compiler_list" = ""; then
     3874     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     3875  fi
     3876  am__universal=false
     3877  case " $depcc " in #(
     3878     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     3879     esac
     3880
     3881  for depmode in $am_compiler_list; do
     3882    # Setup a source with many dependencies, because some compilers
     3883    # like to wrap large dependency lists on column 80 (with \), and
     3884    # we should not choose a depcomp mode which is confused by this.
     3885    #
     3886    # We need to recreate these files for each test, as the compiler may
     3887    # overwrite some of them when testing with obscure command lines.
     3888    # This happens at least with the AIX C compiler.
     3889    : > sub/conftest.c
     3890    for i in 1 2 3 4 5 6; do
     3891      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     3892      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     3893      # Solaris 10 /bin/sh.
     3894      echo '/* dummy */' > sub/conftst$i.h
     3895    done
     3896    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     3897
     3898    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     3899    # mode.  It turns out that the SunPro C++ compiler does not properly
     3900    # handle '-M -o', and we need to detect this.  Also, some Intel
     3901    # versions had trouble with output in subdirs.
     3902    am__obj=sub/conftest.${OBJEXT-o}
     3903    am__minus_obj="-o $am__obj"
     3904    case $depmode in
     3905    gcc)
     3906      # This depmode causes a compiler race in universal mode.
     3907      test "$am__universal" = false || continue
     3908      ;;
     3909    nosideeffect)
     3910      # After this tag, mechanisms are not by side-effect, so they'll
     3911      # only be used when explicitly requested.
     3912      if test "x$enable_dependency_tracking" = xyes; then
     3913        continue
     3914      else
     3915        break
     3916      fi
     3917      ;;
     3918    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     3919      # This compiler won't grok '-c -o', but also, the minuso test has
     3920      # not run yet.  These depmodes are late enough in the game, and
     3921      # so weak that their functioning should not be impacted.
     3922      am__obj=conftest.${OBJEXT-o}
     3923      am__minus_obj=
     3924      ;;
     3925    none) break ;;
     3926    esac
     3927    if depmode=$depmode \
     3928       source=sub/conftest.c object=$am__obj \
     3929       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     3930       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     3931         >/dev/null 2>conftest.err &&
     3932       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     3933       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     3934       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     3935       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     3936      # icc doesn't choke on unknown options, it will just issue warnings
     3937      # or remarks (even with -Werror).  So we grep stderr for any message
     3938      # that says an option was ignored or not supported.
     3939      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3940      #   icc: Command line warning: ignoring option '-M'; no argument required
     3941      # The diagnosis changed in icc 8.0:
     3942      #   icc: Command line remark: option '-MP' not supported
     3943      if (grep 'ignoring option' conftest.err ||
     3944          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3945        am_cv_CC_dependencies_compiler_type=$depmode
     3946        break
     3947      fi
     3948    fi
     3949  done
     3950
     3951  cd ..
     3952  rm -rf conftest.dir
     3953else
     3954  am_cv_CC_dependencies_compiler_type=none
     3955fi
     3956
     3957fi
     3958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     3959$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     3960CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     3961
     3962 if
     3963  test "x$enable_dependency_tracking" != xno \
     3964  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     3965  am__fastdepCC_TRUE=
     3966  am__fastdepCC_FALSE='#'
     3967else
     3968  am__fastdepCC_TRUE='#'
     3969  am__fastdepCC_FALSE=
     3970fi
     3971
     3972
     3973
     3974if test -n "$ac_tool_prefix"; then
     3975  for ac_prog in ar lib "link -lib"
     3976  do
     3977    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3978set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3980$as_echo_n "checking for $ac_word... " >&6; }
     3981if ${ac_cv_prog_AR+:} false; then :
     3982  $as_echo_n "(cached) " >&6
     3983else
     3984  if test -n "$AR"; then
     3985  ac_cv_prog_AR="$AR" # Let the user override the test.
     3986else
     3987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3988for as_dir in $PATH
     3989do
     3990  IFS=$as_save_IFS
     3991  test -z "$as_dir" && as_dir=.
     3992    for ac_exec_ext in '' $ac_executable_extensions; do
     3993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3994    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     3995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3996    break 2
     3997  fi
     3998done
     3999  done
     4000IFS=$as_save_IFS
     4001
     4002fi
     4003fi
     4004AR=$ac_cv_prog_AR
     4005if test -n "$AR"; then
     4006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4007$as_echo "$AR" >&6; }
     4008else
     4009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4010$as_echo "no" >&6; }
     4011fi
     4012
     4013
     4014    test -n "$AR" && break
     4015  done
     4016fi
     4017if test -z "$AR"; then
     4018  ac_ct_AR=$AR
     4019  for ac_prog in ar lib "link -lib"
     4020do
     4021  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4022set dummy $ac_prog; ac_word=$2
     4023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4024$as_echo_n "checking for $ac_word... " >&6; }
     4025if ${ac_cv_prog_ac_ct_AR+:} false; then :
     4026  $as_echo_n "(cached) " >&6
     4027else
     4028  if test -n "$ac_ct_AR"; then
     4029  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     4030else
     4031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4032for as_dir in $PATH
     4033do
     4034  IFS=$as_save_IFS
     4035  test -z "$as_dir" && as_dir=.
     4036    for ac_exec_ext in '' $ac_executable_extensions; do
     4037  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4038    ac_cv_prog_ac_ct_AR="$ac_prog"
     4039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4040    break 2
     4041  fi
     4042done
     4043  done
     4044IFS=$as_save_IFS
     4045
     4046fi
     4047fi
     4048ac_ct_AR=$ac_cv_prog_ac_ct_AR
     4049if test -n "$ac_ct_AR"; then
     4050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     4051$as_echo "$ac_ct_AR" >&6; }
     4052else
     4053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4054$as_echo "no" >&6; }
     4055fi
     4056
     4057
     4058  test -n "$ac_ct_AR" && break
     4059done
     4060
     4061  if test "x$ac_ct_AR" = x; then
     4062    AR="false"
     4063  else
     4064    case $cross_compiling:$ac_tool_warned in
     4065yes:)
     4066{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4067$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4068ac_tool_warned=yes ;;
     4069esac
     4070    AR=$ac_ct_AR
     4071  fi
     4072fi
     4073
     4074: ${AR=ar}
     4075
     4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
     4077$as_echo_n "checking the archiver ($AR) interface... " >&6; }
     4078if ${am_cv_ar_interface+:} false; then :
     4079  $as_echo_n "(cached) " >&6
     4080else
     4081  am_cv_ar_interface=ar
     4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4083/* end confdefs.h.  */
     4084int some_variable = 0;
     4085_ACEOF
     4086if ac_fn_c_try_compile "$LINENO"; then :
     4087  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
     4088      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
     4089  (eval $am_ar_try) 2>&5
     4090  ac_status=$?
     4091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4092  test $ac_status = 0; }
     4093      if test "$ac_status" -eq 0; then
     4094        am_cv_ar_interface=ar
     4095      else
     4096        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
     4097        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
     4098  (eval $am_ar_try) 2>&5
     4099  ac_status=$?
     4100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4101  test $ac_status = 0; }
     4102        if test "$ac_status" -eq 0; then
     4103          am_cv_ar_interface=lib
     4104        else
     4105          am_cv_ar_interface=unknown
     4106        fi
     4107      fi
     4108      rm -f conftest.lib libconftest.a
     4109
     4110fi
     4111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4112
     4113fi
     4114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
     4115$as_echo "$am_cv_ar_interface" >&6; }
     4116
     4117case $am_cv_ar_interface in
     4118ar)
     4119  ;;
     4120lib)
     4121  # Microsoft lib, so override with the ar-lib wrapper script.
     4122  # FIXME: It is wrong to rewrite AR.
     4123  # But if we don't then we get into trouble of one sort or another.
     4124  # A longer-term fix would be to have automake use am__AR in this case,
     4125  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
     4126  # similar.
     4127  AR="$am_aux_dir/ar-lib $AR"
     4128  ;;
     4129unknown)
     4130  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
     4131  ;;
     4132esac
     4133
     4134
     4135# Checks for programs.
     4136ac_ext=c
     4137ac_cpp='$CPP $CPPFLAGS'
     4138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4140ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4141if test -n "$ac_tool_prefix"; then
     4142  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     4143set dummy ${ac_tool_prefix}gcc; ac_word=$2
     4144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4145$as_echo_n "checking for $ac_word... " >&6; }
     4146if ${ac_cv_prog_CC+:} false; then :
     4147  $as_echo_n "(cached) " >&6
     4148else
     4149  if test -n "$CC"; then
     4150  ac_cv_prog_CC="$CC" # Let the user override the test.
     4151else
     4152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4153for as_dir in $PATH
     4154do
     4155  IFS=$as_save_IFS
     4156  test -z "$as_dir" && as_dir=.
     4157    for ac_exec_ext in '' $ac_executable_extensions; do
     4158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4159    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     4160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4161    break 2
     4162  fi
     4163done
     4164  done
     4165IFS=$as_save_IFS
     4166
     4167fi
     4168fi
     4169CC=$ac_cv_prog_CC
     4170if test -n "$CC"; then
     4171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4172$as_echo "$CC" >&6; }
     4173else
     4174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4175$as_echo "no" >&6; }
     4176fi
     4177
     4178
     4179fi
     4180if test -z "$ac_cv_prog_CC"; then
     4181  ac_ct_CC=$CC
     4182  # Extract the first word of "gcc", so it can be a program name with args.
     4183set dummy gcc; ac_word=$2
     4184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4185$as_echo_n "checking for $ac_word... " >&6; }
     4186if ${ac_cv_prog_ac_ct_CC+:} false; then :
     4187  $as_echo_n "(cached) " >&6
     4188else
     4189  if test -n "$ac_ct_CC"; then
     4190  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4191else
     4192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4193for as_dir in $PATH
     4194do
     4195  IFS=$as_save_IFS
     4196  test -z "$as_dir" && as_dir=.
     4197    for ac_exec_ext in '' $ac_executable_extensions; do
     4198  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4199    ac_cv_prog_ac_ct_CC="gcc"
     4200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4201    break 2
     4202  fi
     4203done
     4204  done
     4205IFS=$as_save_IFS
     4206
     4207fi
     4208fi
     4209ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4210if test -n "$ac_ct_CC"; then
     4211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     4212$as_echo "$ac_ct_CC" >&6; }
     4213else
     4214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4215$as_echo "no" >&6; }
     4216fi
     4217
     4218  if test "x$ac_ct_CC" = x; then
     4219    CC=""
     4220  else
     4221    case $cross_compiling:$ac_tool_warned in
     4222yes:)
     4223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4225ac_tool_warned=yes ;;
     4226esac
     4227    CC=$ac_ct_CC
     4228  fi
     4229else
     4230  CC="$ac_cv_prog_CC"
     4231fi
     4232
     4233if test -z "$CC"; then
     4234          if test -n "$ac_tool_prefix"; then
     4235    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     4236set dummy ${ac_tool_prefix}cc; ac_word=$2
     4237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4238$as_echo_n "checking for $ac_word... " >&6; }
     4239if ${ac_cv_prog_CC+:} false; then :
     4240  $as_echo_n "(cached) " >&6
     4241else
     4242  if test -n "$CC"; then
     4243  ac_cv_prog_CC="$CC" # Let the user override the test.
     4244else
     4245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4246for as_dir in $PATH
     4247do
     4248  IFS=$as_save_IFS
     4249  test -z "$as_dir" && as_dir=.
     4250    for ac_exec_ext in '' $ac_executable_extensions; do
     4251  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4252    ac_cv_prog_CC="${ac_tool_prefix}cc"
     4253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4254    break 2
     4255  fi
     4256done
     4257  done
     4258IFS=$as_save_IFS
     4259
     4260fi
     4261fi
     4262CC=$ac_cv_prog_CC
     4263if test -n "$CC"; then
     4264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4265$as_echo "$CC" >&6; }
     4266else
     4267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4268$as_echo "no" >&6; }
     4269fi
     4270
     4271
     4272  fi
     4273fi
     4274if test -z "$CC"; then
     4275  # Extract the first word of "cc", so it can be a program name with args.
     4276set dummy cc; ac_word=$2
     4277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4278$as_echo_n "checking for $ac_word... " >&6; }
     4279if ${ac_cv_prog_CC+:} false; then :
     4280  $as_echo_n "(cached) " >&6
     4281else
     4282  if test -n "$CC"; then
     4283  ac_cv_prog_CC="$CC" # Let the user override the test.
     4284else
     4285  ac_prog_rejected=no
     4286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4287for as_dir in $PATH
     4288do
     4289  IFS=$as_save_IFS
     4290  test -z "$as_dir" && as_dir=.
     4291    for ac_exec_ext in '' $ac_executable_extensions; do
     4292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4293    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     4294       ac_prog_rejected=yes
     4295       continue
     4296     fi
     4297    ac_cv_prog_CC="cc"
     4298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4299    break 2
     4300  fi
     4301done
     4302  done
     4303IFS=$as_save_IFS
     4304
     4305if test $ac_prog_rejected = yes; then
     4306  # We found a bogon in the path, so make sure we never use it.
     4307  set dummy $ac_cv_prog_CC
     4308  shift
     4309  if test $# != 0; then
     4310    # We chose a different compiler from the bogus one.
     4311    # However, it has the same basename, so the bogon will be chosen
     4312    # first if we set CC to just the basename; use the full file name.
     4313    shift
     4314    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     4315  fi
     4316fi
     4317fi
     4318fi
     4319CC=$ac_cv_prog_CC
     4320if test -n "$CC"; then
     4321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4322$as_echo "$CC" >&6; }
     4323else
     4324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4325$as_echo "no" >&6; }
     4326fi
     4327
     4328
     4329fi
     4330if test -z "$CC"; then
     4331  if test -n "$ac_tool_prefix"; then
     4332  for ac_prog in cl.exe
     4333  do
     4334    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4335set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4337$as_echo_n "checking for $ac_word... " >&6; }
     4338if ${ac_cv_prog_CC+:} false; then :
     4339  $as_echo_n "(cached) " >&6
     4340else
     4341  if test -n "$CC"; then
     4342  ac_cv_prog_CC="$CC" # Let the user override the test.
     4343else
     4344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4345for as_dir in $PATH
     4346do
     4347  IFS=$as_save_IFS
     4348  test -z "$as_dir" && as_dir=.
     4349    for ac_exec_ext in '' $ac_executable_extensions; do
     4350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4351    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     4352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4353    break 2
     4354  fi
     4355done
     4356  done
     4357IFS=$as_save_IFS
     4358
     4359fi
     4360fi
     4361CC=$ac_cv_prog_CC
     4362if test -n "$CC"; then
     4363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     4364$as_echo "$CC" >&6; }
     4365else
     4366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4367$as_echo "no" >&6; }
     4368fi
     4369
     4370
     4371    test -n "$CC" && break
     4372  done
     4373fi
     4374if test -z "$CC"; then
     4375  ac_ct_CC=$CC
     4376  for ac_prog in cl.exe
     4377do
     4378  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4379set dummy $ac_prog; ac_word=$2
     4380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4381$as_echo_n "checking for $ac_word... " >&6; }
     4382if ${ac_cv_prog_ac_ct_CC+:} false; then :
     4383  $as_echo_n "(cached) " >&6
     4384else
     4385  if test -n "$ac_ct_CC"; then
     4386  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4387else
     4388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4389for as_dir in $PATH
     4390do
     4391  IFS=$as_save_IFS
     4392  test -z "$as_dir" && as_dir=.
     4393    for ac_exec_ext in '' $ac_executable_extensions; do
     4394  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4395    ac_cv_prog_ac_ct_CC="$ac_prog"
     4396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4397    break 2
     4398  fi
     4399done
     4400  done
     4401IFS=$as_save_IFS
     4402
     4403fi
     4404fi
     4405ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4406if test -n "$ac_ct_CC"; then
     4407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     4408$as_echo "$ac_ct_CC" >&6; }
     4409else
     4410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4411$as_echo "no" >&6; }
     4412fi
     4413
     4414
     4415  test -n "$ac_ct_CC" && break
     4416done
     4417
     4418  if test "x$ac_ct_CC" = x; then
     4419    CC=""
     4420  else
     4421    case $cross_compiling:$ac_tool_warned in
     4422yes:)
     4423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4425ac_tool_warned=yes ;;
     4426esac
     4427    CC=$ac_ct_CC
     4428  fi
     4429fi
     4430
     4431fi
     4432
     4433
     4434test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4436as_fn_error $? "no acceptable C compiler found in \$PATH
     4437See \`config.log' for more details" "$LINENO" 5; }
     4438
     4439# Provide some information about the compiler.
     4440$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     4441set X $ac_compile
     4442ac_compiler=$2
     4443for ac_option in --version -v -V -qversion; do
     4444  { { ac_try="$ac_compiler $ac_option >&5"
     4445case "(($ac_try" in
     4446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4447  *) ac_try_echo=$ac_try;;
     4448esac
     4449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4450$as_echo "$ac_try_echo"; } >&5
     4451  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     4452  ac_status=$?
     4453  if test -s conftest.err; then
     4454    sed '10a\
     4455... rest of stderr output deleted ...
     4456         10q' conftest.err >conftest.er1
     4457    cat conftest.er1 >&5
     4458  fi
     4459  rm -f conftest.er1 conftest.err
     4460  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4461  test $ac_status = 0; }
     4462done
     4463
     4464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     4465$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     4466if ${ac_cv_c_compiler_gnu+:} false; then :
     4467  $as_echo_n "(cached) " >&6
     4468else
     4469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4470/* end confdefs.h.  */
     4471
     4472int
     4473main ()
     4474{
     4475#ifndef __GNUC__
     4476       choke me
     4477#endif
     4478
     4479  ;
     4480  return 0;
     4481}
     4482_ACEOF
     4483if ac_fn_c_try_compile "$LINENO"; then :
     4484  ac_compiler_gnu=yes
     4485else
     4486  ac_compiler_gnu=no
     4487fi
     4488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4489ac_cv_c_compiler_gnu=$ac_compiler_gnu
     4490
     4491fi
     4492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     4493$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     4494if test $ac_compiler_gnu = yes; then
     4495  GCC=yes
     4496else
     4497  GCC=
     4498fi
     4499ac_test_CFLAGS=${CFLAGS+set}
     4500ac_save_CFLAGS=$CFLAGS
     4501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     4502$as_echo_n "checking whether $CC accepts -g... " >&6; }
     4503if ${ac_cv_prog_cc_g+:} false; then :
     4504  $as_echo_n "(cached) " >&6
     4505else
     4506  ac_save_c_werror_flag=$ac_c_werror_flag
     4507   ac_c_werror_flag=yes
     4508   ac_cv_prog_cc_g=no
     4509   CFLAGS="-g"
     4510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4511/* end confdefs.h.  */
     4512
     4513int
     4514main ()
     4515{
     4516
     4517  ;
     4518  return 0;
     4519}
     4520_ACEOF
     4521if ac_fn_c_try_compile "$LINENO"; then :
     4522  ac_cv_prog_cc_g=yes
     4523else
     4524  CFLAGS=""
     4525      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4526/* end confdefs.h.  */
     4527
     4528int
     4529main ()
     4530{
     4531
     4532  ;
     4533  return 0;
     4534}
     4535_ACEOF
     4536if ac_fn_c_try_compile "$LINENO"; then :
     4537
     4538else
     4539  ac_c_werror_flag=$ac_save_c_werror_flag
     4540         CFLAGS="-g"
     4541         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4542/* end confdefs.h.  */
     4543
     4544int
     4545main ()
     4546{
     4547
     4548  ;
     4549  return 0;
     4550}
     4551_ACEOF
     4552if ac_fn_c_try_compile "$LINENO"; then :
     4553  ac_cv_prog_cc_g=yes
     4554fi
     4555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4556fi
     4557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4558fi
     4559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4560   ac_c_werror_flag=$ac_save_c_werror_flag
     4561fi
     4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     4563$as_echo "$ac_cv_prog_cc_g" >&6; }
     4564if test "$ac_test_CFLAGS" = set; then
     4565  CFLAGS=$ac_save_CFLAGS
     4566elif test $ac_cv_prog_cc_g = yes; then
     4567  if test "$GCC" = yes; then
     4568    CFLAGS="-g -O2"
     4569  else
     4570    CFLAGS="-g"
     4571  fi
     4572else
     4573  if test "$GCC" = yes; then
     4574    CFLAGS="-O2"
     4575  else
     4576    CFLAGS=
     4577  fi
     4578fi
     4579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     4580$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     4581if ${ac_cv_prog_cc_c89+:} false; then :
     4582  $as_echo_n "(cached) " >&6
     4583else
     4584  ac_cv_prog_cc_c89=no
     4585ac_save_CC=$CC
     4586cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4587/* end confdefs.h.  */
     4588#include <stdarg.h>
     4589#include <stdio.h>
     4590struct stat;
     4591/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     4592struct buf { int x; };
     4593FILE * (*rcsopen) (struct buf *, struct stat *, int);
     4594static char *e (p, i)
     4595     char **p;
     4596     int i;
     4597{
     4598  return p[i];
     4599}
     4600static char *f (char * (*g) (char **, int), char **p, ...)
     4601{
     4602  char *s;
     4603  va_list v;
     4604  va_start (v,p);
     4605  s = g (p, va_arg (v,int));
     4606  va_end (v);
     4607  return s;
     4608}
     4609
     4610/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     4611   function prototypes and stuff, but not '\xHH' hex character constants.
     4612   These don't provoke an error unfortunately, instead are silently treated
     4613   as 'x'.  The following induces an error, until -std is added to get
     4614   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     4615   array size at least.  It's necessary to write '\x00'==0 to get something
     4616   that's true only with -std.  */
     4617int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     4618
     4619/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     4620   inside strings and character constants.  */
     4621#define FOO(x) 'x'
     4622int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     4623
     4624int test (int i, double x);
     4625struct s1 {int (*f) (int a);};
     4626struct s2 {int (*f) (double a);};
     4627int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     4628int argc;
     4629char **argv;
     4630int
     4631main ()
     4632{
     4633return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     4634  ;
     4635  return 0;
     4636}
     4637_ACEOF
     4638for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     4639        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     4640do
     4641  CC="$ac_save_CC $ac_arg"
     4642  if ac_fn_c_try_compile "$LINENO"; then :
     4643  ac_cv_prog_cc_c89=$ac_arg
     4644fi
     4645rm -f core conftest.err conftest.$ac_objext
     4646  test "x$ac_cv_prog_cc_c89" != "xno" && break
     4647done
     4648rm -f conftest.$ac_ext
     4649CC=$ac_save_CC
     4650
     4651fi
     4652# AC_CACHE_VAL
     4653case "x$ac_cv_prog_cc_c89" in
     4654  x)
     4655    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4656$as_echo "none needed" >&6; } ;;
     4657  xno)
     4658    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4659$as_echo "unsupported" >&6; } ;;
     4660  *)
     4661    CC="$CC $ac_cv_prog_cc_c89"
     4662    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     4663$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     4664esac
     4665if test "x$ac_cv_prog_cc_c89" != xno; then :
     4666
     4667fi
     4668
     4669ac_ext=c
     4670ac_cpp='$CPP $CPPFLAGS'
     4671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4673ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4674
     4675depcc="$CC"   am_compiler_list=
     4676
     4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     4678$as_echo_n "checking dependency style of $depcc... " >&6; }
     4679if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     4680  $as_echo_n "(cached) " >&6
     4681else
     4682  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4683  # We make a subdir and do the tests there.  Otherwise we can end up
     4684  # making bogus files that we don't know about and never remove.  For
     4685  # instance it was reported that on HP-UX the gcc test will end up
     4686  # making a dummy file named 'D' -- because '-MD' means "put the output
     4687  # in D".
     4688  rm -rf conftest.dir
     4689  mkdir conftest.dir
     4690  # Copy depcomp to subdir because otherwise we won't find it if we're
     4691  # using a relative directory.
     4692  cp "$am_depcomp" conftest.dir
     4693  cd conftest.dir
     4694  # We will build objects and dependencies in a subdirectory because
     4695  # it helps to detect inapplicable dependency modes.  For instance
     4696  # both Tru64's cc and ICC support -MD to output dependencies as a
     4697  # side effect of compilation, but ICC will put the dependencies in
     4698  # the current directory while Tru64 will put them in the object
     4699  # directory.
     4700  mkdir sub
     4701
     4702  am_cv_CC_dependencies_compiler_type=none
     4703  if test "$am_compiler_list" = ""; then
     4704     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4705  fi
     4706  am__universal=false
     4707  case " $depcc " in #(
     4708     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     4709     esac
     4710
     4711  for depmode in $am_compiler_list; do
     4712    # Setup a source with many dependencies, because some compilers
     4713    # like to wrap large dependency lists on column 80 (with \), and
     4714    # we should not choose a depcomp mode which is confused by this.
     4715    #
     4716    # We need to recreate these files for each test, as the compiler may
     4717    # overwrite some of them when testing with obscure command lines.
     4718    # This happens at least with the AIX C compiler.
     4719    : > sub/conftest.c
     4720    for i in 1 2 3 4 5 6; do
     4721      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4722      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4723      # Solaris 10 /bin/sh.
     4724      echo '/* dummy */' > sub/conftst$i.h
     4725    done
     4726    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4727
     4728    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     4729    # mode.  It turns out that the SunPro C++ compiler does not properly
     4730    # handle '-M -o', and we need to detect this.  Also, some Intel
     4731    # versions had trouble with output in subdirs.
     4732    am__obj=sub/conftest.${OBJEXT-o}
     4733    am__minus_obj="-o $am__obj"
     4734    case $depmode in
     4735    gcc)
     4736      # This depmode causes a compiler race in universal mode.
     4737      test "$am__universal" = false || continue
     4738      ;;
     4739    nosideeffect)
     4740      # After this tag, mechanisms are not by side-effect, so they'll
     4741      # only be used when explicitly requested.
     4742      if test "x$enable_dependency_tracking" = xyes; then
     4743        continue
     4744      else
     4745        break
     4746      fi
     4747      ;;
     4748    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     4749      # This compiler won't grok '-c -o', but also, the minuso test has
     4750      # not run yet.  These depmodes are late enough in the game, and
     4751      # so weak that their functioning should not be impacted.
     4752      am__obj=conftest.${OBJEXT-o}
     4753      am__minus_obj=
     4754      ;;
     4755    none) break ;;
     4756    esac
     4757    if depmode=$depmode \
     4758       source=sub/conftest.c object=$am__obj \
     4759       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4760       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     4761         >/dev/null 2>conftest.err &&
     4762       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     4763       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4764       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     4765       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4766      # icc doesn't choke on unknown options, it will just issue warnings
     4767      # or remarks (even with -Werror).  So we grep stderr for any message
     4768      # that says an option was ignored or not supported.
     4769      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4770      #   icc: Command line warning: ignoring option '-M'; no argument required
     4771      # The diagnosis changed in icc 8.0:
     4772      #   icc: Command line remark: option '-MP' not supported
     4773      if (grep 'ignoring option' conftest.err ||
     4774          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4775        am_cv_CC_dependencies_compiler_type=$depmode
     4776        break
     4777      fi
     4778    fi
     4779  done
     4780
     4781  cd ..
     4782  rm -rf conftest.dir
     4783else
     4784  am_cv_CC_dependencies_compiler_type=none
     4785fi
     4786
     4787fi
     4788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     4789$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     4790CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     4791
     4792 if
     4793  test "x$enable_dependency_tracking" != xno \
     4794  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     4795  am__fastdepCC_TRUE=
     4796  am__fastdepCC_FALSE='#'
     4797else
     4798  am__fastdepCC_TRUE='#'
     4799  am__fastdepCC_FALSE=
     4800fi
     4801
    27244802
    27254803ac_ext=cpp
     
    27374815    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    27384816set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    27404818$as_echo_n "checking for $ac_word... " >&6; }
    2741 if test "${ac_cv_prog_CXX+set}" = set; then
     4819if ${ac_cv_prog_CXX+:} false; then :
    27424820  $as_echo_n "(cached) " >&6
    27434821else
     
    27504828  IFS=$as_save_IFS
    27514829  test -z "$as_dir" && as_dir=.
    2752   for ac_exec_ext in '' $ac_executable_extensions; do
    2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4830    for ac_exec_ext in '' $ac_executable_extensions; do
     4831  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27544832    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2755     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4833    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    27564834    break 2
    27574835  fi
    27584836done
    2759 done
     4837  done
    27604838IFS=$as_save_IFS
    27614839
     
    27644842CXX=$ac_cv_prog_CXX
    27654843if test -n "$CXX"; then
    2766   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     4844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    27674845$as_echo "$CXX" >&6; }
    27684846else
    2769   { $as_echo "$as_me:$LINENO: result: no" >&5
     4847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    27704848$as_echo "no" >&6; }
    27714849fi
     
    27814859  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27824860set dummy $ac_prog; ac_word=$2
    2783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    27844862$as_echo_n "checking for $ac_word... " >&6; }
    2785 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     4863if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    27864864  $as_echo_n "(cached) " >&6
    27874865else
     
    27944872  IFS=$as_save_IFS
    27954873  test -z "$as_dir" && as_dir=.
    2796   for ac_exec_ext in '' $ac_executable_extensions; do
    2797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4874    for ac_exec_ext in '' $ac_executable_extensions; do
     4875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27984876    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2799     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28004878    break 2
    28014879  fi
    28024880done
    2803 done
     4881  done
    28044882IFS=$as_save_IFS
    28054883
     
    28084886ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    28094887if test -n "$ac_ct_CXX"; then
    2810   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     4888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    28114889$as_echo "$ac_ct_CXX" >&6; }
    28124890else
    2813   { $as_echo "$as_me:$LINENO: result: no" >&5
     4891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    28144892$as_echo "no" >&6; }
    28154893fi
     
    28244902    case $cross_compiling:$ac_tool_warned in
    28254903yes:)
    2826 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4904{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    28274905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28284906ac_tool_warned=yes ;;
     
    28354913fi
    28364914# Provide some information about the compiler.
    2837 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     4915$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    28384916set X $ac_compile
    28394917ac_compiler=$2
    2840 { (ac_try="$ac_compiler --version >&5"
     4918for ac_option in --version -v -V -qversion; do
     4919  { { ac_try="$ac_compiler $ac_option >&5"
    28414920case "(($ac_try" in
    28424921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    28434922  *) ac_try_echo=$ac_try;;
    28444923esac
    2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2846 $as_echo "$ac_try_echo") >&5
    2847   (eval "$ac_compiler --version >&5") 2>&5
     4924eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4925$as_echo "$ac_try_echo"; } >&5
     4926  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    28484927  ac_status=$?
    2849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2850   (exit $ac_status); }
    2851 { (ac_try="$ac_compiler -v >&5"
    2852 case "(($ac_try" in
    2853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2854   *) ac_try_echo=$ac_try;;
    2855 esac
    2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2857 $as_echo "$ac_try_echo") >&5
    2858   (eval "$ac_compiler -v >&5") 2>&5
    2859   ac_status=$?
    2860   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2861   (exit $ac_status); }
    2862 { (ac_try="$ac_compiler -V >&5"
    2863 case "(($ac_try" in
    2864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2865   *) ac_try_echo=$ac_try;;
    2866 esac
    2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2868 $as_echo "$ac_try_echo") >&5
    2869   (eval "$ac_compiler -V >&5") 2>&5
    2870   ac_status=$?
    2871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2872   (exit $ac_status); }
    2873 
    2874 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     4928  if test -s conftest.err; then
     4929    sed '10a\
     4930... rest of stderr output deleted ...
     4931         10q' conftest.err >conftest.er1
     4932    cat conftest.er1 >&5
     4933  fi
     4934  rm -f conftest.er1 conftest.err
     4935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4936  test $ac_status = 0; }
     4937done
     4938
     4939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    28754940$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    2876 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4941if ${ac_cv_cxx_compiler_gnu+:} false; then :
    28774942  $as_echo_n "(cached) " >&6
    28784943else
    2879   cat >conftest.$ac_ext <<_ACEOF
    2880 /* confdefs.h.  */
    2881 _ACEOF
    2882 cat confdefs.h >>conftest.$ac_ext
    2883 cat >>conftest.$ac_ext <<_ACEOF
     4944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28844945/* end confdefs.h.  */
    28854946
     
    28954956}
    28964957_ACEOF
    2897 rm -f conftest.$ac_objext
    2898 if { (ac_try="$ac_compile"
    2899 case "(($ac_try" in
    2900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2901   *) ac_try_echo=$ac_try;;
    2902 esac
    2903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2904 $as_echo "$ac_try_echo") >&5
    2905   (eval "$ac_compile") 2>conftest.er1
    2906   ac_status=$?
    2907   grep -v '^ *+' conftest.er1 >conftest.err
    2908   rm -f conftest.er1
    2909   cat conftest.err >&5
    2910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2911   (exit $ac_status); } && {
    2912          test -z "$ac_cxx_werror_flag" ||
    2913          test ! -s conftest.err
    2914        } && test -s conftest.$ac_objext; then
     4958if ac_fn_cxx_try_compile "$LINENO"; then :
    29154959  ac_compiler_gnu=yes
    29164960else
    2917   $as_echo "$as_me: failed program was:" >&5
    2918 sed 's/^/| /' conftest.$ac_ext >&5
    2919 
    2920         ac_compiler_gnu=no
    2921 fi
    2922 
     4961  ac_compiler_gnu=no
     4962fi
    29234963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    29244964ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    29254965
    29264966fi
    2927 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    29284968$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    29294969if test $ac_compiler_gnu = yes; then
     
    29344974ac_test_CXXFLAGS=${CXXFLAGS+set}
    29354975ac_save_CXXFLAGS=$CXXFLAGS
    2936 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    29374977$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    2938 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4978if ${ac_cv_prog_cxx_g+:} false; then :
    29394979  $as_echo_n "(cached) " >&6
    29404980else
     
    29434983   ac_cv_prog_cxx_g=no
    29444984   CXXFLAGS="-g"
    2945    cat >conftest.$ac_ext <<_ACEOF
    2946 /* confdefs.h.  */
    2947 _ACEOF
    2948 cat confdefs.h >>conftest.$ac_ext
    2949 cat >>conftest.$ac_ext <<_ACEOF
     4985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29504986/* end confdefs.h.  */
    29514987
     
    29584994}
    29594995_ACEOF
    2960 rm -f conftest.$ac_objext
    2961 if { (ac_try="$ac_compile"
    2962 case "(($ac_try" in
    2963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2964   *) ac_try_echo=$ac_try;;
    2965 esac
    2966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2967 $as_echo "$ac_try_echo") >&5
    2968   (eval "$ac_compile") 2>conftest.er1
    2969   ac_status=$?
    2970   grep -v '^ *+' conftest.er1 >conftest.err
    2971   rm -f conftest.er1
    2972   cat conftest.err >&5
    2973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2974   (exit $ac_status); } && {
    2975          test -z "$ac_cxx_werror_flag" ||
    2976          test ! -s conftest.err
    2977        } && test -s conftest.$ac_objext; then
     4996if ac_fn_cxx_try_compile "$LINENO"; then :
    29784997  ac_cv_prog_cxx_g=yes
    29794998else
    2980   $as_echo "$as_me: failed program was:" >&5
    2981 sed 's/^/| /' conftest.$ac_ext >&5
    2982 
    2983         CXXFLAGS=""
    2984       cat >conftest.$ac_ext <<_ACEOF
    2985 /* confdefs.h.  */
    2986 _ACEOF
    2987 cat confdefs.h >>conftest.$ac_ext
    2988 cat >>conftest.$ac_ext <<_ACEOF
     4999  CXXFLAGS=""
     5000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29895001/* end confdefs.h.  */
    29905002
     
    29975009}
    29985010_ACEOF
    2999 rm -f conftest.$ac_objext
    3000 if { (ac_try="$ac_compile"
    3001 case "(($ac_try" in
    3002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3003   *) ac_try_echo=$ac_try;;
    3004 esac
    3005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3006 $as_echo "$ac_try_echo") >&5
    3007   (eval "$ac_compile") 2>conftest.er1
    3008   ac_status=$?
    3009   grep -v '^ *+' conftest.er1 >conftest.err
    3010   rm -f conftest.er1
    3011   cat conftest.err >&5
    3012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3013   (exit $ac_status); } && {
    3014          test -z "$ac_cxx_werror_flag" ||
    3015          test ! -s conftest.err
    3016        } && test -s conftest.$ac_objext; then
    3017   :
    3018 else
    3019   $as_echo "$as_me: failed program was:" >&5
    3020 sed 's/^/| /' conftest.$ac_ext >&5
    3021 
    3022         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     5011if ac_fn_cxx_try_compile "$LINENO"; then :
     5012
     5013else
     5014  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    30235015         CXXFLAGS="-g"
    3024          cat >conftest.$ac_ext <<_ACEOF
    3025 /* confdefs.h.  */
    3026 _ACEOF
    3027 cat confdefs.h >>conftest.$ac_ext
    3028 cat >>conftest.$ac_ext <<_ACEOF
     5016         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30295017/* end confdefs.h.  */
    30305018
     
    30375025}
    30385026_ACEOF
    3039 rm -f conftest.$ac_objext
    3040 if { (ac_try="$ac_compile"
    3041 case "(($ac_try" in
    3042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3043   *) ac_try_echo=$ac_try;;
    3044 esac
    3045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3046 $as_echo "$ac_try_echo") >&5
    3047   (eval "$ac_compile") 2>conftest.er1
    3048   ac_status=$?
    3049   grep -v '^ *+' conftest.er1 >conftest.err
    3050   rm -f conftest.er1
    3051   cat conftest.err >&5
    3052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3053   (exit $ac_status); } && {
    3054          test -z "$ac_cxx_werror_flag" ||
    3055          test ! -s conftest.err
    3056        } && test -s conftest.$ac_objext; then
     5027if ac_fn_cxx_try_compile "$LINENO"; then :
    30575028  ac_cv_prog_cxx_g=yes
    3058 else
    3059   $as_echo "$as_me: failed program was:" >&5
    3060 sed 's/^/| /' conftest.$ac_ext >&5
    3061 
    3062 
    3063 fi
    3064 
     5029fi
    30655030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30665031fi
    3067 
    30685032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30695033fi
    3070 
    30715034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30725035   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    30735036fi
    3074 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     5037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    30755038$as_echo "$ac_cv_prog_cxx_g" >&6; }
    30765039if test "$ac_test_CXXFLAGS" = set; then
     
    30955058ac_compiler_gnu=$ac_cv_c_compiler_gnu
    30965059
    3097 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     5060depcc="$CXX"  am_compiler_list=
     5061
     5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     5063$as_echo_n "checking dependency style of $depcc... " >&6; }
     5064if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
     5065  $as_echo_n "(cached) " >&6
     5066else
     5067  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5068  # We make a subdir and do the tests there.  Otherwise we can end up
     5069  # making bogus files that we don't know about and never remove.  For
     5070  # instance it was reported that on HP-UX the gcc test will end up
     5071  # making a dummy file named 'D' -- because '-MD' means "put the output
     5072  # in D".
     5073  rm -rf conftest.dir
     5074  mkdir conftest.dir
     5075  # Copy depcomp to subdir because otherwise we won't find it if we're
     5076  # using a relative directory.
     5077  cp "$am_depcomp" conftest.dir
     5078  cd conftest.dir
     5079  # We will build objects and dependencies in a subdirectory because
     5080  # it helps to detect inapplicable dependency modes.  For instance
     5081  # both Tru64's cc and ICC support -MD to output dependencies as a
     5082  # side effect of compilation, but ICC will put the dependencies in
     5083  # the current directory while Tru64 will put them in the object
     5084  # directory.
     5085  mkdir sub
     5086
     5087  am_cv_CXX_dependencies_compiler_type=none
     5088  if test "$am_compiler_list" = ""; then
     5089     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5090  fi
     5091  am__universal=false
     5092  case " $depcc " in #(
     5093     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     5094     esac
     5095
     5096  for depmode in $am_compiler_list; do
     5097    # Setup a source with many dependencies, because some compilers
     5098    # like to wrap large dependency lists on column 80 (with \), and
     5099    # we should not choose a depcomp mode which is confused by this.
     5100    #
     5101    # We need to recreate these files for each test, as the compiler may
     5102    # overwrite some of them when testing with obscure command lines.
     5103    # This happens at least with the AIX C compiler.
     5104    : > sub/conftest.c
     5105    for i in 1 2 3 4 5 6; do
     5106      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5107      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     5108      # Solaris 10 /bin/sh.
     5109      echo '/* dummy */' > sub/conftst$i.h
     5110    done
     5111    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5112
     5113    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     5114    # mode.  It turns out that the SunPro C++ compiler does not properly
     5115    # handle '-M -o', and we need to detect this.  Also, some Intel
     5116    # versions had trouble with output in subdirs.
     5117    am__obj=sub/conftest.${OBJEXT-o}
     5118    am__minus_obj="-o $am__obj"
     5119    case $depmode in
     5120    gcc)
     5121      # This depmode causes a compiler race in universal mode.
     5122      test "$am__universal" = false || continue
     5123      ;;
     5124    nosideeffect)
     5125      # After this tag, mechanisms are not by side-effect, so they'll
     5126      # only be used when explicitly requested.
     5127      if test "x$enable_dependency_tracking" = xyes; then
     5128        continue
     5129      else
     5130        break
     5131      fi
     5132      ;;
     5133    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     5134      # This compiler won't grok '-c -o', but also, the minuso test has
     5135      # not run yet.  These depmodes are late enough in the game, and
     5136      # so weak that their functioning should not be impacted.
     5137      am__obj=conftest.${OBJEXT-o}
     5138      am__minus_obj=
     5139      ;;
     5140    none) break ;;
     5141    esac
     5142    if depmode=$depmode \
     5143       source=sub/conftest.c object=$am__obj \
     5144       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5145       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5146         >/dev/null 2>conftest.err &&
     5147       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5148       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5149       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5150       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5151      # icc doesn't choke on unknown options, it will just issue warnings
     5152      # or remarks (even with -Werror).  So we grep stderr for any message
     5153      # that says an option was ignored or not supported.
     5154      # When given -MP, icc 7.0 and 7.1 complain thusly:
     5155      #   icc: Command line warning: ignoring option '-M'; no argument required
     5156      # The diagnosis changed in icc 8.0:
     5157      #   icc: Command line remark: option '-MP' not supported
     5158      if (grep 'ignoring option' conftest.err ||
     5159          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5160        am_cv_CXX_dependencies_compiler_type=$depmode
     5161        break
     5162      fi
     5163    fi
     5164  done
     5165
     5166  cd ..
     5167  rm -rf conftest.dir
     5168else
     5169  am_cv_CXX_dependencies_compiler_type=none
     5170fi
     5171
     5172fi
     5173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
     5174$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
     5175CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     5176
     5177 if
     5178  test "x$enable_dependency_tracking" != xno \
     5179  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
     5180  am__fastdepCXX_TRUE=
     5181  am__fastdepCXX_FALSE='#'
     5182else
     5183  am__fastdepCXX_TRUE='#'
     5184  am__fastdepCXX_FALSE=
     5185fi
     5186
     5187
     5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    30985189$as_echo_n "checking whether ln -s works... " >&6; }
    30995190LN_S=$as_ln_s
    31005191if test "$LN_S" = "ln -s"; then
    3101   { $as_echo "$as_me:$LINENO: result: yes" >&5
     5192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    31025193$as_echo "yes" >&6; }
    31035194else
    3104   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     5195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    31055196$as_echo "no, using $LN_S" >&6; }
    31065197fi
    31075198
    31085199#AC_PROG_INSTALL
    3109 if test -n "$ac_tool_prefix"; then
    3110   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    3111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3112 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3113 $as_echo_n "checking for $ac_word... " >&6; }
    3114 if test "${ac_cv_prog_RANLIB+set}" = set; then
     5200
     5201# Checks for libraries.
     5202
     5203case `pwd` in
     5204  *\ * | *\     *)
     5205    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     5206$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     5207esac
     5208
     5209
     5210
     5211macro_version='2.4.2'
     5212macro_revision='1.3337'
     5213
     5214
     5215
     5216
     5217
     5218
     5219
     5220
     5221
     5222
     5223
     5224
     5225
     5226ltmain="$ac_aux_dir/ltmain.sh"
     5227
     5228# Make sure we can run config.sub.
     5229$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     5230  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     5231
     5232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     5233$as_echo_n "checking build system type... " >&6; }
     5234if ${ac_cv_build+:} false; then :
    31155235  $as_echo_n "(cached) " >&6
    31165236else
    3117   if test -n "$RANLIB"; then
    3118   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    3119 else
    3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5237  ac_build_alias=$build_alias
     5238test "x$ac_build_alias" = x &&
     5239  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     5240test "x$ac_build_alias" = x &&
     5241  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     5242ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     5243  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     5244
     5245fi
     5246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     5247$as_echo "$ac_cv_build" >&6; }
     5248case $ac_cv_build in
     5249*-*-*) ;;
     5250*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     5251esac
     5252build=$ac_cv_build
     5253ac_save_IFS=$IFS; IFS='-'
     5254set x $ac_cv_build
     5255shift
     5256build_cpu=$1
     5257build_vendor=$2
     5258shift; shift
     5259# Remember, the first character of IFS is used to create $*,
     5260# except with old shells:
     5261build_os=$*
     5262IFS=$ac_save_IFS
     5263case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     5264
     5265
     5266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     5267$as_echo_n "checking host system type... " >&6; }
     5268if ${ac_cv_host+:} false; then :
     5269  $as_echo_n "(cached) " >&6
     5270else
     5271  if test "x$host_alias" = x; then
     5272  ac_cv_host=$ac_cv_build
     5273else
     5274  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     5275    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     5276fi
     5277
     5278fi
     5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     5280$as_echo "$ac_cv_host" >&6; }
     5281case $ac_cv_host in
     5282*-*-*) ;;
     5283*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     5284esac
     5285host=$ac_cv_host
     5286ac_save_IFS=$IFS; IFS='-'
     5287set x $ac_cv_host
     5288shift
     5289host_cpu=$1
     5290host_vendor=$2
     5291shift; shift
     5292# Remember, the first character of IFS is used to create $*,
     5293# except with old shells:
     5294host_os=$*
     5295IFS=$ac_save_IFS
     5296case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     5297
     5298
     5299# Backslashify metacharacters that are still active within
     5300# double-quoted strings.
     5301sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5302
     5303# Same as above, but do not quote variable references.
     5304double_quote_subst='s/\(["`\\]\)/\\\1/g'
     5305
     5306# Sed substitution to delay expansion of an escaped shell variable in a
     5307# double_quote_subst'ed string.
     5308delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5309
     5310# Sed substitution to delay expansion of an escaped single quote.
     5311delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     5312
     5313# Sed substitution to avoid accidental globbing in evaled expressions
     5314no_glob_subst='s/\*/\\\*/g'
     5315
     5316ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5317ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     5318ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     5319
     5320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     5321$as_echo_n "checking how to print strings... " >&6; }
     5322# Test print first, because it will be a builtin if present.
     5323if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     5324   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     5325  ECHO='print -r --'
     5326elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     5327  ECHO='printf %s\n'
     5328else
     5329  # Use this function as a fallback that always works.
     5330  func_fallback_echo ()
     5331  {
     5332    eval 'cat <<_LTECHO_EOF
     5333$1
     5334_LTECHO_EOF'
     5335  }
     5336  ECHO='func_fallback_echo'
     5337fi
     5338
     5339# func_echo_all arg...
     5340# Invoke $ECHO with all args, space-separated.
     5341func_echo_all ()
     5342{
     5343    $ECHO ""
     5344}
     5345
     5346case "$ECHO" in
     5347  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     5348$as_echo "printf" >&6; } ;;
     5349  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     5350$as_echo "print -r" >&6; } ;;
     5351  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     5352$as_echo "cat" >&6; } ;;
     5353esac
     5354
     5355
     5356
     5357
     5358
     5359
     5360
     5361
     5362
     5363
     5364
     5365
     5366
     5367
     5368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     5369$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     5370if ${ac_cv_path_SED+:} false; then :
     5371  $as_echo_n "(cached) " >&6
     5372else
     5373            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     5374     for ac_i in 1 2 3 4 5 6 7; do
     5375       ac_script="$ac_script$as_nl$ac_script"
     5376     done
     5377     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     5378     { ac_script=; unset ac_script;}
     5379     if test -z "$SED"; then
     5380  ac_path_SED_found=false
     5381  # Loop through the user's path and test for each of PROGNAME-LIST
     5382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    31215383for as_dir in $PATH
    31225384do
    31235385  IFS=$as_save_IFS
    31245386  test -z "$as_dir" && as_dir=.
    3125   for ac_exec_ext in '' $ac_executable_extensions; do
    3126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3127     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3128     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3129     break 2
     5387    for ac_prog in sed gsed; do
     5388    for ac_exec_ext in '' $ac_executable_extensions; do
     5389      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     5390      as_fn_executable_p "$ac_path_SED" || continue
     5391# Check for GNU ac_path_SED and select it if it is found.
     5392  # Check for GNU $ac_path_SED
     5393case `"$ac_path_SED" --version 2>&1` in
     5394*GNU*)
     5395  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     5396*)
     5397  ac_count=0
     5398  $as_echo_n 0123456789 >"conftest.in"
     5399  while :
     5400  do
     5401    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5402    mv "conftest.tmp" "conftest.in"
     5403    cp "conftest.in" "conftest.nl"
     5404    $as_echo '' >> "conftest.nl"
     5405    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5406    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5407    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5408    if test $ac_count -gt ${ac_path_SED_max-0}; then
     5409      # Best one so far, save it but keep looking for a better one
     5410      ac_cv_path_SED="$ac_path_SED"
     5411      ac_path_SED_max=$ac_count
     5412    fi
     5413    # 10*(2^10) chars as input seems more than enough
     5414    test $ac_count -gt 10 && break
     5415  done
     5416  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5417esac
     5418
     5419      $ac_path_SED_found && break 3
     5420    done
     5421  done
     5422  done
     5423IFS=$as_save_IFS
     5424  if test -z "$ac_cv_path_SED"; then
     5425    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    31305426  fi
    3131 done
    3132 done
    3133 IFS=$as_save_IFS
    3134 
    3135 fi
    3136 fi
    3137 RANLIB=$ac_cv_prog_RANLIB
    3138 if test -n "$RANLIB"; then
    3139   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    3140 $as_echo "$RANLIB" >&6; }
    3141 else
    3142   { $as_echo "$as_me:$LINENO: result: no" >&5
    3143 $as_echo "no" >&6; }
    3144 fi
    3145 
    3146 
    3147 fi
    3148 if test -z "$ac_cv_prog_RANLIB"; then
    3149   ac_ct_RANLIB=$RANLIB
    3150   # Extract the first word of "ranlib", so it can be a program name with args.
    3151 set dummy ranlib; ac_word=$2
    3152 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3153 $as_echo_n "checking for $ac_word... " >&6; }
    3154 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3155   $as_echo_n "(cached) " >&6
    3156 else
    3157   if test -n "$ac_ct_RANLIB"; then
    3158   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    3159 else
    3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3161 for as_dir in $PATH
    3162 do
    3163   IFS=$as_save_IFS
    3164   test -z "$as_dir" && as_dir=.
    3165   for ac_exec_ext in '' $ac_executable_extensions; do
    3166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3167     ac_cv_prog_ac_ct_RANLIB="ranlib"
    3168     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3169     break 2
    3170   fi
    3171 done
    3172 done
    3173 IFS=$as_save_IFS
    3174 
    3175 fi
    3176 fi
    3177 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    3178 if test -n "$ac_ct_RANLIB"; then
    3179   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3180 $as_echo "$ac_ct_RANLIB" >&6; }
    3181 else
    3182   { $as_echo "$as_me:$LINENO: result: no" >&5
    3183 $as_echo "no" >&6; }
    3184 fi
    3185 
    3186   if test "x$ac_ct_RANLIB" = x; then
    3187     RANLIB=":"
    3188   else
    3189     case $cross_compiling:$ac_tool_warned in
    3190 yes:)
    3191 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3193 ac_tool_warned=yes ;;
    3194 esac
    3195     RANLIB=$ac_ct_RANLIB
    3196   fi
    3197 else
    3198   RANLIB="$ac_cv_prog_RANLIB"
    3199 fi
    3200 
    3201 
    3202 # Checks for libraries.
    3203 
    3204 # Checks for header files.
    3205 
    3206 ac_ext=c
    3207 ac_cpp='$CPP $CPPFLAGS'
    3208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3211 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3212 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    3213 # On Suns, sometimes $CPP names a directory.
    3214 if test -n "$CPP" && test -d "$CPP"; then
    3215   CPP=
    3216 fi
    3217 if test -z "$CPP"; then
    3218   if test "${ac_cv_prog_CPP+set}" = set; then
    3219   $as_echo_n "(cached) " >&6
    3220 else
    3221       # Double quotes because CPP needs to be expanded
    3222     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3223     do
    3224       ac_preproc_ok=false
    3225 for ac_c_preproc_warn_flag in '' yes
    3226 do
    3227   # Use a header file that comes with gcc, so configuring glibc
    3228   # with a fresh cross-compiler works.
    3229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3230   # <limits.h> exists even on freestanding compilers.
    3231   # On the NeXT, cc -E runs the code through the compiler's parser,
    3232   # not just through cpp. "Syntax error" is here to catch this case.
    3233   cat >conftest.$ac_ext <<_ACEOF
    3234 /* confdefs.h.  */
    3235 _ACEOF
    3236 cat confdefs.h >>conftest.$ac_ext
    3237 cat >>conftest.$ac_ext <<_ACEOF
    3238 /* end confdefs.h.  */