Changeset 438


Ignore:
Timestamp:
Aug 12, 2005 3:41:04 PM (14 years ago)
Author:
andreasw
Message:
  • added test for headers, finite and va_copy
  • cleaned up a bit
Location:
branches/dev
Files:
53 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/Algorithm/IpAdaptiveMuUpdate.cpp

    r430 r438  
    1010#include "IpJournalist.hpp"
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <math.h>
     12#ifdef HAVE_CMATH
     13# include <cmath>
    1414#else
    15 # include <cmath>
     15# ifdef HAVE_MATH_H
     16#  include <math.h>
     17# else
     18#  error "don't have header file for math"
     19# endif
    1620#endif
    1721
  • branches/dev/Algorithm/IpFilterLineSearch.cpp

    r433 r438  
    1 // Copyright (C) 2004, International Business Machines and others.
     1// Copyright (C) 2004, 2005 International Business Machines and others.
    22// All Rights Reserved.
    33// This code is published under the Common Public License.
     
    1212#include "IpAlgTypes.hpp"
    1313
    14 #ifdef OLD_C_HEADERS
    15 # include <math.h>
    16 # include <ctype.h>
     14#ifdef HAVE_CMATH
     15# include <cmath>
    1716#else
    18 # include <cmath>
     17# ifdef HAVE_MATH_H
     18#  include <math.h>
     19# else
     20#  error "don't have header file for math"
     21# endif
     22#endif
     23
     24#ifdef HAVE_CCTYPE
    1925# include <cctype>
     26#else
     27# ifdef HAVE_CTYPE_H
     28#  include <ctype.h>
     29# else
     30#  error "don't have header file for ctype"
     31# endif
    2032#endif
    2133
     
    828840
    829841    Number trial_barr = IpCq().trial_barrier_obj();
    830     DBG_ASSERT(FiniteNumber(trial_barr));
     842    DBG_ASSERT(IsFiniteNumber(trial_barr));
    831843
    832844    Jnlst().Printf(J_DETAILED, J_LINE_SEARCH,
  • branches/dev/Algorithm/IpGradientScaling.cpp

    r430 r438  
    1010#include "IpTripletHelper.hpp"
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <math.h>
     12#ifdef HAVE_CMATH
     13# include <cmath>
    1414#else
    15 # include <cmath>
     15# ifdef HAVE_MATH_H
     16#  include <math.h>
     17# else
     18#  error "don't have header file for math"
     19# endif
    1620#endif
    1721
  • branches/dev/Algorithm/IpIpoptCalculatedQuantities.cpp

    r430 r438  
    88
    99#include "IpIpoptCalculatedQuantities.hpp"
    10 #ifdef OLD_C_HEADERS
    11 #include <math.h>
     10
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1213#else
    13 #include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1419#endif
    1520
     
    700705    DBG_PRINT((1, "BarrierTerm with damping = %25.16e\n", retval));
    701706
    702     DBG_ASSERT(FiniteNumber(retval));
     707    DBG_ASSERT(IsFiniteNumber(retval));
    703708    return retval;
    704709  }
     
    736741      curr_barrier_obj_cache_.AddCachedResult(result, tdeps, sdeps);
    737742    }
    738     DBG_ASSERT(FiniteNumber(result));
     743    DBG_ASSERT(IsFiniteNumber(result));
    739744    return result;
    740745  }
     
    773778      trial_barrier_obj_cache_.AddCachedResult(result, tdeps, sdeps);
    774779    }
    775     DBG_ASSERT(FiniteNumber(result));
     780    DBG_ASSERT(IsFiniteNumber(result));
    776781    return result;
    777782  }
  • branches/dev/Algorithm/IpLoqoMuOracle.cpp

    r210 r438  
    1111#include <limits>
    1212
    13 #ifdef OLD_C_HEADERS
    14 # include <math.h>
     13#ifdef HAVE_CMATH
     14# include <cmath>
    1515#else
    16 # include <cmath>
     16# ifdef HAVE_MATH_H
     17#  include <math.h>
     18# else
     19#  error "don't have header file for math"
     20# endif
    1721#endif
    1822
  • branches/dev/Algorithm/IpMonotoneMuUpdate.cpp

    r430 r438  
    1010#include "IpJournalist.hpp"
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <math.h>
     12#ifdef HAVE_CMATH
     13# include <cmath>
    1414#else
    15 # include <cmath>
     15# ifdef HAVE_MATH_H
     16#  include <math.h>
     17# else
     18#  error "don't have header file for math"
     19# endif
    1620#endif
    1721
  • branches/dev/Algorithm/IpOrigIpoptNLP.cpp

    r430 r438  
    88
    99#include "IpOrigIpoptNLP.hpp"
    10 #ifdef OLD_C_HEADERS
    11 # include <math.h>
     10
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1213#else
    13 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1419#endif
    1520
     
    254259      bool success = nlp_->Eval_f(*unscaled_x, ret);
    255260      DBG_PRINT((1, "success = %d ret = %e\n", success, ret));
    256       ASSERT_EXCEPTION(success && FiniteNumber(ret), Eval_Error,
     261      ASSERT_EXCEPTION(success && IsFiniteNumber(ret), Eval_Error,
    257262                       "Error evaluating the objective function");
    258263      ret = NLP_scaling()->apply_obj_scaling(ret);
     
    273278      SmartPtr<const Vector> unscaled_x = NLP_scaling()->unapply_vector_scaling_x(&x);
    274279      bool success = nlp_->Eval_grad_f(*unscaled_x, *unscaled_grad_f);
    275       ASSERT_EXCEPTION(success && FiniteNumber(unscaled_grad_f->Nrm2()),
     280      ASSERT_EXCEPTION(success && IsFiniteNumber(unscaled_grad_f->Nrm2()),
    276281                       Eval_Error, "Error evaluating the gradient of the objective function");
    277282      retValue = NLP_scaling()->apply_grad_obj_scaling(ConstPtr(unscaled_grad_f));
     
    305310      SmartPtr<const Vector> unscaled_x = NLP_scaling()->unapply_vector_scaling_x(&x);
    306311      bool success = nlp_->Eval_c(*unscaled_x, *unscaled_c);
    307       ASSERT_EXCEPTION(success && FiniteNumber(unscaled_c->Nrm2()),
     312      ASSERT_EXCEPTION(success && IsFiniteNumber(unscaled_c->Nrm2()),
    308313                       Eval_Error, "Error evaluating the equality constraints");
    309314      retValue = NLP_scaling()->apply_vector_scaling_c(ConstPtr(unscaled_c));
     
    340345      bool success = nlp_->Eval_d(*unscaled_x, *unscaled_d);
    341346      DBG_PRINT_VECTOR(2, "unscaled_d", *unscaled_d);
    342       ASSERT_EXCEPTION(success && FiniteNumber(unscaled_d->Nrm2()),
     347      ASSERT_EXCEPTION(success && IsFiniteNumber(unscaled_d->Nrm2()),
    343348                       Eval_Error, "Error evaluating the inequality constraints");
    344349      retValue = NLP_scaling()->apply_vector_scaling_d(ConstPtr(unscaled_d));
  • branches/dev/Algorithm/IpOrigIterationOutput.cpp

    r430 r438  
    88
    99#include "IpOrigIterationOutput.hpp"
    10 #ifdef OLD_C_HEADERS
    11 # include <math.h>
     10
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1213#else
    13 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1419#endif
    1520
  • branches/dev/Algorithm/IpProbingMuOracle.cpp

    r430 r438  
    99#include "IpProbingMuOracle.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/Algorithm/IpQualityFunctionMuOracle.cpp

    r430 r438  
    99#include "IpQualityFunctionMuOracle.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/Algorithm/IpRestoIpoptNLP.cpp

    r430 r438  
    1313#include "IpNLPScaling.hpp"
    1414
    15 #ifdef OLD_C_HEADERS
    16 #include <math.h>
     15#ifdef HAVE_CMATH
     16# include <cmath>
    1717#else
    18 #include <cmath>
     18# ifdef HAVE_MATH_H
     19#  include <math.h>
     20# else
     21#  error "don't have header file for math"
     22# endif
    1923#endif
    2024
  • branches/dev/Algorithm/IpRestoIterationOutput.cpp

    r430 r438  
    1010#include "IpRestoIpoptNLP.hpp"
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <math.h>
     12#ifdef HAVE_CMATH
     13# include <cmath>
    1414#else
    15 # include <cmath>
     15# ifdef HAVE_MATH_H
     16#  include <math.h>
     17# else
     18#  error "don't have header file for math"
     19# endif
    1620#endif
    1721
  • branches/dev/Algorithm/IpWarmStartIterateInitializer.cpp

    r430 r438  
    1212// ToDo make independent of DenseVector
    1313#include "IpDenseVector.hpp"
    14 #ifdef OLD_C_HEADERS
    15 # include <math.h>
     14
     15#ifdef HAVE_CMATH
     16# include <cmath>
    1617#else
    17 # include <cmath>
     18# ifdef HAVE_MATH_H
     19#  include <math.h>
     20# else
     21#  error "don't have header file for math"
     22# endif
    1823#endif
    1924
  • branches/dev/Algorithm/LinearSolvers/IpMa27TSolverInterface.cpp

    r433 r438  
    99#include "IpMa27TSolverInterface.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/Algorithm/LinearSolvers/IpMc19TSymScalingMethod.cpp

    r430 r438  
    99#include "IpMc19TSymScalingMethod.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
     
    134138      sum += scaling_factors[i];
    135139    }
    136     if (!FiniteNumber(sum)) {
     140    if (!IsFiniteNumber(sum)) {
    137141      Jnlst().Printf(J_WARNING, J_LINEAR_ALGEBRA,
    138142                     "Scaling factors are invalid - setting them all to 1.\n");
  • branches/dev/Algorithm/LinearSolvers/IpPardisoSolverInterface.cpp

    r430 r438  
    99#include "IpPardisoSolverInterface.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/Algorithm/LinearSolvers/IpTAUCSSolverInterface.cpp

    r430 r438  
    99#include "IpTAUCSSolverInterface.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/Algorithm/LinearSolvers/IpTAUCSSolverInterface.hpp

    r430 r438  
    1212#include "IpSparseSymLinearSolverInterface.hpp"
    1313
    14 #include <stdlib.h>
     14#ifdef HAVE_CSTDLIB
     15# include <cstdlib>
     16#else
     17# ifdef HAVE_STDLIB_H
     18#  include <stdlib.h>
     19# else
     20#  error "don't have header file for stdlib"
     21# endif
     22#endif
    1523
    1624extern "C"
  • branches/dev/Algorithm/LinearSolvers/IpTSymLinearSolver.cpp

    r430 r438  
    1 // Copyright (C) 2004, International Business Machines and others.
     1// Copyright (C) 2004, 2005 International Business Machines and others.
    22// All Rights Reserved.
    33// This code is published under the Common Public License.
     
    1010#include "IpTripletHelper.hpp"
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <math.h>
     12#ifdef HAVE_CMATH
     13# include <cmath>
    1414#else
    15 # include <cmath>
     15# ifdef HAVE_MATH_H
     16#  include <math.h>
     17# else
     18#  error "don't have header file for math"
     19# endif
    1620#endif
    1721
  • branches/dev/Algorithm/LinearSolvers/Makefile.am

    r430 r438  
    4646        IpTripletToCSRConverter.cppbak IpTripletToCSRConverter.hppbak \
    4747        IpTSymLinearSolver.cppbak IpTSymLinearSolver.hppbak \
    48         IpTSymScalingMethod.hppbak
    49         IpPardisoSolverInterface.cppbak IpPardisoSolverInterface.hppbak
     48        IpTSymScalingMethod.hppbak \
     49        IpPardisoSolverInterface.cppbak IpPardisoSolverInterface.hppbak \
    5050        IpTAUCSSolverInterface.cppbak IpTAUCSSolverInterface.hppbak
    5151
  • branches/dev/Algorithm/LinearSolvers/Makefile.in

    r435 r438  
    131131CCDEPMODE = @CCDEPMODE@
    132132CFLAGS = @CFLAGS@
    133 CPP = @CPP@
    134133CPPFLAGS = @CPPFLAGS@
    135134CXX = @CXX@
     135CXXCPP = @CXXCPP@
    136136CXXDEPMODE = @CXXDEPMODE@
    137137CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../../Common \
     
    240240        IpTripletToCSRConverter.cppbak IpTripletToCSRConverter.hppbak \
    241241        IpTSymLinearSolver.cppbak IpTSymLinearSolver.hppbak \
    242         IpTSymScalingMethod.hppbak
     242        IpTSymScalingMethod.hppbak \
     243        IpPardisoSolverInterface.cppbak IpPardisoSolverInterface.hppbak \
     244        IpTAUCSSolverInterface.cppbak IpTAUCSSolverInterface.hppbak
    243245
    244246CLEANFILES = $(ASTYLE_FILES)
     
    477479        uninstall-am uninstall-info-am
    478480
    479         IpPardisoSolverInterface.cppbak IpPardisoSolverInterface.hppbak
    480         IpTAUCSSolverInterface.cppbak IpTAUCSSolverInterface.hppbak
    481481
    482482astyle: $(ASTYLE_FILES)
  • branches/dev/Algorithm/Makefile.in

    r435 r438  
    146146CCDEPMODE = @CCDEPMODE@
    147147CFLAGS = @CFLAGS@
    148 CPP = @CPP@
    149148CPPFLAGS = @CPPFLAGS@
    150149CXX = @CXX@
     150CXXCPP = @CXXCPP@
    151151CXXDEPMODE = @CXXDEPMODE@
    152152CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../Common -I$(srcdir)/../LinAlg \
  • branches/dev/Apps/AmplSolver/Makefile.in

    r435 r438  
    126126CCDEPMODE = @CCDEPMODE@
    127127CFLAGS = @CFLAGS@
    128 CPP = @CPP@
    129128CPPFLAGS = @CPPFLAGS@
    130129CXX = @CXX@
     130CXXCPP = @CXXCPP@
    131131CXXDEPMODE = @CXXDEPMODE@
    132132CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../../Common \
  • branches/dev/Apps/CUTErInterface/Makefile.in

    r435 r438  
    102102CCDEPMODE = @CCDEPMODE@
    103103CFLAGS = @CFLAGS@
    104 CPP = @CPP@
    105104CPPFLAGS = @CPPFLAGS@
    106105CXX = @CXX@
     106CXXCPP = @CXXCPP@
    107107CXXDEPMODE = @CXXDEPMODE@
    108108CXXFLAGS = @CXXFLAGS@
  • branches/dev/Apps/CompositeInterface/Makefile.in

    r435 r438  
    128128CCDEPMODE = @CCDEPMODE@
    129129CFLAGS = @CFLAGS@
    130 CPP = @CPP@
    131130CPPFLAGS = @CPPFLAGS@
    132131CXX = @CXX@
     132CXXCPP = @CXXCPP@
    133133CXXDEPMODE = @CXXDEPMODE@
    134134
  • branches/dev/Apps/Makefile.in

    r435 r438  
    9999CCDEPMODE = @CCDEPMODE@
    100100CFLAGS = @CFLAGS@
    101 CPP = @CPP@
    102101CPPFLAGS = @CPPFLAGS@
    103102CXX = @CXX@
     103CXXCPP = @CXXCPP@
    104104CXXDEPMODE = @CXXDEPMODE@
    105105CXXFLAGS = @CXXFLAGS@
  • branches/dev/Common/IpDebug.hpp

    r430 r438  
    1111
    1212#include "IpTypes.hpp"
    13 #ifdef OLD_C_HEADERS
    14 # include <assert.h>
     13
     14#ifdef HAVE_CASSERT
     15# include <cassert>
    1516#else
    16 # include <cassert>
     17# ifdef HAVE_ASSERT_H
     18#  include <assert.h>
     19# else
     20#  error "don't have header file for math"
     21# endif
    1722#endif
    1823
  • branches/dev/Common/IpJournalist.cpp

    r430 r438  
    99#include "IpJournalist.hpp"
    1010#include "IpDebug.hpp"
    11 #include <stdio.h>
     11
     12#ifdef HAVE_CSTDIO
     13# include <cstdio>
     14#else
     15# ifdef HAVE_STDIO_H
     16#  include <stdio.h>
     17# else
     18#  error "don't have header file for stdio"
     19# endif
     20#endif
    1221
    1322namespace Ipopt
     
    153162      if (journals_[i]->IsAccepted(category, level)) {
    154163        // print the message
    155 #ifndef NO_VA_COPY
     164#ifdef HAVE_VA_COPY
    156165        va_list apcopy;
    157166        va_copy(apcopy, ap);
     
    184193
    185194        // print the message
    186 #ifndef NO_VA_COPY
     195#ifdef HAVE_VA_COPY
    187196        va_list apcopy;
    188197        va_copy(apcopy, ap);
  • branches/dev/Common/IpJournalist.hpp

    r433 r438  
    1010#define __IPJOURNALIST_HPP__
    1111
    12 #ifdef OLD_C_HEADERS
    13 # include <stdarg.h>
    14 #else
    15 # include <cstdarg>
    16 #endif
    1712#include <string>
    1813#include <vector>
     
    2015#include "IpReferenced.hpp"
    2116#include "IpSmartPtr.hpp"
     17
     18#ifdef HAVE_CSTDARG
     19# include <cstdarg>
     20#else
     21# ifdef HAVE_STDARG_H
     22#  include <stdarg.h>
     23# else
     24#  error "don't have header file for stdarg"
     25# endif
     26#endif
    2227
    2328namespace Ipopt
  • branches/dev/Common/IpOptionsList.cpp

    r433 r438  
    88
    99#include "IpOptionsList.hpp"
    10 #ifdef OLD_C_HEADERS
    11 # include <ctype.h>
     10
     11#ifdef HAVE_CCTYPE
     12# include <cctype>
    1213#else
    13 # include <cctype>
     14# ifdef HAVE_CTYPE_H
     15#  include <ctype.h>
     16# else
     17#  error "don't have header file for ctype"
     18# endif
     19#endif
     20
     21#ifdef HAVE_CSTDIO
     22# include <cstdio>
     23#else
     24# ifdef HAVE_STDIO_H
     25#  include <stdio.h>
     26# else
     27#  error "don't have header file for stdio"
     28# endif
    1429#endif
    1530
  • branches/dev/Common/IpOptionsList.hpp

    r433 r438  
    1515#include "IpRegOptions.hpp"
    1616#include <map>
    17 
    18 #ifdef OLD_C_HEADERS
    19 # include <stdio.h>
    20 #else
    21 # include <cstdio>
    22 #endif
    2317
    2418namespace Ipopt
  • branches/dev/Common/IpReferenced.hpp

    r432 r438  
    1111
    1212#include "IpTypes.hpp"
     13#include "IpDebug.hpp"
     14
    1315#include <list>
    14 
    15 #ifdef IP_DEBUG
    16 # ifdef OLD_C_HEADERS
    17 #  include <assert.h>
    18 # else
    19 #  include <cassert>
    20 # endif
    21 #endif
    2216
    2317namespace Ipopt
     
    180174    virtual ~ReferencedObject()
    181175    {
    182 #ifdef IP_DEBUG
    183       assert(reference_count_ == 0);
    184 #endif
    185 
     176      DBG_ASSERT(reference_count_ == 0);
    186177    }
    187178
  • branches/dev/Common/IpUtils.hpp

    r168 r438  
    1313#include "IpTypes.hpp"
    1414#include "IpDebug.hpp"
    15 
    16 #ifndef MY_C_FINITE
    17 # define FiniteNumber finite
    18 #else
    19 # define FiniteNumber MY_C_FINITE
    20 #endif
    2115
    2216namespace Ipopt
     
    7165  }
    7266
     67  /** Function returning true iff the argument is a valid double number
     68   *  (not NaN or Inf). */
     69  bool IsFiniteNumber(Number val);
     70
    7371} //namespace Ipopt
    7472
  • branches/dev/Common/Makefile.am

    r431 r438  
    3737        IpTaggedObject.cpp IpTaggedObject.hpp \
    3838        IpTypes.hpp \
    39         IpUtils.hpp
     39        IpUtils.cpp IpUtils.hpp
    4040
    4141# Astyle stuff
     
    5353        IpTaggedObject.cppbak IpTaggedObject.hppbak \
    5454        IpTypes.hppbak \
    55         IpUtils.hppbak
     55        IpUtils.cppbak IpUtils.hppbak
    5656
    5757ASTYLE = @ASTYLE@
  • branches/dev/Common/Makefile.in

    r435 r438  
    6060am_libcommon_a_OBJECTS = IpDebug.$(OBJEXT) IpJournalist.$(OBJEXT) \
    6161        IpObserver.$(OBJEXT) IpOptionsList.$(OBJEXT) \
    62         IpRegOptions.$(OBJEXT) IpTaggedObject.$(OBJEXT)
     62        IpRegOptions.$(OBJEXT) IpTaggedObject.$(OBJEXT) \
     63        IpUtils.$(OBJEXT)
    6364libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS)
    6465DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/inc
     
    124125CCDEPMODE = @CCDEPMODE@
    125126CFLAGS = @CFLAGS@
    126 CPP = @CPP@
    127127CPPFLAGS = @CPPFLAGS@
    128128CXX = @CXX@
     129CXXCPP = @CXXCPP@
    129130CXXDEPMODE = @CXXDEPMODE@
    130131CXXFLAGS = @CXXFLAGS@
     
    241242        IpTaggedObject.cpp IpTaggedObject.hpp \
    242243        IpTypes.hpp \
    243         IpUtils.hpp
     244        IpUtils.cpp IpUtils.hpp
    244245
    245246
     
    257258        IpTaggedObject.cppbak IpTaggedObject.hppbak \
    258259        IpTypes.hppbak \
    259         IpUtils.hppbak
     260        IpUtils.cppbak IpUtils.hppbak
    260261
    261262CLEANFILES = $(ASTYLE_FILES)
     
    314315@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IpRegOptions.Po@am__quote@
    315316@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IpTaggedObject.Po@am__quote@
     317@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IpUtils.Po@am__quote@
    316318
    317319.cpp.o:
  • branches/dev/Extern/ASL/Makefile.in

    r435 r438  
    8787CCDEPMODE = @CCDEPMODE@
    8888CFLAGS = @CFLAGS@
    89 CPP = @CPP@
    9089CPPFLAGS = @CPPFLAGS@
    9190CXX = @CXX@
     91CXXCPP = @CXXCPP@
    9292CXXDEPMODE = @CXXDEPMODE@
    9393CXXFLAGS = @CXXFLAGS@
  • branches/dev/Extern/HSL/Makefile.in

    r435 r438  
    106106CCDEPMODE = @CCDEPMODE@
    107107CFLAGS = @CFLAGS@
    108 CPP = @CPP@
    109108CPPFLAGS = @CPPFLAGS@
    110109CXX = @CXX@
     110CXXCPP = @CXXCPP@
    111111CXXDEPMODE = @CXXDEPMODE@
    112112CXXFLAGS = @CXXFLAGS@
  • branches/dev/Extern/Makefile.in

    r435 r438  
    9999CCDEPMODE = @CCDEPMODE@
    100100CFLAGS = @CFLAGS@
    101 CPP = @CPP@
    102101CPPFLAGS = @CPPFLAGS@
    103102CXX = @CXX@
     103CXXCPP = @CXXCPP@
    104104CXXDEPMODE = @CXXDEPMODE@
    105105CXXFLAGS = @CXXFLAGS@
  • branches/dev/Extern/blas/Makefile.in

    r435 r438  
    156156CCDEPMODE = @CCDEPMODE@
    157157CFLAGS = @CFLAGS@
    158 CPP = @CPP@
    159158CPPFLAGS = @CPPFLAGS@
    160159CXX = @CXX@
     160CXXCPP = @CXXCPP@
    161161CXXDEPMODE = @CXXDEPMODE@
    162162CXXFLAGS = @CXXFLAGS@
  • branches/dev/Interfaces/IpStdCInterface.cpp

    r436 r438  
    1212#include "IpIpoptApplication.hpp"
    1313
    14 #ifdef OLD_C_HEADERS
    15 # include <math.h>
     14#ifdef HAVE_CMATH
     15# include <cmath>
    1616#else
    17 # include <cmath>
     17# ifdef HAVE_MATH_H
     18#  include <math.h>
     19# else
     20#  error "don't have header file for math"
     21# endif
    1822#endif
    1923
  • branches/dev/Interfaces/IpStdFInterface.c

    r433 r438  
    1616
    1717/* ToDo: The following needs to be adapted based on configuration */
    18 typedef int fint;
     18typedef FORTRAN_INTEGER_TYPE fint;
    1919typedef double fdouble;
    2020typedef long fptr;
  • branches/dev/Interfaces/Makefile.am

    r435 r438  
    1515        IpNLP.hpp \
    1616        IpReturnCodes.h \
     17        IpReturnCodes_inc.h \
    1718        IpReturnCodes.inc \
    1819        IpStdCInterface.h \
  • branches/dev/Interfaces/Makefile.in

    r435 r438  
    124124CCDEPMODE = @CCDEPMODE@
    125125CFLAGS = @CFLAGS@ -I$(srcdir)/../Common
    126 CPP = @CPP@
    127126CPPFLAGS = @CPPFLAGS@
    128127CXX = @CXX@
     128CXXCPP = @CXXCPP@
    129129CXXDEPMODE = @CXXDEPMODE@
    130130CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../Common -I$(srcdir)/../LinAlg \
     
    221221        IpNLP.hpp \
    222222        IpReturnCodes.h \
     223        IpReturnCodes_inc.h \
    223224        IpReturnCodes.inc \
    224225        IpStdCInterface.h \
  • branches/dev/LinAlg/IpCompoundVector.cpp

    r430 r438  
    99#include "IpCompoundVector.hpp"
    1010
    11 #ifdef OLD_C_HEADERS
    12 # include <math.h>
     11#ifdef HAVE_CMATH
     12# include <cmath>
    1313#else
    14 # include <cmath>
     14# ifdef HAVE_MATH_H
     15#  include <math.h>
     16# else
     17#  error "don't have header file for math"
     18# endif
    1519#endif
    1620
  • branches/dev/LinAlg/IpDenseVector.cpp

    r430 r438  
    1212#include "IpDebug.hpp"
    1313
    14 #ifdef OLD_C_HEADERS
    15 # include <math.h>
     14#ifdef HAVE_CMATH
     15# include <cmath>
    1616#else
    17 # include <cmath>
     17# ifdef HAVE_MATH_H
     18#  include <math.h>
     19# else
     20#  error "don't have header file for math"
     21# endif
    1822#endif
    1923
  • branches/dev/LinAlg/IpMatrix.hpp

    r430 r438  
    1111
    1212#include "IpVector.hpp"
    13 
    14 #ifdef OLD_C_HEADERS
    15 # include <stdio.h>
    16 #else
    17 # include <cstdio>
    18 #endif
    19 #include <string>
    2013
    2114namespace Ipopt
  • branches/dev/LinAlg/IpVector.hpp

    r430 r438  
    1616#include "IpJournalist.hpp"
    1717
    18 #ifdef OLD_C_HEADERS
    19 # include <stdio.h>
    20 #else
    21 # include <cstdio>
    22 #endif
    23 #include <string>
    2418#include <vector>
    2519
  • branches/dev/LinAlg/Makefile.in

    r435 r438  
    136136CCDEPMODE = @CCDEPMODE@
    137137CFLAGS = @CFLAGS@
    138 CPP = @CPP@
    139138CPPFLAGS = @CPPFLAGS@
    140139CXX = @CXX@
     140CXXCPP = @CXXCPP@
    141141CXXDEPMODE = @CXXDEPMODE@
    142142CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../Common
  • branches/dev/LinAlg/TMatrices/Makefile.in

    r435 r438  
    112112CCDEPMODE = @CCDEPMODE@
    113113CFLAGS = @CFLAGS@
    114 CPP = @CPP@
    115114CPPFLAGS = @CPPFLAGS@
    116115CXX = @CXX@
     116CXXCPP = @CXXCPP@
    117117CXXDEPMODE = @CXXDEPMODE@
    118118CXXFLAGS = @CXXFLAGS@ -I$(srcdir)/../../Common -I$(srcdir)/..
  • branches/dev/Makefile.in

    r435 r438  
    116116CCDEPMODE = @CCDEPMODE@
    117117CFLAGS = @CFLAGS@
    118 CPP = @CPP@
    119118CPPFLAGS = @CPPFLAGS@
    120119CXX = @CXX@
     120CXXCPP = @CXXCPP@
    121121CXXDEPMODE = @CXXDEPMODE@
    122122CXXFLAGS = @CXXFLAGS@
  • branches/dev/configure

    r435 r438  
    320320#endif"
    321321
    322 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os AR ARFLAGS AR_X CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT F77 FFLAGS ac_ct_F77 FLIBS IPADDLIBS TAUCS_INCFLAGS ASLMAKEFLAGS ASLMAKEFILECMDS CPP EGREP CXXLIBS ASTYLE ASTYLEFLAGS ipoptlib AMPL_CPPFLAGS IPALLLIBS BUILDBLAS_TRUE BUILDBLAS_FALSE BUILDHSL_TRUE BUILDHSL_FALSE BUILDMA27_TRUE BUILDMA27_FALSE BUILDMC19_TRUE BUILDMC19_FALSE BUILDBLASDIR_TRUE BUILDBLASDIR_FALSE BUILDHSLDIR_TRUE BUILDHSLDIR_FALSE HAVE_PARDISO_TRUE HAVE_PARDISO_FALSE HAVE_TAUCS_TRUE HAVE_TAUCS_FALSE BUILDASLDIR_TRUE BUILDASLDIR_FALSE BUILDAMPLINTERFACE_TRUE BUILDAMPLINTERFACE_FALSE ASLLIB LIBOBJS LTLIBOBJS'
     322ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os AR ARFLAGS AR_X CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXXCPP EGREP F77 FFLAGS ac_ct_F77 FLIBS IPADDLIBS TAUCS_INCFLAGS ASLMAKEFLAGS ASLMAKEFILECMDS CXXLIBS ASTYLE ASTYLEFLAGS ipoptlib AMPL_CPPFLAGS IPALLLIBS BUILDBLAS_TRUE BUILDBLAS_FALSE BUILDHSL_TRUE BUILDHSL_FALSE BUILDMA27_TRUE BUILDMA27_FALSE BUILDMC19_TRUE BUILDMC19_FALSE BUILDBLASDIR_TRUE BUILDBLASDIR_FALSE BUILDHSLDIR_TRUE BUILDHSLDIR_FALSE HAVE_PARDISO_TRUE HAVE_PARDISO_FALSE HAVE_TAUCS_TRUE HAVE_TAUCS_FALSE BUILDASLDIR_TRUE BUILDASLDIR_FALSE BUILDAMPLINTERFACE_TRUE BUILDAMPLINTERFACE_FALSE ASLLIB LIBOBJS LTLIBOBJS'
    323323ac_subst_files=''
    324324
     
    797797ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    798798ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     799ac_env_CXXCPP_set=${CXXCPP+set}
     800ac_env_CXXCPP_value=$CXXCPP
     801ac_cv_env_CXXCPP_set=${CXXCPP+set}
     802ac_cv_env_CXXCPP_value=$CXXCPP
    799803ac_env_F77_set=${F77+set}
    800804ac_env_F77_value=$F77
     
    813817ac_cv_env_ASLMAKEFLAGS_set=${ASLMAKEFLAGS+set}
    814818ac_cv_env_ASLMAKEFLAGS_value=$ASLMAKEFLAGS
    815 ac_env_CPP_set=${CPP+set}
    816 ac_env_CPP_value=$CPP
    817 ac_cv_env_CPP_set=${CPP+set}
    818 ac_cv_env_CPP_value=$CPP
    819819ac_env_CXXLIBS_set=${CXXLIBS+set}
    820820ac_env_CXXLIBS_value=$CXXLIBS
     
    929929  CXX         C++ compiler command
    930930  CXXFLAGS    C++ compiler flags
     931  CXXCPP      C++ preprocessor
    931932  F77         Fortran 77 compiler command
    932933  FFLAGS      Fortran 77 compiler flags
     
    936937              Compilation flags necessary for compiling the AMPL solver
    937938              library
    938   CPP         C preprocessor
    939939  CXXLIBS     Libraries necessary for linking C++ code with Fortran compiler
    940940
     
    15001500
    15011501  if test -z "$CXXFLAGS"; then
    1502     CXXFLAGS="-g -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Werror -pipe -Wconversion"
     1502    CXXFLAGS="-g"
    15031503  fi
    15041504
    15051505  if test -z "$CFLAGS"; then
    1506     CFLAGS="-g -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Werror -pipe"
     1506    CFLAGS="-g"
    15071507  fi
    15081508
     
    36333633
    36343634
     3635############################################################################
     3636############################################################################
     3637#                   Stuff that we need for C++ programs                    #
     3638############################################################################
     3639############################################################################
     3640
     3641ac_ext=cc
     3642ac_cpp='$CXXCPP $CPPFLAGS'
     3643ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3644ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3645ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3646
     3647
     3648################
     3649# Header Files #
     3650################
     3651
     3652
     3653ac_ext=cc
     3654ac_cpp='$CXXCPP $CPPFLAGS'
     3655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3658echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     3659echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
     3660if test -z "$CXXCPP"; then
     3661  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     3662  echo $ECHO_N "(cached) $ECHO_C" >&6
     3663else
     3664      # Double quotes because CXXCPP needs to be expanded
     3665    for CXXCPP in "$CXX -E" "/lib/cpp"
     3666    do
     3667      ac_preproc_ok=false
     3668for ac_cxx_preproc_warn_flag in '' yes
     3669do
     3670  # Use a header file that comes with gcc, so configuring glibc
     3671  # with a fresh cross-compiler works.
     3672  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3673  # <limits.h> exists even on freestanding compilers.
     3674  # On the NeXT, cc -E runs the code through the compiler's parser,
     3675  # not just through cpp. "Syntax error" is here to catch this case.
     3676  cat >conftest.$ac_ext <<_ACEOF
     3677/* confdefs.h.  */
     3678_ACEOF
     3679cat confdefs.h >>conftest.$ac_ext
     3680cat >>conftest.$ac_ext <<_ACEOF
     3681/* end confdefs.h.  */
     3682#ifdef __STDC__
     3683# include <limits.h>
     3684#else
     3685# include <assert.h>
     3686#endif
     3687                     Syntax error
     3688_ACEOF
     3689if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3690  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3691  ac_status=$?
     3692  grep -v '^ *+' conftest.er1 >conftest.err
     3693  rm -f conftest.er1
     3694  cat conftest.err >&5
     3695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3696  (exit $ac_status); } >/dev/null; then
     3697  if test -s conftest.err; then
     3698    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3699    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3700  else
     3701    ac_cpp_err=
     3702  fi
     3703else
     3704  ac_cpp_err=yes
     3705fi
     3706if test -z "$ac_cpp_err"; then
     3707  :
     3708else
     3709  echo "$as_me: failed program was:" >&5
     3710sed 's/^/| /' conftest.$ac_ext >&5
     3711
     3712  # Broken: fails on valid input.
     3713continue
     3714fi
     3715rm -f conftest.err conftest.$ac_ext
     3716
     3717  # OK, works on sane cases.  Now check whether non-existent headers
     3718  # can be detected and how.
     3719  cat >conftest.$ac_ext <<_ACEOF
     3720/* confdefs.h.  */
     3721_ACEOF
     3722cat confdefs.h >>conftest.$ac_ext
     3723cat >>conftest.$ac_ext <<_ACEOF
     3724/* end confdefs.h.  */
     3725#include <ac_nonexistent.h>
     3726_ACEOF
     3727if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3728  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3729  ac_status=$?
     3730  grep -v '^ *+' conftest.er1 >conftest.err
     3731  rm -f conftest.er1
     3732  cat conftest.err >&5
     3733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3734  (exit $ac_status); } >/dev/null; then
     3735  if test -s conftest.err; then
     3736    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3737    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3738  else
     3739    ac_cpp_err=
     3740  fi
     3741else
     3742  ac_cpp_err=yes
     3743fi
     3744if test -z "$ac_cpp_err"; then
     3745  # Broken: success on invalid input.
     3746continue
     3747else
     3748  echo "$as_me: failed program was:" >&5
     3749sed 's/^/| /' conftest.$ac_ext >&5
     3750
     3751  # Passes both tests.
     3752ac_preproc_ok=:
     3753break
     3754fi
     3755rm -f conftest.err conftest.$ac_ext
     3756
     3757done
     3758# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3759rm -f conftest.err conftest.$ac_ext
     3760if $ac_preproc_ok; then
     3761  break
     3762fi
     3763
     3764    done
     3765    ac_cv_prog_CXXCPP=$CXXCPP
     3766
     3767fi
     3768  CXXCPP=$ac_cv_prog_CXXCPP
     3769else
     3770  ac_cv_prog_CXXCPP=$CXXCPP
     3771fi
     3772echo "$as_me:$LINENO: result: $CXXCPP" >&5
     3773echo "${ECHO_T}$CXXCPP" >&6
     3774ac_preproc_ok=false
     3775for ac_cxx_preproc_warn_flag in '' yes
     3776do
     3777  # Use a header file that comes with gcc, so configuring glibc
     3778  # with a fresh cross-compiler works.
     3779  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3780  # <limits.h> exists even on freestanding compilers.
     3781  # On the NeXT, cc -E runs the code through the compiler's parser,
     3782  # not just through cpp. "Syntax error" is here to catch this case.
     3783  cat >conftest.$ac_ext <<_ACEOF
     3784/* confdefs.h.  */
     3785_ACEOF
     3786cat confdefs.h >>conftest.$ac_ext
     3787cat >>conftest.$ac_ext <<_ACEOF
     3788/* end confdefs.h.  */
     3789#ifdef __STDC__
     3790# include <limits.h>
     3791#else
     3792# include <assert.h>
     3793#endif
     3794                     Syntax error
     3795_ACEOF
     3796if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3797  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3798  ac_status=$?
     3799  grep -v '^ *+' conftest.er1 >conftest.err
     3800  rm -f conftest.er1
     3801  cat conftest.err >&5
     3802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3803  (exit $ac_status); } >/dev/null; then
     3804  if test -s conftest.err; then
     3805    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3806    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3807  else
     3808    ac_cpp_err=
     3809  fi
     3810else
     3811  ac_cpp_err=yes
     3812fi
     3813if test -z "$ac_cpp_err"; then
     3814  :
     3815else
     3816  echo "$as_me: failed program was:" >&5
     3817sed 's/^/| /' conftest.$ac_ext >&5
     3818
     3819  # Broken: fails on valid input.
     3820continue
     3821fi
     3822rm -f conftest.err conftest.$ac_ext
     3823
     3824  # OK, works on sane cases.  Now check whether non-existent headers
     3825  # can be detected and how.
     3826  cat >conftest.$ac_ext <<_ACEOF
     3827/* confdefs.h.  */
     3828_ACEOF
     3829cat confdefs.h >>conftest.$ac_ext
     3830cat >>conftest.$ac_ext <<_ACEOF
     3831/* end confdefs.h.  */
     3832#include <ac_nonexistent.h>
     3833_ACEOF
     3834if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3835  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3836  ac_status=$?
     3837  grep -v '^ *+' conftest.er1 >conftest.err
     3838  rm -f conftest.er1
     3839  cat conftest.err >&5
     3840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3841  (exit $ac_status); } >/dev/null; then
     3842  if test -s conftest.err; then
     3843    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3844    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3845  else
     3846    ac_cpp_err=
     3847  fi
     3848else
     3849  ac_cpp_err=yes
     3850fi
     3851if test -z "$ac_cpp_err"; then
     3852  # Broken: success on invalid input.
     3853continue
     3854else
     3855  echo "$as_me: failed program was:" >&5
     3856sed 's/^/| /' conftest.$ac_ext >&5
     3857
     3858  # Passes both tests.
     3859ac_preproc_ok=:
     3860break
     3861fi
     3862rm -f conftest.err conftest.$ac_ext
     3863
     3864done
     3865# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3866rm -f conftest.err conftest.$ac_ext
     3867if $ac_preproc_ok; then
     3868  :
     3869else
     3870  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3871See \`config.log' for more details." >&5
     3872echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3873See \`config.log' for more details." >&2;}
     3874   { (exit 1); exit 1; }; }
     3875fi
     3876
     3877ac_ext=cc
     3878ac_cpp='$CXXCPP $CPPFLAGS'
     3879ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3880ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3881ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3882
     3883
     3884echo "$as_me:$LINENO: checking for egrep" >&5
     3885echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3886if test "${ac_cv_prog_egrep+set}" = set; then
     3887  echo $ECHO_N "(cached) $ECHO_C" >&6
     3888else
     3889  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3890    then ac_cv_prog_egrep='grep -E'
     3891    else ac_cv_prog_egrep='egrep'
     3892    fi
     3893fi
     3894echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3895echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3896 EGREP=$ac_cv_prog_egrep
     3897
     3898
     3899echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3900echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3901if test "${ac_cv_header_stdc+set}" = set; then
     3902  echo $ECHO_N "(cached) $ECHO_C" >&6
     3903else
     3904  cat >conftest.$ac_ext <<_ACEOF
     3905/* confdefs.h.  */
     3906_ACEOF
     3907cat confdefs.h >>conftest.$ac_ext
     3908cat >>conftest.$ac_ext <<_ACEOF
     3909/* end confdefs.h.  */
     3910#include <stdlib.h>
     3911#include <stdarg.h>
     3912#include <string.h>
     3913#include <float.h>
     3914
     3915int
     3916main ()
     3917{
     3918
     3919  ;
     3920  return 0;
     3921}
     3922_ACEOF
     3923rm -f conftest.$ac_objext
     3924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3925  (eval $ac_compile) 2>conftest.er1
     3926  ac_status=$?
     3927  grep -v '^ *+' conftest.er1 >conftest.err
     3928  rm -f conftest.er1
     3929  cat conftest.err >&5
     3930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3931  (exit $ac_status); } &&
     3932         { ac_try='test -z "$ac_cxx_werror_flag"
     3933                         || test ! -s conftest.err'
     3934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3935  (eval $ac_try) 2>&5
     3936  ac_status=$?
     3937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3938  (exit $ac_status); }; } &&
     3939         { ac_try='test -s conftest.$ac_objext'
     3940  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3941  (eval $ac_try) 2>&5
     3942  ac_status=$?
     3943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3944  (exit $ac_status); }; }; then
     3945  ac_cv_header_stdc=yes
     3946else
     3947  echo "$as_me: failed program was:" >&5
     3948sed 's/^/| /' conftest.$ac_ext >&5
     3949
     3950ac_cv_header_stdc=no
     3951fi
     3952rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3953
     3954if test $ac_cv_header_stdc = yes; then
     3955  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3956  cat >conftest.$ac_ext <<_ACEOF
     3957/* confdefs.h.  */
     3958_ACEOF
     3959cat confdefs.h >>conftest.$ac_ext
     3960cat >>conftest.$ac_ext <<_ACEOF
     3961/* end confdefs.h.  */
     3962#include <string.h>
     3963
     3964_ACEOF
     3965if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3966  $EGREP "memchr" >/dev/null 2>&1; then
     3967  :
     3968else
     3969  ac_cv_header_stdc=no
     3970fi
     3971rm -f conftest*
     3972
     3973fi
     3974
     3975if test $ac_cv_header_stdc = yes; then
     3976  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     3977  cat >conftest.$ac_ext <<_ACEOF
     3978/* confdefs.h.  */
     3979_ACEOF
     3980cat confdefs.h >>conftest.$ac_ext
     3981cat >>conftest.$ac_ext <<_ACEOF
     3982/* end confdefs.h.  */
     3983#include <stdlib.h>
     3984
     3985_ACEOF
     3986if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3987  $EGREP "free" >/dev/null 2>&1; then
     3988  :
     3989else
     3990  ac_cv_header_stdc=no
     3991fi
     3992rm -f conftest*
     3993
     3994fi
     3995
     3996if test $ac_cv_header_stdc = yes; then
     3997  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     3998  if test "$cross_compiling" = yes; then
     3999  :
     4000else
     4001  cat >conftest.$ac_ext <<_ACEOF
     4002/* confdefs.h.  */
     4003_ACEOF
     4004cat confdefs.h >>conftest.$ac_ext
     4005cat >>conftest.$ac_ext <<_ACEOF
     4006/* end confdefs.h.  */
     4007#include <ctype.h>
     4008#if ((' ' & 0x0FF) == 0x020)
     4009# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4010# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4011#else
     4012# define ISLOWER(c) \
     4013                   (('a' <= (c) && (c) <= 'i') \
     4014                     || ('j' <= (c) && (c) <= 'r') \
     4015                     || ('s' <= (c) && (c) <= 'z'))
     4016# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4017#endif
     4018
     4019#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4020int
     4021main ()
     4022{
     4023  int i;
     4024  for (i = 0; i < 256; i++)
     4025    if (XOR (islower (i), ISLOWER (i))
     4026        || toupper (i) != TOUPPER (i))
     4027      exit(2);
     4028  exit (0);
     4029}
     4030_ACEOF
     4031rm -f conftest$ac_exeext
     4032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4033  (eval $ac_link) 2>&5
     4034  ac_status=$?
     4035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4036  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4038  (eval $ac_try) 2>&5
     4039  ac_status=$?
     4040  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4041  (exit $ac_status); }; }; then
     4042  :
     4043else
     4044  echo "$as_me: program exited with status $ac_status" >&5
     4045echo "$as_me: failed program was:" >&5
     4046sed 's/^/| /' conftest.$ac_ext >&5
     4047
     4048( exit $ac_status )
     4049ac_cv_header_stdc=no
     4050fi
     4051rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4052fi
     4053fi
     4054fi
     4055echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4056echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4057if test $ac_cv_header_stdc = yes; then
     4058
     4059cat >>confdefs.h <<\_ACEOF
     4060#define STDC_HEADERS 1
     4061_ACEOF
     4062
     4063fi
     4064
     4065# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4066
     4067
     4068
     4069
     4070
     4071
     4072
     4073
     4074
     4075for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4076                  inttypes.h stdint.h unistd.h
     4077do
     4078as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4079echo "$as_me:$LINENO: checking for $ac_header" >&5
     4080echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4081if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4082  echo $ECHO_N "(cached) $ECHO_C" >&6
     4083else
     4084  cat >conftest.$ac_ext <<_ACEOF
     4085/* confdefs.h.  */
     4086_ACEOF
     4087cat confdefs.h >>conftest.$ac_ext
     4088cat >>conftest.$ac_ext <<_ACEOF
     4089/* end confdefs.h.  */
     4090$ac_includes_default
     4091
     4092#include <$ac_header>
     4093_ACEOF
     4094rm -f conftest.$ac_objext
     4095if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4096  (eval $ac_compile) 2>conftest.er1
     4097  ac_status=$?
     4098  grep -v '^ *+' conftest.er1 >conftest.err
     4099  rm -f conftest.er1
     4100  cat conftest.err >&5
     4101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4102  (exit $ac_status); } &&
     4103         { ac_try='test -z "$ac_cxx_werror_flag"
     4104                         || test ! -s conftest.err'
     4105  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4106  (eval $ac_try) 2>&5
     4107  ac_status=$?
     4108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4109  (exit $ac_status); }; } &&
     4110         { ac_try='test -s conftest.$ac_objext'
     4111  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4112  (eval $ac_try) 2>&5
     4113  ac_status=$?
     4114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4115  (exit $ac_status); }; }; then
     4116  eval "$as_ac_Header=yes"
     4117else
     4118  echo "$as_me: failed program was:" >&5
     4119sed 's/^/| /' conftest.$ac_ext >&5
     4120
     4121eval "$as_ac_Header=no"
     4122fi
     4123rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4124fi
     4125echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4126echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4127if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4128  cat >>confdefs.h <<_ACEOF
     4129#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4130_ACEOF
     4131
     4132fi
     4133
     4134done
     4135
     4136
     4137
     4138for ac_header in cmath
     4139do
     4140as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4141if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4142  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4143echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4144if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4145  echo $ECHO_N "(cached) $ECHO_C" >&6
     4146fi
     4147echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4148echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4149else
     4150  # Is the header compilable?
     4151echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4152echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4153cat >conftest.$ac_ext <<_ACEOF
     4154/* confdefs.h.  */
     4155_ACEOF
     4156cat confdefs.h >>conftest.$ac_ext
     4157cat >>conftest.$ac_ext <<_ACEOF
     4158/* end confdefs.h.  */
     4159$ac_includes_default
     4160#include <$ac_header>
     4161_ACEOF
     4162rm -f conftest.$ac_objext
     4163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4164  (eval $ac_compile) 2>conftest.er1
     4165  ac_status=$?
     4166  grep -v '^ *+' conftest.er1 >conftest.err
     4167  rm -f conftest.er1
     4168  cat conftest.err >&5
     4169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4170  (exit $ac_status); } &&
     4171         { ac_try='test -z "$ac_cxx_werror_flag"
     4172                         || test ! -s conftest.err'
     4173  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4174  (eval $ac_try) 2>&5
     4175  ac_status=$?
     4176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4177  (exit $ac_status); }; } &&
     4178         { ac_try='test -s conftest.$ac_objext'
     4179  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4180  (eval $ac_try) 2>&5
     4181  ac_status=$?
     4182  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4183  (exit $ac_status); }; }; then
     4184  ac_header_compiler=yes
     4185else
     4186  echo "$as_me: failed program was:" >&5
     4187sed 's/^/| /' conftest.$ac_ext >&5
     4188
     4189ac_header_compiler=no
     4190fi
     4191rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4192echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4193echo "${ECHO_T}$ac_header_compiler" >&6
     4194
     4195# Is the header present?
     4196echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4197echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4198cat >conftest.$ac_ext <<_ACEOF
     4199/* confdefs.h.  */
     4200_ACEOF
     4201cat confdefs.h >>conftest.$ac_ext
     4202cat >>conftest.$ac_ext <<_ACEOF
     4203/* end confdefs.h.  */
     4204#include <$ac_header>
     4205_ACEOF
     4206if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4207  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4208  ac_status=$?
     4209  grep -v '^ *+' conftest.er1 >conftest.err
     4210  rm -f conftest.er1
     4211  cat conftest.err >&5
     4212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4213  (exit $ac_status); } >/dev/null; then
     4214  if test -s conftest.err; then
     4215    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4216    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4217  else
     4218    ac_cpp_err=
     4219  fi
     4220else
     4221  ac_cpp_err=yes
     4222fi
     4223if test -z "$ac_cpp_err"; then
     4224  ac_header_preproc=yes
     4225else
     4226  echo "$as_me: failed program was:" >&5
     4227sed 's/^/| /' conftest.$ac_ext >&5
     4228
     4229  ac_header_preproc=no
     4230fi
     4231rm -f conftest.err conftest.$ac_ext
     4232echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4233echo "${ECHO_T}$ac_header_preproc" >&6
     4234
     4235# So?  What about this header?
     4236case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4237  yes:no: )
     4238    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4239echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4240    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4241echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4242    ac_header_preproc=yes
     4243    ;;
     4244  no:yes:* )
     4245    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4246echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4247    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4248echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4249    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4250echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4251    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4252echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4253    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4254echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4255    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4256echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4257    (
     4258      cat <<\_ASBOX
     4259## ----------------------------------------- ##
     4260## Report this to coin-ipopt@www-124.ibm.com ##
     4261## ----------------------------------------- ##
     4262_ASBOX
     4263    ) |
     4264      sed "s/^/$as_me: WARNING:     /" >&2
     4265    ;;
     4266esac
     4267echo "$as_me:$LINENO: checking for $ac_header" >&5
     4268echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4269if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4270  echo $ECHO_N "(cached) $ECHO_C" >&6
     4271else
     4272  eval "$as_ac_Header=\$ac_header_preproc"
     4273fi
     4274echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4275echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4276
     4277fi
     4278if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4279  cat >>confdefs.h <<_ACEOF
     4280#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4281_ACEOF
     4282
     4283fi
     4284
     4285done
     4286
     4287
     4288for ac_header in math.h
     4289do
     4290as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4291if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4292  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4293echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4294if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4295  echo $ECHO_N "(cached) $ECHO_C" >&6
     4296fi
     4297echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4298echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4299else
     4300  # Is the header compilable?
     4301echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4302echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4303cat >conftest.$ac_ext <<_ACEOF
     4304/* confdefs.h.  */
     4305_ACEOF
     4306cat confdefs.h >>conftest.$ac_ext
     4307cat >>conftest.$ac_ext <<_ACEOF
     4308/* end confdefs.h.  */
     4309$ac_includes_default
     4310#include <$ac_header>
     4311_ACEOF
     4312rm -f conftest.$ac_objext
     4313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4314  (eval $ac_compile) 2>conftest.er1
     4315  ac_status=$?
     4316  grep -v '^ *+' conftest.er1 >conftest.err
     4317  rm -f conftest.er1
     4318  cat conftest.err >&5
     4319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4320  (exit $ac_status); } &&
     4321         { ac_try='test -z "$ac_cxx_werror_flag"
     4322                         || test ! -s conftest.err'
     4323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4324  (eval $ac_try) 2>&5
     4325  ac_status=$?
     4326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4327  (exit $ac_status); }; } &&
     4328         { ac_try='test -s conftest.$ac_objext'
     4329  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4330  (eval $ac_try) 2>&5
     4331  ac_status=$?
     4332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4333  (exit $ac_status); }; }; then
     4334  ac_header_compiler=yes
     4335else
     4336  echo "$as_me: failed program was:" >&5
     4337sed 's/^/| /' conftest.$ac_ext >&5
     4338
     4339ac_header_compiler=no
     4340fi
     4341rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4342echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4343echo "${ECHO_T}$ac_header_compiler" >&6
     4344
     4345# Is the header present?
     4346echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4347echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4348cat >conftest.$ac_ext <<_ACEOF
     4349/* confdefs.h.  */
     4350_ACEOF
     4351cat confdefs.h >>conftest.$ac_ext
     4352cat >>conftest.$ac_ext <<_ACEOF
     4353/* end confdefs.h.  */
     4354#include <$ac_header>
     4355_ACEOF
     4356if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4357  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4358  ac_status=$?
     4359  grep -v '^ *+' conftest.er1 >conftest.err
     4360  rm -f conftest.er1
     4361  cat conftest.err >&5
     4362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4363  (exit $ac_status); } >/dev/null; then
     4364  if test -s conftest.err; then
     4365    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4366    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4367  else
     4368    ac_cpp_err=
     4369  fi
     4370else
     4371  ac_cpp_err=yes
     4372fi
     4373if test -z "$ac_cpp_err"; then
     4374  ac_header_preproc=yes
     4375else
     4376  echo "$as_me: failed program was:" >&5
     4377sed 's/^/| /' conftest.$ac_ext >&5
     4378
     4379  ac_header_preproc=no
     4380fi
     4381rm -f conftest.err conftest.$ac_ext
     4382echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4383echo "${ECHO_T}$ac_header_preproc" >&6
     4384
     4385# So?  What about this header?
     4386case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4387  yes:no: )
     4388    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4389echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4390    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4391echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4392    ac_header_preproc=yes
     4393    ;;
     4394  no:yes:* )
     4395    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4396echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4397    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4398echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4399    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4400echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4401    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4402echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4403    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4404echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4405    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4406echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4407    (
     4408      cat <<\_ASBOX
     4409## ----------------------------------------- ##
     4410## Report this to coin-ipopt@www-124.ibm.com ##
     4411## ----------------------------------------- ##
     4412_ASBOX
     4413    ) |
     4414      sed "s/^/$as_me: WARNING:     /" >&2
     4415    ;;
     4416esac
     4417echo "$as_me:$LINENO: checking for $ac_header" >&5
     4418echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4419if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4420  echo $ECHO_N "(cached) $ECHO_C" >&6
     4421else
     4422  eval "$as_ac_Header=\$ac_header_preproc"
     4423fi
     4424echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4425echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4426
     4427fi
     4428if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4429  cat >>confdefs.h <<_ACEOF
     4430#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4431_ACEOF
     4432
     4433fi
     4434
     4435done
     4436
     4437
     4438for ac_header in cctype
     4439do
     4440as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4441if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4442  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4443echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4444if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4445  echo $ECHO_N "(cached) $ECHO_C" >&6
     4446fi
     4447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4448echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4449else
     4450  # Is the header compilable?
     4451echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4452echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4453cat >conftest.$ac_ext <<_ACEOF
     4454/* confdefs.h.  */
     4455_ACEOF
     4456cat confdefs.h >>conftest.$ac_ext
     4457cat >>conftest.$ac_ext <<_ACEOF
     4458/* end confdefs.h.  */
     4459$ac_includes_default
     4460#include <$ac_header>
     4461_ACEOF
     4462rm -f conftest.$ac_objext
     4463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4464  (eval $ac_compile) 2>conftest.er1
     4465  ac_status=$?
     4466  grep -v '^ *+' conftest.er1 >conftest.err
     4467  rm -f conftest.er1
     4468  cat conftest.err >&5
     4469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4470  (exit $ac_status); } &&
     4471         { ac_try='test -z "$ac_cxx_werror_flag"
     4472                         || test ! -s conftest.err'
     4473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4474  (eval $ac_try) 2>&5
     4475  ac_status=$?
     4476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4477  (exit $ac_status); }; } &&
     4478         { ac_try='test -s conftest.$ac_objext'
     4479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4480  (eval $ac_try) 2>&5
     4481  ac_status=$?
     4482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4483  (exit $ac_status); }; }; then
     4484  ac_header_compiler=yes
     4485else
     4486  echo "$as_me: failed program was:" >&5
     4487sed 's/^/| /' conftest.$ac_ext >&5
     4488
     4489ac_header_compiler=no
     4490fi
     4491rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4492echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4493echo "${ECHO_T}$ac_header_compiler" >&6
     4494
     4495# Is the header present?
     4496echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4497echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4498cat >conftest.$ac_ext <<_ACEOF
     4499/* confdefs.h.  */
     4500_ACEOF
     4501cat confdefs.h >>conftest.$ac_ext
     4502cat >>conftest.$ac_ext <<_ACEOF
     4503/* end confdefs.h.  */
     4504#include <$ac_header>
     4505_ACEOF
     4506if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4507  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4508  ac_status=$?
     4509  grep -v '^ *+' conftest.er1 >conftest.err
     4510  rm -f conftest.er1
     4511  cat conftest.err >&5
     4512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4513  (exit $ac_status); } >/dev/null; then
     4514  if test -s conftest.err; then
     4515    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4516    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4517  else
     4518    ac_cpp_err=
     4519  fi
     4520else
     4521  ac_cpp_err=yes
     4522fi
     4523if test -z "$ac_cpp_err"; then
     4524  ac_header_preproc=yes
     4525else
     4526  echo "$as_me: failed program was:" >&5
     4527sed 's/^/| /' conftest.$ac_ext >&5
     4528
     4529  ac_header_preproc=no
     4530fi
     4531rm -f conftest.err conftest.$ac_ext
     4532echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4533echo "${ECHO_T}$ac_header_preproc" >&6
     4534
     4535# So?  What about this header?
     4536case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4537  yes:no: )
     4538    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4539echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4540    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4541echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4542    ac_header_preproc=yes
     4543    ;;
     4544  no:yes:* )
     4545    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4546echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4547    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4548echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4549    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4550echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4551    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4552echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4553    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4554echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4555    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4556echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4557    (
     4558      cat <<\_ASBOX
     4559## ----------------------------------------- ##
     4560## Report this to coin-ipopt@www-124.ibm.com ##
     4561## ----------------------------------------- ##
     4562_ASBOX
     4563    ) |
     4564      sed "s/^/$as_me: WARNING:     /" >&2
     4565    ;;
     4566esac
     4567echo "$as_me:$LINENO: checking for $ac_header" >&5
     4568echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4569if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4570  echo $ECHO_N "(cached) $ECHO_C" >&6
     4571else
     4572  eval "$as_ac_Header=\$ac_header_preproc"
     4573fi
     4574echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4575echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4576
     4577fi
     4578if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4579  cat >>confdefs.h <<_ACEOF
     4580#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4581_ACEOF
     4582
     4583fi
     4584
     4585done
     4586
     4587
     4588for ac_header in ctype.h
     4589do
     4590as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4591if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4592  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4593echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4594if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4595  echo $ECHO_N "(cached) $ECHO_C" >&6
     4596fi
     4597echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4598echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4599else
     4600  # Is the header compilable?
     4601echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4602echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4603cat >conftest.$ac_ext <<_ACEOF
     4604/* confdefs.h.  */
     4605_ACEOF
     4606cat confdefs.h >>conftest.$ac_ext
     4607cat >>conftest.$ac_ext <<_ACEOF
     4608/* end confdefs.h.  */
     4609$ac_includes_default
     4610#include <$ac_header>
     4611_ACEOF
     4612rm -f conftest.$ac_objext
     4613if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4614  (eval $ac_compile) 2>conftest.er1
     4615  ac_status=$?
     4616  grep -v '^ *+' conftest.er1 >conftest.err
     4617  rm -f conftest.er1
     4618  cat conftest.err >&5
     4619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4620  (exit $ac_status); } &&
     4621         { ac_try='test -z "$ac_cxx_werror_flag"
     4622                         || test ! -s conftest.err'
     4623  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4624  (eval $ac_try) 2>&5
     4625  ac_status=$?
     4626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4627  (exit $ac_status); }; } &&
     4628         { ac_try='test -s conftest.$ac_objext'
     4629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4630  (eval $ac_try) 2>&5
     4631  ac_status=$?
     4632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4633  (exit $ac_status); }; }; then
     4634  ac_header_compiler=yes
     4635else
     4636  echo "$as_me: failed program was:" >&5
     4637sed 's/^/| /' conftest.$ac_ext >&5
     4638
     4639ac_header_compiler=no
     4640fi
     4641rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4642echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4643echo "${ECHO_T}$ac_header_compiler" >&6
     4644
     4645# Is the header present?
     4646echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4647echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4648cat >conftest.$ac_ext <<_ACEOF
     4649/* confdefs.h.  */
     4650_ACEOF
     4651cat confdefs.h >>conftest.$ac_ext
     4652cat >>conftest.$ac_ext <<_ACEOF
     4653/* end confdefs.h.  */
     4654#include <$ac_header>
     4655_ACEOF
     4656if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4657  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4658  ac_status=$?
     4659  grep -v '^ *+' conftest.er1 >conftest.err
     4660  rm -f conftest.er1
     4661  cat conftest.err >&5
     4662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4663  (exit $ac_status); } >/dev/null; then
     4664  if test -s conftest.err; then
     4665    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4666    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4667  else
     4668    ac_cpp_err=
     4669  fi
     4670else
     4671  ac_cpp_err=yes
     4672fi
     4673if test -z "$ac_cpp_err"; then
     4674  ac_header_preproc=yes
     4675else
     4676  echo "$as_me: failed program was:" >&5
     4677sed 's/^/| /' conftest.$ac_ext >&5
     4678
     4679  ac_header_preproc=no
     4680fi
     4681rm -f conftest.err conftest.$ac_ext
     4682echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4683echo "${ECHO_T}$ac_header_preproc" >&6
     4684
     4685# So?  What about this header?
     4686case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4687  yes:no: )
     4688    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4689echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4690    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4691echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4692    ac_header_preproc=yes
     4693    ;;
     4694  no:yes:* )
     4695    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4696echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4697    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4698echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4699    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4700echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4701    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4702echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4703    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4704echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4705    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4706echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4707    (
     4708      cat <<\_ASBOX
     4709## ----------------------------------------- ##
     4710## Report this to coin-ipopt@www-124.ibm.com ##
     4711## ----------------------------------------- ##
     4712_ASBOX
     4713    ) |
     4714      sed "s/^/$as_me: WARNING:     /" >&2
     4715    ;;
     4716esac
     4717echo "$as_me:$LINENO: checking for $ac_header" >&5
     4718echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4719if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4720  echo $ECHO_N "(cached) $ECHO_C" >&6
     4721else
     4722  eval "$as_ac_Header=\$ac_header_preproc"
     4723fi
     4724echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4725echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4726
     4727fi
     4728if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4729  cat >>confdefs.h <<_ACEOF
     4730#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4731_ACEOF
     4732
     4733fi
     4734
     4735done
     4736
     4737
     4738for ac_header in cassert
     4739do
     4740as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4741if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4742  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4743echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4744if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4745  echo $ECHO_N "(cached) $ECHO_C" >&6
     4746fi
     4747echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4748echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4749else
     4750  # Is the header compilable?
     4751echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4752echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4753cat >conftest.$ac_ext <<_ACEOF
     4754/* confdefs.h.  */
     4755_ACEOF
     4756cat confdefs.h >>conftest.$ac_ext
     4757cat >>conftest.$ac_ext <<_ACEOF
     4758/* end confdefs.h.  */
     4759$ac_includes_default
     4760#include <$ac_header>
     4761_ACEOF
     4762rm -f conftest.$ac_objext
     4763if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4764  (eval $ac_compile) 2>conftest.er1
     4765  ac_status=$?
     4766  grep -v '^ *+' conftest.er1 >conftest.err
     4767  rm -f conftest.er1
     4768  cat conftest.err >&5
     4769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4770  (exit $ac_status); } &&
     4771         { ac_try='test -z "$ac_cxx_werror_flag"
     4772                         || test ! -s conftest.err'
     4773  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4774  (eval $ac_try) 2>&5
     4775  ac_status=$?
     4776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4777  (exit $ac_status); }; } &&
     4778         { ac_try='test -s conftest.$ac_objext'
     4779  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4780  (eval $ac_try) 2>&5
     4781  ac_status=$?
     4782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4783  (exit $ac_status); }; }; then
     4784  ac_header_compiler=yes
     4785else
     4786  echo "$as_me: failed program was:" >&5
     4787sed 's/^/| /' conftest.$ac_ext >&5
     4788
     4789ac_header_compiler=no
     4790fi
     4791rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4792echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4793echo "${ECHO_T}$ac_header_compiler" >&6
     4794
     4795# Is the header present?
     4796echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4797echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4798cat >conftest.$ac_ext <<_ACEOF
     4799/* confdefs.h.  */
     4800_ACEOF
     4801cat confdefs.h >>conftest.$ac_ext
     4802cat >>conftest.$ac_ext <<_ACEOF
     4803/* end confdefs.h.  */
     4804#include <$ac_header>
     4805_ACEOF
     4806if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4807  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4808  ac_status=$?
     4809  grep -v '^ *+' conftest.er1 >conftest.err
     4810  rm -f conftest.er1
     4811  cat conftest.err >&5
     4812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4813  (exit $ac_status); } >/dev/null; then
     4814  if test -s conftest.err; then
     4815    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4816    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4817  else
     4818    ac_cpp_err=
     4819  fi
     4820else
     4821  ac_cpp_err=yes
     4822fi
     4823if test -z "$ac_cpp_err"; then
     4824  ac_header_preproc=yes
     4825else
     4826  echo "$as_me: failed program was:" >&5
     4827sed 's/^/| /' conftest.$ac_ext >&5
     4828
     4829  ac_header_preproc=no
     4830fi
     4831rm -f conftest.err conftest.$ac_ext
     4832echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4833echo "${ECHO_T}$ac_header_preproc" >&6
     4834
     4835# So?  What about this header?
     4836case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4837  yes:no: )
     4838    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4839echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4840    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4841echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4842    ac_header_preproc=yes
     4843    ;;
     4844  no:yes:* )
     4845    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4846echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4847    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4848echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4849    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4850echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4851    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4852echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4853    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4854echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4855    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4856echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4857    (
     4858      cat <<\_ASBOX
     4859## ----------------------------------------- ##
     4860## Report this to coin-ipopt@www-124.ibm.com ##
     4861## ----------------------------------------- ##
     4862_ASBOX
     4863    ) |
     4864      sed "s/^/$as_me: WARNING:     /" >&2
     4865    ;;
     4866esac
     4867echo "$as_me:$LINENO: checking for $ac_header" >&5
     4868echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4869if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4870  echo $ECHO_N "(cached) $ECHO_C" >&6
     4871else
     4872  eval "$as_ac_Header=\$ac_header_preproc"
     4873fi
     4874echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4875echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4876
     4877fi
     4878if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4879  cat >>confdefs.h <<_ACEOF
     4880#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4881_ACEOF
     4882
     4883fi
     4884
     4885done
     4886
     4887
     4888for ac_header in assert.h
     4889do
     4890as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4891if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4892  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4893echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4894if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4895  echo $ECHO_N "(cached) $ECHO_C" >&6
     4896fi
     4897echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4898echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4899else
     4900  # Is the header compilable?
     4901echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4902echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4903cat >conftest.$ac_ext <<_ACEOF
     4904/* confdefs.h.  */
     4905_ACEOF
     4906cat confdefs.h >>conftest.$ac_ext
     4907cat >>conftest.$ac_ext <<_ACEOF
     4908/* end confdefs.h.  */
     4909$ac_includes_default
     4910#include <$ac_header>
     4911_ACEOF
     4912rm -f conftest.$ac_objext
     4913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4914  (eval $ac_compile) 2>conftest.er1
     4915  ac_status=$?
     4916  grep -v '^ *+' conftest.er1 >conftest.err
     4917  rm -f conftest.er1
     4918  cat conftest.err >&5
     4919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4920  (exit $ac_status); } &&
     4921         { ac_try='test -z "$ac_cxx_werror_flag"
     4922                         || test ! -s conftest.err'
     4923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4924  (eval $ac_try) 2>&5
     4925  ac_status=$?
     4926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4927  (exit $ac_status); }; } &&
     4928         { ac_try='test -s conftest.$ac_objext'
     4929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4930  (eval $ac_try) 2>&5
     4931  ac_status=$?
     4932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4933  (exit $ac_status); }; }; then
     4934  ac_header_compiler=yes
     4935else
     4936  echo "$as_me: failed program was:" >&5
     4937sed 's/^/| /' conftest.$ac_ext >&5
     4938
     4939ac_header_compiler=no
     4940fi
     4941rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4942echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4943echo "${ECHO_T}$ac_header_compiler" >&6
     4944
     4945# Is the header present?
     4946echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4947echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4948cat >conftest.$ac_ext <<_ACEOF
     4949/* confdefs.h.  */
     4950_ACEOF
     4951cat confdefs.h >>conftest.$ac_ext
     4952cat >>conftest.$ac_ext <<_ACEOF
     4953/* end confdefs.h.  */
     4954#include <$ac_header>
     4955_ACEOF
     4956if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4957  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4958  ac_status=$?
     4959  grep -v '^ *+' conftest.er1 >conftest.err
     4960  rm -f conftest.er1
     4961  cat conftest.err >&5
     4962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4963  (exit $ac_status); } >/dev/null; then
     4964  if test -s conftest.err; then
     4965    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4966    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4967  else
     4968    ac_cpp_err=
     4969  fi
     4970else
     4971  ac_cpp_err=yes
     4972fi
     4973if test -z "$ac_cpp_err"; then
     4974  ac_header_preproc=yes
     4975else
     4976  echo "$as_me: failed program was:" >&5
     4977sed 's/^/| /' conftest.$ac_ext >&5
     4978
     4979  ac_header_preproc=no
     4980fi
     4981rm -f conftest.err conftest.$ac_ext
     4982echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4983echo "${ECHO_T}$ac_header_preproc" >&6
     4984
     4985# So?  What about this header?
     4986case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     4987  yes:no: )
     4988    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4989echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4990    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4991echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4992    ac_header_preproc=yes
     4993    ;;
     4994  no:yes:* )
     4995    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4996echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4997    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4998echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4999    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5000echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5001    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5002echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5003    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5004echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5005    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5006echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5007    (
     5008      cat <<\_ASBOX
     5009## ----------------------------------------- ##
     5010## Report this to coin-ipopt@www-124.ibm.com ##
     5011## ----------------------------------------- ##
     5012_ASBOX
     5013    ) |
     5014      sed "s/^/$as_me: WARNING:     /" >&2
     5015    ;;
     5016esac
     5017echo "$as_me:$LINENO: checking for $ac_header" >&5
     5018echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5019if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5020  echo $ECHO_N "(cached) $ECHO_C" >&6
     5021else
     5022  eval "$as_ac_Header=\$ac_header_preproc"
     5023fi
     5024echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5025echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5026
     5027fi
     5028if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5029  cat >>confdefs.h <<_ACEOF
     5030#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5031_ACEOF
     5032
     5033fi
     5034
     5035done
     5036
     5037
     5038for ac_header in cstdio
     5039do
     5040as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5041if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5042  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5043echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5044if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5045  echo $ECHO_N "(cached) $ECHO_C" >&6
     5046fi
     5047echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5048echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5049else
     5050  # Is the header compilable?
     5051echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5052echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5053cat >conftest.$ac_ext <<_ACEOF
     5054/* confdefs.h.  */
     5055_ACEOF
     5056cat confdefs.h >>conftest.$ac_ext
     5057cat >>conftest.$ac_ext <<_ACEOF
     5058/* end confdefs.h.  */
     5059$ac_includes_default
     5060#include <$ac_header>
     5061_ACEOF
     5062rm -f conftest.$ac_objext
     5063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5064  (eval $ac_compile) 2>conftest.er1
     5065  ac_status=$?
     5066  grep -v '^ *+' conftest.er1 >conftest.err
     5067  rm -f conftest.er1
     5068  cat conftest.err >&5
     5069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5070  (exit $ac_status); } &&
     5071         { ac_try='test -z "$ac_cxx_werror_flag"
     5072                         || test ! -s conftest.err'
     5073  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5074  (eval $ac_try) 2>&5
     5075  ac_status=$?
     5076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5077  (exit $ac_status); }; } &&
     5078         { ac_try='test -s conftest.$ac_objext'
     5079  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5080  (eval $ac_try) 2>&5
     5081  ac_status=$?
     5082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5083  (exit $ac_status); }; }; then
     5084  ac_header_compiler=yes
     5085else
     5086  echo "$as_me: failed program was:" >&5
     5087sed 's/^/| /' conftest.$ac_ext >&5
     5088
     5089ac_header_compiler=no
     5090fi
     5091rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5092echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5093echo "${ECHO_T}$ac_header_compiler" >&6
     5094
     5095# Is the header present?
     5096echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5097echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5098cat >conftest.$ac_ext <<_ACEOF
     5099/* confdefs.h.  */
     5100_ACEOF
     5101cat confdefs.h >>conftest.$ac_ext
     5102cat >>conftest.$ac_ext <<_ACEOF
     5103/* end confdefs.h.  */
     5104#include <$ac_header>
     5105_ACEOF
     5106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5107  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5108  ac_status=$?
     5109  grep -v '^ *+' conftest.er1 >conftest.err
     5110  rm -f conftest.er1
     5111  cat conftest.err >&5
     5112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5113  (exit $ac_status); } >/dev/null; then
     5114  if test -s conftest.err; then
     5115    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5116    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5117  else
     5118    ac_cpp_err=
     5119  fi
     5120else
     5121  ac_cpp_err=yes
     5122fi
     5123if test -z "$ac_cpp_err"; then
     5124  ac_header_preproc=yes
     5125else
     5126  echo "$as_me: failed program was:" >&5
     5127sed 's/^/| /' conftest.$ac_ext >&5
     5128
     5129  ac_header_preproc=no
     5130fi
     5131rm -f conftest.err conftest.$ac_ext
     5132echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5133echo "${ECHO_T}$ac_header_preproc" >&6
     5134
     5135# So?  What about this header?
     5136case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5137  yes:no: )
     5138    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5139echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5140    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5141echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5142    ac_header_preproc=yes
     5143    ;;
     5144  no:yes:* )
     5145    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5146echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5147    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5148echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5149    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5150echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5151    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5152echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5153    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5154echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5155    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5156echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5157    (
     5158      cat <<\_ASBOX
     5159## ----------------------------------------- ##
     5160## Report this to coin-ipopt@www-124.ibm.com ##
     5161## ----------------------------------------- ##
     5162_ASBOX
     5163    ) |
     5164      sed "s/^/$as_me: WARNING:     /" >&2
     5165    ;;
     5166esac
     5167echo "$as_me:$LINENO: checking for $ac_header" >&5
     5168echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5169if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5170  echo $ECHO_N "(cached) $ECHO_C" >&6
     5171else
     5172  eval "$as_ac_Header=\$ac_header_preproc"
     5173fi
     5174echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5175echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5176
     5177fi
     5178if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5179  cat >>confdefs.h <<_ACEOF
     5180#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5181_ACEOF
     5182
     5183fi
     5184
     5185done
     5186
     5187
     5188for ac_header in stdio.h
     5189do
     5190as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5191if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5192  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5193echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5194if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5195  echo $ECHO_N "(cached) $ECHO_C" >&6
     5196fi
     5197echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5198echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5199else
     5200  # Is the header compilable?
     5201echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5202echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5203cat >conftest.$ac_ext <<_ACEOF
     5204/* confdefs.h.  */
     5205_ACEOF
     5206cat confdefs.h >>conftest.$ac_ext
     5207cat >>conftest.$ac_ext <<_ACEOF
     5208/* end confdefs.h.  */
     5209$ac_includes_default
     5210#include <$ac_header>
     5211_ACEOF
     5212rm -f conftest.$ac_objext
     5213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5214  (eval $ac_compile) 2>conftest.er1
     5215  ac_status=$?
     5216  grep -v '^ *+' conftest.er1 >conftest.err
     5217  rm -f conftest.er1
     5218  cat conftest.err >&5
     5219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5220  (exit $ac_status); } &&
     5221         { ac_try='test -z "$ac_cxx_werror_flag"
     5222                         || test ! -s conftest.err'
     5223  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5224  (eval $ac_try) 2>&5
     5225  ac_status=$?
     5226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5227  (exit $ac_status); }; } &&
     5228         { ac_try='test -s conftest.$ac_objext'
     5229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5230  (eval $ac_try) 2>&5
     5231  ac_status=$?
     5232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5233  (exit $ac_status); }; }; then
     5234  ac_header_compiler=yes
     5235else
     5236  echo "$as_me: failed program was:" >&5
     5237sed 's/^/| /' conftest.$ac_ext >&5
     5238
     5239ac_header_compiler=no
     5240fi
     5241rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5242echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5243echo "${ECHO_T}$ac_header_compiler" >&6
     5244
     5245# Is the header present?
     5246echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5247echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5248cat >conftest.$ac_ext <<_ACEOF
     5249/* confdefs.h.  */
     5250_ACEOF
     5251cat confdefs.h >>conftest.$ac_ext
     5252cat >>conftest.$ac_ext <<_ACEOF
     5253/* end confdefs.h.  */
     5254#include <$ac_header>
     5255_ACEOF
     5256if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5257  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5258  ac_status=$?
     5259  grep -v '^ *+' conftest.er1 >conftest.err
     5260  rm -f conftest.er1
     5261  cat conftest.err >&5
     5262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5263  (exit $ac_status); } >/dev/null; then
     5264  if test -s conftest.err; then
     5265    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5266    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5267  else
     5268    ac_cpp_err=
     5269  fi
     5270else
     5271  ac_cpp_err=yes
     5272fi
     5273if test -z "$ac_cpp_err"; then
     5274  ac_header_preproc=yes
     5275else
     5276  echo "$as_me: failed program was:" >&5
     5277sed 's/^/| /' conftest.$ac_ext >&5
     5278
     5279  ac_header_preproc=no
     5280fi
     5281rm -f conftest.err conftest.$ac_ext
     5282echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5283echo "${ECHO_T}$ac_header_preproc" >&6
     5284
     5285# So?  What about this header?
     5286case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5287  yes:no: )
     5288    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5289echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5290    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5291echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5292    ac_header_preproc=yes
     5293    ;;
     5294  no:yes:* )
     5295    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5296echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5297    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5298echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5299    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5300echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5301    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5302echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5303    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5304echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5305    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5306echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5307    (
     5308      cat <<\_ASBOX
     5309## ----------------------------------------- ##
     5310## Report this to coin-ipopt@www-124.ibm.com ##
     5311## ----------------------------------------- ##
     5312_ASBOX
     5313    ) |
     5314      sed "s/^/$as_me: WARNING:     /" >&2
     5315    ;;
     5316esac
     5317echo "$as_me:$LINENO: checking for $ac_header" >&5
     5318echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5319if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5320  echo $ECHO_N "(cached) $ECHO_C" >&6
     5321else
     5322  eval "$as_ac_Header=\$ac_header_preproc"
     5323fi
     5324echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5325echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5326
     5327fi
     5328if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5329  cat >>confdefs.h <<_ACEOF
     5330#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5331_ACEOF
     5332
     5333fi
     5334
     5335done
     5336
     5337
     5338for ac_header in cstdarg
     5339do
     5340as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5341if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5342  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5343echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5344if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5345  echo $ECHO_N "(cached) $ECHO_C" >&6
     5346fi
     5347echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5348echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5349else
     5350  # Is the header compilable?
     5351echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5352echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5353cat >conftest.$ac_ext <<_ACEOF
     5354/* confdefs.h.  */
     5355_ACEOF
     5356cat confdefs.h >>conftest.$ac_ext
     5357cat >>conftest.$ac_ext <<_ACEOF
     5358/* end confdefs.h.  */
     5359$ac_includes_default
     5360#include <$ac_header>
     5361_ACEOF
     5362rm -f conftest.$ac_objext
     5363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5364  (eval $ac_compile) 2>conftest.er1
     5365  ac_status=$?
     5366  grep -v '^ *+' conftest.er1 >conftest.err
     5367  rm -f conftest.er1
     5368  cat conftest.err >&5
     5369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5370  (exit $ac_status); } &&
     5371         { ac_try='test -z "$ac_cxx_werror_flag"
     5372                         || test ! -s conftest.err'
     5373  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5374  (eval $ac_try) 2>&5
     5375  ac_status=$?
     5376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5377  (exit $ac_status); }; } &&
     5378         { ac_try='test -s conftest.$ac_objext'
     5379  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5380  (eval $ac_try) 2>&5
     5381  ac_status=$?
     5382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5383  (exit $ac_status); }; }; then
     5384  ac_header_compiler=yes
     5385else
     5386  echo "$as_me: failed program was:" >&5
     5387sed 's/^/| /' conftest.$ac_ext >&5
     5388
     5389ac_header_compiler=no
     5390fi
     5391rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5392echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5393echo "${ECHO_T}$ac_header_compiler" >&6
     5394
     5395# Is the header present?
     5396echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5397echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5398cat >conftest.$ac_ext <<_ACEOF
     5399/* confdefs.h.  */
     5400_ACEOF
     5401cat confdefs.h >>conftest.$ac_ext
     5402cat >>conftest.$ac_ext <<_ACEOF
     5403/* end confdefs.h.  */
     5404#include <$ac_header>
     5405_ACEOF
     5406if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5407  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5408  ac_status=$?
     5409  grep -v '^ *+' conftest.er1 >conftest.err
     5410  rm -f conftest.er1
     5411  cat conftest.err >&5
     5412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5413  (exit $ac_status); } >/dev/null; then
     5414  if test -s conftest.err; then
     5415    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5416    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5417  else
     5418    ac_cpp_err=
     5419  fi
     5420else
     5421  ac_cpp_err=yes
     5422fi
     5423if test -z "$ac_cpp_err"; then
     5424  ac_header_preproc=yes
     5425else
     5426  echo "$as_me: failed program was:" >&5
     5427sed 's/^/| /' conftest.$ac_ext >&5
     5428
     5429  ac_header_preproc=no
     5430fi
     5431rm -f conftest.err conftest.$ac_ext
     5432echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5433echo "${ECHO_T}$ac_header_preproc" >&6
     5434
     5435# So?  What about this header?
     5436case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5437  yes:no: )
     5438    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5439echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5440    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5441echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5442    ac_header_preproc=yes
     5443    ;;
     5444  no:yes:* )
     5445    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5446echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5447    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5448echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5449    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5450echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5451    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5452echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5453    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5454echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5455    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5456echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5457    (
     5458      cat <<\_ASBOX
     5459## ----------------------------------------- ##
     5460## Report this to coin-ipopt@www-124.ibm.com ##
     5461## ----------------------------------------- ##
     5462_ASBOX
     5463    ) |
     5464      sed "s/^/$as_me: WARNING:     /" >&2
     5465    ;;
     5466esac
     5467echo "$as_me:$LINENO: checking for $ac_header" >&5
     5468echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5469if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5470  echo $ECHO_N "(cached) $ECHO_C" >&6
     5471else
     5472  eval "$as_ac_Header=\$ac_header_preproc"
     5473fi
     5474echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5475echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5476
     5477fi
     5478if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5479  cat >>confdefs.h <<_ACEOF
     5480#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5481_ACEOF
     5482
     5483fi
     5484
     5485done
     5486
     5487
     5488for ac_header in stdarg.h
     5489do
     5490as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5491if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5492  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5493echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5494if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5495  echo $ECHO_N "(cached) $ECHO_C" >&6
     5496fi
     5497echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5498echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5499else
     5500  # Is the header compilable?
     5501echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5502echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5503cat >conftest.$ac_ext <<_ACEOF
     5504/* confdefs.h.  */
     5505_ACEOF
     5506cat confdefs.h >>conftest.$ac_ext
     5507cat >>conftest.$ac_ext <<_ACEOF
     5508/* end confdefs.h.  */
     5509$ac_includes_default
     5510#include <$ac_header>
     5511_ACEOF
     5512rm -f conftest.$ac_objext
     5513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5514  (eval $ac_compile) 2>conftest.er1
     5515  ac_status=$?
     5516  grep -v '^ *+' conftest.er1 >conftest.err
     5517  rm -f conftest.er1
     5518  cat conftest.err >&5
     5519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5520  (exit $ac_status); } &&
     5521         { ac_try='test -z "$ac_cxx_werror_flag"
     5522                         || test ! -s conftest.err'
     5523  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5524  (eval $ac_try) 2>&5
     5525  ac_status=$?
     5526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5527  (exit $ac_status); }; } &&
     5528         { ac_try='test -s conftest.$ac_objext'
     5529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5530  (eval $ac_try) 2>&5
     5531  ac_status=$?
     5532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5533  (exit $ac_status); }; }; then
     5534  ac_header_compiler=yes
     5535else
     5536  echo "$as_me: failed program was:" >&5
     5537sed 's/^/| /' conftest.$ac_ext >&5
     5538
     5539ac_header_compiler=no
     5540fi
     5541rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5542echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5543echo "${ECHO_T}$ac_header_compiler" >&6
     5544
     5545# Is the header present?
     5546echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5547echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5548cat >conftest.$ac_ext <<_ACEOF
     5549/* confdefs.h.  */
     5550_ACEOF
     5551cat confdefs.h >>conftest.$ac_ext
     5552cat >>conftest.$ac_ext <<_ACEOF
     5553/* end confdefs.h.  */
     5554#include <$ac_header>
     5555_ACEOF
     5556if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5557  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5558  ac_status=$?
     5559  grep -v '^ *+' conftest.er1 >conftest.err
     5560  rm -f conftest.er1
     5561  cat conftest.err >&5
     5562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5563  (exit $ac_status); } >/dev/null; then
     5564  if test -s conftest.err; then
     5565    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5566    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5567  else
     5568    ac_cpp_err=
     5569  fi
     5570else
     5571  ac_cpp_err=yes
     5572fi
     5573if test -z "$ac_cpp_err"; then
     5574  ac_header_preproc=yes
     5575else
     5576  echo "$as_me: failed program was:" >&5
     5577sed 's/^/| /' conftest.$ac_ext >&5
     5578
     5579  ac_header_preproc=no
     5580fi
     5581rm -f conftest.err conftest.$ac_ext
     5582echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5583echo "${ECHO_T}$ac_header_preproc" >&6
     5584
     5585# So?  What about this header?
     5586case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5587  yes:no: )
     5588    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5589echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5590    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5591echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5592    ac_header_preproc=yes
     5593    ;;
     5594  no:yes:* )
     5595    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5596echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5597    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5598echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5599    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5600echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5601    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5602echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5603    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5604echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5605    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5606echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5607    (
     5608      cat <<\_ASBOX
     5609## ----------------------------------------- ##
     5610## Report this to coin-ipopt@www-124.ibm.com ##
     5611## ----------------------------------------- ##
     5612_ASBOX
     5613    ) |
     5614      sed "s/^/$as_me: WARNING:     /" >&2
     5615    ;;
     5616esac
     5617echo "$as_me:$LINENO: checking for $ac_header" >&5
     5618echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5619if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5620  echo $ECHO_N "(cached) $ECHO_C" >&6
     5621else
     5622  eval "$as_ac_Header=\$ac_header_preproc"
     5623fi
     5624echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5625echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5626
     5627fi
     5628if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5629  cat >>confdefs.h <<_ACEOF
     5630#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5631_ACEOF
     5632
     5633fi
     5634
     5635done
     5636
     5637
     5638for ac_header in cfloat
     5639do
     5640as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5641if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5642  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5643echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5644if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5645  echo $ECHO_N "(cached) $ECHO_C" >&6
     5646fi
     5647echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5648echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5649else
     5650  # Is the header compilable?
     5651echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5652echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5653cat >conftest.$ac_ext <<_ACEOF
     5654/* confdefs.h.  */
     5655_ACEOF
     5656cat confdefs.h >>conftest.$ac_ext
     5657cat >>conftest.$ac_ext <<_ACEOF
     5658/* end confdefs.h.  */
     5659$ac_includes_default
     5660#include <$ac_header>
     5661_ACEOF
     5662rm -f conftest.$ac_objext
     5663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5664  (eval $ac_compile) 2>conftest.er1
     5665  ac_status=$?
     5666  grep -v '^ *+' conftest.er1 >conftest.err
     5667  rm -f conftest.er1
     5668  cat conftest.err >&5
     5669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5670  (exit $ac_status); } &&
     5671         { ac_try='test -z "$ac_cxx_werror_flag"
     5672                         || test ! -s conftest.err'
     5673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5674  (eval $ac_try) 2>&5
     5675  ac_status=$?
     5676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5677  (exit $ac_status); }; } &&
     5678         { ac_try='test -s conftest.$ac_objext'
     5679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5680  (eval $ac_try) 2>&5
     5681  ac_status=$?
     5682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5683  (exit $ac_status); }; }; then
     5684  ac_header_compiler=yes
     5685else
     5686  echo "$as_me: failed program was:" >&5
     5687sed 's/^/| /' conftest.$ac_ext >&5
     5688
     5689ac_header_compiler=no
     5690fi
     5691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5692echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5693echo "${ECHO_T}$ac_header_compiler" >&6
     5694
     5695# Is the header present?
     5696echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5697echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5698cat >conftest.$ac_ext <<_ACEOF
     5699/* confdefs.h.  */
     5700_ACEOF
     5701cat confdefs.h >>conftest.$ac_ext
     5702cat >>conftest.$ac_ext <<_ACEOF
     5703/* end confdefs.h.  */
     5704#include <$ac_header>
     5705_ACEOF
     5706if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5707  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5708  ac_status=$?
     5709  grep -v '^ *+' conftest.er1 >conftest.err
     5710  rm -f conftest.er1
     5711  cat conftest.err >&5
     5712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5713  (exit $ac_status); } >/dev/null; then
     5714  if test -s conftest.err; then
     5715    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5716    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5717  else
     5718    ac_cpp_err=
     5719  fi
     5720else
     5721  ac_cpp_err=yes
     5722fi
     5723if test -z "$ac_cpp_err"; then
     5724  ac_header_preproc=yes
     5725else
     5726  echo "$as_me: failed program was:" >&5
     5727sed 's/^/| /' conftest.$ac_ext >&5
     5728
     5729  ac_header_preproc=no
     5730fi
     5731rm -f conftest.err conftest.$ac_ext
     5732echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5733echo "${ECHO_T}$ac_header_preproc" >&6
     5734
     5735# So?  What about this header?
     5736case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5737  yes:no: )
     5738    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5739echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5740    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5741echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5742    ac_header_preproc=yes
     5743    ;;
     5744  no:yes:* )
     5745    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5746echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5747    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5748echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5749    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5750echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5751    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5752echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5753    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5754echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5755    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5756echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5757    (
     5758      cat <<\_ASBOX
     5759## ----------------------------------------- ##
     5760## Report this to coin-ipopt@www-124.ibm.com ##
     5761## ----------------------------------------- ##
     5762_ASBOX
     5763    ) |
     5764      sed "s/^/$as_me: WARNING:     /" >&2
     5765    ;;
     5766esac
     5767echo "$as_me:$LINENO: checking for $ac_header" >&5
     5768echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5769if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5770  echo $ECHO_N "(cached) $ECHO_C" >&6
     5771else
     5772  eval "$as_ac_Header=\$ac_header_preproc"
     5773fi
     5774echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5775echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5776
     5777fi
     5778if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5779  cat >>confdefs.h <<_ACEOF
     5780#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5781_ACEOF
     5782
     5783fi
     5784
     5785done
     5786
     5787
     5788for ac_header in float.h
     5789do
     5790as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5791if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5792  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5793echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5794if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5795  echo $ECHO_N "(cached) $ECHO_C" >&6
     5796fi
     5797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5798echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5799else
     5800  # Is the header compilable?
     5801echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5802echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5803cat >conftest.$ac_ext <<_ACEOF
     5804/* confdefs.h.  */
     5805_ACEOF
     5806cat confdefs.h >>conftest.$ac_ext
     5807cat >>conftest.$ac_ext <<_ACEOF
     5808/* end confdefs.h.  */
     5809$ac_includes_default
     5810#include <$ac_header>
     5811_ACEOF
     5812rm -f conftest.$ac_objext
     5813if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5814  (eval $ac_compile) 2>conftest.er1
     5815  ac_status=$?
     5816  grep -v '^ *+' conftest.er1 >conftest.err
     5817  rm -f conftest.er1
     5818  cat conftest.err >&5
     5819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5820  (exit $ac_status); } &&
     5821         { ac_try='test -z "$ac_cxx_werror_flag"
     5822                         || test ! -s conftest.err'
     5823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5824  (eval $ac_try) 2>&5
     5825  ac_status=$?
     5826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5827  (exit $ac_status); }; } &&
     5828         { ac_try='test -s conftest.$ac_objext'
     5829  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5830  (eval $ac_try) 2>&5
     5831  ac_status=$?
     5832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5833  (exit $ac_status); }; }; then
     5834  ac_header_compiler=yes
     5835else
     5836  echo "$as_me: failed program was:" >&5
     5837sed 's/^/| /' conftest.$ac_ext >&5
     5838
     5839ac_header_compiler=no
     5840fi
     5841rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5842echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5843echo "${ECHO_T}$ac_header_compiler" >&6
     5844
     5845# Is the header present?
     5846echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5847echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5848cat >conftest.$ac_ext <<_ACEOF
     5849/* confdefs.h.  */
     5850_ACEOF
     5851cat confdefs.h >>conftest.$ac_ext
     5852cat >>conftest.$ac_ext <<_ACEOF
     5853/* end confdefs.h.  */
     5854#include <$ac_header>
     5855_ACEOF
     5856if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5857  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5858  ac_status=$?
     5859  grep -v '^ *+' conftest.er1 >conftest.err
     5860  rm -f conftest.er1
     5861  cat conftest.err >&5
     5862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5863  (exit $ac_status); } >/dev/null; then
     5864  if test -s conftest.err; then
     5865    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5866    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     5867  else
     5868    ac_cpp_err=
     5869  fi
     5870else
     5871  ac_cpp_err=yes
     5872fi
     5873if test -z "$ac_cpp_err"; then
     5874  ac_header_preproc=yes
     5875else
     5876  echo "$as_me: failed program was:" >&5
     5877sed 's/^/| /' conftest.$ac_ext >&5
     5878
     5879  ac_header_preproc=no
     5880fi
     5881rm -f conftest.err conftest.$ac_ext
     5882echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5883echo "${ECHO_T}$ac_header_preproc" >&6
     5884
     5885# So?  What about this header?
     5886case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5887  yes:no: )
     5888    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5889echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5890    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5891echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5892    ac_header_preproc=yes
     5893    ;;
     5894  no:yes:* )
     5895    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5896echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5897    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5898echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5899    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5900echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5901    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5902echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5903    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5904echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5905    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5906echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5907    (
     5908      cat <<\_ASBOX
     5909## ----------------------------------------- ##
     5910## Report this to coin-ipopt@www-124.ibm.com ##
     5911## ----------------------------------------- ##
     5912_ASBOX
     5913    ) |
     5914      sed "s/^/$as_me: WARNING:     /" >&2
     5915    ;;
     5916esac
     5917echo "$as_me:$LINENO: checking for $ac_header" >&5
     5918echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5919if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5920  echo $ECHO_N "(cached) $ECHO_C" >&6
     5921else
     5922  eval "$as_ac_Header=\$ac_header_preproc"
     5923fi
     5924echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5925echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5926
     5927fi
     5928if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5929  cat >>confdefs.h <<_ACEOF
     5930#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5931_ACEOF
     5932
     5933fi
     5934
     5935done
     5936
     5937
     5938###################
     5939# Function finite #
     5940###################
     5941
     5942# First check for a few headers
     5943
     5944case $build in
     5945  *-cygwin*) ;;
     5946  *)
     5947for ac_header in ieeefp.h
     5948do
     5949as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5950if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5951  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5952echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5953if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5954  echo $ECHO_N "(cached) $ECHO_C" >&6
     5955fi
     5956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5958else
     5959  # Is the header compilable?
     5960echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5961echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5962cat >conftest.$ac_ext <<_ACEOF
     5963/* confdefs.h.  */
     5964_ACEOF
     5965cat confdefs.h >>conftest.$ac_ext
     5966cat >>conftest.$ac_ext <<_ACEOF
     5967/* end confdefs.h.  */
     5968$ac_includes_default
     5969#include <$ac_header>
     5970_ACEOF
     5971rm -f conftest.$ac_objext
     5972if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5973  (eval $ac_compile) 2>conftest.er1
     5974  ac_status=$?
     5975  grep -v '^ *+' conftest.er1 >conftest.err
     5976  rm -f conftest.er1
     5977  cat conftest.err >&5
     5978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5979  (exit $ac_status); } &&
     5980         { ac_try='test -z "$ac_cxx_werror_flag"
     5981                         || test ! -s conftest.err'
     5982  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5983  (eval $ac_try) 2>&5
     5984  ac_status=$?
     5985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5986  (exit $ac_status); }; } &&
     5987         { ac_try='test -s conftest.$ac_objext'
     5988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5989  (eval $ac_try) 2>&5
     5990  ac_status=$?
     5991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5992  (exit $ac_status); }; }; then
     5993  ac_header_compiler=yes
     5994else
     5995  echo "$as_me: failed program was:" >&5
     5996sed 's/^/| /' conftest.$ac_ext >&5
     5997
     5998ac_header_compiler=no
     5999fi
     6000rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6001echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6002echo "${ECHO_T}$ac_header_compiler" >&6
     6003
     6004# Is the header present?
     6005echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6006echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6007cat >conftest.$ac_ext <<_ACEOF
     6008/* confdefs.h.  */
     6009_ACEOF
     6010cat confdefs.h >>conftest.$ac_ext
     6011cat >>conftest.$ac_ext <<_ACEOF
     6012/* end confdefs.h.  */
     6013#include <$ac_header>
     6014_ACEOF
     6015if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     6016  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6017  ac_status=$?
     6018  grep -v '^ *+' conftest.er1 >conftest.err
     6019  rm -f conftest.er1
     6020  cat conftest.err >&5
     6021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6022  (exit $ac_status); } >/dev/null; then
     6023  if test -s conftest.err; then
     6024    ac_cpp_err=$ac_cxx_preproc_warn_flag
     6025    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     6026  else
     6027    ac_cpp_err=
     6028  fi
     6029else
     6030  ac_cpp_err=yes
     6031fi
     6032if test -z "$ac_cpp_err"; then
     6033  ac_header_preproc=yes
     6034else
     6035  echo "$as_me: failed program was:" >&5
     6036sed 's/^/| /' conftest.$ac_ext >&5
     6037
     6038  ac_header_preproc=no
     6039fi
     6040rm -f conftest.err conftest.$ac_ext
     6041echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6042echo "${ECHO_T}$ac_header_preproc" >&6
     6043
     6044# So?  What about this header?
     6045case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6046  yes:no: )
     6047    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6048echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6049    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6050echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6051    ac_header_preproc=yes
     6052    ;;
     6053  no:yes:* )
     6054    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6055echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6056    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6057echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6058    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6059echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6060    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6061echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6062    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6063echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6064    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6065echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6066    (
     6067      cat <<\_ASBOX
     6068## ----------------------------------------- ##
     6069## Report this to coin-ipopt@www-124.ibm.com ##
     6070## ----------------------------------------- ##
     6071_ASBOX
     6072    ) |
     6073      sed "s/^/$as_me: WARNING:     /" >&2
     6074    ;;
     6075esac
     6076echo "$as_me:$LINENO: checking for $ac_header" >&5
     6077echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6078if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6079  echo $ECHO_N "(cached) $ECHO_C" >&6
     6080else
     6081  eval "$as_ac_Header=\$ac_header_preproc"
     6082fi
     6083echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6084echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6085
     6086fi
     6087if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6088  cat >>confdefs.h <<_ACEOF
     6089#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6090_ACEOF
     6091
     6092fi
     6093
     6094done
     6095
     6096
     6097for ac_header in cieeefp
     6098do
     6099as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6100if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6101  echo "$as_me:$LINENO: checking for $ac_header" >&5
     6102echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6103if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6104  echo $ECHO_N "(cached) $ECHO_C" >&6
     6105fi
     6106echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6107echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6108else
     6109  # Is the header compilable?
     6110echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6111echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6112cat >conftest.$ac_ext <<_ACEOF
     6113/* confdefs.h.  */
     6114_ACEOF
     6115cat confdefs.h >>conftest.$ac_ext
     6116cat >>conftest.$ac_ext <<_ACEOF
     6117/* end confdefs.h.  */
     6118$ac_includes_default
     6119#include <$ac_header>
     6120_ACEOF
     6121rm -f conftest.$ac_objext
     6122if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6123  (eval $ac_compile) 2>conftest.er1
     6124  ac_status=$?
     6125  grep -v '^ *+' conftest.er1 >conftest.err
     6126  rm -f conftest.er1
     6127  cat conftest.err >&5
     6128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6129  (exit $ac_status); } &&
     6130         { ac_try='test -z "$ac_cxx_werror_flag"
     6131                         || test ! -s conftest.err'
     6132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6133  (eval $ac_try) 2>&5
     6134  ac_status=$?
     6135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6136  (exit $ac_status); }; } &&
     6137         { ac_try='test -s conftest.$ac_objext'
     6138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6139  (eval $ac_try) 2>&5
     6140  ac_status=$?
     6141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6142  (exit $ac_status); }; }; then
     6143  ac_header_compiler=yes
     6144else
     6145  echo "$as_me: failed program was:" >&5
     6146sed 's/^/| /' conftest.$ac_ext >&5
     6147
     6148ac_header_compiler=no
     6149fi
     6150rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6151echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6152echo "${ECHO_T}$ac_header_compiler" >&6
     6153
     6154# Is the header present?
     6155echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6156echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6157cat >conftest.$ac_ext <<_ACEOF
     6158/* confdefs.h.  */
     6159_ACEOF
     6160cat confdefs.h >>conftest.$ac_ext
     6161cat >>conftest.$ac_ext <<_ACEOF
     6162/* end confdefs.h.  */
     6163#include <$ac_header>
     6164_ACEOF
     6165if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     6166  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6167  ac_status=$?
     6168  grep -v '^ *+' conftest.er1 >conftest.err
     6169  rm -f conftest.er1
     6170  cat conftest.err >&5
     6171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6172  (exit $ac_status); } >/dev/null; then
     6173  if test -s conftest.err; then
     6174    ac_cpp_err=$ac_cxx_preproc_warn_flag
     6175    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     6176  else
     6177    ac_cpp_err=
     6178  fi
     6179else
     6180  ac_cpp_err=yes
     6181fi
     6182if test -z "$ac_cpp_err"; then
     6183  ac_header_preproc=yes
     6184else
     6185  echo "$as_me: failed program was:" >&5
     6186sed 's/^/| /' conftest.$ac_ext >&5
     6187
     6188  ac_header_preproc=no
     6189fi
     6190rm -f conftest.err conftest.$ac_ext
     6191echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6192echo "${ECHO_T}$ac_header_preproc" >&6
     6193
     6194# So?  What about this header?
     6195case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6196  yes:no: )
     6197    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6198echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6199    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6200echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6201    ac_header_preproc=yes
     6202    ;;
     6203  no:yes:* )
     6204    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6205echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6206    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6207echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6208    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6209echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6210    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6211echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6212    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6213echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6214    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6215echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6216    (
     6217      cat <<\_ASBOX
     6218## ----------------------------------------- ##
     6219## Report this to coin-ipopt@www-124.ibm.com ##
     6220## ----------------------------------------- ##
     6221_ASBOX
     6222    ) |
     6223      sed "s/^/$as_me: WARNING:     /" >&2
     6224    ;;
     6225esac
     6226echo "$as_me:$LINENO: checking for $ac_header" >&5
     6227echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     6228if eval "test \"\${$as_ac_Header+set}\" = set"; then
     6229  echo $ECHO_N "(cached) $ECHO_C" >&6
     6230else
     6231  eval "$as_ac_Header=\$ac_header_preproc"
     6232fi
     6233echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     6234echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6235
     6236fi
     6237if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6238  cat >>confdefs.h <<_ACEOF
     6239#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6240_ACEOF
     6241
     6242fi
     6243
     6244done
     6245 ;;
     6246esac
     6247
     6248# now try to guess the correct name of the finite function
     6249
     6250MY_C_FINITE=
     6251echo "$as_me:$LINENO: checking whether finite is declared" >&5
     6252echo $ECHO_N "checking whether finite is declared... $ECHO_C" >&6
     6253if test "${ac_cv_have_decl_finite+set}" = set; then
     6254  echo $ECHO_N "(cached) $ECHO_C" >&6
     6255else
     6256  cat >conftest.$ac_ext <<_ACEOF
     6257/* confdefs.h.  */
     6258_ACEOF
     6259cat confdefs.h >>conftest.$ac_ext
     6260cat >>conftest.$ac_ext <<_ACEOF
     6261/* end confdefs.h.  */
     6262
     6263#ifdef HAVE_CMATH
     6264# include <cmath>
     6265#else
     6266# ifdef HAVE_MATH_H
     6267#  include <math.h>
     6268# endif
     6269#endif
     6270#ifdef HAVE_CFLOAT
     6271# include <cfloat>
     6272#else
     6273# ifdef HAVE_FLOAT_H
     6274#  include <float.h>
     6275# endif
     6276#endif
     6277#ifdef HAVE_CIEEEFP
     6278# include <cieeefp>
     6279#else
     6280# ifdef HAVE_IEEEFP_H
     6281#  include <ieeefp.h>
     6282# endif
     6283#endif
     6284
     6285int
     6286main ()
     6287{
     6288#ifndef finite
     6289  char *p = (char *) finite;
     6290#endif
     6291
     6292  ;
     6293  return 0;
     6294}
     6295_ACEOF
     6296rm -f conftest.$ac_objext
     6297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6298  (eval $ac_compile) 2>conftest.er1
     6299  ac_status=$?
     6300  grep -v '^ *+' conftest.er1 >conftest.err
     6301  rm -f conftest.er1
     6302  cat conftest.err >&5
     6303  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6304  (exit $ac_status); } &&
     6305         { ac_try='test -z "$ac_cxx_werror_flag"
     6306                         || test ! -s conftest.err'
     6307  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6308  (eval $ac_try) 2>&5
     6309  ac_status=$?
     6310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6311  (exit $ac_status); }; } &&
     6312         { ac_try='test -s conftest.$ac_objext'
     6313  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6314  (eval $ac_try) 2>&5
     6315  ac_status=$?
     6316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6317  (exit $ac_status); }; }; then
     6318  ac_cv_have_decl_finite=yes
     6319else
     6320  echo "$as_me: failed program was:" >&5
     6321sed 's/^/| /' conftest.$ac_ext >&5
     6322
     6323ac_cv_have_decl_finite=no
     6324fi
     6325rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6326fi
     6327echo "$as_me:$LINENO: result: $ac_cv_have_decl_finite" >&5
     6328echo "${ECHO_T}$ac_cv_have_decl_finite" >&6
     6329if test $ac_cv_have_decl_finite = yes; then
     6330  MY_C_FINITE=finite
     6331fi
     6332
     6333if test -z "$MY_C_FINITE"; then
     6334  echo "$as_me:$LINENO: checking whether _finite is declared" >&5
     6335echo $ECHO_N "checking whether _finite is declared... $ECHO_C" >&6
     6336if test "${ac_cv_have_decl__finite+set}" = set; then
     6337  echo $ECHO_N "(cached) $ECHO_C" >&6
     6338else
     6339  cat >conftest.$ac_ext <<_ACEOF
     6340/* confdefs.h.  */
     6341_ACEOF
     6342cat confdefs.h >>conftest.$ac_ext
     6343cat >>conftest.$ac_ext <<_ACEOF
     6344/* end confdefs.h.  */
     6345
     6346#ifdef HAVE_CMATH
     6347# include <cmath>
     6348#else
     6349# ifdef HAVE_MATH_H
     6350#  include <math.h>
     6351# endif
     6352#endif
     6353#ifdef HAVE_CFLOAT
     6354# include <cfloat>
     6355#else
     6356# ifdef HAVE_FLOAT_H
     6357#  include <float.h>
     6358# endif
     6359#endif
     6360#ifdef HAVE_CIEEEFP
     6361# include <cieeefp>
     6362#else
     6363# ifdef HAVE_IEEEFP_H
     6364#  include <ieeefp.h>
     6365# endif
     6366#endif
     6367
     6368int
     6369main ()
     6370{
     6371#ifndef _finite
     6372  char *p = (char *) _finite;
     6373#endif
     6374
     6375  ;
     6376  return 0;
     6377}
     6378_ACEOF
     6379rm -f conftest.$ac_objext
     6380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6381  (eval $ac_compile) 2>conftest.er1
     6382  ac_status=$?
     6383  grep -v '^ *+' conftest.er1 >conftest.err
     6384  rm -f conftest.er1
     6385  cat conftest.err >&5
     6386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6387  (exit $ac_status); } &&
     6388         { ac_try='test -z "$ac_cxx_werror_flag"
     6389                         || test ! -s conftest.err'
     6390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6391  (eval $ac_try) 2>&5
     6392  ac_status=$?
     6393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6394  (exit $ac_status); }; } &&
     6395         { ac_try='test -s conftest.$ac_objext'
     6396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6397  (eval $ac_try) 2>&5
     6398  ac_status=$?
     6399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6400  (exit $ac_status); }; }; then
     6401  ac_cv_have_decl__finite=yes
     6402else
     6403  echo "$as_me: failed program was:" >&5
     6404sed 's/^/| /' conftest.$ac_ext >&5
     6405
     6406ac_cv_have_decl__finite=no
     6407fi
     6408rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6409fi
     6410echo "$as_me:$LINENO: result: $ac_cv_have_decl__finite" >&5
     6411echo "${ECHO_T}$ac_cv_have_decl__finite" >&6
     6412if test $ac_cv_have_decl__finite = yes; then
     6413  MY_C_FINITE=_finite
     6414fi
     6415
     6416  if test -z "$MY_C_FINITE"; then
     6417    echo "$as_me:$LINENO: checking whether isfinite is declared" >&5
     6418echo $ECHO_N "checking whether isfinite is declared... $ECHO_C" >&6
     6419if test "${ac_cv_have_decl_isfinite+set}" = set; then
     6420  echo $ECHO_N "(cached) $ECHO_C" >&6
     6421else
     6422  cat >conftest.$ac_ext <<_ACEOF
     6423/* confdefs.h.  */
     6424_ACEOF
     6425cat confdefs.h >>conftest.$ac_ext
     6426cat >>conftest.$ac_ext <<_ACEOF
     6427/* end confdefs.h.  */
     6428
     6429#ifdef HAVE_CMATH
     6430# include <cmath>
     6431#else
     6432# ifdef HAVE_MATH_H
     6433#  include <math.h>
     6434# endif
     6435#endif
     6436#ifdef HAVE_CFLOAT
     6437# include <cfloat>
     6438#else
     6439# ifdef HAVE_FLOAT_H
     6440#  include <float.h>
     6441# endif
     6442#endif
     6443#ifdef HAVE_CIEEEFP
     6444# include <cieeefp>
     6445#else
     6446# ifdef HAVE_IEEEFP_H
     6447#  include <ieeefp.h>
     6448# endif
     6449#endif
     6450
     6451int
     6452main ()
     6453{
     6454#ifndef isfinite
     6455  char *p = (char *) isfinite;
     6456#endif
     6457
     6458  ;
     6459  return 0;
     6460}
     6461_ACEOF
     6462rm -f conftest.$ac_objext
     6463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6464  (eval $ac_compile) 2>conftest.er1
     6465  ac_status=$?
     6466  grep -v '^ *+' conftest.er1 >conftest.err
     6467  rm -f conftest.er1
     6468  cat conftest.err >&5
     6469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6470  (exit $ac_status); } &&
     6471         { ac_try='test -z "$ac_cxx_werror_flag"
     6472                         || test ! -s conftest.err'
     6473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6474  (eval $ac_try) 2>&5
     6475  ac_status=$?
     6476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6477  (exit $ac_status); }; } &&
     6478         { ac_try='test -s conftest.$ac_objext'
     6479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6480  (eval $ac_try) 2>&5
     6481  ac_status=$?
     6482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6483  (exit $ac_status); }; }; then
     6484  ac_cv_have_decl_isfinite=yes
     6485else
     6486  echo "$as_me: failed program was:" >&5
     6487sed 's/^/| /' conftest.$ac_ext >&5
     6488
     6489ac_cv_have_decl_isfinite=no
     6490fi
     6491rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6492fi
     6493echo "$as_me:$LINENO: result: $ac_cv_have_decl_isfinite" >&5
     6494echo "${ECHO_T}$ac_cv_have_decl_isfinite" >&6
     6495if test $ac_cv_have_decl_isfinite = yes; then
     6496  MY_C_FINITE=isfinite
     6497fi
     6498
     6499  fi
     6500fi
     6501if test -z "$MY_C_FINITE"; then
     6502  { echo "$as_me:$LINENO: WARNING: Cannot find C-function for checking NaN and Inf.  Check will be disabled" >&5
     6503echo "$as_me: WARNING: Cannot find C-function for checking NaN and Inf.  Check will be disabled" >&2;}
     6504else
     6505
     6506cat >>confdefs.h <<_ACEOF
     6507#define MY_C_FINITE $MY_C_FINITE
     6508_ACEOF
     6509
     6510fi
     6511
     6512###########
     6513# va_copy #
     6514###########
     6515
     6516echo "$as_me:$LINENO: checking whether va_copy is declared" >&5
     6517echo $ECHO_N "checking whether va_copy is declared... $ECHO_C" >&6
     6518if test "${ac_cv_have_decl_va_copy+set}" = set; then
     6519  echo $ECHO_N "(cached) $ECHO_C" >&6
     6520else
     6521  cat >conftest.$ac_ext <<_ACEOF
     6522/* confdefs.h.  */
     6523_ACEOF
     6524cat confdefs.h >>conftest.$ac_ext
     6525cat >>conftest.$ac_ext <<_ACEOF
     6526/* end confdefs.h.  */
     6527
     6528#ifdef HAVE_CSTDARG
     6529# include <cstdarg>
     6530#else
     6531# ifdef HAVE_STDARG_H
     6532#  include <stdarg.h>
     6533# endif
     6534#endif
     6535
     6536int
     6537main ()
     6538{
     6539#ifndef va_copy
     6540  char *p = (char *) va_copy;
     6541#endif
     6542
     6543  ;
     6544  return 0;
     6545}
     6546_ACEOF
     6547rm -f conftest.$ac_objext
     6548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6549  (eval $ac_compile) 2>conftest.er1
     6550  ac_status=$?
     6551  grep -v '^ *+' conftest.er1 >conftest.err
     6552  rm -f conftest.er1
     6553  cat conftest.err >&5
     6554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6555  (exit $ac_status); } &&
     6556         { ac_try='test -z "$ac_cxx_werror_flag"
     6557                         || test ! -s conftest.err'
     6558  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6559  (eval $ac_try) 2>&5
     6560  ac_status=$?
     6561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6562  (exit $ac_status); }; } &&
     6563         { ac_try='test -s conftest.$ac_objext'
     6564  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6565  (eval $ac_try) 2>&5
     6566  ac_status=$?
     6567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6568  (exit $ac_status); }; }; then
     6569  ac_cv_have_decl_va_copy=yes
     6570else
     6571  echo "$as_me: failed program was:" >&5
     6572sed 's/^/| /' conftest.$ac_ext >&5
     6573
     6574ac_cv_have_decl_va_copy=no
     6575fi
     6576rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6577fi
     6578echo "$as_me:$LINENO: result: $ac_cv_have_decl_va_copy" >&5
     6579echo "${ECHO_T}$ac_cv_have_decl_va_copy" >&6
     6580if test $ac_cv_have_decl_va_copy = yes; then
     6581
     6582cat >>confdefs.h <<\_ACEOF
     6583#define HAVE_VA_COPY 1
     6584_ACEOF
     6585
     6586fi
     6587
     6588
     6589ac_ext=c
     6590ac_cpp='$CPP $CPPFLAGS'
     6591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6593ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6594
     6595
    36356596###################################
    36366597#   Fortran 77 compiler options   #
     
    37366697
    37376698# Provide some information about the compiler.
    3738 echo "$as_me:3738:" \
     6699echo "$as_me:6699:" \
    37396700     "checking for Fortran 77 compiler version" >&5
    37406701ac_compiler=`set X $ac_compile; echo $2`
     
    39336894ac_save_FFLAGS=$FFLAGS
    39346895FFLAGS="$FFLAGS $ac_verb"
    3935 (eval echo $as_me:3935: \"$ac_link\") >&5
     6896(eval echo $as_me:6896: \"$ac_link\") >&5
    39366897ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39376898echo "$ac_f77_v_output" >&5
     
    40116972ac_save_FFLAGS=$FFLAGS
    40126973FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4013 (eval echo $as_me:4013: \"$ac_link\") >&5
     6974(eval echo $as_me:6974: \"$ac_link\") >&5
    40146975ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    40156976echo "$ac_f77_v_output" >&5
     
    57108671######################################
    57118672
    5712 ac_ext=c
    5713 ac_cpp='$CPP $CPPFLAGS'
    5714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5717 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    5718 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    5719 # On Suns, sometimes $CPP names a directory.
    5720 if test -n "$CPP" && test -d "$CPP"; then
    5721   CPP=
    5722 fi
    5723 if test -z "$CPP"; then
    5724   if test "${ac_cv_prog_CPP+set}" = set; then
    5725   echo $ECHO_N "(cached) $ECHO_C" >&6
    5726 else
    5727       # Double quotes because CPP needs to be expanded
    5728     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    5729     do
    5730       ac_preproc_ok=false
    5731 for ac_c_preproc_warn_flag in '' yes
    5732 do
    5733   # Use a header file that comes with gcc, so configuring glibc
    5734   # with a fresh cross-compiler works.
    5735   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5736   # <limits.h> exists even on freestanding compilers.
    5737   # On the NeXT, cc -E runs the code through the compiler's parser,
    5738   # not just through cpp. "Syntax error" is here to catch this case.
    5739   cat >conftest.$ac_ext <<_ACEOF
    5740 /* confdefs.h.  */
    5741 _ACEOF
    5742 cat confdefs.h >>conftest.$ac_ext
    5743 cat >>conftest.$ac_ext <<_ACEOF
    5744 /* end confdefs.h.  */
    5745 #ifdef __STDC__
    5746 # include <limits.h>
     8673
     8674cat >>confdefs.h <<\_ACEOF
     8675#define FORTRAN_INTEGER_TYPE int
     8676_ACEOF
     8677
     8678#AC_CHECK_SIZEOF([long])
     8679#AC_CHECK_SIZEOF([int])
     8680#AC_CHECK_SIZEOF([double])
     8681#AC_MSG_CHECKING([for C type corresponding to Fortran INTEGER])
     8682#if test $ac_cv_sizeof_long = $ac_cv_sizeof_double; then
     8683#  AC_DEFINE([FORTRAN_INTEGER_TYPE],[int],[Define to the C type corresponding to Fortran INTEGER])
     8684#  AC_MSG_RESULT([int])
    57478685#else
    5748 # include <assert.h>
    5749 #endif
    5750                      Syntax error
    5751 _ACEOF
    5752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5754   ac_status=$?
    5755   grep -v '^ *+' conftest.er1 >conftest.err
    5756   rm -f conftest.er1
    5757   cat conftest.err >&5
    5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5759   (exit $ac_status); } >/dev/null; then
    5760   if test -s conftest.err; then
    5761     ac_cpp_err=$ac_c_preproc_warn_flag
    5762     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5763   else
    5764     ac_cpp_err=
    5765   fi
    5766 else
    5767   ac_cpp_err=yes
    5768 fi
    5769 if test -z "$ac_cpp_err"; then
    5770   :
    5771 else
    5772   echo "$as_me: failed program was:" >&5
    5773 sed 's/^/| /' conftest.$ac_ext >&5
    5774 
    5775   # Broken: fails on valid input.
    5776 continue
    5777 fi
    5778 rm -f conftest.err conftest.$ac_ext
    5779 
    5780   # OK, works on sane cases.  Now check whether non-existent headers
    5781   # can be detected and how.
    5782   cat >conftest.$ac_ext <<_ACEOF
    5783 /* confdefs.h.  */
    5784 _ACEOF
    5785 cat confdefs.h >>conftest.$ac_ext
    5786 cat >>conftest.$ac_ext <<_ACEOF
    5787 /* end confdefs.h.  */
    5788 #include <ac_nonexistent.h>
    5789 _ACEOF
    5790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5791   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5792   ac_status=$?
    5793   grep -v '^ *+' conftest.er1 >conftest.err
    5794   rm -f conftest.er1
    5795   cat conftest.err >&5
    5796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5797   (exit $ac_status); } >/dev/null; then
    5798   if test -s conftest.err; then
    5799     ac_cpp_err=$ac_c_preproc_warn_flag
    5800     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5801   else
    5802     ac_cpp_err=
    5803   fi
    5804 else
    5805   ac_cpp_err=yes
    5806 fi
    5807 if test -z "$ac_cpp_err"; then
    5808   # Broken: success on invalid input.
    5809 continue
    5810 else
    5811   echo "$as_me: failed program was:" >&5
    5812 sed 's/^/| /' conftest.$ac_ext >&5
    5813 
    5814   # Passes both tests.
    5815 ac_preproc_ok=:
    5816 break
    5817 fi
    5818 rm -f conftest.err conftest.$ac_ext
    5819 
    5820 done
    5821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5822 rm -f conftest.err conftest.$ac_ext
    5823 if $ac_preproc_ok; then
    5824   break
    5825 fi
    5826 
    5827     done
    5828     ac_cv_prog_CPP=$CPP
    5829 
    5830 fi
    5831   CPP=$ac_cv_prog_CPP
    5832 else
    5833   ac_cv_prog_CPP=$CPP
    5834 fi
    5835 echo "$as_me:$LINENO: result: $CPP" >&5
    5836 echo "${ECHO_T}$CPP" >&6
    5837 ac_preproc_ok=false
    5838 for ac_c_preproc_warn_flag in '' yes
    5839 do
    5840   # Use a header file that comes with gcc, so configuring glibc
    5841   # with a fresh cross-compiler works.
    5842   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5843   # <limits.h> exists even on freestanding compilers.
    5844   # On the NeXT, cc -E runs the code through the compiler's parser,
    5845   # not just through cpp. "Syntax error" is here to catch this case.
    5846   cat >conftest.$ac_ext <<_ACEOF
    5847 /* confdefs.h.  */
    5848 _ACEOF
    5849 cat confdefs.h >>conftest.$ac_ext
    5850 cat >>conftest.$ac_ext <<_ACEOF
    5851 /* end confdefs.h.  */
    5852 #ifdef __STDC__
    5853 # include <limits.h>
    5854 #else
    5855 # include <assert.h>
    5856 #endif
    5857                      Syntax error
    5858 _ACEOF
    5859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5860   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5861   ac_status=$?
    5862   grep -v '^ *+' conftest.er1 >conftest.err
    5863   rm -f conftest.er1
    5864   cat conftest.err >&5
    5865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5866   (exit $ac_status); } >/dev/null; then
    5867   if test -s conftest.err; then
    5868     ac_cpp_err=$ac_c_preproc_warn_flag
    5869     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5870   else
    5871     ac_cpp_err=
    5872   fi
    5873 else
    5874   ac_cpp_err=yes
    5875 fi
    5876 if test -z "$ac_cpp_err"; then
    5877   :
    5878 else
    5879   echo "$as_me: failed program was:" >&5
    5880 sed 's/^/| /' conftest.$ac_ext >&5
    5881 
    5882   # Broken: fails on valid input.
    5883 continue
    5884 fi
    5885 rm -f conftest.err conftest.$ac_ext
    5886 
    5887   # OK, works on sane cases.  Now check whether non-existent headers
    5888   # can be detected and how.
    5889   cat >conftest.$ac_ext <<_ACEOF
    5890 /* confdefs.h.  */
    5891 _ACEOF
    5892 cat confdefs.h >>conftest.$ac_ext
    5893 cat >>conftest.$ac_ext <<_ACEOF
    5894 /* end confdefs.h.  */
    5895 #include <ac_nonexistent.h>
    5896 _ACEOF
    5897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5898   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5899   ac_status=$?
    5900   grep -v '^ *+' conftest.er1 >conftest.err
    5901   rm -f conftest.er1
    5902   cat conftest.err >&5
    5903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5904   (exit $ac_status); } >/dev/null; then
    5905   if test -s conftest.err; then
    5906     ac_cpp_err=$ac_c_preproc_warn_flag
    5907     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5908   else
    5909     ac_cpp_err=
    5910   fi
    5911 else
    5912   ac_cpp_err=yes
    5913 fi
    5914 if test -z "$ac_cpp_err"; then
    5915   # Broken: success on invalid input.
    5916 continue
    5917 else
    5918   echo "$as_me: failed program was:" >&5
    5919 sed 's/^/| /' conftest.$ac_ext >&5
    5920 
    5921   # Passes both tests.
    5922 ac_preproc_ok=:
    5923 break
    5924 fi
    5925 rm -f conftest.err conftest.$ac_ext
    5926 
    5927 done
    5928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5929 rm -f conftest.err conftest.$ac_ext
    5930 if $ac_preproc_ok; then
    5931   :
    5932 else
    5933   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    5934 See \`config.log' for more details." >&5
    5935 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    5936 See \`config.log' for more details." >&2;}
    5937    { (exit 1); exit 1; }; }
    5938 fi
    5939 
    5940 ac_ext=c
    5941 ac_cpp='$CPP $CPPFLAGS'
    5942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5945 
    5946 
    5947 echo "$as_me:$LINENO: checking for egrep" >&5
    5948 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    5949 if test "${ac_cv_prog_egrep+set}" = set; then
    5950   echo $ECHO_N "(cached) $ECHO_C" >&6
    5951 else
    5952   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    5953     then ac_cv_prog_egrep='grep -E'
    5954     else ac_cv_prog_egrep='egrep'
    5955     fi
    5956 fi
    5957 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    5958 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    5959  EGREP=$ac_cv_prog_egrep
    5960 
    5961 
    5962 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5963 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5964 if test "${ac_cv_header_stdc+set}" = set; then
    5965   echo $ECHO_N "(cached) $ECHO_C" >&6
    5966 else
    5967   cat >conftest.$ac_ext <<_ACEOF
    5968 /* confdefs.h.  */
    5969 _ACEOF
    5970 cat confdefs.h >>conftest.$ac_ext
    5971 cat >>conftest.$ac_ext <<_ACEOF
    5972 /* end confdefs.h.  */
    5973 #include <stdlib.h>
    5974 #include <stdarg.h>
    5975 #include <string.h>
    5976 #include <float.h>
    5977 
    5978 #ifdef F77_DUMMY_MAIN
    5979 
    5980 #  ifdef __cplusplus
    5981      extern "C"
    5982 #  endif
    5983    int F77_DUMMY_MAIN() { return 1; }
    5984 
    5985 #endif
    5986 int
    5987 main ()
    5988 {
    5989 
    5990   ;
    5991   return 0;
    5992 }
    5993 _ACEOF
    5994 rm -f conftest.$ac_objext
    5995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5996   (eval $ac_compile) 2>conftest.er1
    5997   ac_status=$?
    5998   grep -v '^ *+' conftest.er1 >conftest.err
    5999   rm -f conftest.er1
    6000   cat conftest.err >&5
    6001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6002   (exit $ac_status); } &&
    6003          { ac_try='test -z "$ac_c_werror_flag"
    6004                          || test ! -s conftest.err'
    6005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6006   (eval $ac_try) 2>&5
    6007   ac_status=$?
    6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6009   (exit $ac_status); }; } &&
    6010          { ac_try='test -s conftest.$ac_objext'
    6011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6012   (eval $ac_try) 2>&5
    6013   ac_status=$?
    6014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6015   (exit $ac_status); }; }; then
    6016   ac_cv_header_stdc=yes
    6017 else
    6018   echo "$as_me: failed program was:" >&5
    6019 sed 's/^/| /' conftest.$ac_ext >&5
    6020 
    6021 ac_cv_header_stdc=no
    6022 fi
    6023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6024 
    6025 if test $ac_cv_header_stdc = yes; then
    6026   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    6027   cat >conftest.$ac_ext <<_ACEOF
    6028 /* confdefs.h.  */
    6029 _ACEOF
    6030 cat confdefs.h >>conftest.$ac_ext
    6031 cat >>conftest.$ac_ext <<_ACEOF
    6032 /* end confdefs.h.  */
    6033 #include <string.h>
    6034 
    6035 _ACEOF
    6036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6037   $EGREP "memchr" >/dev/null 2>&1; then
    6038   :
    6039 else
    6040   ac_cv_header_stdc=no
    6041 fi
    6042 rm -f conftest*
    6043 
    6044 fi
    6045 
    6046 if test $ac_cv_header_stdc = yes; then
    6047   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    6048   cat >conftest.$ac_ext <<_ACEOF
    6049 /* confdefs.h.  */
    6050 _ACEOF
    6051 cat confdefs.h >>conftest.$ac_ext
    6052 cat >>conftest.$ac_ext <<_ACEOF
    6053 /* end confdefs.h.  */
    6054 #include <stdlib.h>
    6055 
    6056 _ACEOF
    6057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6058   $EGREP "free" >/dev/null 2>&1; then
    6059   :
    6060 else
    6061   ac_cv_header_stdc=no
    6062 fi
    6063 rm -f conftest*
    6064 
    6065 fi
    6066 
    6067 if test $ac_cv_header_stdc = yes; then
    6068   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    6069   if test "$cross_compiling" = yes; then
    6070   :
    6071 else
    6072   cat >conftest.$ac_ext <<_ACEOF
    6073 /* confdefs.h.  */
    6074 _ACEOF
    6075 cat confdefs.h >>conftest.$ac_ext
    6076 cat >>conftest.$ac_ext <<_ACEOF
    6077 /* end confdefs.h.  */
    6078 #include <ctype.h>
    6079 #if ((' ' & 0x0FF) == 0x020)
    6080 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    6081 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    6082 #else
    6083 # define ISLOWER(c) \
    6084                    (('a' <= (c) && (c) <= 'i') \
    6085                      || ('j' <= (c) && (c) <= 'r') \
    6086                      || ('s' <= (c) && (c) <= 'z'))
    6087 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    6088 #endif
    6089 
    6090 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    6091 int
    6092 main ()
    6093 {
    6094   int i;
    6095   for (i = 0; i < 256; i++)
    6096     if (XOR (islower (i), ISLOWER (i))
    6097         || toupper (i) != TOUPPER (i))
    6098       exit(2);
    6099   exit (0);
    6100 }
    6101 _ACEOF
    6102 rm -f conftest$ac_exeext
    6103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6104   (eval $ac_link) 2>&5
    6105   ac_status=$?
    6106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6107   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6109   (eval $ac_try) 2>&5
    6110   ac_status=$?
    6111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6112   (exit $ac_status); }; }; then
    6113   :
    6114 else
    6115   echo "$as_me: program exited with status $ac_status" >&5
    6116 echo "$as_me: failed program was:" >&5
    6117 sed 's/^/| /' conftest.$ac_ext >&5
    6118 
    6119 ( exit $ac_status )
    6120 ac_cv_header_stdc=no
    6121 fi
    6122 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6123 fi
    6124 fi
    6125 fi
    6126 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    6127 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    6128 if test $ac_cv_header_stdc = yes; then
    6129 
    6130 cat >>confdefs.h <<\_ACEOF
    6131 #define STDC_HEADERS 1
    6132 _ACEOF
    6133 
    6134 fi
    6135 
    6136 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    6137 
    6138 
    6139 
    6140 
    6141 
    6142 
    6143 
    6144 
    6145 
    6146 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    6147                   inttypes.h stdint.h unistd.h
    6148 do
    6149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6150 echo "$as_me:$LINENO: checking for $ac_header" >&5
    6151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6153   echo $ECHO_N "(cached) $ECHO_C" >&6
    6154 else
    6155   cat >conftest.$ac_ext <<_ACEOF
    6156 /* confdefs.h.  */
    6157 _ACEOF
    6158 cat confdefs.h >>conftest.$ac_ext
    6159 cat >>conftest.$ac_ext <<_ACEOF
    6160 /* end confdefs.h.  */
    6161 $ac_includes_default
    6162 
    6163 #include <$ac_header>
    6164 _ACEOF
    6165 rm -f conftest.$ac_objext
    6166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6167   (eval $ac_compile) 2>conftest.er1
    6168   ac_status=$?
    6169   grep -v '^ *+' conftest.er1 >conftest.err
    6170   rm -f conftest.er1
    6171   cat conftest.err >&5
    6172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6173   (exit $ac_status); } &&
    6174          { ac_try='test -z "$ac_c_werror_flag"
    6175                          || test ! -s conftest.err'
    6176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6177   (eval $ac_try) 2>&5
    6178   ac_status=$?
    6179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6180   (exit $ac_status); }; } &&
    6181          { ac_try='test -s conftest.$ac_objext'
    6182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6183   (eval $ac_try) 2>&5
    6184   ac_status=$?
    6185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6186   (exit $ac_status); }; }; then
    6187   eval "$as_ac_Header=yes"
    6188 else
    6189   echo "$as_me: failed program was:" >&5
    6190 sed 's/^/| /' conftest.$ac_ext >&5
    6191 
    6192 eval "$as_ac_Header=no"
    6193 fi
    6194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6195 fi
    6196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    6199   cat >>confdefs.h <<_ACEOF
    6200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6201 _ACEOF
    6202 
    6203 fi
    6204 
    6205 done
    6206 
    6207 
    6208 echo "$as_me:$LINENO: checking for long" >&5
    6209 echo $ECHO_N "checking for long... $ECHO_C" >&6
    6210 if test "${ac_cv_type_long+set}" = set; then
    6211   echo $ECHO_N "(cached) $ECHO_C" >&6
    6212 else
    6213   cat >conftest.$ac_ext <<_ACEOF
    6214 /* confdefs.h.  */
    6215 _ACEOF
    6216 cat confdefs.h >>conftest.$ac_ext
    6217 cat >>conftest.$ac_ext <<_ACEOF
    6218 /* end confdefs.h.  */
    6219 $ac_includes_default
    6220 #ifdef F77_DUMMY_MAIN
    6221 
    6222 #  ifdef __cplusplus
    6223      extern "C"
    6224 #  endif
    6225    int F77_DUMMY_MAIN() { return 1; }
    6226 
    6227 #endif
    6228 int
    6229 main ()
    6230 {
    6231 if ((long *) 0)
    6232   return 0;
    6233 if (sizeof (long))
    6234   return 0;
    6235   ;
    6236   return 0;
    6237 }
    6238 _ACEOF
    6239 rm -f conftest.$ac_objext
    6240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6241   (eval $ac_compile) 2>conftest.er1
    6242   ac_status=$?
    6243   grep -v '^ *+' conftest.er1 >conftest.err
    6244   rm -f conftest.er1
    6245   cat conftest.err >&5
    6246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6247   (exit $ac_status); } &&
    6248          { ac_try='test -z "$ac_c_werror_flag"
    6249                          || test ! -s conftest.err'
    6250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6251   (eval $ac_try) 2>&5
    6252   ac_status=$?
    6253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6254   (exit $ac_status); }; } &&
    6255          { ac_try='test -s conftest.$ac_objext'
    6256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6257   (eval $ac_try) 2>&5
    6258   ac_status=$?
    6259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6260   (exit $ac_status); }; }; then
    6261   ac_cv_type_long=yes
    6262 else
    6263   echo "$as_me: failed program was:" >&5
    6264 sed 's/^/| /' conftest.$ac_ext >&5
    6265 
    6266 ac_cv_type_long=no
    6267 fi
    6268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6269 fi
    6270 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
    6271 echo "${ECHO_T}$ac_cv_type_long" >&6
    6272 
    6273 echo "$as_me:$LINENO: checking size of long" >&5
    6274 echo $ECHO_N "checking size of long... $ECHO_C" >&6
    6275 if test "${ac_cv_sizeof_long+set}" = set; then
    6276   echo $ECHO_N "(cached) $ECHO_C" >&6
    6277 else
    6278   if test "$ac_cv_type_long" = yes; then
    6279   # The cast to unsigned long works around a bug in the HP C Compiler
    6280   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    6281   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    6282   # This bug is HP SR number 8606223364.
    6283   if test "$cross_compiling" = yes; then
    6284   # Depending upon the size, compute the lo and hi bounds.
    6285 cat >conftest.$ac_ext <<_ACEOF
    6286 /* confdefs.h.  */
    6287 _ACEOF
    6288 cat confdefs.h >>conftest.$ac_ext
    6289 cat >>conftest.$ac_ext <<_ACEOF
    6290 /* end confdefs.h.  */
    6291 $ac_includes_default
    6292 #ifdef F77_DUMMY_MAIN
    6293 
    6294 #  ifdef __cplusplus
    6295      extern "C"
    6296 #  endif
    6297    int F77_DUMMY_MAIN() { return 1; }
    6298 
    6299 #endif
    6300 int
    6301 main ()
    6302 {
    6303 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
    6304 test_array [0] = 0
    6305 
    6306   ;
    6307   return 0;
    6308 }
    6309 _ACEOF
    6310 rm -f conftest.$ac_objext
    6311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6312   (eval $ac_compile) 2>conftest.er1
    6313   ac_status=$?
    6314   grep -v '^ *+' conftest.er1 >conftest.err
    6315   rm -f conftest.er1
    6316   cat conftest.err >&5
    6317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6318   (exit $ac_status); } &&
    6319          { ac_try='test -z "$ac_c_werror_flag"
    6320                          || test ! -s conftest.err'
    6321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6322   (eval $ac_try) 2>&5
    6323   ac_status=$?
    6324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6325   (exit $ac_status); }; } &&
    6326          { ac_try='test -s conftest.$ac_objext'
    6327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6328   (eval $ac_try) 2>&5
    6329   ac_status=$?
    6330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6331   (exit $ac_status); }; }; then
    6332   ac_lo=0 ac_mid=0
    6333   while :; do
    6334     cat >conftest.$ac_ext <<_ACEOF
    6335 /* confdefs.h.  */
    6336 _ACEOF
    6337 cat confdefs.h >>conftest.$ac_ext
    6338 cat >>conftest.$ac_ext <<_ACEOF
    6339 /* end confdefs.h.  */
    6340 $ac_includes_default
    6341 #ifdef F77_DUMMY_MAIN
    6342 
    6343 #  ifdef __cplusplus
    6344      extern "C"
    6345 #  endif
    6346    int F77_DUMMY_MAIN() { return 1; }
    6347 
    6348 #endif
    6349 int
    6350 main ()
    6351 {
    6352 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    6353 test_array [0] = 0
    6354 
    6355   ;
    6356   return 0;
    6357 }
    6358 _ACEOF
    6359 rm -f conftest.$ac_objext
    6360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6361   (eval $ac_compile) 2>conftest.er1
    6362   ac_status=$?
    6363   grep -v '^ *+' conftest.er1 >conftest.err
    6364   rm -f conftest.er1
    6365   cat conftest.err >&5
    6366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6367   (exit $ac_status); } &&
    6368          { ac_try='test -z "$ac_c_werror_flag"
    6369                          || test ! -s conftest.err'
    6370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6371   (eval $ac_try) 2>&5
    6372   ac_status=$?
    6373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6374   (exit $ac_status); }; } &&
    6375          { ac_try='test -s conftest.$ac_objext'
    6376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6377   (eval $ac_try) 2>&5
    6378   ac_status=$?
    6379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6380   (exit $ac_status); }; }; then
    6381   ac_hi=$ac_mid; break
    6382 else
    6383   echo "$as_me: failed program was:" >&5
    6384 sed 's/^/| /' conftest.$ac_ext >&5
    6385 
    6386 ac_lo=`expr $ac_mid + 1`
    6387                     if test $ac_lo -le $ac_mid; then
    6388                       ac_lo= ac_hi=
    6389                       break
    6390                     fi
    6391                     ac_mid=`expr 2 '*' $ac_mid + 1`
    6392 fi
    6393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6394   done
    6395 else
    6396   echo "$as_me: failed program was:" >&5
    6397 sed 's/^/| /' conftest.$ac_ext >&5
    6398 
    6399 cat >conftest.$ac_ext <<_ACEOF
    6400 /* confdefs.h.  */
    6401 _ACEOF
    6402 cat confdefs.h >>conftest.$ac_ext
    6403 cat >>conftest.$ac_ext <<_ACEOF
    6404 /* end confdefs.h.  */
    6405 $ac_includes_default
    6406 #ifdef F77_DUMMY_MAIN
    6407 
    6408 #  ifdef __cplusplus
    6409      extern "C"
    6410 #  endif
    6411    int F77_DUMMY_MAIN() { return 1; }
    6412 
    6413 #endif
    6414 int
    6415 main ()
    6416 {
    6417 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
    6418 test_array [0] = 0
    6419 
    6420   ;
    6421   return 0;
    6422 }
    6423 _ACEOF
    6424 rm -f conftest.$ac_objext
    6425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6426   (eval $ac_compile) 2>conftest.er1
    6427   ac_status=$?
    6428   grep -v '^ *+' conftest.er1 >conftest.err
    6429   rm -f conftest.er1
    6430   cat conftest.err >&5
    6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6432   (exit $ac_status); } &&
    6433          { ac_try='test -z "$ac_c_werror_flag"
    6434                          || test ! -s conftest.err'
    6435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6436   (eval $ac_try) 2>&5
    6437   ac_status=$?
    6438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6439   (exit $ac_status); }; } &&
    6440          { ac_try='test -s conftest.$ac_objext'
    6441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6442   (eval $ac_try) 2>&5
    6443   ac_status=$?
    6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6445   (exit $ac_status); }; }; then
    6446   ac_hi=-1 ac_mid=-1
    6447   while :; do
    6448     cat >conftest.$ac_ext <<_ACEOF
    6449 /* confdefs.h.  */
    6450 _ACEOF
    6451 cat confdefs.h >>conftest.$ac_ext
    6452 cat >>conftest.$ac_ext <<_ACEOF
    6453 /* end confdefs.h.  */
    6454 $ac_includes_default
    6455 #ifdef F77_DUMMY_MAIN
    6456 
    6457 #  ifdef __cplusplus
    6458      extern "C"
    6459 #  endif
    6460    int F77_DUMMY_MAIN() { return 1; }
    6461 
    6462 #endif
    6463 int
    6464 main ()
    6465 {
    6466 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
    6467 test_array [0] = 0
    6468 
    6469   ;
    6470   return 0;
    6471 }
    6472 _ACEOF
    6473 rm -f conftest.$ac_objext
    6474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6475   (eval $ac_compile) 2>conftest.er1
    6476   ac_status=$?
    6477   grep -v '^ *+' conftest.er1 >conftest.err
    6478   rm -f conftest.er1
    6479   cat conftest.err >&5
    6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6481   (exit $ac_status); } &&
    6482          { ac_try='test -z "$ac_c_werror_flag"
    6483                          || test ! -s conftest.err'
    6484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6485   (eval $ac_try) 2>&5
    6486   ac_status=$?
    6487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6488   (exit $ac_status); }; } &&
    6489          { ac_try='test -s conftest.$ac_objext'
    6490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6491   (eval $ac_try) 2>&5
    6492   ac_status=$?
    6493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6494   (exit $ac_status); }; }; then
    6495   ac_lo=$ac_mid; break
    6496 else
    6497   echo "$as_me: failed program was:" >&5
    6498 sed 's/^/| /' conftest.$ac_ext >&5
    6499 
    6500 ac_hi=`expr '(' $ac_mid ')' - 1`
    6501                        if test $ac_mid -le $ac_hi; then
    6502                          ac_lo= ac_hi=
    6503                          break
    6504                        fi
    6505                        ac_mid=`expr 2 '*' $ac_mid`
    6506 fi
    6507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6508   done
    6509 else
    6510   echo "$as_me: failed program was:" >&5
    6511 sed 's/^/| /' conftest.$ac_ext >&5
    6512 
    6513 ac_lo= ac_hi=
    6514 fi
    6515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6516 fi
    6517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6518 # Binary search between lo and hi bounds.
    6519 while test "x$ac_lo" != "x$ac_hi"; do
    6520   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    6521   cat >conftest.$ac_ext <<_ACEOF
    6522 /* confdefs.h.  */
    6523 _ACEOF
    6524 cat confdefs.h >>conftest.$ac_ext
    6525 cat >>conftest.$ac_ext <<_ACEOF
    6526 /* end confdefs.h.  */
    6527 $ac_includes_default
    6528 #ifdef F77_DUMMY_MAIN
    6529 
    6530 #  ifdef __cplusplus
    6531      extern "C"
    6532 #  endif
    6533    int F77_DUMMY_MAIN() { return 1; }
    6534 
    6535 #endif
    6536 int
    6537 main ()
    6538 {
    6539 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    6540 test_array [0] = 0
    6541 
    6542   ;
    6543   return 0;
    6544 }
    6545 _ACEOF
    6546 rm -f conftest.$ac_objext
    6547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6548   (eval $ac_compile) 2>conftest.er1
    6549   ac_status=$?
    6550   grep -v '^ *+' conftest.er1 >conftest.err
    6551   rm -f conftest.er1
    6552   cat conftest.err >&5
    6553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6554   (exit $ac_status); } &&
    6555          { ac_try='test -z "$ac_c_werror_flag"
    6556                          || test ! -s conftest.err'
    6557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6558   (eval $ac_try) 2>&5
    6559   ac_status=$?
    6560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6561   (exit $ac_status); }; } &&
    6562          { ac_try='test -s conftest.$ac_objext'
    6563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6564   (eval $ac_try) 2>&5
    6565   ac_status=$?
    6566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6567   (exit $ac_status); }; }; then
    6568   ac_hi=$ac_mid
    6569 else
    6570   echo "$as_me: failed program was:" >&5
    6571 sed 's/^/| /' conftest.$ac_ext >&5
    6572 
    6573 ac_lo=`expr '(' $ac_mid ')' + 1`
    6574 fi
    6575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6576 done
    6577 case $ac_lo in
    6578 ?*) ac_cv_sizeof_long=$ac_lo;;
    6579 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    6580 See \`config.log' for more details." >&5
    6581 echo "$as_me: error: cannot compute sizeof (long), 77
    6582 See \`config.log' for more details." >&2;}
    6583    { (exit 1); exit 1; }; } ;;
    6584 esac
    6585 else
    6586   if test "$cross_compiling" = yes; then
    6587   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    6588 See \`config.log' for more details." >&5
    6589 echo "$as_me: error: cannot run test program while cross compiling
    6590 See \`config.log' for more details." >&2;}
    6591    { (exit 1); exit 1; }; }
    6592 else
    6593   cat >conftest.$ac_ext <<_ACEOF
    6594 /* confdefs.h.  */
    6595 _ACEOF
    6596 cat confdefs.h >>conftest.$ac_ext
    6597 cat >>conftest.$ac_ext <<_ACEOF
    6598 /* end confdefs.h.  */
    6599 $ac_includes_default
    6600 long longval () { return (long) (sizeof (long)); }
    6601 unsigned long ulongval () { return (long) (sizeof (long)); }
    6602 #include <stdio.h>
    6603 #include <stdlib.h>
    6604 #ifdef F77_DUMMY_MAIN
    6605 
    6606 #  ifdef __cplusplus
    6607      extern "C"
    6608 #  endif
    6609    int F77_DUMMY_MAIN() { return 1; }
    6610 
    6611 #endif
    6612 int
    6613 main ()
    6614 {
    6615 
    6616   FILE *f = fopen ("conftest.val", "w");
    6617   if (! f)
    6618     exit (1);
    6619   if (((long) (sizeof (long))) < 0)
    6620     {
    6621       long i = longval ();
    6622       if (i != ((long) (sizeof (long))))
    6623         exit (1);
    6624       fprintf (f, "%ld\n", i);
    6625     }
    6626   else
    6627     {
    6628       unsigned long i = ulongval ();
    6629       if (i != ((long) (sizeof (long))))
    6630         exit (1);
    6631       fprintf (f, "%lu\n", i);
    6632     }
    6633   exit (ferror (f) || fclose (f) != 0);
    6634 
    6635   ;
    6636   return 0;
    6637 }
    6638 _ACEOF
    6639 rm -f conftest$ac_exeext
    6640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6641   (eval $ac_link) 2>&5
    6642   ac_status=$?
    6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6644   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6646   (eval $ac_try) 2>&5
    6647   ac_status=$?
    6648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6649   (exit $ac_status); }; }; then
    6650   ac_cv_sizeof_long=`cat conftest.val`
    6651 else
    6652   echo "$as_me: program exited with status $ac_status" >&5
    6653 echo "$as_me: failed program was:" >&5
    6654 sed 's/^/| /' conftest.$ac_ext >&5
    6655 
    6656 ( exit $ac_status )
    6657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    6658 See \`config.log' for more details." >&5
    6659 echo "$as_me: error: cannot compute sizeof (long), 77
    6660 See \`config.log' for more details." >&2;}
    6661    { (exit 1); exit 1; }; }
    6662 fi
    6663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6664 fi
    6665 fi
    6666 rm -f conftest.val
    6667 else
    6668   ac_cv_sizeof_long=0
    6669 fi
    6670 fi
    6671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    6672 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
    6673 cat >>confdefs.h <<_ACEOF
    6674 #define SIZEOF_LONG $ac_cv_sizeof_long
    6675 _ACEOF
    6676 
    6677 
    6678 echo "$as_me:$LINENO: checking for int" >&5
    6679 echo $ECHO_N "checking for int... $ECHO_C" >&6
    6680 if test "${ac_cv_type_int+set}" = set; then
    6681   echo $ECHO_N "(cached) $ECHO_C" >&6
    6682 else
    6683   cat >conftest.$ac_ext <<_ACEOF
    6684 /* confdefs.h.  */
    6685 _ACEOF
    6686 cat confdefs.h >>conftest.$ac_ext
    6687 cat >>conftest.$ac_ext <<_ACEOF
    6688 /* end confdefs.h.  */
    6689 $ac_includes_default
    6690 #ifdef F77_DUMMY_MAIN
    6691 
    6692 #  ifdef __cplusplus
    6693      extern "C"
    6694 #  endif
    6695    int F77_DUMMY_MAIN() { return 1; }
    6696 
    6697 #endif
    6698 int
    6699 main ()
    6700 {
    6701 if ((int *) 0)
    6702   return 0;
    6703 if (sizeof (int))
    6704   return 0;
    6705   ;
    6706   return 0;
    6707 }
    6708 _ACEOF
    6709 rm -f conftest.$ac_objext
    6710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6711   (eval $ac_compile) 2>conftest.er1
    6712   ac_status=$?
    6713   grep -v '^ *+' conftest.er1 >conftest.err
    6714   rm -f conftest.er1
    6715   cat conftest.err >&5
    6716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6717   (exit $ac_status); } &&
    6718          { ac_try='test -z "$ac_c_werror_flag"
    6719                          || test ! -s conftest.err'
    6720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6721   (eval $ac_try) 2>&5
    6722   ac_status=$?
    6723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6724   (exit $ac_status); }; } &&
    6725          { ac_try='test -s conftest.$ac_objext'
    6726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6727   (eval $ac_try) 2>&5
    6728   ac_status=$?
    6729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6730   (exit $ac_status); }; }; then
    6731   ac_cv_type_int=yes
    6732 else
    6733   echo "$as_me: failed program was:" >&5
    6734 sed 's/^/| /' conftest.$ac_ext >&5
    6735 
    6736 ac_cv_type_int=no
    6737 fi
    6738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6739 fi
    6740 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
    6741 echo "${ECHO_T}$ac_cv_type_int" >&6
    6742 
    6743 echo "$as_me:$LINENO: checking size of int" >&5
    6744 echo $ECHO_N "checking size of int... $ECHO_C" >&6
    6745 if test "${ac_cv_sizeof_int+set}" = set; then
    6746   echo $ECHO_N "(cached) $ECHO_C" >&6
    6747 else
    6748   if test "$ac_cv_type_int" = yes; then
    6749   # The cast to unsigned long works around a bug in the HP C Compiler
    6750   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    6751   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    6752   # This bug is HP SR number 8606223364.
    6753   if test "$cross_compiling" = yes; then
    6754   # Depending upon the size, compute the lo and hi bounds.
    6755 cat >conftest.$ac_ext <<_ACEOF
    6756 /* confdefs.h.  */
    6757 _ACEOF
    6758 cat confdefs.h >>conftest.$ac_ext
    6759 cat >>conftest.$ac_ext <<_ACEOF
    6760 /* end confdefs.h.  */
    6761 $ac_includes_default
    6762 #ifdef F77_DUMMY_MAIN
    6763 
    6764 #  ifdef __cplusplus
    6765      extern "C"
    6766 #  endif
    6767    int F77_DUMMY_MAIN() { return 1; }
    6768 
    6769 #endif
    6770 int
    6771 main ()
    6772 {
    6773 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
    6774 test_array [0] = 0
    6775 
    6776   ;
    6777   return 0;
    6778 }
    6779 _ACEOF
    6780 rm -f conftest.$ac_objext
    6781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6782   (eval $ac_compile) 2>conftest.er1
    6783   ac_status=$?
    6784   grep -v '^ *+' conftest.er1 >conftest.err
    6785   rm -f conftest.er1
    6786   cat conftest.err >&5
    6787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6788   (exit $ac_status); } &&
    6789          { ac_try='test -z "$ac_c_werror_flag"
    6790                          || test ! -s conftest.err'
    6791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6792   (eval $ac_try) 2>&5
    6793   ac_status=$?
    6794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6795   (exit $ac_status); }; } &&
    6796          { ac_try='test -s conftest.$ac_objext'
    6797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6798   (eval $ac_try) 2>&5
    6799   ac_status=$?
    6800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6801   (exit $ac_status); }; }; then
    6802   ac_lo=0 ac_mid=0
    6803   while :; do
    6804     cat >conftest.$ac_ext <<_ACEOF
    6805 /* confdefs.h.  */
    6806 _ACEOF
    6807 cat confdefs.h >>conftest.$ac_ext
    6808 cat >>conftest.$ac_ext <<_ACEOF
    6809 /* end confdefs.h.  */
    6810 $ac_includes_default
    6811 #ifdef F77_DUMMY_MAIN
    6812 
    6813 #  ifdef __cplusplus
    6814      extern "C"
    6815 #  endif
    6816    int F77_DUMMY_MAIN() { return 1; }
    6817 
    6818 #endif
    6819 int
    6820 main ()
    6821 {
    6822 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    6823 test_array [0] = 0
    6824 
    6825   ;
    6826   return 0;
    6827 }
    6828 _ACEOF
    6829 rm -f conftest.$ac_objext
    6830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6831   (eval $ac_compile) 2>conftest.er1
    6832   ac_status=$?
    6833   grep -v '^ *+' conftest.er1 >conftest.err
    6834   rm -f conftest.er1
    6835   cat conftest.err >&5
    6836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6837   (exit $ac_status); } &&
    6838          { ac_try='test -z "$ac_c_werror_flag"
    6839                          || test ! -s conftest.err'
    6840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6841   (eval $ac_try) 2>&5
    6842   ac_status=$?
    6843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6844   (exit $ac_status); }; } &&
    6845          { ac_try='test -s conftest.$ac_objext'
    6846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6847   (eval $ac_try) 2>&5
    6848   ac_status=$?
    6849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6850   (exit $ac_status); }; }; then
    6851   ac_hi=$ac_mid; break
    6852 else
    6853   echo "$as_me: failed program was:" >&5
    6854 sed 's/^/| /' conftest.$ac_ext >&5
    6855 
    6856 ac_lo=`expr $ac_mid + 1`
    6857                     if test $ac_lo -le $ac_mid; then
    6858                       ac_lo= ac_hi=
    6859                       break
    6860                     fi
    6861                     ac_mid=`expr 2 '*' $ac_mid + 1`
    6862 fi
    6863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6864   done
    6865 else
    6866   echo "$as_me: failed program was:" >&5
    6867 sed 's/^/| /' conftest.$ac_ext >&5
    6868 
    6869 cat >conftest.$ac_ext <<_ACEOF
    6870 /* confdefs.h.  */
    6871 _ACEOF
    6872 cat confdefs.h >>conftest.$ac_ext
    6873 cat >>conftest.$ac_ext <<_ACEOF
    6874 /* end confdefs.h.  */
    6875 $ac_includes_default
    6876 #ifdef F77_DUMMY_MAIN
    6877 
    6878 #  ifdef __cplusplus
    6879      extern "C"
    6880 #  endif
    6881    int F77_DUMMY_MAIN() { return 1; }
    6882 
    6883 #endif
    6884 int
    6885 main ()
    6886 {
    6887 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
    6888 test_array [0] = 0
    6889 
    6890   ;
    6891   return 0;
    6892 }
    6893 _ACEOF
    6894 rm -f conftest.$ac_objext
    6895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6896   (eval $ac_compile) 2>conftest.er1
    6897   ac_status=$?
    6898   grep -v '^ *+' conftest.er1 >conftest.err
    6899   rm -f conftest.er1
    6900   cat conftest.err >&5
    6901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6902   (exit $ac_status); } &&
    6903          { ac_try='test -z "$ac_c_werror_flag"
    6904                          || test ! -s conftest.err'
    6905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6906   (eval $ac_try) 2>&5
    6907   ac_status=$?
    6908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6909   (exit $ac_status); }; } &&
    6910          { ac_try='test -s conftest.$ac_objext'
    6911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6912   (eval $ac_try) 2>&5
    6913   ac_status=$?
    6914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6915   (exit $ac_status); }; }; then
    6916   ac_hi=-1 ac_mid=-1
    6917   while :; do
    6918     cat >conftest.$ac_ext <<_ACEOF
    6919 /* confdefs.h.  */
    6920 _ACEOF
    6921 cat confdefs.h >>conftest.$ac_ext
    6922 cat >>conftest.$ac_ext <<_ACEOF
    6923 /* end confdefs.h.  */
    6924 $ac_includes_default
    6925 #ifdef F77_DUMMY_MAIN
    6926 
    6927 #  ifdef __cplusplus
    6928      extern "C"
    6929 #  endif
    6930    int F77_DUMMY_MAIN() { return 1; }
    6931 
    6932 #endif
    6933 int
    6934 main ()
    6935 {
    6936 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
    6937 test_array [0] = 0
    6938 
    6939   ;
    6940   return 0;
    6941 }
    6942 _ACEOF
    6943 rm -f conftest.$ac_objext
    6944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6945   (eval $ac_compile) 2>conftest.er1
    6946   ac_status=$?
    6947   grep -v '^ *+' conftest.er1 >conftest.err
    6948   rm -f conftest.er1
    6949   cat conftest.err >&5
    6950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6951   (exit $ac_status); } &&
    6952          { ac_try='test -z "$ac_c_werror_flag"
    6953                          || test ! -s conftest.err'
    6954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6955   (eval $ac_try) 2>&5
    6956   ac_status=$?
    6957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6958   (exit $ac_status); }; } &&
    6959          { ac_try='test -s conftest.$ac_objext'
    6960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6961   (eval $ac_try) 2>&5
    6962   ac_status=$?
    6963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6964   (exit $ac_status); }; }; then
    6965   ac_lo=$ac_mid; break
    6966 else
    6967   echo "$as_me: failed program was:" >&5
    6968 sed 's/^/| /' conftest.$ac_ext >&5
    6969 
    6970 ac_hi=`expr '(' $ac_mid ')' - 1`
    6971                        if test $ac_mid -le $ac_hi; then
    6972                          ac_lo= ac_hi=
    6973                          break
    6974                        fi
    6975                        ac_mid=`expr 2 '*' $ac_mid`
    6976 fi
    6977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6978   done
    6979 else
    6980   echo "$as_me: failed program was:" >&5
    6981 sed 's/^/| /' conftest.$ac_ext >&5
    6982 
    6983 ac_lo= ac_hi=
    6984 fi
    6985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6986 fi
    6987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6988 # Binary search between lo and hi bounds.
    6989 while test "x$ac_lo" != "x$ac_hi"; do
    6990   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    6991   cat >conftest.$ac_ext <<_ACEOF
    6992 /* confdefs.h.  */
    6993 _ACEOF
    6994 cat confdefs.h >>conftest.$ac_ext
    6995 cat >>conftest.$ac_ext <<_ACEOF
    6996 /* end confdefs.h.  */
    6997 $ac_includes_default
    6998 #ifdef F77_DUMMY_MAIN
    6999 
    7000 #  ifdef __cplusplus
    7001      extern "C"
    7002 #  endif
    7003    int F77_DUMMY_MAIN() { return 1; }
    7004 
    7005 #endif
    7006 int
    7007 main ()
    7008 {
    7009 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    7010 test_array [0] = 0
    7011 
    7012   ;
    7013   return 0;
    7014 }
    7015 _ACEOF
    7016 rm -f conftest.$ac_objext
    7017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7018   (eval $ac_compile) 2>conftest.er1
    7019   ac_status=$?
    7020   grep -v '^ *+' conftest.er1 >conftest.err
    7021   rm -f conftest.er1
    7022   cat conftest.err >&5
    7023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7024   (exit $ac_status); } &&
    7025          { ac_try='test -z "$ac_c_werror_flag"
    7026                          || test ! -s conftest.err'
    7027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7028   (eval $ac_try) 2>&5
    7029   ac_status=$?
    7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7031   (exit $ac_status); }; } &&
    7032          { ac_try='test -s conftest.$ac_objext'
    7033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7034   (eval $ac_try) 2>&5
    7035   ac_status=$?
    7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7037   (exit $ac_status); }; }; then
    7038   ac_hi=$ac_mid
    7039 else
    7040   echo "$as_me: failed program was:" >&5
    7041 sed 's/^/| /' conftest.$ac_ext >&5
    7042 
    7043 ac_lo=`expr '(' $ac_mid ')' + 1`
    7044 fi
    7045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7046 done
    7047 case $ac_lo in
    7048 ?*) ac_cv_sizeof_int=$ac_lo;;
    7049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    7050 See \`config.log' for more details." >&5
    7051 echo "$as_me: error: cannot compute sizeof (int), 77
    7052 See \`config.log' for more details." >&2;}
    7053    { (exit 1); exit 1; }; } ;;
    7054 esac
    7055 else
    7056   if test "$cross_compiling" = yes; then
    7057   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    7058 See \`config.log' for more details." >&5
    7059 echo "$as_me: error: cannot run test program while cross compiling
    7060 See \`config.log' for more details." >&2;}
    7061    { (exit 1); exit 1; }; }
    7062 else
    7063   cat >conftest.$ac_ext <<_ACEOF
    7064 /* confdefs.h.  */
    7065 _ACEOF
    7066 cat confdefs.h >>conftest.$ac_ext
    7067 cat >>conftest.$ac_ext <<_ACEOF
    7068 /* end confdefs.h.  */
    7069 $ac_includes_default
    7070 long longval () { return (long) (sizeof (int)); }
    7071 unsigned long ulongval () { return (long) (sizeof (int)); }
    7072 #include <stdio.h>
    7073 #include <stdlib.h>
    7074 #ifdef F77_DUMMY_MAIN
    7075 
    7076 #  ifdef __cplusplus
    7077      extern "C"
    7078 #  endif
    7079    int F77_DUMMY_MAIN() { return 1; }
    7080 
    7081 #endif
    7082 int
    7083 main ()
    7084 {
    7085 
    7086   FILE *f = fopen ("conftest.val", "w");
    7087   if (! f)
    7088     exit (1);
    7089   if (((long) (sizeof (int))) < 0)
    7090     {
    7091       long i = longval ();
    7092       if (i != ((long) (sizeof (int))))
    7093         exit (1);
    7094       fprintf (f, "%ld\n", i);
    7095     }
    7096   else
    7097     {
    7098       unsigned long i = ulongval ();
    7099       if (i != ((long) (sizeof (int))))
    7100         exit (1);
    7101       fprintf (f, "%lu\n", i);
    7102     }
    7103   exit (ferror (f) || fclose (f) != 0);
    7104 
    7105   ;
    7106   return 0;
    7107 }
    7108 _ACEOF
    7109 rm -f conftest$ac_exeext
    7110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7111   (eval $ac_link) 2>&5
    7112   ac_status=$?
    7113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7114   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7116   (eval $ac_try) 2>&5
    7117   ac_status=$?
    7118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7119   (exit $ac_status); }; }; then
    7120   ac_cv_sizeof_int=`cat conftest.val`
    7121 else
    7122   echo "$as_me: program exited with status $ac_status" >&5
    7123 echo "$as_me: failed program was:" >&5
    7124 sed 's/^/| /' conftest.$ac_ext >&5
    7125 
    7126 ( exit $ac_status )
    7127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    7128 See \`config.log' for more details." >&5
    7129 echo "$as_me: error: cannot compute sizeof (int), 77
    7130 See \`config.log' for more details." >&2;}
    7131    { (exit 1); exit 1; }; }
    7132 fi
    7133 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7134 fi
    7135 fi
    7136 rm -f conftest.val
    7137 else
    7138   ac_cv_sizeof_int=0
    7139 fi
    7140 fi
    7141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    7142 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
    7143 cat >>confdefs.h <<_ACEOF
    7144 #define SIZEOF_INT $ac_cv_sizeof_int
    7145 _ACEOF
    7146 
    7147 
    7148 echo "$as_me:$LINENO: checking for double" >&5
    7149 echo $ECHO_N "checking for double... $ECHO_C" >&6
    7150 if test "${ac_cv_type_double+set}" = set; then
    7151   echo $ECHO_N "(cached) $ECHO_C" >&6
    7152 else
    7153   cat >conftest.$ac_ext <<_ACEOF
    7154 /* confdefs.h.  */
    7155 _ACEOF
    7156 cat confdefs.h >>conftest.$ac_ext
    7157 cat >>conftest.$ac_ext <<_ACEOF
    7158 /* end confdefs.h.  */
    7159 $ac_includes_default
    7160 #ifdef F77_DUMMY_MAIN
    7161 
    7162 #  ifdef __cplusplus
    7163      extern "C"
    7164 #  endif
    7165    int F77_DUMMY_MAIN() { return 1; }
    7166 
    7167 #endif
    7168 int
    7169 main ()
    7170 {
    7171 if ((double *) 0)
    7172   return 0;
    7173 if (sizeof (double))
    7174   return 0;
    7175   ;
    7176   return 0;
    7177 }
    7178 _ACEOF
    7179 rm -f conftest.$ac_objext
    7180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7181   (eval $ac_compile) 2>conftest.er1
    7182   ac_status=$?
    7183   grep -v '^ *+' conftest.er1 >conftest.err
    7184   rm -f conftest.er1
    7185   cat conftest.err >&5
    7186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7187   (exit $ac_status); } &&
    7188          { ac_try='test -z "$ac_c_werror_flag"
    7189                          || test ! -s conftest.err'
    7190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7191   (eval $ac_try) 2>&5
    7192   ac_status=$?
    7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7194   (exit $ac_status); }; } &&
    7195          { ac_try='test -s conftest.$ac_objext'
    7196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7197   (eval $ac_try) 2>&5
    7198   ac_status=$?
    7199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7200   (exit $ac_status); }; }; then
    7201   ac_cv_type_double=yes
    7202 else
    7203   echo "$as_me: failed program was:" >&5
    7204 sed 's/^/| /' conftest.$ac_ext >&5
    7205 
    7206 ac_cv_type_double=no
    7207 fi
    7208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7209 fi
    7210 echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
    7211 echo "${ECHO_T}$ac_cv_type_double" >&6
    7212 
    7213 echo "$as_me:$LINENO: checking size of double" >&5
    7214 echo $ECHO_N "checking size of double... $ECHO_C" >&6
    7215 if test "${ac_cv_sizeof_double+set}" = set; then
    7216   echo $ECHO_N "(cached) $ECHO_C" >&6
    7217 else
    7218   if test "$ac_cv_type_double" = yes; then
    7219   # The cast to unsigned long works around a bug in the HP C Compiler
    7220   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    7221   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    7222   # This bug is HP SR number 8606223364.
    7223   if test "$cross_compiling" = yes; then
    7224   # Depending upon the size, compute the lo and hi bounds.
    7225 cat >conftest.$ac_ext <<_ACEOF
    7226 /* confdefs.h.  */
    7227 _ACEOF
    7228 cat confdefs.h >>conftest.$ac_ext
    7229 cat >>conftest.$ac_ext <<_ACEOF
    7230 /* end confdefs.h.  */
    7231 $ac_includes_default
    7232 #ifdef F77_DUMMY_MAIN
    7233 
    7234 #  ifdef __cplusplus
    7235      extern "C"
    7236 #  endif
    7237    int F77_DUMMY_MAIN() { return 1; }
    7238 
    7239 #endif
    7240 int
    7241 main ()
    7242 {
    7243 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)];
    7244 test_array [0] = 0
    7245 
    7246   ;
    7247   return 0;
    7248 }
    7249 _ACEOF
    7250 rm -f conftest.$ac_objext
    7251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7252   (eval $ac_compile) 2>conftest.er1
    7253   ac_status=$?
    7254   grep -v '^ *+' conftest.er1 >conftest.err
    7255   rm -f conftest.er1
    7256   cat conftest.err >&5
    7257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7258   (exit $ac_status); } &&
    7259          { ac_try='test -z "$ac_c_werror_flag"
    7260                          || test ! -s conftest.err'
    7261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7262   (eval $ac_try) 2>&5
    7263   ac_status=$?
    7264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7265   (exit $ac_status); }; } &&
    7266          { ac_try='test -s conftest.$ac_objext'
    7267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7268   (eval $ac_try) 2>&5
    7269   ac_status=$?
    7270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7271   (exit $ac_status); }; }; then
    7272   ac_lo=0 ac_mid=0
    7273   while :; do
    7274     cat >conftest.$ac_ext <<_ACEOF
    7275 /* confdefs.h.  */
    7276 _ACEOF
    7277 cat confdefs.h >>conftest.$ac_ext
    7278 cat >>conftest.$ac_ext <<_ACEOF
    7279 /* end confdefs.h.  */
    7280 $ac_includes_default
    7281 #ifdef F77_DUMMY_MAIN
    7282 
    7283 #  ifdef __cplusplus
    7284      extern "C"
    7285 #  endif
    7286    int F77_DUMMY_MAIN() { return 1; }
    7287 
    7288 #endif
    7289 int
    7290 main ()
    7291 {
    7292 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
    7293 test_array [0] = 0
    7294 
    7295   ;
    7296   return 0;
    7297 }
    7298 _ACEOF
    7299 rm -f conftest.$ac_objext
    7300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7301   (eval $ac_compile) 2>conftest.er1
    7302   ac_status=$?
    7303   grep -v '^ *+' conftest.er1 >conftest.err
    7304   rm -f conftest.er1
    7305   cat conftest.err >&5
    7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7307   (exit $ac_status); } &&
    7308          { ac_try='test -z "$ac_c_werror_flag"
    7309                          || test ! -s conftest.err'
    7310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7311   (eval $ac_try) 2>&5
    7312   ac_status=$?
    7313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7314   (exit $ac_status); }; } &&
    7315          { ac_try='test -s conftest.$ac_objext'
    7316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7317   (eval $ac_try) 2>&5
    7318   ac_status=$?
    7319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7320   (exit $ac_status); }; }; then
    7321   ac_hi=$ac_mid; break
    7322 else
    7323   echo "$as_me: failed program was:" >&5
    7324 sed 's/^/| /' conftest.$ac_ext >&5
    7325 
    7326 ac_lo=`expr $ac_mid + 1`
    7327                     if test $ac_lo -le $ac_mid; then
    7328                       ac_lo= ac_hi=
    7329                       break
    7330                     fi
    7331                     ac_mid=`expr 2 '*' $ac_mid + 1`
    7332 fi
    7333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7334   done
    7335 else
    7336   echo "$as_me: failed program was:" >&5
    7337 sed 's/^/| /' conftest.$ac_ext >&5
    7338 
    7339 cat >conftest.$ac_ext <<_ACEOF
    7340 /* confdefs.h.  */
    7341 _ACEOF
    7342 cat confdefs.h >>conftest.$ac_ext
    7343 cat >>conftest.$ac_ext <<_ACEOF
    7344 /* end confdefs.h.  */
    7345 $ac_includes_default
    7346 #ifdef F77_DUMMY_MAIN
    7347 
    7348 #  ifdef __cplusplus
    7349      extern "C"
    7350 #  endif
    7351    int F77_DUMMY_MAIN() { return 1; }
    7352 
    7353 #endif
    7354 int
    7355 main ()
    7356 {
    7357 static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)];
    7358 test_array [0] = 0
    7359 
    7360   ;
    7361   return 0;
    7362 }
    7363 _ACEOF
    7364 rm -f conftest.$ac_objext
    7365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7366   (eval $ac_compile) 2>conftest.er1
    7367   ac_status=$?
    7368   grep -v '^ *+' conftest.er1 >conftest.err
    7369   rm -f conftest.er1
    7370   cat conftest.err >&5
    7371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7372   (exit $ac_status); } &&
    7373          { ac_try='test -z "$ac_c_werror_flag"
    7374                          || test ! -s conftest.err'
    7375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7376   (eval $ac_try) 2>&5
    7377   ac_status=$?
    7378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7379   (exit $ac_status); }; } &&
    7380          { ac_try='test -s conftest.$ac_objext'
    7381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7382   (eval $ac_try) 2>&5
    7383   ac_status=$?
    7384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7385   (exit $ac_status); }; }; then
    7386   ac_hi=-1 ac_mid=-1
    7387   while :; do
    7388     cat >conftest.$ac_ext <<_ACEOF
    7389 /* confdefs.h.  */
    7390 _ACEOF
    7391 cat confdefs.h >>conftest.$ac_ext
    7392 cat >>conftest.$ac_ext <<_ACEOF
    7393 /* end confdefs.h.  */
    7394 $ac_includes_default
    7395 #ifdef F77_DUMMY_MAIN
    7396 
    7397 #  ifdef __cplusplus
    7398      extern "C"
    7399 #  endif
    7400    int F77_DUMMY_MAIN() { return 1; }
    7401 
    7402 #endif
    7403 int
    7404 main ()
    7405 {
    7406 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)];
    7407 test_array [0] = 0
    7408 
    7409   ;
    7410   return 0;
    7411 }
    7412 _ACEOF
    7413 rm -f conftest.$ac_objext
    7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7415   (eval $ac_compile) 2>conftest.er1
    7416   ac_status=$?
    7417   grep -v '^ *+' conftest.er1 >conftest.err
    7418   rm -f conftest.er1
    7419   cat conftest.err >&5
    7420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7421   (exit $ac_status); } &&
    7422          { ac_try='test -z "$ac_c_werror_flag"
    7423                          || test ! -s conftest.err'
    7424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7425   (eval $ac_try) 2>&5
    7426   ac_status=$?
    7427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7428   (exit $ac_status); }; } &&
    7429          { ac_try='test -s conftest.$ac_objext'
    7430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7431   (eval $ac_try) 2>&5
    7432   ac_status=$?
    7433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7434   (exit $ac_status); }; }; then
    7435   ac_lo=$ac_mid; break
    7436 else
    7437   echo "$as_me: failed program was:" >&5
    7438 sed 's/^/| /' conftest.$ac_ext >&5
    7439 
    7440 ac_hi=`expr '(' $ac_mid ')' - 1`
    7441                        if test $ac_mid -le $ac_hi; then
    7442                          ac_lo= ac_hi=
    7443                          break
    7444                        fi
    7445                        ac_mid=`expr 2 '*' $ac_mid`
    7446 fi
    7447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7448   done
    7449 else
    7450   echo "$as_me: failed program was:" >&5
    7451 sed 's/^/| /' conftest.$ac_ext >&5
    7452 
    7453 ac_lo= ac_hi=
    7454 fi
    7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7456 fi
    7457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7458 # Binary search between lo and hi bounds.
    7459 while test "x$ac_lo" != "x$ac_hi"; do
    7460   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    7461   cat >conftest.$ac_ext <<_ACEOF
    7462 /* confdefs.h.  */
    7463 _ACEOF
    7464 cat confdefs.h >>conftest.$ac_ext
    7465 cat >>conftest.$ac_ext <<_ACEOF
    7466 /* end confdefs.h.  */
    7467 $ac_includes_default
    7468 #ifdef F77_DUMMY_MAIN
    7469 
    7470 #  ifdef __cplusplus
    7471      extern "C"
    7472 #  endif
    7473    int F77_DUMMY_MAIN() { return 1; }
    7474 
    7475 #endif
    7476 int
    7477 main ()
    7478 {
    7479 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
    7480 test_array [0] = 0
    7481 
    7482   ;
    7483   return 0;
    7484 }
    7485 _ACEOF
    7486 rm -f conftest.$ac_objext
    7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7488   (eval $ac_compile) 2>conftest.er1
    7489   ac_status=$?
    7490   grep -v '^ *+' conftest.er1 >conftest.err
    7491   rm -f conftest.er1
    7492   cat conftest.err >&5
    7493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7494   (exit $ac_status); } &&
    7495          { ac_try='test -z "$ac_c_werror_flag"
    7496                          || test ! -s conftest.err'
    7497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7498   (eval $ac_try) 2>&5
    7499   ac_status=$?
    7500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7501   (exit $ac_status); }; } &&
    7502          { ac_try='test -s conftest.$ac_objext'
    7503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7504   (eval $ac_try) 2>&5
    7505   ac_status=$?
    7506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7507   (exit $ac_status); }; }; then
    7508   ac_hi=$ac_mid
    7509 else
    7510   echo "$as_me: failed program was:" >&5
    7511 sed 's/^/| /' conftest.$ac_ext >&5
    7512 
    7513 ac_lo=`expr '(' $ac_mid ')' + 1`
    7514 fi
    7515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7516 done
    7517 case $ac_lo in
    7518 ?*) ac_cv_sizeof_double=$ac_lo;;
    7519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
    7520 See \`config.log' for more details." >&5
    7521 echo "$as_me: error: cannot compute sizeof (double), 77
    7522 See \`config.log' for more details." >&2;}
    7523    { (exit 1); exit 1; }; } ;;
    7524 esac
    7525 else
    7526   if test "$cross_compiling" = yes; then
    7527   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    7528 See \`config.log' for more details." >&5
    7529 echo "$as_me: error: cannot run test program while cross compiling
    7530 See \`config.log' for more details." >&2;}
    7531    { (exit 1); exit 1; }; }
    7532 else
    7533   cat >conftest.$ac_ext <<_ACEOF
    7534 /* confdefs.h.  */
    7535 _ACEOF
    7536 cat confdefs.h >>conftest.$ac_ext
    7537 cat >>conftest.$ac_ext <<_ACEOF
    7538 /* end confdefs.h.  */
    7539 $ac_includes_default
    7540 long longval () { return (long) (sizeof (double)); }
    7541 unsigned long ulongval () { return (long) (sizeof (double)); }
    7542 #include <stdio.h>
    7543 #include <stdlib.h>
    7544 #ifdef F77_DUMMY_MAIN
    7545 
    7546 #  ifdef __cplusplus
    7547      extern "C"
    7548 #  endif
    7549    int F77_DUMMY_MAIN() { return 1; }
    7550 
    7551 #endif
    7552 int
    7553 main ()
    7554 {
    7555 
    7556   FILE *f = fopen ("conftest.val", "w");
    7557   if (! f)
    7558     exit (1);
    7559   if (((long) (sizeof (double))) < 0)
    7560     {
    7561       long i = longval ();
    7562       if (i != ((long) (sizeof (double))))
    7563         exit (1);
    7564       fprintf (f, "%ld\n", i);
    7565     }
    7566   else
    7567     {
    7568       unsigned long i = ulongval ();
    7569       if (i != ((long) (sizeof (double))))
    7570         exit (1);
    7571       fprintf (f, "%lu\n", i);
    7572     }
    7573   exit (ferror (f) || fclose (f) != 0);
    7574 
    7575   ;
    7576   return 0;
    7577 }
    7578 _ACEOF
    7579 rm -f conftest$ac_exeext
    7580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7581   (eval $ac_link) 2>&5
    7582   ac_status=$?
    7583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7584   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7586   (eval $ac_try) 2>&5
    7587   ac_status=$?
    7588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7589   (exit $ac_status); }; }; then
    7590   ac_cv_sizeof_double=`cat conftest.val`
    7591 else
    7592   echo "$as_me: program exited with status $ac_status" >&5
    7593 echo "$as_me: failed program was:" >&5
    7594 sed 's/^/| /' conftest.$ac_ext >&5
    7595 
    7596 ( exit $ac_status )
    7597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
    7598 See \`config.log' for more details." >&5
    7599 echo "$as_me: error: cannot compute sizeof (double), 77
    7600 See \`config.log' for more details." >&2;}
    7601    { (exit 1); exit 1; }; }
    7602 fi
    7603 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7604 fi
    7605 fi
    7606 rm -f conftest.val
    7607 else
    7608   ac_cv_sizeof_double=0
    7609 fi
    7610 fi
    7611 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
    7612 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
    7613 cat >>confdefs.h <<_ACEOF
    7614 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
    7615 _ACEOF
    7616 
    7617 
    7618 echo "$as_me:$LINENO: checking for C type corresponding to Fortran INTEGER" >&5
    7619 echo $ECHO_N "checking for C type corresponding to Fortran INTEGER... $ECHO_C" >&6
    7620 if test $ac_cv_sizeof_long = $ac_cv_sizeof_double; then
    7621 
    7622 cat >>confdefs.h <<\_ACEOF
    7623 #define INTEGER_TYPE int
    7624 _ACEOF
    7625 
    7626   echo "$as_me:$LINENO: result: int" >&5
    7627 echo "${ECHO_T}int" >&6
    7628 else
    7629   cat >>confdefs.h <<\_ACEOF
    7630 #define INTEGER_TYPE long
    7631 _ACEOF
    7632 
    7633   echo "$as_me:$LINENO: result: long" >&5
    7634 echo "${ECHO_T}long" >&6
    7635 fi
     8686#  AC_DEFINE([FORTRAN_INTEGER_TYPE],[long])
     8687#  AC_MSG_RESULT([long])
     8688#fi
    76368689
    76378690######################
     
    76448697
    76458698IPADDLIBS="$IPADDLIBS"
     8699
     8700##################################
     8701# Debug compiler warning options #
     8702##################################
     8703
     8704if test "$debugcompile" = "true"; then
     8705#ToDo this should only be added for GNU compilers
     8706  CXXFLAGS="$CXXFLAGS -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Werror -pipe -Wconversion"
     8707
     8708  CFLAGS="$CFLAGS -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Werror -pipe"
     8709fi
    76468710
    76478711##########
     
    86199683s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
    86209684s,@MAINT@,$MAINT,;t t
     9685s,@CXXCPP@,$CXXCPP,;t t
     9686s,@EGREP@,$EGREP,;t t
    86219687s,@F77@,$F77,;t t
    86229688s,@FFLAGS@,$FFLAGS,;t t
     
    86279693s,@ASLMAKEFLAGS@,$ASLMAKEFLAGS,;t t
    86289694s,@ASLMAKEFILECMDS@,$ASLMAKEFILECMDS,;t t
    8629 s,@CPP@,$CPP,;t t
    8630 s,@EGREP@,$EGREP,;t t
    86319695s,@CXXLIBS@,$CXXLIBS,;t t
    86329696s,@ASTYLE@,$ASTYLE,;t t
  • branches/dev/configure.ac

    r435 r438  
    5858  AC_DEFINE([IP_DEBUG],[1],[If defined, debug sanity checks are performed during runtime])
    5959  if test -z "$CXXFLAGS"; then
    60     CXXFLAGS="-g -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Werror -pipe -Wconversion"
     60    CXXFLAGS="-g"
    6161  fi
    6262
    6363  if test -z "$CFLAGS"; then
    64     CFLAGS="-g -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Werror -pipe"
     64    CFLAGS="-g"
    6565  fi
    6666
     
    101101AM_INIT_AUTOMAKE
    102102AM_MAINTAINER_MODE
     103
     104############################################################################
     105############################################################################
     106#                   Stuff that we need for C++ programs                    #
     107############################################################################
     108############################################################################
     109
     110AC_LANG_PUSH(C++)
     111
     112################
     113# Header Files #
     114################
     115
     116AC_CHECK_HEADERS([cmath])
     117AC_CHECK_HEADERS([math.h])
     118AC_CHECK_HEADERS([cctype])
     119AC_CHECK_HEADERS([ctype.h])
     120AC_CHECK_HEADERS([cassert])
     121AC_CHECK_HEADERS([assert.h])
     122AC_CHECK_HEADERS([cstdio])
     123AC_CHECK_HEADERS([stdio.h])
     124AC_CHECK_HEADERS([cstdarg])
     125AC_CHECK_HEADERS([stdarg.h])
     126AC_CHECK_HEADERS([cfloat])
     127AC_CHECK_HEADERS([float.h])
     128
     129###################
     130# Function finite #
     131###################
     132
     133# First check for a few headers
     134
     135case $build in
     136  *-cygwin*) ;;
     137  *) AC_CHECK_HEADERS([ieeefp.h])
     138     AC_CHECK_HEADERS([cieeefp]) ;;
     139esac
     140
     141# now try to guess the correct name of the finite function
     142
     143MY_C_FINITE=
     144AC_CHECK_DECL([finite],[MY_C_FINITE=finite],,[
     145#ifdef HAVE_CMATH
     146# include <cmath>
     147#else
     148# ifdef HAVE_MATH_H
     149#  include <math.h>
     150# endif
     151#endif
     152#ifdef HAVE_CFLOAT
     153# include <cfloat>
     154#else
     155# ifdef HAVE_FLOAT_H
     156#  include <float.h>
     157# endif
     158#endif
     159#ifdef HAVE_CIEEEFP
     160# include <cieeefp>
     161#else
     162# ifdef HAVE_IEEEFP_H
     163#  include <ieeefp.h>
     164# endif
     165#endif])
     166if test -z "$MY_C_FINITE"; then
     167  AC_CHECK_DECL([_finite],[MY_C_FINITE=_finite],,[
     168#ifdef HAVE_CMATH
     169# include <cmath>
     170#else
     171# ifdef HAVE_MATH_H
     172#  include <math.h>
     173# endif
     174#endif
     175#ifdef HAVE_CFLOAT
     176# include <cfloat>
     177#else
     178# ifdef HAVE_FLOAT_H
     179#  include <float.h>
     180# endif
     181#endif
     182#ifdef HAVE_CIEEEFP
     183# include <cieeefp>
     184#else
     185# ifdef HAVE_IEEEFP_H
     186#  include <ieeefp.h>
     187# endif
     188#endif])
     189  if test -z "$MY_C_FINITE"; then
     190    AC_CHECK_DECL([isfinite],[MY_C_FINITE=isfinite],,[
     191#ifdef HAVE_CMATH
     192# include <cmath>
     193#else
     194# ifdef HAVE_MATH_H
     195#  include <math.h>
     196# endif
     197#endif
     198#ifdef HAVE_CFLOAT
     199# include <cfloat>
     200#else
     201# ifdef HAVE_FLOAT_H
     202#  include <float.h>
     203# endif
     204#endif
     205#ifdef HAVE_CIEEEFP
     206# include <cieeefp>
     207#else
     208# ifdef HAVE_IEEEFP_H
     209#  include <ieeefp.h>
     210# endif
     211#endif])
     212  fi
     213fi
     214if test -z "$MY_C_FINITE"; then
     215  AC_MSG_WARN(Cannot find C-function for checking NaN and Inf.  Check will be disabled)
     216else
     217  AC_DEFINE_UNQUOTED([MY_C_FINITE],[$MY_C_FINITE],
     218                     [Define to be the name of C-function for NaNInf check])
     219fi
     220
     221###########
     222# va_copy #
     223###########
     224
     225AC_CHECK_DECL([va_copy],[AC_DEFINE([HAVE_VA_COPY],[1],
     226                                   [Define to 1 if va_copy is avaliable])],,[
     227#ifdef HAVE_CSTDARG
     228# include <cstdarg>
     229#else
     230# ifdef HAVE_STDARG_H
     231#  include <stdarg.h>
     232# endif
     233#endif])
     234
     235AC_LANG_POP(C++)
    103236
    104237###################################
     
    457590######################################
    458591
    459 AC_CHECK_SIZEOF([long])
    460 AC_CHECK_SIZEOF([int])
    461 AC_CHECK_SIZEOF([double])
    462 AC_MSG_CHECKING([for C type corresponding to Fortran INTEGER])
    463 if test $ac_cv_sizeof_long = $ac_cv_sizeof_double; then
    464   AC_DEFINE([INTEGER_TYPE],[int],[Define to the C type corresponding to Fortran INTEGER])
    465   AC_MSG_RESULT([int])
    466 else
    467   AC_DEFINE([INTEGER_TYPE],[long])
    468   AC_MSG_RESULT([long])
    469 fi
     592AC_DEFINE([FORTRAN_INTEGER_TYPE],[int],[Define to the C type corresponding to Fortran INTEGER])
     593#AC_CHECK_SIZEOF([long])
     594#AC_CHECK_SIZEOF([int])
     595#AC_CHECK_SIZEOF([double])
     596#AC_MSG_CHECKING([for C type corresponding to Fortran INTEGER])
     597#if test $ac_cv_sizeof_long = $ac_cv_sizeof_double; then
     598#  AC_DEFINE([FORTRAN_INTEGER_TYPE],[int],[Define to the C type corresponding to Fortran INTEGER])
     599#  AC_MSG_RESULT([int])
     600#else
     601#  AC_DEFINE([FORTRAN_INTEGER_TYPE],[long])
     602#  AC_MSG_RESULT([long])
     603#fi
    470604
    471605######################
     
    478612
    479613IPADDLIBS="$IPADDLIBS"
     614
     615##################################
     616# Debug compiler warning options #
     617##################################
     618
     619if test "$debugcompile" = "true"; then
     620#ToDo this should only be added for GNU compilers
     621  CXXFLAGS="$CXXFLAGS -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Werror -pipe -Wconversion"
     622
     623  CFLAGS="$CFLAGS -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Werror -pipe"
     624fi
    480625
    481626##########
  • branches/dev/inc/config.h.in

    r320 r438  
    1515#undef FC_DUMMY_MAIN_EQ_F77
    1616
     17/* Define to the C type corresponding to Fortran INTEGER */
     18#undef FORTRAN_INTEGER_TYPE
     19
     20/* Define to 1 if you have the <assert.h> header file. */
     21#undef HAVE_ASSERT_H
     22
     23/* Define to 1 if you have the <cassert> header file. */
     24#undef HAVE_CASSERT
     25
     26/* Define to 1 if you have the <cctype> header file. */
     27#undef HAVE_CCTYPE
     28
     29/* Define to 1 if you have the <cfloat> header file. */
     30#undef HAVE_CFLOAT
     31
     32/* Define to 1 if you have the <cieeefp> header file. */
     33#undef HAVE_CIEEEFP
     34
     35/* Define to 1 if you have the <cmath> header file. */
     36#undef HAVE_CMATH
     37
     38/* Define to 1 if you have the <cstdarg> header file. */
     39#undef HAVE_CSTDARG
     40
     41/* Define to 1 if you have the <cstdio> header file. */
     42#undef HAVE_CSTDIO
     43
     44/* Define to 1 if you have the <ctype.h> header file. */
     45#undef HAVE_CTYPE_H
     46
     47/* Define to 1 if you have the <float.h> header file. */
     48#undef HAVE_FLOAT_H
     49
     50/* Define to 1 if you have the <ieeefp.h> header file. */
     51#undef HAVE_IEEEFP_H
     52
    1753/* Define to 1 if you have the <inttypes.h> header file. */
    1854#undef HAVE_INTTYPES_H
     
    2056/* Define to 1 if MA27 is available */
    2157#undef HAVE_MA27
     58
     59/* Define to 1 if you have the <math.h> header file. */
     60#undef HAVE_MATH_H
    2261
    2362/* Define to 1 if MC19 is available */
     
    3069#undef HAVE_PARDISO
    3170
     71/* Define to 1 if you have the <stdarg.h> header file. */
     72#undef HAVE_STDARG_H
     73
    3274/* Define to 1 if you have the <stdint.h> header file. */
    3375#undef HAVE_STDINT_H
     76
     77/* Define to 1 if you have the <stdio.h> header file. */
     78#undef HAVE_STDIO_H
    3479
    3580/* Define to 1 if you have the <stdlib.h> header file. */
     
    5499#undef HAVE_UNISTD_H
    55100
    56 /* Define to the C type corresponding to Fortran INTEGER */
    57 #undef INTEGER_TYPE
     101/* Define to 1 if va_copy is avaliable */
     102#undef HAVE_VA_COPY
    58103
    59104/* If defined, debug sanity checks are performed during runtime */
    60105#undef IP_DEBUG
     106
     107/* Define to be the name of C-function for NaNInf check */
     108#undef MY_C_FINITE
    61109
    62110/* Define to 1 if MA27 is given in the old, non-threadsafe version */
     
    81129#undef PACKAGE_VERSION
    82130
    83 /* The size of a `double', as computed by sizeof. */
    84 #undef SIZEOF_DOUBLE
    85 
    86 /* The size of a `int', as computed by sizeof. */
    87 #undef SIZEOF_INT
    88 
    89 /* The size of a `long', as computed by sizeof. */
    90 #undef SIZEOF_LONG
    91 
    92131/* Define to 1 if you have the ANSI C header files. */
    93132#undef STDC_HEADERS
Note: See TracChangeset for help on using the changeset viewer.