Changeset 992


Ignore:
Timestamp:
Aug 5, 2013 2:36:30 AM (6 years ago)
Author:
pbelotti
Message:

added heuristic

Location:
branches/CouenneClassifier
Files:
2 added
22 edited

Legend:

Unmodified
Added
Removed
  • branches/CouenneClassifier/Couenne/Makefile.in

    r979 r992  
    301301ac_ct_CXX = @ac_ct_CXX@
    302302ac_ct_F77 = @ac_ct_F77@
    303 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    304303ac_ct_RANLIB = @ac_ct_RANLIB@
    305304ac_ct_STRIP = @ac_ct_STRIP@
    306305ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     306ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    307307am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    308308am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/configure

    r979 r992  
    473473#endif"
    474474
    475 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 CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 FLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COUENNE_SVN_REV CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP 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 LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_ct_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BONMIN_LIBS BONMIN_CFLAGS BONMIN_DATA BONMIN_DEPENDENCIES BONMIN_LIBS_INSTALLED BONMIN_CFLAGS_INSTALLED BONMIN_DATA_INSTALLED COUENNELIB_CFLAGS COUENNELIB_LIBS COUENNELIB_PCLIBS COUENNELIB_PCREQUIRES COUENNELIB_DEPENDENCIES COUENNELIB_CFLAGS_INSTALLED COUENNELIB_LIBS_INSTALLED COIN_HAS_BONMIN_TRUE COIN_HAS_BONMIN_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE NTYINCDIR NTYLIB COIN_HAS_NTY_TRUE COIN_HAS_NTY_FALSE SCIP_LIBS SCIP_CFLAGS SCIP_DATA SCIP_DEPENDENCIES SCIP_LIBS_INSTALLED SCIP_CFLAGS_INSTALLED SCIP_DATA_INSTALLED COIN_HAS_SCIP_TRUE COIN_HAS_SCIP_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA CPX_DEPENDENCIES CPX_LIBS_INSTALLED CPX_CFLAGS_INSTALLED CPX_DATA_INSTALLED COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE CPXINCDIR GRB_LIBS GRB_CFLAGS GRB_DATA GRB_DEPENDENCIES GRB_LIBS_INSTALLED GRB_CFLAGS_INSTALLED GRB_DATA_INSTALLED COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA MSK_DEPENDENCIES MSK_LIBS_INSTALLED MSK_CFLAGS_INSTALLED MSK_DATA_INSTALLED COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA SPX_DEPENDENCIES SPX_LIBS_INSTALLED SPX_CFLAGS_INSTALLED SPX_DATA_INSTALLED COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA XPR_DEPENDENCIES XPR_LIBS_INSTALLED XPR_CFLAGS_INSTALLED XPR_DATA_INSTALLED COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_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 CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 FLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COUENNE_SVN_REV CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP 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 LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BONMIN_LIBS BONMIN_CFLAGS BONMIN_DATA BONMIN_DEPENDENCIES BONMIN_LIBS_INSTALLED BONMIN_CFLAGS_INSTALLED BONMIN_DATA_INSTALLED COUENNELIB_CFLAGS COUENNELIB_LIBS COUENNELIB_PCLIBS COUENNELIB_PCREQUIRES COUENNELIB_DEPENDENCIES COUENNELIB_CFLAGS_INSTALLED COUENNELIB_LIBS_INSTALLED COIN_HAS_BONMIN_TRUE COIN_HAS_BONMIN_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE NTYINCDIR NTYLIB COIN_HAS_NTY_TRUE COIN_HAS_NTY_FALSE SCIP_LIBS SCIP_CFLAGS SCIP_DATA SCIP_DEPENDENCIES SCIP_LIBS_INSTALLED SCIP_CFLAGS_INSTALLED SCIP_DATA_INSTALLED COIN_HAS_SCIP_TRUE COIN_HAS_SCIP_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA CPX_DEPENDENCIES CPX_LIBS_INSTALLED CPX_CFLAGS_INSTALLED CPX_DATA_INSTALLED COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE CPXINCDIR GRB_LIBS GRB_CFLAGS GRB_DATA GRB_DEPENDENCIES GRB_LIBS_INSTALLED GRB_CFLAGS_INSTALLED GRB_DATA_INSTALLED COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA MSK_DEPENDENCIES MSK_LIBS_INSTALLED MSK_CFLAGS_INSTALLED MSK_DATA_INSTALLED COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA SPX_DEPENDENCIES SPX_LIBS_INSTALLED SPX_CFLAGS_INSTALLED SPX_DATA_INSTALLED COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA XPR_DEPENDENCIES XPR_LIBS_INSTALLED XPR_CFLAGS_INSTALLED XPR_DATA_INSTALLED COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    27272727          clang* ) ;;
    27282728          cl* | */cl* | CL* | */CL*)
    2729             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    2730               coin_opt_cflags='-MD -O2'
    2731               coin_dbg_cflags='-MDd'
    2732             else
    2733               coin_opt_cflags='-MT -O2'
    2734               coin_dbg_cflags='-MTd'
    2735             fi
     2729            coin_opt_cflags='-MT -O2'
    27362730            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
     2731            coin_dbg_cflags='-MTd'
    27372732            ;;
    27382733          icl* | */icl* | ICL* | */ICL*)
    2739             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    2740               coin_opt_cflags='-MD -Ox'
    2741               coin_dbg_cflags='-MDd -debug'
    2742             else
    2743               coin_opt_cflags='-MT -Ox'
    2744               coin_dbg_cflags='-MTd -debug'
    2745             fi
     2734            coin_opt_cflags='-MT -Ox'
    27462735            coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE'
     2736            coin_dbg_cflags='-MTd -debug'
    27472737            ;;
    27482738        esac
     
    33123302
    33133303# Provide some information about the compiler.
    3314 echo "$as_me:3314:" \
     3304echo "$as_me:3304:" \
    33153305     "checking for Fortran 77 compiler version" >&5
    33163306ac_compiler=`set X $ac_compile; echo $2`
     
    35273517        case $F77 in
    35283518          ifort* | */ifort* | IFORT* | */IFORT* )
    3529             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    3530               coin_opt_fflags='-MD -O3'
    3531               coin_dbg_fflags='-MDd -debug'
    3532             else
    3533               coin_opt_fflags='-MT -O3'
    3534               coin_dbg_fflags='-MTd -debug'
    3535             fi
     3519            coin_opt_fflags='-MT -O3'
    35363520            coin_add_fflags='-fpp -nologo'
     3521            coin_dbg_fflags='-MTd -debug'
    35373522          ;;
    35383523          compile_f2c*)
    3539             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    3540               coin_opt_fflags='-MD -O2'
    3541               coin_dbg_fflags='-MDd'
    3542             else
    3543               coin_opt_fflags='-MT -O2'
    3544               coin_dbg_fflags='-MTd'
    3545             fi
     3524            coin_opt_fflags='-MT -O2'
    35463525            coin_add_fflags='-nologo -wd4996'
     3526            coin_dbg_fflags='-MTd'
    35473527          ;;
    35483528        esac
     
    38913871ac_save_FFLAGS=$FFLAGS
    38923872FFLAGS="$FFLAGS $ac_verb"
    3893 (eval echo $as_me:3893: \"$ac_link\") >&5
     3873(eval echo $as_me:3873: \"$ac_link\") >&5
    38943874ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    38953875echo "$ac_f77_v_output" >&5
     
    39693949ac_save_FFLAGS=$FFLAGS
    39703950FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    3971 (eval echo $as_me:3971: \"$ac_link\") >&5
     3951(eval echo $as_me:3951: \"$ac_link\") >&5
    39723952ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39733953echo "$ac_f77_v_output" >&5
     
    55805560          clang* ) ;;
    55815561          cl* | */cl* | CL* | */CL*)
    5582             # The MT and MTd options are mutually exclusive
    5583             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    5584                coin_opt_cxxflags='-MD -O2'
    5585                coin_dbg_cxxflags='-MDd'
    5586             else
    5587                coin_opt_cxxflags='-MT -O2'
    5588                coin_dbg_cxxflags='-MTd'
    5589             fi
     5562            # The MT and MTd options are mutually exclusive
     5563            coin_opt_cxxflags='-MT -O2'
    55905564            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
     5565            coin_dbg_cxxflags='-MTd'
    55915566            ;;
    55925567          icl* | */icl* | ICL* | */ICL*)
    5593           # The MT and MTd options are mutually exclusive
    5594             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    5595               coin_opt_cxxflags='-MD -Ox'
    5596               coin_dbg_cxxflags='-MDd -debug'
    5597             else
    5598               coin_opt_cxxflags='-MT -Ox'
    5599               coin_dbg_cxxflags='-MTd -debug'
    5600             fi
     5568            # The MT and MTd options are mutually exclusive
     5569            coin_opt_cxxflags='-MT -Ox'
    56015570            coin_add_cxxflags='-nologo -EHsc -GR -D_CRT_SECURE_NO_DEPRECATE'
     5571            coin_dbg_cxxflags='-MTd -debug'
    56025572            ;;
    56035573        esac
     
    67786748          clang* ) ;;
    67796749          cl* | */cl* | CL* | */CL*)
    6780             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    6781               coin_opt_cflags='-MD -O2'
    6782               coin_dbg_cflags='-MDd'
    6783             else
    6784               coin_opt_cflags='-MT -O2'
    6785               coin_dbg_cflags='-MTd'
    6786             fi
     6750            coin_opt_cflags='-MT -O2'
    67876751            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
     6752            coin_dbg_cflags='-MTd'
    67886753            ;;
    67896754          icl* | */icl* | ICL* | */ICL*)
    6790             if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then
    6791               coin_opt_cflags='-MD -Ox'
    6792               coin_dbg_cflags='-MDd -debug'
    6793             else
    6794               coin_opt_cflags='-MT -Ox'
    6795               coin_dbg_cflags='-MTd -debug'
    6796             fi
     6755            coin_opt_cflags='-MT -Ox'
    67976756            coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE'
     6757            coin_dbg_cflags='-MTd -debug'
    67986758            ;;
    67996759        esac
     
    71757135# START
    71767136
    7177 coin_disable_shared=no
    71787137# Test if force_shared has been set
    71797138if test "x" = xforce_shared; then
     
    72117170    { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
    72127171echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
    7213   else
    7214     # we don't disable shared, because it was not selected anyway
    7215     coin_disable_shared=no
    72167172  fi
    72177173  enable_shared=no
     
    89208876*-*-irix6*)
    89218877  # Find out which ABI we are using.
    8922   echo '#line 8922 "configure"' > conftest.$ac_ext
     8878  echo '#line 8878 "configure"' > conftest.$ac_ext
    89238879  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    89248880  (eval $ac_compile) 2>&5
     
    1090010856   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1090110857   -e 's:$: $lt_compiler_flag:'`
    10902    (eval echo "\"\$as_me:10902: $lt_compile\"" >&5)
     10858   (eval echo "\"\$as_me:10858: $lt_compile\"" >&5)
    1090310859   (eval "$lt_compile" 2>conftest.err)
    1090410860   ac_status=$?
    1090510861   cat conftest.err >&5
    10906    echo "$as_me:10906: \$? = $ac_status" >&5
     10862   echo "$as_me:10862: \$? = $ac_status" >&5
    1090710863   if (exit $ac_status) && test -s "$ac_outfile"; then
    1090810864     # The compiler can only warn and ignore the option if not recognized
     
    1116811124   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1116911125   -e 's:$: $lt_compiler_flag:'`
    11170    (eval echo "\"\$as_me:11170: $lt_compile\"" >&5)
     11126   (eval echo "\"\$as_me:11126: $lt_compile\"" >&5)
    1117111127   (eval "$lt_compile" 2>conftest.err)
    1117211128   ac_status=$?
    1117311129   cat conftest.err >&5
    11174    echo "$as_me:11174: \$? = $ac_status" >&5
     11130   echo "$as_me:11130: \$? = $ac_status" >&5
    1117511131   if (exit $ac_status) && test -s "$ac_outfile"; then
    1117611132     # The compiler can only warn and ignore the option if not recognized
     
    1127211228   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1127311229   -e 's:$: $lt_compiler_flag:'`
    11274    (eval echo "\"\$as_me:11274: $lt_compile\"" >&5)
     11230   (eval echo "\"\$as_me:11230: $lt_compile\"" >&5)
    1127511231   (eval "$lt_compile" 2>out/conftest.err)
    1127611232   ac_status=$?
    1127711233   cat out/conftest.err >&5
    11278    echo "$as_me:11278: \$? = $ac_status" >&5
     11234   echo "$as_me:11234: \$? = $ac_status" >&5
    1127911235   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1128011236   then
     
    1368913645  lt_status=$lt_dlunknown
    1369013646  cat > conftest.$ac_ext <<EOF
    13691 #line 13691 "configure"
     13647#line 13647 "configure"
    1369213648#include "confdefs.h"
    1369313649
     
    1378913745  lt_status=$lt_dlunknown
    1379013746  cat > conftest.$ac_ext <<EOF
    13791 #line 13791 "configure"
     13747#line 13747 "configure"
    1379213748#include "confdefs.h"
    1379313749
     
    1614916105   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1615016106   -e 's:$: $lt_compiler_flag:'`
    16151    (eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
     16107   (eval echo "\"\$as_me:16107: $lt_compile\"" >&5)
    1615216108   (eval "$lt_compile" 2>conftest.err)
    1615316109   ac_status=$?
    1615416110   cat conftest.err >&5
    16155    echo "$as_me:16155: \$? = $ac_status" >&5
     16111   echo "$as_me:16111: \$? = $ac_status" >&5
    1615616112   if (exit $ac_status) && test -s "$ac_outfile"; then
    1615716113     # The compiler can only warn and ignore the option if not recognized
     
    1625316209   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1625416210   -e 's:$: $lt_compiler_flag:'`
    16255    (eval echo "\"\$as_me:16255: $lt_compile\"" >&5)
     16211   (eval echo "\"\$as_me:16211: $lt_compile\"" >&5)
    1625616212   (eval "$lt_compile" 2>out/conftest.err)
    1625716213   ac_status=$?
    1625816214   cat out/conftest.err >&5
    16259    echo "$as_me:16259: \$? = $ac_status" >&5
     16215   echo "$as_me:16215: \$? = $ac_status" >&5
    1626016216   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1626116217   then
     
    1782317779   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1782417780   -e 's:$: $lt_compiler_flag:'`
    17825    (eval echo "\"\$as_me:17825: $lt_compile\"" >&5)
     17781   (eval echo "\"\$as_me:17781: $lt_compile\"" >&5)
    1782617782   (eval "$lt_compile" 2>conftest.err)
    1782717783   ac_status=$?
    1782817784   cat conftest.err >&5
    17829    echo "$as_me:17829: \$? = $ac_status" >&5
     17785   echo "$as_me:17785: \$? = $ac_status" >&5
    1783017786   if (exit $ac_status) && test -s "$ac_outfile"; then
    1783117787     # The compiler can only warn and ignore the option if not recognized
     
    1792717883   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1792817884   -e 's:$: $lt_compiler_flag:'`
    17929    (eval echo "\"\$as_me:17929: $lt_compile\"" >&5)
     17885   (eval echo "\"\$as_me:17885: $lt_compile\"" >&5)
    1793017886   (eval "$lt_compile" 2>out/conftest.err)
    1793117887   ac_status=$?
    1793217888   cat out/conftest.err >&5
    17933    echo "$as_me:17933: \$? = $ac_status" >&5
     17889   echo "$as_me:17889: \$? = $ac_status" >&5
    1793417890   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1793517891   then
     
    2013420090   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2013520091   -e 's:$: $lt_compiler_flag:'`
    20136    (eval echo "\"\$as_me:20136: $lt_compile\"" >&5)
     20092   (eval echo "\"\$as_me:20092: $lt_compile\"" >&5)
    2013720093   (eval "$lt_compile" 2>conftest.err)
    2013820094   ac_status=$?
    2013920095   cat conftest.err >&5
    20140    echo "$as_me:20140: \$? = $ac_status" >&5
     20096   echo "$as_me:20096: \$? = $ac_status" >&5
    2014120097   if (exit $ac_status) && test -s "$ac_outfile"; then
    2014220098     # The compiler can only warn and ignore the option if not recognized
     
    2040220358   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2040320359   -e 's:$: $lt_compiler_flag:'`
    20404    (eval echo "\"\$as_me:20404: $lt_compile\"" >&5)
     20360   (eval echo "\"\$as_me:20360: $lt_compile\"" >&5)
    2040520361   (eval "$lt_compile" 2>conftest.err)
    2040620362   ac_status=$?
    2040720363   cat conftest.err >&5
    20408    echo "$as_me:20408: \$? = $ac_status" >&5
     20364   echo "$as_me:20364: \$? = $ac_status" >&5
    2040920365   if (exit $ac_status) && test -s "$ac_outfile"; then
    2041020366     # The compiler can only warn and ignore the option if not recognized
     
    2050620462   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    2050720463   -e 's:$: $lt_compiler_flag:'`
    20508    (eval echo "\"\$as_me:20508: $lt_compile\"" >&5)
     20464   (eval echo "\"\$as_me:20464: $lt_compile\"" >&5)
    2050920465   (eval "$lt_compile" 2>out/conftest.err)
    2051020466   ac_status=$?
    2051120467   cat out/conftest.err >&5
    20512    echo "$as_me:20512: \$? = $ac_status" >&5
     20468   echo "$as_me:20468: \$? = $ac_status" >&5
    2051320469   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    2051420470   then
     
    2377323729  use_pkgconfig="$enableval"
    2377423730else
    23775   if test x$coin_cc_is_cl = xtrue; then
    23776      use_pkgconfig=no
    23777    else
    23778      use_pkgconfig=yes
    23779    fi
     23731  use_pkgconfig=yes
    2378023732fi;
    2378123733
     
    2378723739echo "$as_me:$LINENO: checking for $ac_word" >&5
    2378823740echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    23789 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
     23741if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    2379023742  echo $ECHO_N "(cached) $ECHO_C" >&6
    2379123743else
    23792   if test -n "$PKG_CONFIG"; then
    23793   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
    23794 else
    23795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     23744  case $PKG_CONFIG in
     23745  [\\/]* | ?:[\\/]*)
     23746  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     23747  ;;
     23748  *)
     23749  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2379623750for as_dir in $PATH
    2379723751do
     
    2380023754  for ac_exec_ext in '' $ac_executable_extensions; do
    2380123755  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23802     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
     23756    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2380323757    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2380423758    break 2
     
    2380723761done
    2380823762
    23809 fi
    23810 fi
    23811 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
     23763  ;;
     23764esac
     23765fi
     23766PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     23767
    2381223768if test -n "$PKG_CONFIG"; then
    2381323769  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     
    2381923775
    2382023776fi
    23821 if test -z "$ac_cv_prog_PKG_CONFIG"; then
    23822   ac_ct_PKG_CONFIG=$PKG_CONFIG
     23777if test -z "$ac_cv_path_PKG_CONFIG"; then
     23778  ac_pt_PKG_CONFIG=$PKG_CONFIG
    2382323779  # Extract the first word of "pkg-config", so it can be a program name with args.
    2382423780set dummy pkg-config; ac_word=$2
    2382523781echo "$as_me:$LINENO: checking for $ac_word" >&5
    2382623782echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    23827 if test "${ac_cv_prog_ac_ct_PKG_CONFIG+set}" = set; then
     23783if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    2382823784  echo $ECHO_N "(cached) $ECHO_C" >&6
    2382923785else
    23830   if test -n "$ac_ct_PKG_CONFIG"; then
    23831   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
    23832 else
    23833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     23786  case $ac_pt_PKG_CONFIG in
     23787  [\\/]* | ?:[\\/]*)
     23788  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     23789  ;;
     23790  *)
     23791  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2383423792for as_dir in $PATH
    2383523793do
     
    2383823796  for ac_exec_ext in '' $ac_executable_extensions; do
    2383923797  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23840     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
     23798    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2384123799    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2384223800    break 2
     
    2384523803done
    2384623804
    23847 fi
    23848 fi
    23849 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
    23850 if test -n "$ac_ct_PKG_CONFIG"; then
    23851   echo "$as_me:$LINENO: result: $ac_ct_PKG_CONFIG" >&5
    23852 echo "${ECHO_T}$ac_ct_PKG_CONFIG" >&6
     23805  ;;
     23806esac
     23807fi
     23808ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     23809
     23810if test -n "$ac_pt_PKG_CONFIG"; then
     23811  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     23812echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    2385323813else
    2385423814  echo "$as_me:$LINENO: result: no" >&5
     
    2385623816fi
    2385723817
    23858   PKG_CONFIG=$ac_ct_PKG_CONFIG
    23859 else
    23860   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
     23818  PKG_CONFIG=$ac_pt_PKG_CONFIG
     23819else
     23820  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
    2386123821fi
    2386223822
     
    3063830598s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    3063930599s,@PKG_CONFIG@,$PKG_CONFIG,;t t
    30640 s,@ac_ct_PKG_CONFIG@,$ac_ct_PKG_CONFIG,;t t
     30600s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
    3064130601s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
    3064230602s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
  • branches/CouenneClassifier/Couenne/src/Makefile.in

    r979 r992  
    344344ac_ct_CXX = @ac_ct_CXX@
    345345ac_ct_F77 = @ac_ct_F77@
    346 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    347346ac_ct_RANLIB = @ac_ct_RANLIB@
    348347ac_ct_STRIP = @ac_ct_STRIP@
    349348ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     349ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    350350am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    351351am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/bound_tightening/Makefile.in

    r979 r992  
    269269ac_ct_CXX = @ac_ct_CXX@
    270270ac_ct_F77 = @ac_ct_F77@
    271 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    272271ac_ct_RANLIB = @ac_ct_RANLIB@
    273272ac_ct_STRIP = @ac_ct_STRIP@
    274273ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     274ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    275275am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    276276am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/bound_tightening/twoImpliedBT/Makefile.in

    r979 r992  
    263263ac_ct_CXX = @ac_ct_CXX@
    264264ac_ct_F77 = @ac_ct_F77@
    265 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    266265ac_ct_RANLIB = @ac_ct_RANLIB@
    267266ac_ct_STRIP = @ac_ct_STRIP@
    268267ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     268ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    269269am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    270270am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/branch/Makefile.in

    r979 r992  
    280280ac_ct_CXX = @ac_ct_CXX@
    281281ac_ct_F77 = @ac_ct_F77@
    282 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    283282ac_ct_RANLIB = @ac_ct_RANLIB@
    284283ac_ct_STRIP = @ac_ct_STRIP@
    285284ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     285ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    286286am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    287287am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/convex/Makefile.in

    r979 r992  
    264264ac_ct_CXX = @ac_ct_CXX@
    265265ac_ct_F77 = @ac_ct_F77@
    266 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    267266ac_ct_RANLIB = @ac_ct_RANLIB@
    268267ac_ct_STRIP = @ac_ct_STRIP@
    269268ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     269ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    270270am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    271271am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/cut/crossconv/Makefile.in

    r979 r992  
    260260ac_ct_CXX = @ac_ct_CXX@
    261261ac_ct_F77 = @ac_ct_F77@
    262 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    263262ac_ct_RANLIB = @ac_ct_RANLIB@
    264263ac_ct_STRIP = @ac_ct_STRIP@
    265264ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     265ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    266266am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    267267am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/cut/sdpcuts/Makefile.in

    r979 r992  
    261261ac_ct_CXX = @ac_ct_CXX@
    262262ac_ct_F77 = @ac_ct_F77@
    263 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    264263ac_ct_RANLIB = @ac_ct_RANLIB@
    265264ac_ct_STRIP = @ac_ct_STRIP@
    266265ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     266ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    267267am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    268268am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/disjunctive/Makefile.in

    r979 r992  
    263263ac_ct_CXX = @ac_ct_CXX@
    264264ac_ct_F77 = @ac_ct_F77@
    265 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    266265ac_ct_RANLIB = @ac_ct_RANLIB@
    267266ac_ct_STRIP = @ac_ct_STRIP@
    268267ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     268ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    269269am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    270270am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/expression/Makefile.in

    r979 r992  
    279279ac_ct_CXX = @ac_ct_CXX@
    280280ac_ct_F77 = @ac_ct_F77@
    281 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    282281ac_ct_RANLIB = @ac_ct_RANLIB@
    283282ac_ct_STRIP = @ac_ct_STRIP@
    284283ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     284ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    285285am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    286286am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/heuristics/Makefile.am

    r883 r992  
    1313        BonInitHeuristic.cpp \
    1414        BonNlpHeuristic.cpp \
     15        CouenneNlpRoundOne.cpp \
    1516        CouenneFeasPumpConstructors.cpp \
    1617        CouenneFeasPump.cpp \
  • branches/CouenneClassifier/Couenne/src/heuristics/Makefile.in

    r979 r992  
    5959libCouenneHeuristics_la_LIBADD =
    6060am__libCouenneHeuristics_la_SOURCES_DIST = BonInitHeuristic.cpp \
    61         BonNlpHeuristic.cpp CouenneFeasPumpConstructors.cpp \
    62         CouenneFeasPump.cpp CouenneFPcreateMILP.cpp \
    63         CouenneFPSolveMILP.cpp CouenneFPSolveNLP.cpp \
    64         CouenneFPFindSolution.cpp CouenneFPpool.cpp \
    65         CouenneFPscipSolve.cpp CouenneIterativeRounding.cpp \
    66         cons_rowcuts.cpp
     61        BonNlpHeuristic.cpp CouenneNlpRoundOne.cpp \
     62        CouenneFeasPumpConstructors.cpp CouenneFeasPump.cpp \
     63        CouenneFPcreateMILP.cpp CouenneFPSolveMILP.cpp \
     64        CouenneFPSolveNLP.cpp CouenneFPFindSolution.cpp \
     65        CouenneFPpool.cpp CouenneFPscipSolve.cpp \
     66        CouenneIterativeRounding.cpp cons_rowcuts.cpp
    6767@COIN_HAS_SCIP_TRUE@am__objects_1 = cons_rowcuts.lo
    6868am_libCouenneHeuristics_la_OBJECTS = BonInitHeuristic.lo \
    69         BonNlpHeuristic.lo CouenneFeasPumpConstructors.lo \
    70         CouenneFeasPump.lo CouenneFPcreateMILP.lo \
    71         CouenneFPSolveMILP.lo CouenneFPSolveNLP.lo \
    72         CouenneFPFindSolution.lo CouenneFPpool.lo \
     69        BonNlpHeuristic.lo CouenneNlpRoundOne.lo \
     70        CouenneFeasPumpConstructors.lo CouenneFeasPump.lo \
     71        CouenneFPcreateMILP.lo CouenneFPSolveMILP.lo \
     72        CouenneFPSolveNLP.lo CouenneFPFindSolution.lo CouenneFPpool.lo \
    7373        CouenneFPscipSolve.lo CouenneIterativeRounding.lo \
    7474        $(am__objects_1)
     
    276276ac_ct_CXX = @ac_ct_CXX@
    277277ac_ct_F77 = @ac_ct_F77@
    278 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    279278ac_ct_RANLIB = @ac_ct_RANLIB@
    280279ac_ct_STRIP = @ac_ct_STRIP@
    281280ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     281ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    282282am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    283283am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    327327# List all source files for this library, including headers
    328328libCouenneHeuristics_la_SOURCES = BonInitHeuristic.cpp \
    329         BonNlpHeuristic.cpp CouenneFeasPumpConstructors.cpp \
    330         CouenneFeasPump.cpp CouenneFPcreateMILP.cpp \
    331         CouenneFPSolveMILP.cpp CouenneFPSolveNLP.cpp \
    332         CouenneFPFindSolution.cpp CouenneFPpool.cpp \
    333         CouenneFPscipSolve.cpp CouenneIterativeRounding.cpp \
    334         $(am__append_1)
     329        BonNlpHeuristic.cpp CouenneNlpRoundOne.cpp \
     330        CouenneFeasPumpConstructors.cpp CouenneFeasPump.cpp \
     331        CouenneFPcreateMILP.cpp CouenneFPSolveMILP.cpp \
     332        CouenneFPSolveNLP.cpp CouenneFPFindSolution.cpp \
     333        CouenneFPpool.cpp CouenneFPscipSolve.cpp \
     334        CouenneIterativeRounding.cpp $(am__append_1)
    335335
    336336# This is for libtool
     
    412412@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CouenneFeasPumpConstructors.Plo@am__quote@
    413413@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CouenneIterativeRounding.Plo@am__quote@
     414@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CouenneNlpRoundOne.Plo@am__quote@
    414415@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cons_rowcuts.Plo@am__quote@
    415416
  • branches/CouenneClassifier/Couenne/src/interfaces/Makefile.in

    r979 r992  
    261261ac_ct_CXX = @ac_ct_CXX@
    262262ac_ct_F77 = @ac_ct_F77@
    263 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    264263ac_ct_RANLIB = @ac_ct_RANLIB@
    265264ac_ct_STRIP = @ac_ct_STRIP@
    266265ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     266ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    267267am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    268268am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/main/BonCouenneSetup.cpp

    r989 r992  
    4444
    4545#include "BonCouenneSetup.hpp"
     46#include "CouenneNlpRoundOne.hpp"
    4647#include "CouenneFeasPump.hpp"
    4748#include "CouenneIterativeRounding.hpp"
     
    580581 
    581582  if (doHeuristic == "yes") {
    582     CouenneIterativeRounding * nlpHeuristic = new CouenneIterativeRounding(nonlinearSolver_, ci, couenneProb_, options());
     583    CouenneIterativeRounding * nlpHeuristic = new CouenneIterativeRounding (nonlinearSolver_, ci, couenneProb_, options());
    583584    HeuristicMethod h;
    584585    h.id = "Couenne Iterative Rounding";
     
    605606  }
    606607
     608  CouenneNlpRoundOne *nlpHeuristic = new CouenneNlpRoundOne;
     609  nlpHeuristic -> setNlp (*ci,false);
     610  nlpHeuristic -> setCouenneProblem (couenneProb_);
     611
     612  HeuristicMethod h;
     613
     614  h.id = "Couenne Nlp Round";
     615  h.heuristic = nlpHeuristic;
     616  heuristics_. push_back (h);
    607617
    608618  if (0) { // inactive as of yet -- segfaults
  • branches/CouenneClassifier/Couenne/src/main/Makefile.in

    r979 r992  
    278278ac_ct_CXX = @ac_ct_CXX@
    279279ac_ct_F77 = @ac_ct_F77@
    280 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    281280ac_ct_RANLIB = @ac_ct_RANLIB@
    282281ac_ct_STRIP = @ac_ct_STRIP@
    283282ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     283ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    284284am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    285285am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/problem/Makefile.in

    r979 r992  
    297297ac_ct_CXX = @ac_ct_CXX@
    298298ac_ct_F77 = @ac_ct_F77@
    299 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    300299ac_ct_RANLIB = @ac_ct_RANLIB@
    301300ac_ct_STRIP = @ac_ct_STRIP@
    302301ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     302ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    303303am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    304304am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/readnl/Makefile.in

    r979 r992  
    267267ac_ct_CXX = @ac_ct_CXX@
    268268ac_ct_F77 = @ac_ct_F77@
    269 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    270269ac_ct_RANLIB = @ac_ct_RANLIB@
    271270ac_ct_STRIP = @ac_ct_STRIP@
    272271ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     272ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    273273am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    274274am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/standardize/Makefile.in

    r979 r992  
    263263ac_ct_CXX = @ac_ct_CXX@
    264264ac_ct_F77 = @ac_ct_F77@
    265 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    266265ac_ct_RANLIB = @ac_ct_RANLIB@
    267266ac_ct_STRIP = @ac_ct_STRIP@
    268267ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     268ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    269269am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    270270am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/src/util/Makefile.in

    r979 r992  
    260260ac_ct_CXX = @ac_ct_CXX@
    261261ac_ct_F77 = @ac_ct_F77@
    262 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    263262ac_ct_RANLIB = @ac_ct_RANLIB@
    264263ac_ct_STRIP = @ac_ct_STRIP@
    265264ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     265ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    266266am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    267267am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/Couenne/test/Makefile.in

    r979 r992  
    243243ac_ct_CXX = @ac_ct_CXX@
    244244ac_ct_F77 = @ac_ct_F77@
    245 ac_ct_PKG_CONFIG = @ac_ct_PKG_CONFIG@
    246245ac_ct_RANLIB = @ac_ct_RANLIB@
    247246ac_ct_STRIP = @ac_ct_STRIP@
    248247ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     248ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    249249am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    250250am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • branches/CouenneClassifier/configure

    r974 r992  
    251251
    252252
    253 
    254 # Check that we are running under the correct shell.
    255 SHELL=${CONFIG_SHELL-/bin/sh}
    256 
    257 case X$ECHO in
    258 X*--fallback-echo)
    259   # Remove one level of quotation (which was required for Make).
    260   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    261   ;;
    262 esac
    263 
    264 echo=${ECHO-echo}
    265 if test "X$1" = X--no-reexec; then
    266   # Discard the --no-reexec flag, and continue.
    267   shift
    268 elif test "X$1" = X--fallback-echo; then
    269   # Avoid inline document here, it may be left over
    270   :
    271 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    272   # Yippee, $echo works!
    273   :
    274 else
    275   # Restart under the correct shell.
    276   exec $SHELL "$0" --no-reexec ${1+"$@"}
    277 fi
    278 
    279 if test "X$1" = X--fallback-echo; then
    280   # used as fallback echo
    281   shift
    282   cat <<EOF
    283 $*
    284 EOF
    285   exit 0
    286 fi
    287 
    288 # The HP-UX ksh and POSIX shell print the target directory to stdout
    289 # if CDPATH is set.
    290 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    291 
    292 if test -z "$ECHO"; then
    293 if test "X${echo_test_string+set}" != Xset; then
    294 # find a string as large as possible, as long as the shell can cope with it
    295   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    296     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    297     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    298        echo_test_string=`eval $cmd` &&
    299        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    300     then
    301       break
    302     fi
    303   done
    304 fi
    305 
    306 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    307    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    308    test "X$echo_testing_string" = "X$echo_test_string"; then
    309   :
    310 else
    311   # The Solaris, AIX, and Digital Unix default echo programs unquote
    312   # backslashes.  This makes it impossible to quote backslashes using
    313   #   echo "$something" | sed 's/\\/\\\\/g'
    314   #
    315   # So, first we look for a working echo in the user's PATH.
    316 
    317   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    318   for dir in $PATH /usr/ucb; do
    319     IFS="$lt_save_ifs"
    320     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    321        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    322        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    323        test "X$echo_testing_string" = "X$echo_test_string"; then
    324       echo="$dir/echo"
    325       break
    326     fi
    327   done
    328   IFS="$lt_save_ifs"
    329 
    330   if test "X$echo" = Xecho; then
    331     # We didn't find a better echo, so look for alternatives.
    332     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    333        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    334        test "X$echo_testing_string" = "X$echo_test_string"; then
    335       # This shell has a builtin print -r that does the trick.
    336       echo='print -r'
    337     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    338          test "X$CONFIG_SHELL" != X/bin/ksh; then
    339       # If we have ksh, try running configure again with it.
    340       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    341       export ORIGINAL_CONFIG_SHELL
    342       CONFIG_SHELL=/bin/ksh
    343       export CONFIG_SHELL
    344       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    345     else
    346       # Try using printf.
    347       echo='printf %s\n'
    348       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    349          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    350          test "X$echo_testing_string" = "X$echo_test_string"; then
    351         # Cool, printf works
    352         :
    353       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    354            test "X$echo_testing_string" = 'X\t' &&
    355            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    356            test "X$echo_testing_string" = "X$echo_test_string"; then
    357         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    358         export CONFIG_SHELL
    359         SHELL="$CONFIG_SHELL"
    360         export SHELL
    361         echo="$CONFIG_SHELL $0 --fallback-echo"
    362       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    363            test "X$echo_testing_string" = 'X\t' &&
    364            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    365            test "X$echo_testing_string" = "X$echo_test_string"; then
    366         echo="$CONFIG_SHELL $0 --fallback-echo"
    367       else
    368         # maybe with a smaller string...
    369         prev=:
    370 
    371         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    372           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    373           then
    374             break
    375           fi
    376           prev="$cmd"
    377         done
    378 
    379         if test "$prev" != 'sed 50q "$0"'; then
    380           echo_test_string=`eval $prev`
    381           export echo_test_string
    382           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    383         else
    384           # Oops.  We lost completely, so just stick with echo.
    385           echo=echo
    386         fi
    387       fi
    388     fi
    389   fi
    390 fi
    391 fi
    392 
    393 # Copy echo and quote the copy suitably for passing to libtool from
    394 # the Makefile, instead of quoting the original, which is used later.
    395 ECHO=$echo
    396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    397    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    398 fi
    399 
    400 
    401 
    402 
    403 tagnames=${tagnames+${tagnames},}CXX
    404 
    405 tagnames=${tagnames+${tagnames},}F77
    406 
    407253# Name of the host.
    408254# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     
    437283ac_unique_file="configure.ac"
    438284ac_default_prefix=`pwd`
    439 # Factoring default headers for most tests.
    440 ac_includes_default="\
    441 #include <stdio.h>
    442 #if HAVE_SYS_TYPES_H
    443 # include <sys/types.h>
    444 #endif
    445 #if HAVE_SYS_STAT_H
    446 # include <sys/stat.h>
    447 #endif
    448 #if STDC_HEADERS
    449 # include <stdlib.h>
    450 # include <stddef.h>
    451 #else
    452 # if HAVE_STDLIB_H
    453 #  include <stdlib.h>
    454 # endif
    455 #endif
    456 #if HAVE_STRING_H
    457 # if !STDC_HEADERS && HAVE_MEMORY_H
    458 #  include <memory.h>
    459 # endif
    460 # include <string.h>
    461 #endif
    462 #if HAVE_STRINGS_H
    463 # include <strings.h>
    464 #endif
    465 #if HAVE_INTTYPES_H
    466 # include <inttypes.h>
    467 #else
    468 # if HAVE_STDINT_H
    469 #  include <stdint.h>
    470 # endif
    471 #endif
    472 #if HAVE_UNISTD_H
    473 # include <unistd.h>
    474 #endif"
    475 
    476 ac_subdirs_all="$ac_subdirs_all ThirdParty/ASL"
    477 ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    478 ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
    479 ac_subdirs_all="$ac_subdirs_all ThirdParty/Metis"
    480 ac_subdirs_all="$ac_subdirs_all ThirdParty/HSL"
    481 ac_subdirs_all="$ac_subdirs_all ThirdParty/Mumps"
    482 ac_subdirs_all="$ac_subdirs_all ThirdParty/SoPlex"
    483 ac_subdirs_all="$ac_subdirs_all CoinUtils"
    484 ac_subdirs_all="$ac_subdirs_all Osi"
    485 ac_subdirs_all="$ac_subdirs_all Clp"
    486 ac_subdirs_all="$ac_subdirs_all Cgl"
    487 ac_subdirs_all="$ac_subdirs_all Cbc"
    488 ac_subdirs_all="$ac_subdirs_all Ipopt"
    489 ac_subdirs_all="$ac_subdirs_all ThirdParty/SCIP"
    490 ac_subdirs_all="$ac_subdirs_all Bonmin"
    491 ac_subdirs_all="$ac_subdirs_all Couenne"
    492 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 CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 EGREP 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 LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     285ac_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'
    493286ac_subst_files=''
    494287
     
    931724ac_cv_env_target_alias_set=${target_alias+set}
    932725ac_cv_env_target_alias_value=$target_alias
    933 ac_env_CDEFS_set=${CDEFS+set}
    934 ac_env_CDEFS_value=$CDEFS
    935 ac_cv_env_CDEFS_set=${CDEFS+set}
    936 ac_cv_env_CDEFS_value=$CDEFS
    937 ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
    938 ac_env_ADD_CFLAGS_value=$ADD_CFLAGS
    939 ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
    940 ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS
    941 ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
    942 ac_env_DBG_CFLAGS_value=$DBG_CFLAGS
    943 ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
    944 ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS
    945 ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
    946 ac_env_OPT_CFLAGS_value=$OPT_CFLAGS
    947 ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
    948 ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS
    949 ac_env_CC_set=${CC+set}
    950 ac_env_CC_value=$CC
    951 ac_cv_env_CC_set=${CC+set}
    952 ac_cv_env_CC_value=$CC
    953 ac_env_CFLAGS_set=${CFLAGS+set}
    954 ac_env_CFLAGS_value=$CFLAGS
    955 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    956 ac_cv_env_CFLAGS_value=$CFLAGS
    957 ac_env_LDFLAGS_set=${LDFLAGS+set}
    958 ac_env_LDFLAGS_value=$LDFLAGS
    959 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    960 ac_cv_env_LDFLAGS_value=$LDFLAGS
    961 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    962 ac_env_CPPFLAGS_value=$CPPFLAGS
    963 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    964 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    965 ac_env_MPICC_set=${MPICC+set}
    966 ac_env_MPICC_value=$MPICC
    967 ac_cv_env_MPICC_set=${MPICC+set}
    968 ac_cv_env_MPICC_value=$MPICC
    969 ac_env_CXXDEFS_set=${CXXDEFS+set}
    970 ac_env_CXXDEFS_value=$CXXDEFS
    971 ac_cv_env_CXXDEFS_set=${CXXDEFS+set}
    972 ac_cv_env_CXXDEFS_value=$CXXDEFS
    973 ac_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set}
    974 ac_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS
    975 ac_cv_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set}
    976 ac_cv_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS
    977 ac_env_DBG_CXXFLAGS_set=${DBG_CXXFLAGS+set}
    978 ac_env_DBG_CXXFLAGS_value=$DBG_CXXFLAGS
    979 ac_cv_env_DBG_CXXFLAGS_set=${DBG_CXXFLAGS+set}
    980 ac_cv_env_DBG_CXXFLAGS_value=$DBG_CXXFLAGS
    981 ac_env_OPT_CXXFLAGS_set=${OPT_CXXFLAGS+set}
    982 ac_env_OPT_CXXFLAGS_value=$OPT_CXXFLAGS
    983 ac_cv_env_OPT_CXXFLAGS_set=${OPT_CXXFLAGS+set}
    984 ac_cv_env_OPT_CXXFLAGS_value=$OPT_CXXFLAGS
    985 ac_env_CXX_set=${CXX+set}
    986 ac_env_CXX_value=$CXX
    987 ac_cv_env_CXX_set=${CXX+set}
    988 ac_cv_env_CXX_value=$CXX
    989 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    990 ac_env_CXXFLAGS_value=$CXXFLAGS
    991 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    992 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    993 ac_env_MPICXX_set=${MPICXX+set}
    994 ac_env_MPICXX_value=$MPICXX
    995 ac_cv_env_MPICXX_set=${MPICXX+set}
    996 ac_cv_env_MPICXX_value=$MPICXX
    997 ac_env_ADD_FFLAGS_set=${ADD_FFLAGS+set}
    998 ac_env_ADD_FFLAGS_value=$ADD_FFLAGS
    999 ac_cv_env_ADD_FFLAGS_set=${ADD_FFLAGS+set}
    1000 ac_cv_env_ADD_FFLAGS_value=$ADD_FFLAGS
    1001 ac_env_DBG_FFLAGS_set=${DBG_FFLAGS+set}
    1002 ac_env_DBG_FFLAGS_value=$DBG_FFLAGS
    1003 ac_cv_env_DBG_FFLAGS_set=${DBG_FFLAGS+set}
    1004 ac_cv_env_DBG_FFLAGS_value=$DBG_FFLAGS
    1005 ac_env_OPT_FFLAGS_set=${OPT_FFLAGS+set}
    1006 ac_env_OPT_FFLAGS_value=$OPT_FFLAGS
    1007 ac_cv_env_OPT_FFLAGS_set=${OPT_FFLAGS+set}
    1008 ac_cv_env_OPT_FFLAGS_value=$OPT_FFLAGS
    1009 ac_env_F77_set=${F77+set}
    1010 ac_env_F77_value=$F77
    1011 ac_cv_env_F77_set=${F77+set}
    1012 ac_cv_env_F77_value=$F77
    1013 ac_env_FFLAGS_set=${FFLAGS+set}
    1014 ac_env_FFLAGS_value=$FFLAGS
    1015 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    1016 ac_cv_env_FFLAGS_value=$FFLAGS
    1017 ac_env_MPIF77_set=${MPIF77+set}
    1018 ac_env_MPIF77_value=$MPIF77
    1019 ac_cv_env_MPIF77_set=${MPIF77+set}
    1020 ac_cv_env_MPIF77_value=$MPIF77
    1021 ac_env_CPP_set=${CPP+set}
    1022 ac_env_CPP_value=$CPP
    1023 ac_cv_env_CPP_set=${CPP+set}
    1024 ac_cv_env_CPP_value=$CPP
    1025 ac_env_CXXCPP_set=${CXXCPP+set}
    1026 ac_env_CXXCPP_value=$CXXCPP
    1027 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    1028 ac_cv_env_CXXCPP_value=$CXXCPP
    1029 ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    1030 ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
    1031 ac_cv_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    1032 ac_cv_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
    1033726
    1034727#
     
    1091784
    1092785  cat <<\_ACEOF
    1093 
    1094 Program names:
    1095   --program-prefix=PREFIX            prepend PREFIX to installed program names
    1096   --program-suffix=SUFFIX            append SUFFIX to installed program names
    1097   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    1098 
    1099 System types:
    1100   --build=BUILD     configure for building on BUILD [guessed]
    1101   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    1102786_ACEOF
    1103787fi
     
    1108792   esac
    1109793  cat <<\_ACEOF
    1110 
    1111 Optional Features:
    1112   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1113   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1114   --enable-debug          compile all projects with debug options tests
    1115                           (implies --disable-shared)
    1116   --enable-doscompile     Under Cygwin, compile so that executables run under
    1117                           DOS. Set to mingw to use gcc/g++/ld with
    1118                           -mno-cygwin. Set to msvc to use cl/link (or
    1119                           icl/link). Default when mentioned: mingw. Default
    1120                           when not mentioned: disabled.
    1121   --enable-static[=PKGS]
    1122                           build static libraries [default=no]
    1123   --disable-dependency-tracking  speeds up one-time build
    1124   --enable-dependency-tracking   do not reject slow dependency extractors
    1125   --enable-maintainer-mode  enable make rules and dependencies not useful
    1126                           (and sometimes confusing) to the casual installer
    1127   --enable-shared[=PKGS]
    1128                           build shared libraries [default=yes]
    1129   --enable-fast-install[=PKGS]
    1130                           optimize for fast installation [default=yes]
    1131   --disable-libtool-lock  avoid locking (might break parallel builds)
    1132 
    1133 Optional Packages:
    1134   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    1135   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1136   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1137   --with-pic              try to use only PIC/non-PIC objects [default=use
    1138                           both]
    1139   --with-tags[=TAGS]
    1140                           include additional configurations [automatic]
    1141 
    1142   --with-asl-lib linker flags for using project ASL
    1143   --with-asl-incdir directory with header files for using project ASL
    1144   --with-asl-datadir directory with data files for using project ASL
    1145   --with-blas-lib linker flags for using project Blas
    1146   --with-blas-incdir directory with header files for using project Blas
    1147   --with-blas-datadir directory with data files for using project Blas
    1148   --with-blas             specify BLAS library (or BUILD to enforce use of
    1149                           ThirdParty/Blas)
    1150   --with-lapack-lib linker flags for using project Lapack
    1151   --with-lapack-incdir directory with header files for using project Lapack
    1152   --with-lapack-datadir directory with data files for using project Lapack
    1153   --with-lapack           specify LAPACK library (or BUILD to enforce use of
    1154                           ThirdParty/Lapack)
    1155   --with-metis-lib linker flags for using project Metis
    1156   --with-metis-incdir directory with header files for using project Metis
    1157   --with-metis-datadir directory with data files for using project Metis
    1158   --with-hsl-lib linker flags for using project HSL
    1159   --with-hsl-incdir directory with header files for using project HSL
    1160   --with-hsl-datadir directory with data files for using project HSL
    1161   --with-mumps-lib linker flags for using project Mumps
    1162   --with-mumps-incdir directory with header files for using project Mumps
    1163   --with-mumps-datadir directory with data files for using project Mumps
    1164   --with-soplex-lib linker flags for using project SoPlex
    1165   --with-soplex-incdir directory with header files for using project SoPlex
    1166   --with-soplex-datadir directory with data files for using project SoPlex
    1167   --with-coinutils-lib linker flags for using project CoinUtils
    1168   --with-coinutils-incdir directory with header files for using project
    1169                           CoinUtils
    1170   --with-coinutils-datadir
    1171                           directory with data files for using project
    1172                           CoinUtils
    1173   --with-osi-lib linker flags for using project Osi
    1174   --with-osi-incdir directory with header files for using project Osi
    1175   --with-osi-datadir directory with data files for using project Osi
    1176   --with-clp-lib linker flags for using project Clp
    1177   --with-clp-incdir directory with header files for using project Clp
    1178   --with-clp-datadir directory with data files for using project Clp
    1179   --with-cgl-lib linker flags for using project Cgl
    1180   --with-cgl-incdir directory with header files for using project Cgl
    1181   --with-cgl-datadir directory with data files for using project Cgl
    1182   --with-cbc-lib linker flags for using project Cbc
    1183   --with-cbc-incdir directory with header files for using project Cbc
    1184   --with-cbc-datadir directory with data files for using project Cbc
    1185   --with-ipopt-lib linker flags for using project Ipopt
    1186   --with-ipopt-incdir directory with header files for using project Ipopt
    1187   --with-ipopt-datadir directory with data files for using project Ipopt
    1188   --with-scip-lib linker flags for using project SCIP
    1189   --with-scip-incdir directory with header files for using project SCIP
    1190   --with-scip-datadir directory with data files for using project SCIP
    1191   --with-bonmin-lib linker flags for using project Bonmin
    1192   --with-bonmin-incdir directory with header files for using project Bonmin
    1193   --with-bonmin-datadir directory with data files for using project Bonmin
    1194   --with-couenne-lib linker flags for using project Couenne
    1195   --with-couenne-incdir directory with header files for using project Couenne
    1196   --with-couenne-datadir directory with data files for using project Couenne
    1197 
    1198 Some influential environment variables:
    1199   CDEFS       Additional -D flags to be used when compiling C code.
    1200   ADD_CFLAGS  Additional C compiler options
    1201   DBG_CFLAGS  Debug C compiler options
    1202   OPT_CFLAGS  Optimize C compiler options
    1203   CC          C compiler command
    1204   CFLAGS      C compiler flags
    1205   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1206               nonstandard directory <lib dir>
    1207   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1208               headers in a nonstandard directory <include dir>
    1209   MPICC       C MPI Compiler
    1210   CXXDEFS     Additional -D flags to be used when compiling C++ code.
    1211   ADD_CXXFLAGS
    1212               Additional C++ compiler options
    1213   DBG_CXXFLAGS
    1214               Debug C++ compiler options
    1215   OPT_CXXFLAGS
    1216               Optimize C++ compiler options
    1217   CXX         C++ compiler command
    1218   CXXFLAGS    C++ compiler flags
    1219   MPICXX      C++ MPI Compiler
    1220   ADD_FFLAGS  Additional Fortran compiler options
    1221   DBG_FFLAGS  Debug Fortran compiler options
    1222   OPT_FFLAGS  Optimize Fortran compiler options
    1223   F77         Fortran 77 compiler command
    1224   FFLAGS      Fortran 77 compiler flags
    1225   MPIF77      Fortran MPI Compiler
    1226   CPP         C preprocessor
    1227   CXXCPP      C++ preprocessor
    1228   COIN_SKIP_PROJECTS
    1229               Set to the subdirectories of projects that should be skipped in
    1230               the configuration
    1231 
    1232 Use these variables to override the choices made by `configure' or to help
    1233 it to find libraries and programs with nonstandard names/locations.
    1234794
    1235795Report bugs to <couenne@list.coin-or.org>.
     
    17041264#############################################################################
    17051265
    1706 ac_aux_dir=
    1707 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1708   if test -f $ac_dir/install-sh; then
    1709     ac_aux_dir=$ac_dir
    1710     ac_install_sh="$ac_aux_dir/install-sh -c"
    1711     break
    1712   elif test -f $ac_dir/install.sh; then
    1713     ac_aux_dir=$ac_dir
    1714     ac_install_sh="$ac_aux_dir/install.sh -c"
    1715     break
    1716   elif test -f $ac_dir/shtool; then
    1717     ac_aux_dir=$ac_dir
    1718     ac_install_sh="$ac_aux_dir/shtool install -c"
    1719     break
    1720   fi
    1721 done
    1722 if test -z "$ac_aux_dir"; then
    1723   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1724 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    1725    { (exit 1); exit 1; }; }
    1726 fi
    1727 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1728 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1729 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    1730 
    1731 # Make sure we can run config.sub.
    1732 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1733   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1734 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1735    { (exit 1); exit 1; }; }
    1736 
    1737 echo "$as_me:$LINENO: checking build system type" >&5
    1738 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1739 if test "${ac_cv_build+set}" = set; then
    1740   echo $ECHO_N "(cached) $ECHO_C" >&6
    1741 else
    1742   ac_cv_build_alias=$build_alias
    1743 test -z "$ac_cv_build_alias" &&
    1744   ac_cv_build_alias=`$ac_config_guess`
    1745 test -z "$ac_cv_build_alias" &&
    1746   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    1747 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1748    { (exit 1); exit 1; }; }
    1749 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1750   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1751 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    1752    { (exit 1); exit 1; }; }
    1753 
    1754 fi
    1755 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1756 echo "${ECHO_T}$ac_cv_build" >&6
    1757 build=$ac_cv_build
    1758 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1759 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1760 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1761 
    1762 
    1763 
    1764 # Check if user wants to produce debugging code
    1765 
    1766 echo "$as_me:$LINENO: checking whether we want to compile in debug mode" >&5
    1767 echo $ECHO_N "checking whether we want to compile in debug mode... $ECHO_C" >&6
    1768 
    1769 # Check whether --enable-debug or --disable-debug was given.
    1770 if test "${enable_debug+set}" = set; then
    1771   enableval="$enable_debug"
    1772   case "${enableval}" in
    1773    yes) coin_debug_compile=true
    1774         if test "${enable_shared+set}" = set; then :; else
    1775           enable_shared=no
    1776         fi
    1777         ;;
    1778    no)  coin_debug_compile=false
    1779         ;;
    1780    *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
    1781 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
    1782    { (exit 1); exit 1; }; }
    1783         ;;
    1784 esac
    1785 else
    1786   coin_debug_compile=false
    1787 fi;
    1788 
    1789  # m4_ifvaln([],
    1790 
    1791 if test $coin_debug_compile = true; then
    1792   echo "$as_me:$LINENO: result: yes" >&5
    1793 echo "${ECHO_T}yes" >&6
    1794 else
    1795   echo "$as_me:$LINENO: result: no" >&5
    1796 echo "${ECHO_T}no" >&6
    1797 fi
    1798 
    1799  # m4_ifvaln([],
    1800 
    1801 
    1802 
    1803 # Get the name of the C compiler and appropriate compiler options
    1804 case $build in
    1805   *-mingw*)
    1806     if test "${LD+set}" = set; then :; else
    1807       LD=link
    1808     fi
    1809     ;;
    1810  esac
    1811  case $enable_doscompile in
    1812    msvc)
    1813      if test "x${LD+set}" = xset; then :; else
    1814        LD=link
    1815      fi
    1816      ;;
    1817  esac
    1818 
    1819 
    1820  # Check whether --enable-doscompile or --disable-doscompile was given.
    1821 if test "${enable_doscompile+set}" = set; then
    1822   enableval="$enable_doscompile"
    1823   if test "$enable_doscompile" != no; then
    1824      case $build in
    1825        *-cygwin* | *-mingw*) ;;
    1826        *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&5
    1827 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&2;}
    1828    { (exit 1); exit 1; }; } ;;
    1829      esac
    1830    fi
    1831 else
    1832   enable_doscompile=no
    1833 fi;
    1834  case "$enable_doscompile" in
    1835    mingw)
    1836      case $build in
    1837        *-mingw*) enable_doscompile=no ;;
    1838      esac
    1839      ;;
    1840    msvc|no) ;;
    1841    yes) enable_doscompile=mingw ;;
    1842    *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile.
    1843                     Try configure --help=recursive." >&5
    1844 echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile.
    1845                     Try configure --help=recursive." >&2;}
    1846    { (exit 1); exit 1; }; }
    1847       ;;
    1848   esac
    1849   if test "$enable_doscompile" != no ; then
    1850     { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5
    1851 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;}
    1852   fi
    1853 
    1854 
    1855 
    1856 
    1857 ac_ext=c
    1858 ac_cpp='$CPP $CPPFLAGS'
    1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1862 
    1863 
    1864 # For consistency, we set the C compiler to the same value of the C++
    1865 # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
    1866 if test x"$CXX" != x; then
    1867   case "$CXX" in
    1868     clang* ) ;;
    1869     cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1870       if test x"$CC" = x; then
    1871         CC="$CXX"
    1872         { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
    1873 echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
    1874       fi
    1875       ;;
    1876   esac
    1877 fi
    1878 
    1879 
    1880 
    1881 
    1882 
    1883 
    1884 coin_has_cc=yes
    1885 
    1886 save_cflags="$CFLAGS"
    1887 
    1888 # For *-*-solaris*, promote Studio/Workshop cc compiler to front of list.
    1889 # Depending on the user's PATH, when Studio/Workshop cc is not present we may
    1890 # find /usr/ucb/cc, which is almost certainly not a good choice for the C
    1891 # compiler. In this case, put cc after gcc.
    1892 
    1893 case $build in
    1894   *-cygwin* | *-mingw*)
    1895              if test "$enable_doscompile" = msvc ; then
    1896                comps="icl cl"
    1897              else
    1898                comps="gcc cl"
    1899              fi ;;
    1900   *-*-solaris*)
    1901              # Extract the first word of "cc", so it can be a program name with args.
    1902 set dummy cc; ac_word=$2
    1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1905 if test "${ac_cv_prog_sol_cc_compiler+set}" = set; then
    1906   echo $ECHO_N "(cached) $ECHO_C" >&6
    1907 else
    1908   if test -n "$sol_cc_compiler"; then
    1909   ac_cv_prog_sol_cc_compiler="$sol_cc_compiler" # Let the user override the test.
    1910 else
    1911   ac_prog_rejected=no
    1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1913 for as_dir in $PATH
    1914 do
    1915   IFS=$as_save_IFS
    1916   test -z "$as_dir" && as_dir=.
    1917   for ac_exec_ext in '' $ac_executable_extensions; do
    1918   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1919     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    1920        ac_prog_rejected=yes
    1921        continue
    1922      fi
    1923     ac_cv_prog_sol_cc_compiler="cc"
    1924     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1925     break 2
    1926   fi
    1927 done
    1928 done
    1929 
    1930 if test $ac_prog_rejected = yes; then
    1931   # We found a bogon in the path, so make sure we never use it.
    1932   set dummy $ac_cv_prog_sol_cc_compiler
    1933   shift
    1934   if test $# != 0; then
    1935     # We chose a different compiler from the bogus one.
    1936     # However, it has the same basename, so the bogon will be chosen
    1937     # first if we set sol_cc_compiler to just the basename; use the full file name.
    1938     shift
    1939     ac_cv_prog_sol_cc_compiler="$as_dir/$ac_word${1+' '}$@"
    1940   fi
    1941 fi
    1942 fi
    1943 fi
    1944 sol_cc_compiler=$ac_cv_prog_sol_cc_compiler
    1945 if test -n "$sol_cc_compiler"; then
    1946   echo "$as_me:$LINENO: result: $sol_cc_compiler" >&5
    1947 echo "${ECHO_T}$sol_cc_compiler" >&6
    1948 else
    1949   echo "$as_me:$LINENO: result: no" >&5
    1950 echo "${ECHO_T}no" >&6
    1951 fi
    1952 
    1953              if test "$sol_cc_compiler" = "cc" ; then
    1954                comps="cc xlc gcc pgcc icc"
    1955              else
    1956                comps="xlc gcc pgcc icc cc"
    1957              fi
    1958              ;;
    1959   *-linux-gnu*) comps="gcc cc pgcc icc xlc" ;;
    1960   *-linux-*) comps="xlc gcc cc pgcc icc" ;;
    1961   *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
    1962 esac
    1963 
    1964 # We delete the cached value, since the test might not have been
    1965 # performed with our choice of compilers earlier
    1966 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; }
    1967 # AC_MSG_NOTICE([C compiler candidates: $comps])
    1968 ac_ext=c
    1969 ac_cpp='$CPP $CPPFLAGS'
    1970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1973 if test -n "$ac_tool_prefix"; then
    1974   for ac_prog in $comps
    1975   do
    1976     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1980 if test "${ac_cv_prog_CC+set}" = set; then
    1981   echo $ECHO_N "(cached) $ECHO_C" >&6
    1982 else
    1983   if test -n "$CC"; then
    1984   ac_cv_prog_CC="$CC" # Let the user override the test.
    1985 else
    1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1987 for as_dir in $PATH
    1988 do
    1989   IFS=$as_save_IFS
    1990   test -z "$as_dir" && as_dir=.
    1991   for ac_exec_ext in '' $ac_executable_extensions; do
    1992   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1993     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1995     break 2
    1996   fi
    1997 done
    1998 done
    1999 
    2000 fi
    2001 fi
    2002 CC=$ac_cv_prog_CC
    2003 if test -n "$CC"; then
    2004   echo "$as_me:$LINENO: result: $CC" >&5
    2005 echo "${ECHO_T}$CC" >&6
    2006 else
    2007   echo "$as_me:$LINENO: result: no" >&5
    2008 echo "${ECHO_T}no" >&6
    2009 fi
    2010 
    2011     test -n "$CC" && break
    2012   done
    2013 fi
    2014 if test -z "$CC"; then
    2015   ac_ct_CC=$CC
    2016   for ac_prog in $comps
    2017 do
    2018   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2019 set dummy $ac_prog; ac_word=$2
    2020 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2023   echo $ECHO_N "(cached) $ECHO_C" >&6
    2024 else
    2025   if test -n "$ac_ct_CC"; then
    2026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2027 else
    2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2029 for as_dir in $PATH
    2030 do
    2031   IFS=$as_save_IFS
    2032   test -z "$as_dir" && as_dir=.
    2033   for ac_exec_ext in '' $ac_executable_extensions; do
    2034   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2035     ac_cv_prog_ac_ct_CC="$ac_prog"
    2036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2037     break 2
    2038   fi
    2039 done
    2040 done
    2041 
    2042 fi
    2043 fi
    2044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2045 if test -n "$ac_ct_CC"; then
    2046   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2047 echo "${ECHO_T}$ac_ct_CC" >&6
    2048 else
    2049   echo "$as_me:$LINENO: result: no" >&5
    2050 echo "${ECHO_T}no" >&6
    2051 fi
    2052 
    2053   test -n "$ac_ct_CC" && break
    2054 done
    2055 
    2056   CC=$ac_ct_CC
    2057 fi
    2058 
    2059 
    2060 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2061 See \`config.log' for more details." >&5
    2062 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2063 See \`config.log' for more details." >&2;}
    2064    { (exit 1); exit 1; }; }
    2065 
    2066 # Provide some information about the compiler.
    2067 echo "$as_me:$LINENO:" \
    2068      "checking for C compiler version" >&5
    2069 ac_compiler=`set X $ac_compile; echo $2`
    2070 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2071   (eval $ac_compiler --version </dev/null >&5) 2>&5
    2072   ac_status=$?
    2073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2074   (exit $ac_status); }
    2075 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2076   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2077   ac_status=$?
    2078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2079   (exit $ac_status); }
    2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2081   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2082   ac_status=$?
    2083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2084   (exit $ac_status); }
    2085 
    2086 cat >conftest.$ac_ext <<_ACEOF
    2087 /* confdefs.h.  */
    2088 _ACEOF
    2089 cat confdefs.h >>conftest.$ac_ext
    2090 cat >>conftest.$ac_ext <<_ACEOF
    2091 /* end confdefs.h.  */
    2092 
    2093 int
    2094 main ()
    2095 {
    2096 
    2097   ;
    2098   return 0;
    2099 }
    2100 _ACEOF
    2101 ac_clean_files_save=$ac_clean_files
    2102 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2103 # Try to create an executable without -o first, disregard a.out.
    2104 # It will help us diagnose broken compilers, and finding out an intuition
    2105 # of exeext.
    2106 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2107 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    2108 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2109 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    2110   (eval $ac_link_default) 2>&5
    2111   ac_status=$?
    2112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2113   (exit $ac_status); }; then
    2114   # Find the output, starting from the most likely.  This scheme is
    2115 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    2116 # resort.
    2117 
    2118 # Be careful to initialize this variable, since it used to be cached.
    2119 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    2120 ac_cv_exeext=
    2121 # b.out is created by i960 compilers.
    2122 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    2123 do
    2124   test -f "$ac_file" || continue
    2125   case $ac_file in
    2126     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2127         ;;
    2128     conftest.$ac_ext )
    2129         # This is the source file.
    2130         ;;
    2131     [ab].out )
    2132         # We found the default executable, but exeext='' is most
    2133         # certainly right.
    2134         break;;
    2135     *.* )
    2136         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2137         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2138         # but it would be cool to find out if it's true.  Does anybody
    2139         # maintain Libtool? --akim.
    2140         export ac_cv_exeext
    2141         break;;
    2142     * )
    2143         break;;
    2144   esac
    2145 done
    2146 else
    2147   echo "$as_me: failed program was:" >&5
    2148 sed 's/^/| /' conftest.$ac_ext >&5
    2149 
    2150 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2151 See \`config.log' for more details." >&5
    2152 echo "$as_me: error: C compiler cannot create executables
    2153 See \`config.log' for more details." >&2;}
    2154    { (exit 77); exit 77; }; }
    2155 fi
    2156 
    2157 ac_exeext=$ac_cv_exeext
    2158 echo "$as_me:$LINENO: result: $ac_file" >&5
    2159 echo "${ECHO_T}$ac_file" >&6
    2160 
    2161 # Check the compiler produces executables we can run.  If not, either
    2162 # the compiler is broken, or we cross compile.
    2163 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2164 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    2165 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2166 # If not cross compiling, check that we can run a simple program.
    2167 if test "$cross_compiling" != yes; then
    2168   if { ac_try='./$ac_file'
    2169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2170   (eval $ac_try) 2>&5
    2171   ac_status=$?
    2172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2173   (exit $ac_status); }; }; then
    2174     cross_compiling=no
    2175   else
    2176     if test "$cross_compiling" = maybe; then
    2177         cross_compiling=yes
    2178     else
    2179         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2180 If you meant to cross compile, use \`--host'.
    2181 See \`config.log' for more details." >&5
    2182 echo "$as_me: error: cannot run C compiled programs.
    2183 If you meant to cross compile, use \`--host'.
    2184 See \`config.log' for more details." >&2;}
    2185    { (exit 1); exit 1; }; }
    2186     fi
    2187   fi
    2188 fi
    2189 echo "$as_me:$LINENO: result: yes" >&5
    2190 echo "${ECHO_T}yes" >&6
    2191 
    2192 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    2193 ac_clean_files=$ac_clean_files_save
    2194 # Check the compiler produces executables we can run.  If not, either
    2195 # the compiler is broken, or we cross compile.
    2196 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2197 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2198 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2199 echo "${ECHO_T}$cross_compiling" >&6
    2200 
    2201 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2202 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2204   (eval $ac_link) 2>&5
    2205   ac_status=$?
    2206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2207   (exit $ac_status); }; then
    2208   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    2209 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    2210 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2211 # `rm'.
    2212 for ac_file in conftest.exe conftest conftest.*; do
    2213   test -f "$ac_file" || continue
    2214   case $ac_file in
    2215     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    2216     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2217           export ac_cv_exeext
    2218           break;;
    2219     * ) break;;
    2220   esac
    2221 done
    2222 else
    2223   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2224 See \`config.log' for more details." >&5
    2225 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2226 See \`config.log' for more details." >&2;}
    2227    { (exit 1); exit 1; }; }
    2228 fi
    2229 
    2230 rm -f conftest$ac_cv_exeext
    2231 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2232 echo "${ECHO_T}$ac_cv_exeext" >&6
    2233 
    2234 rm -f conftest.$ac_ext
    2235 EXEEXT=$ac_cv_exeext
    2236 ac_exeext=$EXEEXT
    2237 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2238 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    2239 if test "${ac_cv_objext+set}" = set; then
    2240   echo $ECHO_N "(cached) $ECHO_C" >&6
    2241 else
    2242   cat >conftest.$ac_ext <<_ACEOF
    2243 /* confdefs.h.  */
    2244 _ACEOF
    2245 cat confdefs.h >>conftest.$ac_ext
    2246 cat >>conftest.$ac_ext <<_ACEOF
    2247 /* end confdefs.h.  */
    2248 
    2249 int
    2250 main ()
    2251 {
    2252 
    2253   ;
    2254   return 0;
    2255 }
    2256 _ACEOF
    2257 rm -f conftest.o conftest.obj
    2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2259   (eval $ac_compile) 2>&5
    2260   ac_status=$?
    2261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2262   (exit $ac_status); }; then
    2263   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    2264   case $ac_file in
    2265     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    2266     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    2267        break;;
    2268   esac
    2269 done
    2270 else
    2271   echo "$as_me: failed program was:" >&5
    2272 sed 's/^/| /' conftest.$ac_ext >&5
    2273 
    2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2275 See \`config.log' for more details." >&5
    2276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2277 See \`config.log' for more details." >&2;}
    2278    { (exit 1); exit 1; }; }
    2279 fi
    2280 
    2281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2282 fi
    2283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2284 echo "${ECHO_T}$ac_cv_objext" >&6
    2285 OBJEXT=$ac_cv_objext
    2286 ac_objext=$OBJEXT
    2287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    2289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2290   echo $ECHO_N "(cached) $ECHO_C" >&6
    2291 else
    2292   cat >conftest.$ac_ext <<_ACEOF
    2293 /* confdefs.h.  */
    2294 _ACEOF
    2295 cat confdefs.h >>conftest.$ac_ext
    2296 cat >>conftest.$ac_ext <<_ACEOF
    2297 /* end confdefs.h.  */
    2298 
    2299 int
    2300 main ()
    2301 {
    2302 #ifndef __GNUC__
    2303        choke me
    2304 #endif
    2305 
    2306   ;
    2307   return 0;
    2308 }
    2309 _ACEOF
    2310 rm -f conftest.$ac_objext
    2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2312   (eval $ac_compile) 2>conftest.er1
    2313   ac_status=$?
    2314   grep -v '^ *+' conftest.er1 >conftest.err
    2315   rm -f conftest.er1
    2316   cat conftest.err >&5
    2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2318   (exit $ac_status); } &&
    2319          { ac_try='test -z "$ac_c_werror_flag"
    2320                          || test ! -s conftest.err'
    2321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2322   (eval $ac_try) 2>&5
    2323   ac_status=$?
    2324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2325   (exit $ac_status); }; } &&
    2326          { ac_try='test -s conftest.$ac_objext'
    2327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2328   (eval $ac_try) 2>&5
    2329   ac_status=$?
    2330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2331   (exit $ac_status); }; }; then
    2332   ac_compiler_gnu=yes
    2333 else
    2334   echo "$as_me: failed program was:" >&5
    2335 sed 's/^/| /' conftest.$ac_ext >&5
    2336 
    2337 ac_compiler_gnu=no
    2338 fi
    2339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2341 
    2342 fi
    2343 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2345 GCC=`test $ac_compiler_gnu = yes && echo yes`
    2346 ac_test_CFLAGS=${CFLAGS+set}
    2347 ac_save_CFLAGS=$CFLAGS
    2348 CFLAGS="-g"
    2349 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2350 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2351 if test "${ac_cv_prog_cc_g+set}" = set; then
    2352   echo $ECHO_N "(cached) $ECHO_C" >&6
    2353 else
    2354   cat >conftest.$ac_ext <<_ACEOF
    2355 /* confdefs.h.  */
    2356 _ACEOF
    2357 cat confdefs.h >>conftest.$ac_ext
    2358 cat >>conftest.$ac_ext <<_ACEOF
    2359 /* end confdefs.h.  */
    2360 
    2361 int
    2362 main ()
    2363 {
    2364 
    2365   ;
    2366   return 0;
    2367 }
    2368 _ACEOF
    2369 rm -f conftest.$ac_objext
    2370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2371   (eval $ac_compile) 2>conftest.er1
    2372   ac_status=$?
    2373   grep -v '^ *+' conftest.er1 >conftest.err
    2374   rm -f conftest.er1
    2375   cat conftest.err >&5
    2376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2377   (exit $ac_status); } &&
    2378          { ac_try='test -z "$ac_c_werror_flag"
    2379                          || test ! -s conftest.err'
    2380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2381   (eval $ac_try) 2>&5
    2382   ac_status=$?
    2383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2384   (exit $ac_status); }; } &&
    2385          { ac_try='test -s conftest.$ac_objext'
    2386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2387   (eval $ac_try) 2>&5
    2388   ac_status=$?
    2389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2390   (exit $ac_status); }; }; then
    2391   ac_cv_prog_cc_g=yes
    2392 else
    2393   echo "$as_me: failed program was:" >&5
    2394 sed 's/^/| /' conftest.$ac_ext >&5
    2395 
    2396 ac_cv_prog_cc_g=no
    2397 fi
    2398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2399 fi
    2400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    2402 if test "$ac_test_CFLAGS" = set; then
    2403   CFLAGS=$ac_save_CFLAGS
    2404 elif test $ac_cv_prog_cc_g = yes; then
    2405   if test "$GCC" = yes; then
    2406     CFLAGS="-g -O2"
    2407   else
    2408     CFLAGS="-g"
    2409   fi
    2410 else
    2411   if test "$GCC" = yes; then
    2412     CFLAGS="-O2"
    2413   else
    2414     CFLAGS=
    2415   fi
    2416 fi
    2417 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2418 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2419 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2420   echo $ECHO_N "(cached) $ECHO_C" >&6
    2421 else
    2422   ac_cv_prog_cc_stdc=no
    2423 ac_save_CC=$CC
    2424 cat >conftest.$ac_ext <<_ACEOF
    2425 /* confdefs.h.  */
    2426 _ACEOF
    2427 cat confdefs.h >>conftest.$ac_ext
    2428 cat >>conftest.$ac_ext <<_ACEOF
    2429 /* end confdefs.h.  */
    2430 #include <stdarg.h>
    2431 #include <stdio.h>
    2432 #include <sys/types.h>
    2433 #include <sys/stat.h>
    2434 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2435 struct buf { int x; };
    2436 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2437 static char *e (p, i)
    2438      char **p;
    2439      int i;
    2440 {
    2441   return p[i];
    2442 }
    2443 static char *f (char * (*g) (char **, int), char **p, ...)
    2444 {
    2445   char *s;
    2446   va_list v;
    2447   va_start (v,p);
    2448   s = g (p, va_arg (v,int));
    2449   va_end (v);
    2450   return s;
    2451 }
    2452 
    2453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2454    function prototypes and stuff, but not '\xHH' hex character constants.
    2455    These don't provoke an error unfortunately, instead are silently treated
    2456    as 'x'.  The following induces an error, until -std1 is added to get
    2457    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2458    array size at least.  It's necessary to write '\x00'==0 to get something
    2459    that's true only with -std1.  */
    2460 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2461 
    2462 int test (int i, double x);
    2463 struct s1 {int (*f) (int a);};
    2464 struct s2 {int (*f) (double a);};
    2465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2466 int argc;
    2467 char **argv;
    2468 int
    2469 main ()
    2470 {
    2471 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2472   ;
    2473   return 0;
    2474 }
    2475 _ACEOF
    2476 # Don't try gcc -ansi; that turns off useful extensions and
    2477 # breaks some systems' header files.
    2478 # AIX                   -qlanglvl=ansi
    2479 # Ultrix and OSF/1      -std1
    2480 # HP-UX 10.20 and later -Ae
    2481 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2482 # SVR4                  -Xc -D__EXTENSIONS__
    2483 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2484 do
    2485   CC="$ac_save_CC $ac_arg"
    2486   rm -f conftest.$ac_objext
    2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2488   (eval $ac_compile) 2>conftest.er1
    2489   ac_status=$?
    2490   grep -v '^ *+' conftest.er1 >conftest.err
    2491   rm -f conftest.er1
    2492   cat conftest.err >&5
    2493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2494   (exit $ac_status); } &&
    2495          { ac_try='test -z "$ac_c_werror_flag"
    2496                          || test ! -s conftest.err'
    2497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2498   (eval $ac_try) 2>&5
    2499   ac_status=$?
    2500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2501   (exit $ac_status); }; } &&
    2502          { ac_try='test -s conftest.$ac_objext'
    2503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2504   (eval $ac_try) 2>&5
    2505   ac_status=$?
    2506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2507   (exit $ac_status); }; }; then
    2508   ac_cv_prog_cc_stdc=$ac_arg
    2509 break
    2510 else
    2511   echo "$as_me: failed program was:" >&5
    2512 sed 's/^/| /' conftest.$ac_ext >&5
    2513 
    2514 fi
    2515 rm -f conftest.err conftest.$ac_objext
    2516 done
    2517 rm -f conftest.$ac_ext conftest.$ac_objext
    2518 CC=$ac_save_CC
    2519 
    2520 fi
    2521 
    2522 case "x$ac_cv_prog_cc_stdc" in
    2523   x|xno)
    2524     echo "$as_me:$LINENO: result: none needed" >&5
    2525 echo "${ECHO_T}none needed" >&6 ;;
    2526   *)
    2527     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2528 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2529     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2530 esac
    2531 
    2532 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2533 # in C++ we need to declare it.  In case someone uses the same compiler
    2534 # for both compiling C and C++ we need to have the C++ compiler decide
    2535 # the declaration of exit, since it's the most demanding environment.
    2536 cat >conftest.$ac_ext <<_ACEOF
    2537 #ifndef __cplusplus
    2538   choke me
    2539 #endif
    2540 _ACEOF
    2541 rm -f conftest.$ac_objext
    2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2543   (eval $ac_compile) 2>conftest.er1
    2544   ac_status=$?
    2545   grep -v '^ *+' conftest.er1 >conftest.err
    2546   rm -f conftest.er1
    2547   cat conftest.err >&5
    2548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2549   (exit $ac_status); } &&
    2550          { ac_try='test -z "$ac_c_werror_flag"
    2551                          || test ! -s conftest.err'
    2552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2553   (eval $ac_try) 2>&5
    2554   ac_status=$?
    2555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2556   (exit $ac_status); }; } &&
    2557          { ac_try='test -s conftest.$ac_objext'
    2558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2559   (eval $ac_try) 2>&5
    2560   ac_status=$?
    2561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2562   (exit $ac_status); }; }; then
    2563   for ac_declaration in \
    2564    '' \
    2565    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2566    'extern "C" void std::exit (int); using std::exit;' \
    2567    'extern "C" void exit (int) throw ();' \
    2568    'extern "C" void exit (int);' \
    2569    'void exit (int);'
    2570 do
    2571   cat >conftest.$ac_ext <<_ACEOF
    2572 /* confdefs.h.  */
    2573 _ACEOF
    2574 cat confdefs.h >>conftest.$ac_ext
    2575 cat >>conftest.$ac_ext <<_ACEOF
    2576 /* end confdefs.h.  */
    2577 $ac_declaration
    2578 #include <stdlib.h>
    2579 int
    2580 main ()
    2581 {
    2582 exit (42);
    2583   ;
    2584   return 0;
    2585 }
    2586 _ACEOF
    2587 rm -f conftest.$ac_objext
    2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2589   (eval $ac_compile) 2>conftest.er1
    2590   ac_status=$?
    2591   grep -v '^ *+' conftest.er1 >conftest.err
    2592   rm -f conftest.er1
    2593   cat conftest.err >&5
    2594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2595   (exit $ac_status); } &&
    2596          { ac_try='test -z "$ac_c_werror_flag"
    2597                          || test ! -s conftest.err'
    2598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2599   (eval $ac_try) 2>&5
    2600   ac_status=$?
    2601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2602   (exit $ac_status); }; } &&
    2603          { ac_try='test -s conftest.$ac_objext'
    2604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2605   (eval $ac_try) 2>&5
    2606   ac_status=$?
    2607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2608   (exit $ac_status); }; }; then
    2609   :
    2610 else
    2611   echo "$as_me: failed program was:" >&5
    2612 sed 's/^/| /' conftest.$ac_ext >&5
    2613 
    2614 continue
    2615 fi
    2616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2617   cat >conftest.$ac_ext <<_ACEOF
    2618 /* confdefs.h.  */
    2619 _ACEOF
    2620 cat confdefs.h >>conftest.$ac_ext
    2621 cat >>conftest.$ac_ext <<_ACEOF
    2622 /* end confdefs.h.  */
    2623 $ac_declaration
    2624 int
    2625 main ()
    2626 {
    2627 exit (42);
    2628   ;
    2629   return 0;
    2630 }
    2631 _ACEOF
    2632 rm -f conftest.$ac_objext
    2633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2634   (eval $ac_compile) 2>conftest.er1
    2635   ac_status=$?
    2636   grep -v '^ *+' conftest.er1 >conftest.err
    2637   rm -f conftest.er1
    2638   cat conftest.err >&5
    2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2640   (exit $ac_status); } &&
    2641          { ac_try='test -z "$ac_c_werror_flag"
    2642                          || test ! -s conftest.err'
    2643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2644   (eval $ac_try) 2>&5
    2645   ac_status=$?
    2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2647   (exit $ac_status); }; } &&
    2648          { ac_try='test -s conftest.$ac_objext'
    2649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2650   (eval $ac_try) 2>&5
    2651   ac_status=$?
    2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2653   (exit $ac_status); }; }; then
    2654   break
    2655 else
    2656   echo "$as_me: failed program was:" >&5
    2657 sed 's/^/| /' conftest.$ac_ext >&5
    2658 
    2659 fi
    2660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2661 done
    2662 rm -f conftest*
    2663 if test -n "$ac_declaration"; then
    2664   echo '#ifdef __cplusplus' >>confdefs.h
    2665   echo $ac_declaration      >>confdefs.h
    2666   echo '#endif'             >>confdefs.h
    2667 fi
    2668 
    2669 else
    2670   echo "$as_me: failed program was:" >&5
    2671 sed 's/^/| /' conftest.$ac_ext >&5
    2672 
    2673 fi
    2674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2675 ac_ext=c
    2676 ac_cpp='$CPP $CPPFLAGS'
    2677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2680 
    2681 if test -z "$CC" ; then
    2682   { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5
    2683 echo "$as_me: error: Failed to find a C compiler!" >&2;}
    2684    { (exit 1); exit 1; }; }
    2685 fi
    2686 # Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    2687 case "$CC" in
    2688   clang* ) ;;
    2689   cl* | */cl* | CL* | */CL* )
    2690     if test "$ac_cv_prog_cc_g" = yes ; then
    2691       ac_cv_prog_cc_g=no
    2692       { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
    2693 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
    2694     fi ;;
    2695 esac
    2696 CFLAGS="$save_cflags"
    2697 
    2698 # add automake conditional so we can recognize cl compiler in makefile
    2699 coin_cc_is_cl=false
    2700 case "$CC" in
    2701   clang* ) ;;
    2702   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2703     coin_cc_is_cl=true
    2704     ;;
    2705 esac
    2706 
    2707 
    2708 if test $coin_cc_is_cl = true; then
    2709   COIN_CC_IS_CL_TRUE=
    2710   COIN_CC_IS_CL_FALSE='#'
    2711 else
    2712   COIN_CC_IS_CL_TRUE='#'
    2713   COIN_CC_IS_CL_FALSE=
    2714 fi
    2715 
    2716 
    2717 # Check if a project specific CFLAGS variable has been set
    2718 if test x$COIN_PRJCT != x; then
    2719   eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set}
    2720   if test x$coin_tmp = xset; then
    2721     eval CFLAGS=\${${COIN_PRJCT}_CFLAGS}
    2722   fi
    2723 fi
    2724 
    2725 if test x"$CFLAGS" = x; then
    2726 
    2727   coin_add_cflags=
    2728   coin_opt_cflags=
    2729   coin_dbg_cflags=
    2730   coin_warn_cflags=
    2731 
    2732   if test "$GCC" = "yes"; then
    2733     case "$CC" in
    2734       icc* | */icc*)
    2735         ;;
    2736       *)
    2737         coin_opt_cflags="-O3"
    2738         coin_add_cflags="-pipe"
    2739         coin_dbg_cflags="-g -O0"
    2740         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    2741         case $build in
    2742           *-darwin*)
    2743             ;;
    2744           *)
    2745             coin_warn_cflags="-pedantic-errors $coin_warn_cflags"
    2746             ;;
    2747         esac
    2748         case $enable_doscompile in
    2749           mingw)
    2750             CFLAGS="-mno-cygwin"
    2751             cat >conftest.$ac_ext <<_ACEOF
    2752 /* confdefs.h.  */
    2753 _ACEOF
    2754 cat confdefs.h >>conftest.$ac_ext
    2755 cat >>conftest.$ac_ext <<_ACEOF
    2756 /* end confdefs.h.  */
    2757 
    2758 int
    2759 main ()
    2760 {
    2761 int i=0; i++;
    2762   ;
    2763   return 0;
    2764 }
    2765 _ACEOF
    2766 rm -f conftest.$ac_objext conftest$ac_exeext
    2767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2768   (eval $ac_link) 2>conftest.er1
    2769   ac_status=$?
    2770   grep -v '^ *+' conftest.er1 >conftest.err
    2771   rm -f conftest.er1
    2772   cat conftest.err >&5
    2773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2774   (exit $ac_status); } &&
    2775          { ac_try='test -z "$ac_c_werror_flag"
    2776                          || test ! -s conftest.err'
    2777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2778   (eval $ac_try) 2>&5
    2779   ac_status=$?
    2780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2781   (exit $ac_status); }; } &&
    2782          { ac_try='test -s conftest$ac_exeext'
    2783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2784   (eval $ac_try) 2>&5
    2785   ac_status=$?
    2786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2787   (exit $ac_status); }; }; then
    2788   coin_add_cflags="-mno-cygwin $coin_add_cflags"
    2789 else
    2790   echo "$as_me: failed program was:" >&5
    2791 sed 's/^/| /' conftest.$ac_ext >&5
    2792 
    2793 fi
    2794 rm -f conftest.err conftest.$ac_objext \
    2795       conftest$ac_exeext conftest.$ac_ext
    2796             CFLAGS=
    2797           ;;
    2798         esac
    2799     esac
    2800   fi
    2801   if test -z "$coin_opt_cflags"; then
    2802     case $build in
    2803       *-cygwin* | *-mingw*)
    2804         case "$CC" in
    2805           clang* ) ;;
    2806           cl* | */cl* | CL* | */CL*)
    2807             coin_opt_cflags='-MT -O2'
    2808             coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    2809             coin_dbg_cflags='-MTd'
    2810             ;;
    2811           icl* | */icl* | ICL* | */ICL*)
    2812             coin_opt_cflags='-MT -Ox'
    2813             coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE'
    2814             coin_dbg_cflags='-MTd -debug'
    2815             ;;
    2816         esac
    2817         ;;
    2818       *-linux-*)
    2819         case "$CC" in
    2820           icc* | */icc*)
    2821             coin_opt_cflags="-O3 -ip -mp1"
    2822             coin_add_cflags=""
    2823             coin_dbg_cflags="-g"
    2824             # Check if -i_dynamic is necessary (for new glibc library)
    2825             CFLAGS=
    2826             cat >conftest.$ac_ext <<_ACEOF
    2827 /* confdefs.h.  */
    2828 _ACEOF
    2829 cat confdefs.h >>conftest.$ac_ext
    2830 cat >>conftest.$ac_ext <<_ACEOF
    2831 /* end confdefs.h.  */
    2832 
    2833 int
    2834 main ()
    2835 {
    2836 int i=0; i++;
    2837   ;
    2838   return 0;
    2839 }
    2840 _ACEOF
    2841 rm -f conftest.$ac_objext conftest$ac_exeext
    2842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2843   (eval $ac_link) 2>conftest.er1
    2844   ac_status=$?
    2845   grep -v '^ *+' conftest.er1 >conftest.err
    2846   rm -f conftest.er1
    2847   cat conftest.err >&5
    2848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2849   (exit $ac_status); } &&
    2850          { ac_try='test -z "$ac_c_werror_flag"
    2851                          || test ! -s conftest.err'
    2852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2853   (eval $ac_try) 2>&5
    2854   ac_status=$?
    2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2856   (exit $ac_status); }; } &&
    2857          { ac_try='test -s conftest$ac_exeext'
    2858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2859   (eval $ac_try) 2>&5
    2860   ac_status=$?
    2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); }; }; then
    2863   :
    2864 else
    2865   echo "$as_me: failed program was:" >&5
    2866 sed 's/^/| /' conftest.$ac_ext >&5
    2867 
    2868 coin_add_cflags="-i_dynamic $coin_add_cflags"
    2869 fi
    2870 rm -f conftest.err conftest.$ac_objext \
    2871       conftest$ac_exeext conftest.$ac_ext
    2872             ;;
    2873           pgcc* | */pgcc*)
    2874             coin_opt_cflags="-fast"
    2875             coin_add_cflags="-Kieee -pc 64"
    2876             coin_dbg_cflags="-g"
    2877             ;;
    2878         esac
    2879         ;;
    2880       *-ibm-*)
    2881         case "$CC" in
    2882           xlc* | */xlc* | mpxlc* | */mpxlc*)
    2883             coin_opt_cflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    2884             coin_add_cflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029"
    2885             coin_dbg_cflags="-g"
    2886           ;;
    2887         esac
    2888         ;;
    2889       *-hp-*)
    2890         coin_opt_cflags="-O"
    2891         coin_add_cflags="-Ae"
    2892         coin_dbg_cflags="-g"
    2893         ;;
    2894       *-*-solaris*)
    2895         coin_opt_cflags="-xO4"
    2896         coin_dbg_cflags="-g"
    2897         ;;
    2898       *-sgi-*)
    2899         coin_opt_cflags="-O -OPT:Olimit=0"
    2900         coin_dbg_cflags="-g"
    2901         ;;
    2902     esac
    2903   fi
    2904 
    2905   if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
    2906     coin_dbg_cflags="-g"
    2907   fi
    2908 
    2909   if test -z "$coin_opt_cflags"; then
    2910     # Try if -O option works if nothing else is set
    2911     CFLAGS="-O"
    2912     cat >conftest.$ac_ext <<_ACEOF
    2913 /* confdefs.h.  */
    2914 _ACEOF
    2915 cat confdefs.h >>conftest.$ac_ext
    2916 cat >>conftest.$ac_ext <<_ACEOF
    2917 /* end confdefs.h.  */
    2918 
    2919 int
    2920 main ()
    2921 {
    2922 int i=0; i++;
    2923   ;
    2924   return 0;
    2925 }
    2926 _ACEOF
    2927 rm -f conftest.$ac_objext conftest$ac_exeext
    2928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2929   (eval $ac_link) 2>conftest.er1
    2930   ac_status=$?
    2931   grep -v '^ *+' conftest.er1 >conftest.err
    2932   rm -f conftest.er1
    2933   cat conftest.err >&5
    2934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2935   (exit $ac_status); } &&
    2936          { ac_try='test -z "$ac_c_werror_flag"
    2937                          || test ! -s conftest.err'
    2938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2939   (eval $ac_try) 2>&5
    2940   ac_status=$?
    2941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2942   (exit $ac_status); }; } &&
    2943          { ac_try='test -s conftest$ac_exeext'
    2944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2945   (eval $ac_try) 2>&5
    2946   ac_status=$?
    2947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2948   (exit $ac_status); }; }; then
    2949   coin_opt_cflags="-O"
    2950 else
    2951   echo "$as_me: failed program was:" >&5
    2952 sed 's/^/| /' conftest.$ac_ext >&5
    2953 
    2954 fi
    2955 rm -f conftest.err conftest.$ac_objext \
    2956       conftest$ac_exeext conftest.$ac_ext
    2957   fi
    2958 
    2959   # if PM doesn't want the warning messages, take them out
    2960   if test x"$coin_skip_warn_cflags" = xyes; then
    2961     coin_warn_cflags=
    2962   fi
    2963 
    2964   if test x${DBG_CFLAGS+set} != xset; then
    2965     DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
    2966   fi
    2967   if test x${OPT_CFLAGS+set} != xset; then
    2968     OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags"
    2969   fi
    2970 
    2971   DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS"
    2972   OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS"
    2973 
    2974   if test "$coin_debug_compile" = "true"; then
    2975     CFLAGS="$DBG_CFLAGS"
    2976   else
    2977     CFLAGS="$OPT_CFLAGS"
    2978   fi
    2979 else
    2980   CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
    2981   if test x${DBG_CFLAGS+set} != xset; then
    2982     DBG_CFLAGS="$CFLAGS"
    2983   fi
    2984   if test x${OPT_CFLAGS+set} != xset; then
    2985     OPT_CFLAGS="$CFLAGS"
    2986   fi
    2987 fi
    2988 
    2989 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    2990 
    2991 case "$CFLAGS" in
    2992   *-mno-cygwin*)
    2993     if test x${CPPFLAGS+set} != xset ; then
    2994       CPPFLAGS="-mno-cygwin"
    2995     else
    2996       case "$CPPFLAGS" in
    2997         *-mno-cygwin*)
    2998           ;;
    2999         *)
    3000           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    3001           ;;
    3002       esac
    3003     fi ;;
    3004 esac
    3005 
    3006 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
    3007 if test x$COIN_PRJCT != x; then
    3008   CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
    3009 fi
    3010 
    3011 # Try if CFLAGS works
    3012 save_CFLAGS="$CFLAGS"
    3013 cat >conftest.$ac_ext <<_ACEOF
    3014 /* confdefs.h.  */
    3015 _ACEOF
    3016 cat confdefs.h >>conftest.$ac_ext
    3017 cat >>conftest.$ac_ext <<_ACEOF
    3018 /* end confdefs.h.  */
    3019 
    3020 int
    3021 main ()
    3022 {
    3023 int i=0; i++;
    3024   ;
    3025   return 0;
    3026 }
    3027 _ACEOF
    3028 rm -f conftest.$ac_objext conftest$ac_exeext
    3029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3030   (eval $ac_link) 2>conftest.er1
    3031   ac_status=$?
    3032   grep -v '^ *+' conftest.er1 >conftest.err
    3033   rm -f conftest.er1
    3034   cat conftest.err >&5
    3035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3036   (exit $ac_status); } &&
    3037          { ac_try='test -z "$ac_c_werror_flag"
    3038                          || test ! -s conftest.err'
    3039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3040   (eval $ac_try) 2>&5
    3041   ac_status=$?
    3042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3043   (exit $ac_status); }; } &&
    3044          { ac_try='test -s conftest$ac_exeext'
    3045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3046   (eval $ac_try) 2>&5
    3047   ac_status=$?
    3048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3049   (exit $ac_status); }; }; then
    3050   :
    3051 else
    3052   echo "$as_me: failed program was:" >&5
    3053 sed 's/^/| /' conftest.$ac_ext >&5
    3054 
    3055 CFLAGS=
    3056 fi
    3057 rm -f conftest.err conftest.$ac_objext \
    3058       conftest$ac_exeext conftest.$ac_ext
    3059 if test -z "$CFLAGS"; then
    3060   { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&5
    3061 echo "$as_me: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&2;}
    3062   CFLAGS='-O'
    3063   cat >conftest.$ac_ext <<_ACEOF
    3064 /* confdefs.h.  */
    3065 _ACEOF
    3066 cat confdefs.h >>conftest.$ac_ext
    3067 cat >>conftest.$ac_ext <<_ACEOF
    3068 /* end confdefs.h.  */
    3069 
    3070 int
    3071 main ()
    3072 {
    3073 int i=0; i++;
    3074   ;
    3075   return 0;
    3076 }
    3077 _ACEOF
    3078 rm -f conftest.$ac_objext conftest$ac_exeext
    3079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3080   (eval $ac_link) 2>conftest.er1
    3081   ac_status=$?
    3082   grep -v '^ *+' conftest.er1 >conftest.err
    3083   rm -f conftest.er1
    3084   cat conftest.err >&5
    3085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3086   (exit $ac_status); } &&
    3087          { ac_try='test -z "$ac_c_werror_flag"
    3088                          || test ! -s conftest.err'
    3089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3090   (eval $ac_try) 2>&5
    3091   ac_status=$?
    3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3093   (exit $ac_status); }; } &&
    3094          { ac_try='test -s conftest$ac_exeext'
    3095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3096   (eval $ac_try) 2>&5
    3097   ac_status=$?
    3098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3099   (exit $ac_status); }; }; then
    3100   :
    3101 else
    3102   echo "$as_me: failed program was:" >&5
    3103 sed 's/^/| /' conftest.$ac_ext >&5
    3104 
    3105 CFLAGS=
    3106 fi
    3107 rm -f conftest.err conftest.$ac_objext \
    3108       conftest$ac_exeext conftest.$ac_ext
    3109   if test -z "$CFLAGS"; then
    3110     { echo "$as_me:$LINENO: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&5
    3111 echo "$as_me: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&2;}
    3112   fi
    3113 fi
    3114 
    3115 { echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5
    3116 echo "$as_me: C compiler options are: $CFLAGS" >&6;}
    3117 
    3118 
    3119 if test x"$MPICC" = x; then :; else
    3120   { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
    3121 echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
    3122   CC="$MPICC"
    3123 fi
    3124 
    3125 # Correct the LD variable if we are using the MS or Intel-windows compiler
    3126 case "$CC" in
    3127   clang* ) ;;
    3128   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3129     case $build in
    3130   *-mingw*)
    3131     if test "${LD+set}" = set; then :; else
    3132       LD=link
    3133     fi
    3134     ;;
    3135  esac
    3136  case $enable_doscompile in
    3137    msvc)
    3138      if test "x${LD+set}" = xset; then :; else
    3139        LD=link
    3140      fi
    3141      ;;
    3142  esac
    3143 
    3144     ;;
    3145 esac
    3146 
    3147 ac_ext=c
    3148 ac_cpp='$CPP $CPPFLAGS'
    3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3152 
    3153 
    3154 
    3155 # Get the name of the C++ compiler and appropriate compiler options
    3156 
    3157  #Let's try if that overcomes configuration problem with VC++ 6.0
    3158 
    3159 ac_ext=cc
    3160 ac_cpp='$CXXCPP $CPPFLAGS'
    3161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3164 
    3165 
    3166 
    3167 
    3168 
    3169 
    3170 
    3171 coin_has_cxx=yes
    3172 
    3173 save_cxxflags="$CXXFLAGS"
    3174 # For *-*-solaris*, promote Studio/Workshop compiler to front of list.
    3175 case $build in
    3176   *-cygwin* | *-mingw*)
    3177              if test "$enable_doscompile" = msvc ; then
    3178                comps="icl cl"
    3179              else
    3180                comps="g++ cl"
    3181              fi ;;
    3182   *-*-solaris*)
    3183              comps="CC xlC_r aCC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;;
    3184   *-darwin*) comps="g++ c++ CC" ;;
    3185   *-linux-gnu*)
    3186              comps="g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC xlC_r aCC CC" ;;
    3187           *) comps="xlC_r aCC CC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;;
    3188 esac
    3189 
    3190 # We delete the cached value, since the test might not have been
    3191 # performed with our choice of compilers earlier
    3192 $as_unset ac_cv_prog_CXX || test "${ac_cv_prog_CXX+set}" != set || { ac_cv_prog_CXX=; export ac_cv_prog_CXX; }
    3193 # AC_MSG_NOTICE([C++ compiler candidates: $comps])
    3194 ac_ext=cc
    3195 ac_cpp='$CXXCPP $CPPFLAGS'
    3196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3199 if test -n "$ac_tool_prefix"; then
    3200   for ac_prog in $CCC $comps
    3201   do
    3202     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3204 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3206 if test "${ac_cv_prog_CXX+set}" = set; then
    3207   echo $ECHO_N "(cached) $ECHO_C" >&6
    3208 else
    3209   if test -n "$CXX"; then
    3210   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    3211 else
    3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3213 for as_dir in $PATH
    3214 do
    3215   IFS=$as_save_IFS
    3216   test -z "$as_dir" && as_dir=.
    3217   for ac_exec_ext in '' $ac_executable_extensions; do
    3218   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3219     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3220     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3221     break 2
    3222   fi
    3223 done
    3224 done
    3225 
    3226 fi
    3227 fi
    3228 CXX=$ac_cv_prog_CXX
    3229 if test -n "$CXX"; then
    3230   echo "$as_me:$LINENO: result: $CXX" >&5
    3231 echo "${ECHO_T}$CXX" >&6
    3232 else
    3233   echo "$as_me:$LINENO: result: no" >&5
    3234 echo "${ECHO_T}no" >&6
    3235 fi
    3236 
    3237     test -n "$CXX" && break
    3238   done
    3239 fi
    3240 if test -z "$CXX"; then
    3241   ac_ct_CXX=$CXX
    3242   for ac_prog in $CCC $comps
    3243 do
    3244   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3245 set dummy $ac_prog; ac_word=$2
    3246 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3248 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3249   echo $ECHO_N "(cached) $ECHO_C" >&6
    3250 else
    3251   if test -n "$ac_ct_CXX"; then
    3252   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    3253 else
    3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3255 for as_dir in $PATH
    3256 do
    3257   IFS=$as_save_IFS
    3258   test -z "$as_dir" && as_dir=.
    3259   for ac_exec_ext in '' $ac_executable_extensions; do
    3260   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3261     ac_cv_prog_ac_ct_CXX="$ac_prog"
    3262     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3263     break 2
    3264   fi
    3265 done
    3266 done
    3267 
    3268 fi
    3269 fi
    3270 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    3271 if test -n "$ac_ct_CXX"; then
    3272   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3273 echo "${ECHO_T}$ac_ct_CXX" >&6
    3274 else
    3275   echo "$as_me:$LINENO: result: no" >&5
    3276 echo "${ECHO_T}no" >&6
    3277 fi
    3278 
    3279   test -n "$ac_ct_CXX" && break
    3280 done
    3281 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    3282 
    3283   CXX=$ac_ct_CXX
    3284 fi
    3285 
    3286 
    3287 # Provide some information about the compiler.
    3288 echo "$as_me:$LINENO:" \
    3289      "checking for C++ compiler version" >&5
    3290 ac_compiler=`set X $ac_compile; echo $2`
    3291 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3292   (eval $ac_compiler --version </dev/null >&5) 2>&5
    3293   ac_status=$?
    3294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3295   (exit $ac_status); }
    3296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3297   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3298   ac_status=$?
    3299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3300   (exit $ac_status); }
    3301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3302   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3303   ac_status=$?
    3304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3305   (exit $ac_status); }
    3306 
    3307 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3308 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    3309 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3310   echo $ECHO_N "(cached) $ECHO_C" >&6
    3311 else
    3312   cat >conftest.$ac_ext <<_ACEOF
    3313 /* confdefs.h.  */
    3314 _ACEOF
    3315 cat confdefs.h >>conftest.$ac_ext
    3316 cat >>conftest.$ac_ext <<_ACEOF
    3317 /* end confdefs.h.  */
    3318 
    3319 int
    3320 main ()
    3321 {
    3322 #ifndef __GNUC__
    3323        choke me
    3324 #endif
    3325 
    3326   ;
    3327   return 0;
    3328 }
    3329 _ACEOF
    3330 rm -f conftest.$ac_objext
    3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3332   (eval $ac_compile) 2>conftest.er1
    3333   ac_status=$?
    3334   grep -v '^ *+' conftest.er1 >conftest.err
    3335   rm -f conftest.er1
    3336   cat conftest.err >&5
    3337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3338   (exit $ac_status); } &&
    3339          { ac_try='test -z "$ac_cxx_werror_flag"
    3340                          || test ! -s conftest.err'
    3341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3342   (eval $ac_try) 2>&5
    3343   ac_status=$?
    3344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3345   (exit $ac_status); }; } &&
    3346          { ac_try='test -s conftest.$ac_objext'
    3347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3348   (eval $ac_try) 2>&5
    3349   ac_status=$?
    3350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3351   (exit $ac_status); }; }; then
    3352   ac_compiler_gnu=yes
    3353 else
    3354   echo "$as_me: failed program was:" >&5
    3355 sed 's/^/| /' conftest.$ac_ext >&5
    3356 
    3357 ac_compiler_gnu=no
    3358 fi
    3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3360 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    3361 
    3362 fi
    3363 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3364 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    3365 GXX=`test $ac_compiler_gnu = yes && echo yes`
    3366 ac_test_CXXFLAGS=${CXXFLAGS+set}
    3367 ac_save_CXXFLAGS=$CXXFLAGS
    3368 CXXFLAGS="-g"
    3369 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3370 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    3371 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3372   echo $ECHO_N "(cached) $ECHO_C" >&6
    3373 else
    3374   cat >conftest.$ac_ext <<_ACEOF
    3375 /* confdefs.h.  */
    3376 _ACEOF
    3377 cat confdefs.h >>conftest.$ac_ext
    3378 cat >>conftest.$ac_ext <<_ACEOF
    3379 /* end confdefs.h.  */
    3380 
    3381 int
    3382 main ()
    3383 {
    3384 
    3385   ;
    3386   return 0;
    3387 }
    3388 _ACEOF
    3389 rm -f conftest.$ac_objext
    3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3391   (eval $ac_compile) 2>conftest.er1
    3392   ac_status=$?
    3393   grep -v '^ *+' conftest.er1 >conftest.err
    3394   rm -f conftest.er1
    3395   cat conftest.err >&5
    3396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3397   (exit $ac_status); } &&
    3398          { ac_try='test -z "$ac_cxx_werror_flag"
    3399                          || test ! -s conftest.err'
    3400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3401   (eval $ac_try) 2>&5
    3402   ac_status=$?
    3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3404   (exit $ac_status); }; } &&
    3405          { ac_try='test -s conftest.$ac_objext'
    3406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3407   (eval $ac_try) 2>&5
    3408   ac_status=$?
    3409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3410   (exit $ac_status); }; }; then
    3411   ac_cv_prog_cxx_g=yes
    3412 else
    3413   echo "$as_me: failed program was:" >&5
    3414 sed 's/^/| /' conftest.$ac_ext >&5
    3415 
    3416 ac_cv_prog_cxx_g=no
    3417 fi
    3418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3419 fi
    3420 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3421 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    3422 if test "$ac_test_CXXFLAGS" = set; then
    3423   CXXFLAGS=$ac_save_CXXFLAGS
    3424 elif test $ac_cv_prog_cxx_g = yes; then
    3425   if test "$GXX" = yes; then
    3426     CXXFLAGS="-g -O2"
    3427   else
    3428     CXXFLAGS="-g"
    3429   fi
    3430 else
    3431   if test "$GXX" = yes; then
    3432     CXXFLAGS="-O2"
    3433   else
    3434     CXXFLAGS=
    3435   fi
    3436 fi
    3437 for ac_declaration in \
    3438    '' \
    3439    'extern "C" void std::exit (int) throw (); using std::exit;' \
    3440    'extern "C" void std::exit (int); using std::exit;' \
    3441    'extern "C" void exit (int) throw ();' \
    3442    'extern "C" void exit (int);' \
    3443    'void exit (int);'
    3444 do
    3445   cat >conftest.$ac_ext <<_ACEOF
    3446 /* confdefs.h.  */
    3447 _ACEOF
    3448 cat confdefs.h >>conftest.$ac_ext
    3449 cat >>conftest.$ac_ext <<_ACEOF
    3450 /* end confdefs.h.  */
    3451 $ac_declaration
    3452 #include <stdlib.h>
    3453 int
    3454 main ()
    3455 {
    3456 exit (42);
    3457   ;
    3458   return 0;
    3459 }
    3460 _ACEOF
    3461 rm -f conftest.$ac_objext
    3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3463   (eval $ac_compile) 2>conftest.er1
    3464   ac_status=$?
    3465   grep -v '^ *+' conftest.er1 >conftest.err
    3466   rm -f conftest.er1
    3467   cat conftest.err >&5
    3468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3469   (exit $ac_status); } &&
    3470          { ac_try='test -z "$ac_cxx_werror_flag"
    3471                          || test ! -s conftest.err'
    3472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3473   (eval $ac_try) 2>&5
    3474   ac_status=$?
    3475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3476   (exit $ac_status); }; } &&
    3477          { ac_try='test -s conftest.$ac_objext'
    3478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3479   (eval $ac_try) 2>&5
    3480   ac_status=$?
    3481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3482   (exit $ac_status); }; }; then
    3483   :
    3484 else
    3485   echo "$as_me: failed program was:" >&5
    3486 sed 's/^/| /' conftest.$ac_ext >&5
    3487 
    3488 continue
    3489 fi
    3490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3491   cat >conftest.$ac_ext <<_ACEOF
    3492 /* confdefs.h.  */
    3493 _ACEOF
    3494 cat confdefs.h >>conftest.$ac_ext
    3495 cat >>conftest.$ac_ext <<_ACEOF
    3496 /* end confdefs.h.  */
    3497 $ac_declaration
    3498 int
    3499 main ()
    3500 {
    3501 exit (42);
    3502   ;
    3503   return 0;
    3504 }
    3505 _ACEOF
    3506 rm -f conftest.$ac_objext
    3507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3508   (eval $ac_compile) 2>conftest.er1
    3509   ac_status=$?
    3510   grep -v '^ *+' conftest.er1 >conftest.err
    3511   rm -f conftest.er1
    3512   cat conftest.err >&5
    3513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3514   (exit $ac_status); } &&
    3515          { ac_try='test -z "$ac_cxx_werror_flag"
    3516                          || test ! -s conftest.err'
    3517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3518   (eval $ac_try) 2>&5
    3519   ac_status=$?
    3520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3521   (exit $ac_status); }; } &&
    3522          { ac_try='test -s conftest.$ac_objext'
    3523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3524   (eval $ac_try) 2>&5
    3525   ac_status=$?
    3526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3527   (exit $ac_status); }; }; then
    3528   break
    3529 else
    3530   echo "$as_me: failed program was:" >&5
    3531 sed 's/^/| /' conftest.$ac_ext >&5
    3532 
    3533 fi
    3534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3535 done
    3536 rm -f conftest*
    3537 if test -n "$ac_declaration"; then
    3538   echo '#ifdef __cplusplus' >>confdefs.h
    3539   echo $ac_declaration      >>confdefs.h
    3540   echo '#endif'             >>confdefs.h
    3541 fi
    3542 
    3543 ac_ext=cc
    3544 ac_cpp='$CXXCPP $CPPFLAGS'
    3545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3548 
    3549 
    3550 #AC_PROG_CXX sets CXX to g++ if it cannot find a working C++ compiler
    3551 #thus, we test here whether $CXX is actually working
    3552 ac_ext=cc
    3553 ac_cpp='$CXXCPP $CPPFLAGS'
    3554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3557 
    3558 echo "$as_me:$LINENO: checking whether C++ compiler $CXX works" >&5
    3559 echo $ECHO_N "checking whether C++ compiler $CXX works... $ECHO_C" >&6;
    3560 cat >conftest.$ac_ext <<_ACEOF
    3561 /* confdefs.h.  */
    3562 _ACEOF
    3563 cat confdefs.h >>conftest.$ac_ext
    3564 cat >>conftest.$ac_ext <<_ACEOF
    3565 /* end confdefs.h.  */
    3566 
    3567 int
    3568 main ()
    3569 {
    3570 int i=0;
    3571   ;
    3572   return 0;
    3573 }
    3574 _ACEOF
    3575 rm -f conftest.$ac_objext
    3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3577   (eval $ac_compile) 2>conftest.er1
    3578   ac_status=$?
    3579   grep -v '^ *+' conftest.er1 >conftest.err
    3580   rm -f conftest.er1
    3581   cat conftest.err >&5
    3582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3583   (exit $ac_status); } &&
    3584          { ac_try='test -z "$ac_cxx_werror_flag"
    3585                          || test ! -s conftest.err'
    3586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3587   (eval $ac_try) 2>&5
    3588   ac_status=$?
    3589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3590   (exit $ac_status); }; } &&
    3591          { ac_try='test -s conftest.$ac_objext'
    3592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3593   (eval $ac_try) 2>&5
    3594   ac_status=$?
    3595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3596   (exit $ac_status); }; }; then
    3597   echo "$as_me:$LINENO: result: yes" >&5
    3598 echo "${ECHO_T}yes" >&6
    3599 else
    3600   echo "$as_me: failed program was:" >&5
    3601 sed 's/^/| /' conftest.$ac_ext >&5
    3602 
    3603 echo "$as_me:$LINENO: result: no" >&5
    3604 echo "${ECHO_T}no" >&6
    3605    { { echo "$as_me:$LINENO: error: failed to find a C++ compiler or C++ compiler $CXX does not work" >&5
    3606 echo "$as_me: error: failed to find a C++ compiler or C++ compiler $CXX does not work" >&2;}
    3607    { (exit 1); exit 1; }; }
    3608 
    3609 fi
    3610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3611 ac_ext=cc
    3612 ac_cpp='$CXXCPP $CPPFLAGS'
    3613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3616 
    3617 
    3618 coin_cxx_is_cl=false
    3619 # It seems that we need to cleanup something here for the Windows
    3620 case "$CXX" in
    3621   clang* ) ;;
    3622   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3623     sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
    3624     mv confdefs.hh confdefs.h
    3625     coin_cxx_is_cl=true
    3626     ;;
    3627 esac
    3628 
    3629 # add automake conditional so we can recognize cl compiler in makefile
    3630 
    3631 
    3632 if test $coin_cxx_is_cl = true; then
    3633   COIN_CXX_IS_CL_TRUE=
    3634   COIN_CXX_IS_CL_FALSE='#'
    3635 else
    3636   COIN_CXX_IS_CL_TRUE='#'
    3637   COIN_CXX_IS_CL_FALSE=
    3638 fi
    3639 
    3640 
    3641 # Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    3642 case "$CXX" in
    3643   clang* ) ;;
    3644   cl* | */cl* | CL* | */CL* )
    3645     if test "$ac_cv_prog_cxx_g" = yes ; then
    3646       ac_cv_prog_cxx_g=no
    3647       { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
    3648 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
    3649     fi ;;
    3650 esac
    3651 CXXFLAGS="$save_cxxflags"
    3652 
    3653 # Check if a project specific CXXFLAGS variable has been set
    3654 if test x$COIN_PRJCT != x; then
    3655   eval coin_tmp=\${${COIN_PRJCT}_CXXFLAGS+set}
    3656   if test x$coin_tmp = xset; then
    3657     eval CXXFLAGS=\${${COIN_PRJCT}_CXXFLAGS}
    3658   fi
    3659 fi
    3660 
    3661 if test x"$CXXFLAGS" = x; then
    3662 
    3663 # ToDo decide whether we want -DNDEBUG for optimization
    3664   coin_add_cxxflags=
    3665   coin_opt_cxxflags=
    3666   coin_dbg_cxxflags=
    3667   coin_warn_cxxflags=
    3668 
    3669   if test "$GXX" = "yes"; then
    3670     case "$CXX" in
    3671       icpc* | */icpc*)
    3672         ;;
    3673       *)
    3674 # ToDo decide about unroll-loops
    3675         coin_opt_cxxflags="-O3"
    3676         coin_add_cxxflags="-pipe"
    3677         coin_dbg_cxxflags="-g -O0"
    3678         coin_warn_cxxflags="-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    3679         case $build in
    3680           *-darwin*)
    3681             ;;
    3682           *)
    3683             coin_warn_cxxflags="-pedantic-errors $coin_warn_cxxflags"
    3684             ;;
    3685         esac
    3686 
    3687         case $enable_doscompile in
    3688           mingw)
    3689             CXXFLAGS="-mno-cygwin"
    3690             cat >conftest.$ac_ext <<_ACEOF
    3691 /* confdefs.h.  */
    3692 _ACEOF
    3693 cat confdefs.h >>conftest.$ac_ext
    3694 cat >>conftest.$ac_ext <<_ACEOF
    3695 /* end confdefs.h.  */
    3696 
    3697 int
    3698 main ()
    3699 {
    3700 int i=0; i++;
    3701   ;
    3702   return 0;
    3703 }
    3704 _ACEOF
    3705 rm -f conftest.$ac_objext conftest$ac_exeext
    3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3707   (eval $ac_link) 2>conftest.er1
    3708   ac_status=$?
    3709   grep -v '^ *+' conftest.er1 >conftest.err
    3710   rm -f conftest.er1
    3711   cat conftest.err >&5
    3712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3713   (exit $ac_status); } &&
    3714          { ac_try='test -z "$ac_cxx_werror_flag"
    3715                          || test ! -s conftest.err'
    3716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3717   (eval $ac_try) 2>&5
    3718   ac_status=$?
    3719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3720   (exit $ac_status); }; } &&
    3721          { ac_try='test -s conftest$ac_exeext'
    3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3723   (eval $ac_try) 2>&5
    3724   ac_status=$?
    3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3726   (exit $ac_status); }; }; then
    3727   coin_add_cxxflags="-mno-cygwin $coin_add_cxxflags"
    3728 else
    3729   echo "$as_me: failed program was:" >&5
    3730 sed 's/^/| /' conftest.$ac_ext >&5
    3731 
    3732 fi
    3733 rm -f conftest.err conftest.$ac_objext \
    3734       conftest$ac_exeext conftest.$ac_ext
    3735             CXXFLAGS=
    3736           ;;
    3737         esac
    3738     esac
    3739   fi
    3740 
    3741 # Note that we do not need to cover GCC in the following tests.
    3742 
    3743   if test -z "$coin_opt_cxxflags"; then
    3744     case $build in
    3745       *-cygwin* | *-mingw*)
    3746         case "$CXX" in
    3747           clang* ) ;;
    3748           cl* | */cl* | CL* | */CL*)
    3749             # The MT and MTd options are mutually exclusive
    3750             coin_opt_cxxflags='-MT -O2'
    3751             coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    3752             coin_dbg_cxxflags='-MTd'
    3753             ;;
    3754           icl* | */icl* | ICL* | */ICL*)
    3755             # The MT and MTd options are mutually exclusive
    3756             coin_opt_cxxflags='-MT -Ox'
    3757             coin_add_cxxflags='-nologo -EHsc -GR -D_CRT_SECURE_NO_DEPRECATE'
    3758             coin_dbg_cxxflags='-MTd -debug'
    3759             ;;
    3760         esac
    3761         ;;
    3762       *-linux-*)
    3763         case "$CXX" in
    3764           icpc* | */icpc*)
    3765             coin_opt_cxxflags="-O3 -ip -mp1"
    3766             coin_add_cxxflags=""
    3767             coin_dbg_cxxflags="-g"
    3768             # Check if -i_dynamic is necessary (for new glibc library)
    3769             CXXFLAGS=
    3770             cat >conftest.$ac_ext <<_ACEOF
    3771 /* confdefs.h.  */
    3772 _ACEOF
    3773 cat confdefs.h >>conftest.$ac_ext
    3774 cat >>conftest.$ac_ext <<_ACEOF
    3775 /* end confdefs.h.  */
    3776 
    3777 int
    3778 main ()
    3779 {
    3780 int i=0; i++;
    3781   ;
    3782   return 0;
    3783 }
    3784 _ACEOF
    3785 rm -f conftest.$ac_objext conftest$ac_exeext
    3786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3787   (eval $ac_link) 2>conftest.er1
    3788   ac_status=$?
    3789   grep -v '^ *+' conftest.er1 >conftest.err
    3790   rm -f conftest.er1
    3791   cat conftest.err >&5
    3792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3793   (exit $ac_status); } &&
    3794          { ac_try='test -z "$ac_cxx_werror_flag"
    3795                          || test ! -s conftest.err'
    3796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3797   (eval $ac_try) 2>&5
    3798   ac_status=$?
    3799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3800   (exit $ac_status); }; } &&
    3801          { ac_try='test -s conftest$ac_exeext'
    3802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3803   (eval $ac_try) 2>&5
    3804   ac_status=$?
    3805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3806   (exit $ac_status); }; }; then
    3807   :
    3808 else
    3809   echo "$as_me: failed program was:" >&5
    3810 sed 's/^/| /' conftest.$ac_ext >&5
    3811 
    3812 coin_add_cxxflags="-i_dynamic $coin_add_cxxflags"
    3813 fi
    3814 rm -f conftest.err conftest.$ac_objext \
    3815       conftest$ac_exeext conftest.$ac_ext
    3816             ;;
    3817           pgCC* | */pgCC*)
    3818             coin_opt_cxxflags="-fast"
    3819             coin_add_cxxflags="-Kieee -pc 64"
    3820             coin_dbg_cxxflags="-g"
    3821             ;;
    3822         esac
    3823         ;;
    3824       *-ibm-*)
    3825         case "$CXX" in
    3826           xlC* | */xlC* | mpxlC* | */mpxlC*)
    3827             coin_opt_cxxflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    3828             coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna -qsuppress=1500-036 -qsuppress=1500-029 -qsourcetype=c++"
    3829             coin_dbg_cxxflags="-g"
    3830             ;;
    3831         esac
    3832         ;;
    3833       *-hp-*)
    3834         case "$CXX" in
    3835           aCC* | */aCC* )
    3836             coin_opt_cxxflags="-O"
    3837             coin_add_cxxflags="-AA"
    3838             coin_dbg_cxxflags="-g"
    3839             ;;
    3840         esac
    3841         ;;
    3842       *-*-solaris*)
    3843           coin_opt_cxxflags="-O4"
    3844           coin_dbg_cxxflags="-g"
    3845         ;;
    3846     esac
    3847   fi
    3848 
    3849 # Generic flag settings. If these don't work, add a case above.
    3850 
    3851   if test "$ac_cv_prog_cxx_g" = yes && test -z "$coin_dbg_cxxflags" ; then
    3852     coin_dbg_cxxflags="-g"
    3853   fi
    3854 
    3855   if test -z "$coin_opt_cxxflags"; then
    3856     # Try if -O option works if nothing else is set
    3857     CXXFLAGS=-O
    3858     cat >conftest.$ac_ext <<_ACEOF
    3859 /* confdefs.h.  */
    3860 _ACEOF
    3861 cat confdefs.h >>conftest.$ac_ext
    3862 cat >>conftest.$ac_ext <<_ACEOF
    3863 /* end confdefs.h.  */
    3864 
    3865 int
    3866 main ()
    3867 {
    3868 int i=0; i++;
    3869   ;
    3870   return 0;
    3871 }
    3872 _ACEOF
    3873 rm -f conftest.$ac_objext conftest$ac_exeext
    3874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3875   (eval $ac_link) 2>conftest.er1
    3876   ac_status=$?
    3877   grep -v '^ *+' conftest.er1 >conftest.err
    3878   rm -f conftest.er1
    3879   cat conftest.err >&5
    3880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3881   (exit $ac_status); } &&
    3882          { ac_try='test -z "$ac_cxx_werror_flag"
    3883                          || test ! -s conftest.err'
    3884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3885   (eval $ac_try) 2>&5
    3886   ac_status=$?
    3887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3888   (exit $ac_status); }; } &&
    3889          { ac_try='test -s conftest$ac_exeext'
    3890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3891   (eval $ac_try) 2>&5
    3892   ac_status=$?
    3893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3894   (exit $ac_status); }; }; then
    3895   coin_opt_cxxflags="-O"
    3896 else
    3897   echo "$as_me: failed program was:" >&5
    3898 sed 's/^/| /' conftest.$ac_ext >&5
    3899 
    3900 fi
    3901 rm -f conftest.err conftest.$ac_objext \
    3902       conftest$ac_exeext conftest.$ac_ext
    3903   fi
    3904 
    3905   # if PM doesn't want the warning messages, take them out
    3906   if test x"$coin_skip_warn_cxxflags" = xyes; then
    3907     coin_warn_cxxflags=
    3908   fi
    3909 
    3910 # Do final setup of flags based on values determined above.
    3911 
    3912   if test x${DBG_CXXFLAGS+set} != xset; then
    3913     DBG_CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags"
    3914   fi
    3915   if test x${OPT_CXXFLAGS+set} != xset; then
    3916     OPT_CXXFLAGS="$coin_opt_cxxflags $coin_add_cxxflags -DNDEBUG $coin_warn_cxxflags"
    3917   fi
    3918 
    3919   DBG_CXXFLAGS="$DBG_CXXFLAGS $ADD_CXXFLAGS $CXXDEFS"
    3920   OPT_CXXFLAGS="$OPT_CXXFLAGS $ADD_CXXFLAGS $CXXDEFS"
    3921 
    3922   if test "$coin_debug_compile" = "true"; then
    3923     CXXFLAGS="$DBG_CXXFLAGS"
    3924   else
    3925     CXXFLAGS="$OPT_CXXFLAGS"
    3926   fi
    3927 
    3928 # Handle the case where CXXFLAGS was set externally.
    3929 else
    3930   CXXFLAGS="$CXXFLAGS $ADD_CXXFLAGS $CXXDEFS"
    3931   if test x${DBG_CXXFLAGS+set} != xset; then
    3932     DBG_CXXFLAGS="$CXXFLAGS"
    3933   fi
    3934   if test x${OPT_CXXFLAGS+set} != xset; then
    3935     OPT_CXXFLAGS="$CXXFLAGS"
    3936   fi
    3937 fi
    3938 
    3939 # If CXXFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    3940 
    3941 case "$CXXFLAGS" in
    3942   *-mno-cygwin*)
    3943     if test x${CPPFLAGS+set} != xset ; then
    3944       CPPFLAGS="-mno-cygwin"
    3945     else
    3946       case "$CPPFLAGS" in
    3947         *-mno-cygwin*)
    3948           ;;
    3949         *)
    3950           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    3951           ;;
    3952       esac
    3953     fi ;;
    3954 esac
    3955 
    3956 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
    3957 if test x$COIN_PRJCT != x; then
    3958   CXXFLAGS="$CXXFLAGS -D${COIN_PRJCT}_BUILD"
    3959 fi
    3960 
    3961 # Try if CXXFLAGS works
    3962 save_CXXFLAGS="$CXXFLAGS"
    3963 cat >conftest.$ac_ext <<_ACEOF
    3964 /* confdefs.h.  */
    3965 _ACEOF
    3966 cat confdefs.h >>conftest.$ac_ext
    3967 cat >>conftest.$ac_ext <<_ACEOF
    3968 /* end confdefs.h.  */
    3969 
    3970 int
    3971 main ()
    3972 {
    3973 int i=0; i++;
    3974   ;
    3975   return 0;
    3976 }
    3977 _ACEOF
    3978 rm -f conftest.$ac_objext conftest$ac_exeext
    3979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3980   (eval $ac_link) 2>conftest.er1
    3981   ac_status=$?
    3982   grep -v '^ *+' conftest.er1 >conftest.err
    3983   rm -f conftest.er1
    3984   cat conftest.err >&5
    3985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3986   (exit $ac_status); } &&
    3987          { ac_try='test -z "$ac_cxx_werror_flag"
    3988                          || test ! -s conftest.err'
    3989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3990   (eval $ac_try) 2>&5
    3991   ac_status=$?
    3992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3993   (exit $ac_status); }; } &&
    3994          { ac_try='test -s conftest$ac_exeext'
    3995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3996   (eval $ac_try) 2>&5
    3997   ac_status=$?
    3998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3999   (exit $ac_status); }; }; then
    4000   :
    4001 else
    4002   echo "$as_me: failed program was:" >&5
    4003 sed 's/^/| /' conftest.$ac_ext >&5
    4004 
    4005 CXXFLAGS=
    4006 fi
    4007 rm -f conftest.err conftest.$ac_objext \
    4008       conftest$ac_exeext conftest.$ac_ext
    4009 if test -z "$CXXFLAGS"; then
    4010   { echo "$as_me:$LINENO: WARNING: The flags CXXFLAGS=\"$save_CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&5
    4011 echo "$as_me: WARNING: The flags CXXFLAGS=\"$save_CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&2;}
    4012   CXXFLAGS='-O'
    4013   cat >conftest.$ac_ext <<_ACEOF
    4014 /* confdefs.h.  */
    4015 _ACEOF
    4016 cat confdefs.h >>conftest.$ac_ext
    4017 cat >>conftest.$ac_ext <<_ACEOF
    4018 /* end confdefs.h.  */
    4019 
    4020 int
    4021 main ()
    4022 {
    4023 int i=0; i++;
    4024   ;
    4025   return 0;
    4026 }
    4027 _ACEOF
    4028 rm -f conftest.$ac_objext conftest$ac_exeext
    4029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4030   (eval $ac_link) 2>conftest.er1
    4031   ac_status=$?
    4032   grep -v '^ *+' conftest.er1 >conftest.err
    4033   rm -f conftest.er1
    4034   cat conftest.err >&5
    4035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4036   (exit $ac_status); } &&
    4037          { ac_try='test -z "$ac_cxx_werror_flag"
    4038                          || test ! -s conftest.err'
    4039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4040   (eval $ac_try) 2>&5
    4041   ac_status=$?
    4042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4043   (exit $ac_status); }; } &&
    4044          { ac_try='test -s conftest$ac_exeext'
    4045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4046   (eval $ac_try) 2>&5
    4047   ac_status=$?
    4048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4049   (exit $ac_status); }; }; then
    4050   :
    4051 else
    4052   echo "$as_me: failed program was:" >&5
    4053 sed 's/^/| /' conftest.$ac_ext >&5
    4054 
    4055 CXXFLAGS=
    4056 fi
    4057 rm -f conftest.err conftest.$ac_objext \
    4058       conftest$ac_exeext conftest.$ac_ext
    4059   if test -z "$CXXFLAGS"; then
    4060     { echo "$as_me:$LINENO: WARNING: This value for CXXFLAGS does not work.  I will continue with empty CXXFLAGS, but you might want to set CXXFLAGS manually." >&5
    4061 echo "$as_me: WARNING: This value for CXXFLAGS does not work.  I will continue with empty CXXFLAGS, but you might want to set CXXFLAGS manually." >&2;}
    4062   fi
    4063 fi
    4064 
    4065 { echo "$as_me:$LINENO: C++ compiler options are: $CXXFLAGS" >&5
    4066 echo "$as_me: C++ compiler options are: $CXXFLAGS" >&6;}
    4067 
    4068 
    4069 if test x"$MPICXX" = x; then :; else
    4070   { echo "$as_me:$LINENO: Will use MPI C++ compiler $MPICXX" >&5
    4071 echo "$as_me: Will use MPI C++ compiler $MPICXX" >&6;}
    4072   CXX="$MPICXX"
    4073 fi
    4074 
    4075 # correct the LD variable in a mingw build with MS or intel compiler
    4076 case "$CXX" in
    4077   clang* ) ;;
    4078   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    4079     case $build in
    4080   *-mingw*)
    4081     if test "${LD+set}" = set; then :; else
    4082       LD=link
    4083     fi
    4084     ;;
    4085  esac
    4086  case $enable_doscompile in
    4087    msvc)
    4088      if test "x${LD+set}" = xset; then :; else
    4089        LD=link
    4090      fi
    4091      ;;
    4092  esac
    4093 
    4094     ;;
    4095 esac
    4096 
    4097 ac_ext=c
    4098 ac_cpp='$CPP $CPPFLAGS'
    4099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4102 
    4103 
    4104 
    4105 # Get the name of the Fortran compiler and appropriate compiler options
    4106 case $build in
    4107   *-cygwin* | *-mingw*)
    4108      if test "$enable_doscompile" = msvc ; then
    4109        coin_f77_comps="ifort fl32 compile_f2c"
    4110      else
    4111        coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
    4112      fi ;;
    4113   *-*-solaris*)
    4114      coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    4115   *-linux-gnu*)
    4116      coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;;
    4117   *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;;
    4118  esac
    4119 
    4120 
    4121 
    4122 
    4123 
    4124 
    4125 ac_ext=f
    4126 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4127 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4128 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4129 
    4130 
    4131 
    4132 
    4133 
    4134 
    4135 coin_has_f77=yes
    4136 
    4137 save_fflags="$FFLAGS"
    4138 
    4139 # We delete the cached value, since the test might not have been
    4140 # performed with our choice of compilers earlier
    4141 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; }
    4142 
    4143 # This is a real belt-and-suspenders approach. AC_COIN_FIND_F77 will use
    4144 # coin_f77_comps to see if there's a program that matches one of the names.
    4145 # If there's no such program, F77 = unavailable. If we match the name,
    4146 # feed AC_PROG_F77 the same search list, just to be sure it's a functioning
    4147 # compiler.
    4148 # AC_MSG_NOTICE([Fortran compiler candidates: $coin_f77_comps])
    4149 
    4150 
    4151 { echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5
    4152 echo "$as_me: Trying to determine Fortran compiler name" >&6;}
    4153 if test -n "$ac_tool_prefix"; then
    4154   for ac_prog in $coin_f77_comps
    4155   do
    4156     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4160 if test "${ac_cv_prog_F77+set}" = set; then
    4161   echo $ECHO_N "(cached) $ECHO_C" >&6
    4162 else
    4163   if test -n "$F77"; then
    4164   ac_cv_prog_F77="$F77" # Let the user override the test.
    4165 else
    4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4167 for as_dir in $PATH
    4168 do
    4169   IFS=$as_save_IFS
    4170   test -z "$as_dir" && as_dir=.
    4171   for ac_exec_ext in '' $ac_executable_extensions; do
    4172   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4173     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    4174     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4175     break 2
    4176   fi
    4177 done
    4178 done
    4179 
    4180 fi
    4181 fi
    4182 F77=$ac_cv_prog_F77
    4183 if test -n "$F77"; then
    4184   echo "$as_me:$LINENO: result: $F77" >&5
    4185 echo "${ECHO_T}$F77" >&6
    4186 else
    4187   echo "$as_me:$LINENO: result: no" >&5
    4188 echo "${ECHO_T}no" >&6
    4189 fi
    4190 
    4191     test -n "$F77" && break
    4192   done
    4193 fi
    4194 if test -z "$F77"; then
    4195   ac_ct_F77=$F77
    4196   for ac_prog in $coin_f77_comps
    4197 do
    4198   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4199 set dummy $ac_prog; ac_word=$2
    4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4202 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    4203   echo $ECHO_N "(cached) $ECHO_C" >&6
    4204 else
    4205   if test -n "$ac_ct_F77"; then
    4206   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
    4207 else
    4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4209 for as_dir in $PATH
    4210 do
    4211   IFS=$as_save_IFS
    4212   test -z "$as_dir" && as_dir=.
    4213   for ac_exec_ext in '' $ac_executable_extensions; do
    4214   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4215     ac_cv_prog_ac_ct_F77="$ac_prog"
    4216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4217     break 2
    4218   fi
    4219 done
    4220 done
    4221 
    4222 fi
    4223 fi
    4224 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    4225 if test -n "$ac_ct_F77"; then
    4226   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    4227 echo "${ECHO_T}$ac_ct_F77" >&6
    4228 else
    4229   echo "$as_me:$LINENO: result: no" >&5
    4230 echo "${ECHO_T}no" >&6
    4231 fi
    4232 
    4233   test -n "$ac_ct_F77" && break
    4234 done
    4235 test -n "$ac_ct_F77" || ac_ct_F77="unavailable"
    4236 
    4237   F77=$ac_ct_F77
    4238 fi
    4239 
    4240 
    4241 if test "$F77" != "unavailable" ; then
    4242   ac_ext=f
    4243 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4244 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4245 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4246 if test -n "$ac_tool_prefix"; then
    4247   for ac_prog in $coin_f77_comps
    4248   do
    4249     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4253 if test "${ac_cv_prog_F77+set}" = set; then
    4254   echo $ECHO_N "(cached) $ECHO_C" >&6
    4255 else
    4256   if test -n "$F77"; then
    4257   ac_cv_prog_F77="$F77" # Let the user override the test.
    4258 else
    4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4260 for as_dir in $PATH
    4261 do
    4262   IFS=$as_save_IFS
    4263   test -z "$as_dir" && as_dir=.
    4264   for ac_exec_ext in '' $ac_executable_extensions; do
    4265   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4266     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    4267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4268     break 2
    4269   fi
    4270 done
    4271 done
    4272 
    4273 fi
    4274 fi
    4275 F77=$ac_cv_prog_F77
    4276 if test -n "$F77"; then
    4277   echo "$as_me:$LINENO: result: $F77" >&5
    4278 echo "${ECHO_T}$F77" >&6
    4279 else
    4280   echo "$as_me:$LINENO: result: no" >&5
    4281 echo "${ECHO_T}no" >&6
    4282 fi
    4283 
    4284     test -n "$F77" && break
    4285   done
    4286 fi
    4287 if test -z "$F77"; then
    4288   ac_ct_F77=$F77
    4289   for ac_prog in $coin_f77_comps
    4290 do
    4291   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4292 set dummy $ac_prog; ac_word=$2
    4293 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4295 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    4296   echo $ECHO_N "(cached) $ECHO_C" >&6
    4297 else
    4298   if test -n "$ac_ct_F77"; then
    4299   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
    4300 else
    4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4302 for as_dir in $PATH
    4303 do
    4304   IFS=$as_save_IFS
    4305   test -z "$as_dir" && as_dir=.
    4306   for ac_exec_ext in '' $ac_executable_extensions; do
    4307   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4308     ac_cv_prog_ac_ct_F77="$ac_prog"
    4309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4310     break 2
    4311   fi
    4312 done
    4313 done
    4314 
    4315 fi
    4316 fi
    4317 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    4318 if test -n "$ac_ct_F77"; then
    4319   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    4320 echo "${ECHO_T}$ac_ct_F77" >&6
    4321 else
    4322   echo "$as_me:$LINENO: result: no" >&5
    4323 echo "${ECHO_T}no" >&6
    4324 fi
    4325 
    4326   test -n "$ac_ct_F77" && break
    4327 done
    4328 
    4329   F77=$ac_ct_F77
    4330 fi
    4331 
    4332 
    4333 # Provide some information about the compiler.
    4334 echo "$as_me:4334:" \
    4335      "checking for Fortran 77 compiler version" >&5
    4336 ac_compiler=`set X $ac_compile; echo $2`
    4337 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    4338   (eval $ac_compiler --version </dev/null >&5) 2>&5
    4339   ac_status=$?
    4340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4341   (exit $ac_status); }
    4342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    4343   (eval $ac_compiler -v </dev/null >&5) 2>&5
    4344   ac_status=$?
    4345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4346   (exit $ac_status); }
    4347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    4348   (eval $ac_compiler -V </dev/null >&5) 2>&5
    4349   ac_status=$?
    4350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4351   (exit $ac_status); }
    4352 rm -f a.out
    4353 
    4354 # If we don't use `.F' as extension, the preprocessor is not run on the
    4355 # input file.  (Note that this only needs to work for GNU compilers.)
    4356 ac_save_ext=$ac_ext
    4357 ac_ext=F
    4358 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    4359 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    4360 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    4361   echo $ECHO_N "(cached) $ECHO_C" >&6
    4362 else
    4363   cat >conftest.$ac_ext <<_ACEOF
    4364       program main
    4365 #ifndef __GNUC__
    4366        choke me
    4367 #endif
    4368 
    4369       end
    4370 _ACEOF
    4371 rm -f conftest.$ac_objext
    4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4373   (eval $ac_compile) 2>conftest.er1
    4374   ac_status=$?
    4375   grep -v '^ *+' conftest.er1 >conftest.err
    4376   rm -f conftest.er1
    4377   cat conftest.err >&5
    4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4379   (exit $ac_status); } &&
    4380          { ac_try='test -z "$ac_f77_werror_flag"
    4381                          || test ! -s conftest.err'
    4382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4383   (eval $ac_try) 2>&5
    4384   ac_status=$?
    4385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4386   (exit $ac_status); }; } &&
    4387          { ac_try='test -s conftest.$ac_objext'
    4388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4389   (eval $ac_try) 2>&5
    4390   ac_status=$?
    4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4392   (exit $ac_status); }; }; then
    4393   ac_compiler_gnu=yes
    4394 else
    4395   echo "$as_me: failed program was:" >&5
    4396 sed 's/^/| /' conftest.$ac_ext >&5
    4397 
    4398 ac_compiler_gnu=no
    4399 fi
    4400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4401 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    4402 
    4403 fi
    4404 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    4405 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    4406 ac_ext=$ac_save_ext
    4407 ac_test_FFLAGS=${FFLAGS+set}
    4408 ac_save_FFLAGS=$FFLAGS
    4409 FFLAGS=
    4410 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    4411 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    4412 if test "${ac_cv_prog_f77_g+set}" = set; then
    4413   echo $ECHO_N "(cached) $ECHO_C" >&6
    4414 else
    4415   FFLAGS=-g
    4416 cat >conftest.$ac_ext <<_ACEOF
    4417       program main
    4418 
    4419       end
    4420 _ACEOF
    4421 rm -f conftest.$ac_objext
    4422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4423   (eval $ac_compile) 2>conftest.er1
    4424   ac_status=$?
    4425   grep -v '^ *+' conftest.er1 >conftest.err
    4426   rm -f conftest.er1
    4427   cat conftest.err >&5
    4428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4429   (exit $ac_status); } &&
    4430          { ac_try='test -z "$ac_f77_werror_flag"
    4431                          || test ! -s conftest.err'
    4432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4433   (eval $ac_try) 2>&5
    4434   ac_status=$?
    4435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4436   (exit $ac_status); }; } &&
    4437          { ac_try='test -s conftest.$ac_objext'
    4438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4439   (eval $ac_try) 2>&5
    4440   ac_status=$?
    4441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4442   (exit $ac_status); }; }; then
    4443   ac_cv_prog_f77_g=yes
    4444 else
    4445   echo "$as_me: failed program was:" >&5
    4446 sed 's/^/| /' conftest.$ac_ext >&5
    4447 
    4448 ac_cv_prog_f77_g=no
    4449 fi
    4450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4451 
    4452 fi
    4453 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    4454 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
    4455 if test "$ac_test_FFLAGS" = set; then
    4456   FFLAGS=$ac_save_FFLAGS
    4457 elif test $ac_cv_prog_f77_g = yes; then
    4458   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    4459     FFLAGS="-g -O2"
    4460   else
    4461     FFLAGS="-g"
    4462   fi
    4463 else
    4464   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    4465     FFLAGS="-O2"
    4466   else
    4467     FFLAGS=
    4468   fi
    4469 fi
    4470 
    4471 G77=`test $ac_compiler_gnu = yes && echo yes`
    4472 ac_ext=f
    4473 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4474 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4475 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4476 
    4477 else
    4478   { echo "$as_me:$LINENO: WARNING: Failed to find a Fortran compiler!" >&5
    4479 echo "$as_me: WARNING: Failed to find a Fortran compiler!" >&2;}
    4480 fi
    4481 
    4482 FFLAGS="$save_fflags"
    4483 
    4484 # Check if a project specific FFLAGS variable has been set
    4485 if test x$COIN_PRJCT != x; then
    4486   eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set}
    4487   if test x$coin_tmp = xset; then
    4488     eval FFLAGS=\${${COIN_PRJCT}_FFLAGS}
    4489   fi
    4490 fi
    4491 
    4492 if test "$F77" != "unavailable" && test x"$FFLAGS" = x ; then
    4493 
    4494   coin_add_fflags=
    4495   coin_opt_fflags=
    4496   coin_dbg_fflags=
    4497   coin_warn_fflags=
    4498 
    4499   if test "$G77" = "yes"; then
    4500     coin_opt_fflags="-O3"
    4501     coin_add_fflags="-pipe"
    4502     coin_dbg_fflags="-g -O0"
    4503     case $enable_doscompile in
    4504       mingw)
    4505         FFLAGS="-mno-cygwin"
    4506         cat >conftest.$ac_ext <<_ACEOF
    4507       program main
    4508       write(*,*) 'Hello world'
    4509       end
    4510 _ACEOF
    4511 rm -f conftest.$ac_objext conftest$ac_exeext
    4512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4513   (eval $ac_link) 2>conftest.er1
    4514   ac_status=$?
    4515   grep -v '^ *+' conftest.er1 >conftest.err
    4516   rm -f conftest.er1
    4517   cat conftest.err >&5
    4518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4519   (exit $ac_status); } &&
    4520          { ac_try='test -z "$ac_f77_werror_flag"
    4521                          || test ! -s conftest.err'
    4522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4523   (eval $ac_try) 2>&5
    4524   ac_status=$?
    4525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4526   (exit $ac_status); }; } &&
    4527          { ac_try='test -s conftest$ac_exeext'
    4528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4529   (eval $ac_try) 2>&5
    4530   ac_status=$?
    4531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4532   (exit $ac_status); }; }; then
    4533   coin_add_fflags="-mno-cygwin $coin_add_fflags"
    4534 else
    4535   echo "$as_me: failed program was:" >&5
    4536 sed 's/^/| /' conftest.$ac_ext >&5
    4537 
    4538 fi
    4539 rm -f conftest.err conftest.$ac_objext \
    4540       conftest$ac_exeext conftest.$ac_ext
    4541         FFLAGS=
    4542       ;;
    4543     esac
    4544   else
    4545     case $build in
    4546       *-cygwin* | *-mingw*)
    4547         case $F77 in
    4548           ifort* | */ifort* | IFORT* | */IFORT* )
    4549             coin_opt_fflags='-MT -O3'
    4550             coin_add_fflags='-fpp -nologo'
    4551             coin_dbg_fflags='-MTd -debug'
    4552           ;;
    4553           compile_f2c*)
    4554             coin_opt_fflags='-MT -O2'
    4555             coin_add_fflags='-nologo -wd4996'
    4556             coin_dbg_fflags='-MTd'
    4557           ;;
    4558         esac
    4559         ;;
    4560       *-linux-*)
    4561         case $F77 in
    4562           ifc* | */ifc* | ifort* | */ifort*)
    4563             coin_opt_fflags="-O3 -ip"
    4564             coin_add_fflags="-cm -w90 -w95"
    4565             coin_dbg_fflags="-g -CA -CB -CS"
    4566             # Check if -i_dynamic is necessary (for new glibc library)
    4567             FFLAGS=
    4568             cat >conftest.$ac_ext <<_ACEOF
    4569       program main
    4570       write(*,*) 'Hello world'
    4571       end
    4572 _ACEOF
    4573 rm -f conftest.$ac_objext conftest$ac_exeext
    4574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4575   (eval $ac_link) 2>conftest.er1
    4576   ac_status=$?
    4577   grep -v '^ *+' conftest.er1 >conftest.err
    4578   rm -f conftest.er1
    4579   cat conftest.err >&5
    4580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4581   (exit $ac_status); } &&
    4582          { ac_try='test -z "$ac_f77_werror_flag"
    4583                          || test ! -s conftest.err'
    4584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4585   (eval $ac_try) 2>&5
    4586   ac_status=$?
    4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4588   (exit $ac_status); }; } &&
    4589          { ac_try='test -s conftest$ac_exeext'
    4590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4591   (eval $ac_try) 2>&5
    4592   ac_status=$?
    4593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4594   (exit $ac_status); }; }; then
    4595   :
    4596 else
    4597   echo "$as_me: failed program was:" >&5
    4598 sed 's/^/| /' conftest.$ac_ext >&5
    4599 
    4600 coin_add_fflags="-i_dynamic $coin_add_fflags"
    4601 fi
    4602 rm -f conftest.err conftest.$ac_objext \
    4603       conftest$ac_exeext conftest.$ac_ext
    4604             ;;
    4605           pgf77* | */pgf77* | pgf90* | */pgf90*)
    4606             coin_opt_fflags="-fast"
    4607             coin_add_fflags="-Kieee -pc 64"
    4608             coin_dbg_fflags="-g"
    4609           ;;
    4610         esac
    4611         ;;
    4612       *-ibm-*)
    4613         case "$F77" in
    4614           xlf* | */xlf* | mpxlf* | */mpxlf* )
    4615             coin_opt_fflags="-O -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    4616             coin_add_fflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029"
    4617             coin_dbg_fflags="-g -C"
    4618             ;;
    4619         esac
    4620         ;;
    4621       *-hp-*)
    4622         coin_opt_fflags="+O3"
    4623         coin_add_fflags="+U77"
    4624         coin_dbg_fflags="-C -g"
    4625         ;;
    4626       *-*-solaris*)
    4627         coin_opt_fflags="-O4"
    4628         coin_dbg_fflags="-g"
    4629         ;;
    4630       *-sgi-*)
    4631         coin_opt_fflags="-O5 -OPT:Olimit=0"
    4632         coin_dbg_fflags="-g"
    4633         ;;
    4634     esac
    4635   fi
    4636 
    4637   if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then
    4638     coin_dbg_fflags="-g"
    4639   fi
    4640 
    4641   if test -z "$coin_opt_fflags"; then
    4642     # Try if -O option works if nothing else is set
    4643     FFLAGS=-O
    4644     cat >conftest.$ac_ext <<_ACEOF
    4645       program main
    4646       integer i
    4647       end
    4648 _ACEOF
    4649 rm -f conftest.$ac_objext conftest$ac_exeext
    4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4651   (eval $ac_link) 2>conftest.er1
    4652   ac_status=$?
    4653   grep -v '^ *+' conftest.er1 >conftest.err
    4654   rm -f conftest.er1
    4655   cat conftest.err >&5
    4656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4657   (exit $ac_status); } &&
    4658          { ac_try='test -z "$ac_f77_werror_flag"
    4659                          || test ! -s conftest.err'
    4660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4661   (eval $ac_try) 2>&5
    4662   ac_status=$?
    4663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4664   (exit $ac_status); }; } &&
    4665          { ac_try='test -s conftest$ac_exeext'
    4666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4667   (eval $ac_try) 2>&5
    4668   ac_status=$?
    4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4670   (exit $ac_status); }; }; then
    4671   coin_opt_fflags="-O"
    4672 else
    4673   echo "$as_me: failed program was:" >&5
    4674 sed 's/^/| /' conftest.$ac_ext >&5
    4675 
    4676 fi
    4677 rm -f conftest.err conftest.$ac_objext \
    4678       conftest$ac_exeext conftest.$ac_ext
    4679   fi
    4680 
    4681   # if PM doesn't want the warning messages, take them out
    4682   if test x"$coin_skip_warn_fflags" = xyes; then
    4683     coin_warn_fflags=
    4684   fi
    4685 
    4686   if test x${DBG_FFLAGS+set} != xset; then
    4687     DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags"
    4688   fi
    4689   if test x${OPT_FFLAGS+set} != xset; then
    4690     OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags"
    4691   fi
    4692 
    4693   DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS"
    4694   OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS"
    4695 
    4696   if test "$coin_debug_compile" = "true"; then
    4697     FFLAGS="$DBG_FFLAGS"
    4698   else
    4699     FFLAGS="$OPT_FFLAGS"
    4700   fi
    4701 else
    4702   FFLAGS="$FFLAGS $ADD_FFLAGS"
    4703   if test x${DBG_FFLAGS+set} != xset; then
    4704     DBG_FFLAGS="$FFLAGS"
    4705   fi
    4706   if test x${OPT_FFLAGS+set} != xset; then
    4707     OPT_FFLAGS="$FFLAGS"
    4708   fi
    4709 fi
    4710 
    4711 # If FFLAGS contains -mno-cygwin, CPPFLAGS must have it.
    4712 case "$FFLAGS" in
    4713   *-mno-cygwin*)
    4714     if test x${CPPFLAGS+set} != xset ; then
    4715       CPPFLAGS="-mno-cygwin"
    4716     else
    4717       case "$CPPFLAGS" in
    4718         *-mno-cygwin*)
    4719           ;;
    4720         *)
    4721           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    4722           ;;
    4723       esac
    4724     fi ;;
    4725 esac
    4726 
    4727 # Try if FFLAGS works
    4728 if test "$F77" != "unavailable" ; then
    4729   cat >conftest.$ac_ext <<_ACEOF
    4730       program main
    4731       integer i
    4732       end
    4733 _ACEOF
    4734 rm -f conftest.$ac_objext conftest$ac_exeext
    4735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4736   (eval $ac_link) 2>conftest.er1
    4737   ac_status=$?
    4738   grep -v '^ *+' conftest.er1 >conftest.err
    4739   rm -f conftest.er1
    4740   cat conftest.err >&5
    4741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4742   (exit $ac_status); } &&
    4743          { ac_try='test -z "$ac_f77_werror_flag"
    4744                          || test ! -s conftest.err'
    4745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4746   (eval $ac_try) 2>&5
    4747   ac_status=$?
    4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4749   (exit $ac_status); }; } &&
    4750          { ac_try='test -s conftest$ac_exeext'
    4751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4752   (eval $ac_try) 2>&5
    4753   ac_status=$?
    4754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4755   (exit $ac_status); }; }; then
    4756   :
    4757 else
    4758   echo "$as_me: failed program was:" >&5
    4759 sed 's/^/| /' conftest.$ac_ext >&5
    4760 
    4761 FFLAGS=
    4762 fi
    4763 rm -f conftest.err conftest.$ac_objext \
    4764       conftest$ac_exeext conftest.$ac_ext
    4765   if test -z "$FFLAGS"; then
    4766     { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&5
    4767 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&2;}
    4768     FFLAGS='-O'
    4769     cat >conftest.$ac_ext <<_ACEOF
    4770       program main
    4771       integer i
    4772       end
    4773 _ACEOF
    4774 rm -f conftest.$ac_objext conftest$ac_exeext
    4775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4776   (eval $ac_link) 2>conftest.er1
    4777   ac_status=$?
    4778   grep -v '^ *+' conftest.er1 >conftest.err
    4779   rm -f conftest.er1
    4780   cat conftest.err >&5
    4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4782   (exit $ac_status); } &&
    4783          { ac_try='test -z "$ac_f77_werror_flag"
    4784                          || test ! -s conftest.err'
    4785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4786   (eval $ac_try) 2>&5
    4787   ac_status=$?
    4788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4789   (exit $ac_status); }; } &&
    4790          { ac_try='test -s conftest$ac_exeext'
    4791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4792   (eval $ac_try) 2>&5
    4793   ac_status=$?
    4794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4795   (exit $ac_status); }; }; then
    4796   :
    4797 else
    4798   echo "$as_me: failed program was:" >&5
    4799 sed 's/^/| /' conftest.$ac_ext >&5
    4800 
    4801 FFLAGS=
    4802 fi
    4803 rm -f conftest.err conftest.$ac_objext \
    4804       conftest$ac_exeext conftest.$ac_ext
    4805     if test -z "$FFLAGS"; then
    4806       { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5
    4807 echo "$as_me: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;}
    4808     fi
    4809   fi
    4810 fi
    4811 
    4812 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&5
    4813 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;}
    4814 
    4815 
    4816 if test x"$MPIF77" = x; then :; else
    4817   { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&5
    4818 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;}
    4819   F77="$MPIF77"
    4820 fi
    4821 
    4822 # correct the LD variable if we use the intel fortran compiler in windows
    4823 case "$F77" in
    4824   ifort* | */ifort* | IFORT* | */IFORT*)
    4825     case $build in
    4826   *-mingw*)
    4827     if test "${LD+set}" = set; then :; else
    4828       LD=link
    4829     fi
    4830     ;;
    4831  esac
    4832  case $enable_doscompile in
    4833    msvc)
    4834      if test "x${LD+set}" = xset; then :; else
    4835        LD=link
    4836      fi
    4837      ;;
    4838  esac
    4839 
    4840     ;;
    4841 esac
    4842 
    4843 ac_ext=c
    4844 ac_cpp='$CPP $CPPFLAGS'
    4845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4848 
    4849 
    4850 
    4851 # Initialize automake and libtool
    4852 # AC_MSG_NOTICE([Calling INIT_AUTO_TOOLS from CREATE_LIBTOOL.])
    4853 {
    4854 
    4855 
    4856 
    4857 # START
    4858 
    4859 # Test if force_shared has been set
    4860 if test "x" = xforce_shared; then
    4861   if test x$enable_shared = xno; then
    4862     { { echo "$as_me:$LINENO: error: Shared libraries are disabled by user, but this is not feasible with the given options" >&5
    4863 echo "$as_me: error: Shared libraries are disabled by user, but this is not feasible with the given options" >&2;}
    4864    { (exit 1); exit 1; }; }
    4865   fi
    4866   enable_shared=yes;
    4867 else
    4868   # On Cygwin and AIX, building DLLs doesn't work
    4869   case $build in
    4870     *-cygwin*)
    4871       coin_disable_shared=yes
    4872       platform=Cygwin
    4873     ;;
    4874     *-aix*)
    4875       coin_disable_shared=yes
    4876       platform=AIX
    4877     ;;
    4878     *-mingw*)
    4879       coin_disable_shared=yes
    4880       platform="Msys"
    4881 #      case "$CXX" in
    4882 #        cl*)
    4883 #          coin_disable_shared=yes
    4884 #          platform="Msys with cl"
    4885 #      ;;
    4886 #      esac
    4887     ;;
    4888   esac
    4889 fi
    4890 if test x"$coin_disable_shared" = xyes; then
    4891   if test x"$enable_shared" = xyes; then
    4892     { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
    4893 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
    4894   fi
    4895   enable_shared=no
    4896 fi
    4897 # By default, we only want the shared objects to be compiled
    4898 # Check whether --enable-static or --disable-static was given.
    4899 if test "${enable_static+set}" = set; then
    4900   enableval="$enable_static"
    4901   p=${PACKAGE-default}
    4902     case $enableval in
    4903     yes) enable_static=yes ;;
    4904     no) enable_static=no ;;
    4905     *)
    4906      enable_static=no
    4907       # Look at the argument we got.  We use all the common list separators.
    4908       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    4909       for pkg in $enableval; do
    4910         IFS="$lt_save_ifs"
    4911         if test "X$pkg" = "X$p"; then
    4912           enable_static=yes
    4913         fi
    4914       done
    4915       IFS="$lt_save_ifs"
    4916       ;;
    4917     esac
    4918 else
    4919   enable_static=no
    4920 fi;
    4921 
    4922 
    4923 
    4924 
    4925 # Initialize automake
    4926 echo "$as_me:$LINENO: checking for egrep" >&5
    4927 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    4928 if test "${ac_cv_prog_egrep+set}" = set; then
    4929   echo $ECHO_N "(cached) $ECHO_C" >&6
    4930 else
    4931   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    4932     then ac_cv_prog_egrep='grep -E'
    4933     else ac_cv_prog_egrep='egrep'
    4934     fi
    4935 fi
    4936 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    4937 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    4938  EGREP=$ac_cv_prog_egrep
    4939 
    4940 
    4941 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    4942 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    4943 LN_S=$as_ln_s
    4944 if test "$LN_S" = "ln -s"; then
    4945   echo "$as_me:$LINENO: result: yes" >&5
    4946 echo "${ECHO_T}yes" >&6
    4947 else
    4948   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    4949 echo "${ECHO_T}no, using $LN_S" >&6
    4950 fi
    4951 
    4952 am__api_version="1.9"
    4953 # Find a good install program.  We prefer a C program (faster),
    4954 # so one script is as good as another.  But avoid the broken or
    4955 # incompatible versions:
    4956 # SysV /etc/install, /usr/sbin/install
    4957 # SunOS /usr/etc/install
    4958 # IRIX /sbin/install
    4959 # AIX /bin/install
    4960 # AmigaOS /C/install, which installs bootblocks on floppy discs
    4961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    4962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    4963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    4964 # OS/2's system install, which has a completely different semantic
    4965 # ./install, which can be erroneously created by make from ./install.sh.
    4966 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    4967 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    4968 if test -z "$INSTALL"; then
    4969 if test "${ac_cv_path_install+set}" = set; then
    4970   echo $ECHO_N "(cached) $ECHO_C" >&6
    4971 else
    4972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4973 for as_dir in $PATH
    4974 do
    4975   IFS=$as_save_IFS
    4976   test -z "$as_dir" && as_dir=.
    4977   # Account for people who put trailing slashes in PATH elements.
    4978 case $as_dir/ in
    4979   ./ | .// | /cC/* | \
    4980   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4981   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    4982   /usr/ucb/* ) ;;
    4983   *)
    4984     # OSF1 and SCO ODT 3.0 have their own names for install.
    4985     # Don't use installbsd from OSF since it installs stuff as root
    4986     # by default.
    4987     for ac_prog in ginstall scoinst install; do
    4988       for ac_exec_ext in '' $ac_executable_extensions; do
    4989         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    4990           if test $ac_prog = install &&
    4991             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    4992             # AIX install.  It has an incompatible calling convention.
    4993             :
    4994           elif test $ac_prog = install &&
    4995             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    4996             # program-specific install script used by HP pwplus--don't use.
    4997             :
    4998           else
    4999             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    5000             break 3
    5001           fi
    5002         fi
    5003       done
    5004     done
    5005     ;;
    5006 esac
    5007 done
    5008 
    5009 
    5010 fi
    5011   if test "${ac_cv_path_install+set}" = set; then
    5012     INSTALL=$ac_cv_path_install
    5013   else
    5014     # As a last resort, use the slow shell script.  We don't cache a
    5015     # path for INSTALL within a source directory, because that will
    5016     # break other packages using the cache if that directory is
    5017     # removed, or if the path is relative.
    5018     INSTALL=$ac_install_sh
    5019   fi
    5020 fi
    5021 echo "$as_me:$LINENO: result: $INSTALL" >&5
    5022 echo "${ECHO_T}$INSTALL" >&6
    5023 
    5024 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    5025 # It thinks the first close brace ends the variable substitution.
    5026 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    5027 
    5028 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    5029 
    5030 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    5031 
    5032 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    5033 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    5034 # Just in case
    5035 sleep 1
    5036 echo timestamp > conftest.file
    5037 # Do `set' in a subshell so we don't clobber the current shell's
    5038 # arguments.  Must try -L first in case configure is actually a
    5039 # symlink; some systems play weird games with the mod time of symlinks
    5040 # (eg FreeBSD returns the mod time of the symlink's containing
    5041 # directory).
    5042 if (
    5043    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    5044    if test "$*" = "X"; then
    5045       # -L didn't work.
    5046       set X `ls -t $srcdir/configure conftest.file`
    5047    fi
    5048    rm -f conftest.file
    5049    if test "$*" != "X $srcdir/configure conftest.file" \
    5050       && test "$*" != "X conftest.file $srcdir/configure"; then
    5051 
    5052       # If neither matched, then we have a broken ls.  This can happen
    5053       # if, for instance, CONFIG_SHELL is bash and it inherits a
    5054       # broken ls alias from the environment.  This has actually
    5055       # happened.  Such a system could not be considered "sane".
    5056       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    5057 alias in your environment" >&5
    5058 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    5059 alias in your environment" >&2;}
    5060    { (exit 1); exit 1; }; }
    5061    fi
    5062 
    5063    test "$2" = conftest.file
    5064    )
    5065 then
    5066    # Ok.
    5067    :
    5068 else
    5069    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    5070 Check your system clock" >&5
    5071 echo "$as_me: error: newly created file is older than distributed files!
    5072 Check your system clock" >&2;}
    5073    { (exit 1); exit 1; }; }
    5074 fi
    5075 echo "$as_me:$LINENO: result: yes" >&5
    5076 echo "${ECHO_T}yes" >&6
    5077 test "$program_prefix" != NONE &&
    5078   program_transform_name="s,^,$program_prefix,;$program_transform_name"
    5079 # Use a double $ so make ignores it.
    5080 test "$program_suffix" != NONE &&
    5081   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    5082 # Double any \ or $.  echo might interpret backslashes.
    5083 # By default was `s,x,x', remove it if useless.
    5084 cat <<\_ACEOF >conftest.sed
    5085 s/[\\$]/&&/g;s/;s,x,x,$//
    5086 _ACEOF
    5087 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    5088 rm conftest.sed
    5089 
    5090 # expand $ac_aux_dir to an absolute path
    5091 am_aux_dir=`cd $ac_aux_dir && pwd`
    5092 
    5093 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    5094 # Use eval to expand $SHELL
    5095 if eval "$MISSING --run true"; then
    5096   am_missing_run="$MISSING --run "
    5097 else
    5098   am_missing_run=
    5099   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    5100 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    5101 fi
    5102 
    5103 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    5104   # We used to keeping the `.' as first argument, in order to
    5105   # allow $(mkdir_p) to be used without argument.  As in
    5106   #   $(mkdir_p) $(somedir)
    5107   # where $(somedir) is conditionally defined.  However this is wrong
    5108   # for two reasons:
    5109   #  1. if the package is installed by a user who cannot write `.'
    5110   #     make install will fail,
    5111   #  2. the above comment should most certainly read
    5112   #     $(mkdir_p) $(DESTDIR)$(somedir)
    5113   #     so it does not work when $(somedir) is undefined and
    5114   #     $(DESTDIR) is not.
    5115   #  To support the latter case, we have to write
    5116   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    5117   #  so the `.' trick is pointless.
    5118   mkdir_p='mkdir -p --'
    5119 else
    5120   # On NextStep and OpenStep, the `mkdir' command does not
    5121   # recognize any option.  It will interpret all options as
    5122   # directories to create, and then abort because `.' already
    5123   # exists.
    5124   for d in ./-p ./--version;
    5125   do
    5126     test -d $d && rmdir $d
    5127   done
    5128   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    5129   if test -f "$ac_aux_dir/mkinstalldirs"; then
    5130     mkdir_p='$(mkinstalldirs)'
    5131   else
    5132     mkdir_p='$(install_sh) -d'
    5133   fi
    5134 fi
    5135 
    5136 for ac_prog in gawk mawk nawk awk
    5137 do
    5138   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5139 set dummy $ac_prog; ac_word=$2
    5140 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5142 if test "${ac_cv_prog_AWK+set}" = set; then
    5143   echo $ECHO_N "(cached) $ECHO_C" >&6
    5144 else
    5145   if test -n "$AWK"; then
    5146   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    5147 else
    5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5149 for as_dir in $PATH
    5150 do
    5151   IFS=$as_save_IFS
    5152   test -z "$as_dir" && as_dir=.
    5153   for ac_exec_ext in '' $ac_executable_extensions; do
    5154   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5155     ac_cv_prog_AWK="$ac_prog"
    5156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5157     break 2
    5158   fi
    5159 done
    5160 done
    5161 
    5162 fi
    5163 fi
    5164 AWK=$ac_cv_prog_AWK
    5165 if test -n "$AWK"; then
    5166   echo "$as_me:$LINENO: result: $AWK" >&5
    5167 echo "${ECHO_T}$AWK" >&6
    5168 else
    5169   echo "$as_me:$LINENO: result: no" >&5
    5170 echo "${ECHO_T}no" >&6
    5171 fi
    5172 
    5173   test -n "$AWK" && break
    5174 done
    5175 
    5176 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    5177 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    5178 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    5179 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    5180   echo $ECHO_N "(cached) $ECHO_C" >&6
    5181 else
    5182   cat >conftest.make <<\_ACEOF
    5183 all:
    5184         @echo 'ac_maketemp="$(MAKE)"'
    5185 _ACEOF
    5186 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    5187 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    5188 if test -n "$ac_maketemp"; then
    5189   eval ac_cv_prog_make_${ac_make}_set=yes
    5190 else
    5191   eval ac_cv_prog_make_${ac_make}_set=no
    5192 fi
    5193 rm -f conftest.make
    5194 fi
    5195 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    5196   echo "$as_me:$LINENO: result: yes" >&5
    5197 echo "${ECHO_T}yes" >&6
    5198   SET_MAKE=
    5199 else
    5200   echo "$as_me:$LINENO: result: no" >&5
    5201 echo "${ECHO_T}no" >&6
    5202   SET_MAKE="MAKE=${MAKE-make}"
    5203 fi
    5204 
    5205 rm -rf .tst 2>/dev/null
    5206 mkdir .tst 2>/dev/null
    5207 if test -d .tst; then
    5208   am__leading_dot=.
    5209 else
    5210   am__leading_dot=_
    5211 fi
    5212 rmdir .tst 2>/dev/null
    5213 
    5214 DEPDIR="${am__leading_dot}deps"
    5215 
    5216           ac_config_commands="$ac_config_commands depfiles"
    5217 
    5218 
    5219 am_make=${MAKE-make}
    5220 cat > confinc << 'END'
    5221 am__doit:
    5222         @echo done
    5223 .PHONY: am__doit
    5224 END
    5225 # If we don't find an include directive, just comment out the code.
    5226 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
    5227 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
    5228 am__include="#"
    5229 am__quote=
    5230 _am_result=none
    5231 # First try GNU make style include.
    5232 echo "include confinc" > confmf
    5233 # We grep out `Entering directory' and `Leaving directory'
    5234 # messages which can occur if `w' ends up in MAKEFLAGS.
    5235 # In particular we don't look at `^make:' because GNU make might
    5236 # be invoked under some other name (usually "gmake"), in which
    5237 # case it prints its new name instead of `make'.
    5238 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    5239    am__include=include
    5240    am__quote=
    5241    _am_result=GNU
    5242 fi
    5243 # Now try BSD make style include.
    5244 if test "$am__include" = "#"; then
    5245    echo '.include "confinc"' > confmf
    5246    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    5247       am__include=.include
    5248       am__quote="\""
    5249       _am_result=BSD
    5250    fi
    5251 fi
    5252 
    5253 
    5254 echo "$as_me:$LINENO: result: $_am_result" >&5
    5255 echo "${ECHO_T}$_am_result" >&6
    5256 rm -f confinc confmf
    5257 
    5258 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
    5259 if test "${enable_dependency_tracking+set}" = set; then
    5260   enableval="$enable_dependency_tracking"
    5261 
    5262 fi;
    5263 if test "x$enable_dependency_tracking" != xno; then
    5264   am_depcomp="$ac_aux_dir/depcomp"
    5265   AMDEPBACKSLASH='\'
    5266 fi
    5267 
    5268 
    5269 if test "x$enable_dependency_tracking" != xno; then
    5270   AMDEP_TRUE=
    5271   AMDEP_FALSE='#'
    5272 else
    5273   AMDEP_TRUE='#'
    5274   AMDEP_FALSE=
    5275 fi
    5276 
    5277 
    5278 
    5279 
    5280 
    5281 
    5282 # AC_MSG_NOTICE([Beginning automake initialisation.])
    5283 # Stuff for automake
    5284 # test to see if srcdir already configured
    5285 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    5286    test -f $srcdir/config.status; then
    5287   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
    5288 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    5289    { (exit 1); exit 1; }; }
    5290 fi
    5291 
    5292 # test whether we have cygpath
    5293 if test -z "$CYGPATH_W"; then
    5294   if (cygpath --version) >/dev/null 2>/dev/null; then
    5295     CYGPATH_W='cygpath -w'
    5296   else
    5297     CYGPATH_W=echo
    5298   fi
    5299 fi
    5300 
    5301 
    5302 # Define the identity of the package.
    5303  PACKAGE='couenne'
    5304  VERSION='trunk'
    5305 
    5306 
    5307 cat >>confdefs.h <<_ACEOF
    5308 #define PACKAGE "$PACKAGE"
    5309 _ACEOF
    5310 
    5311 
    5312 cat >>confdefs.h <<_ACEOF
    5313 #define VERSION "$VERSION"
    5314 _ACEOF
    5315 
    5316 # Some tools Automake needs.
    5317 
    5318 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
    5319 
    5320 
    5321 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
    5322 
    5323 
    5324 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
    5325 
    5326 
    5327 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
    5328 
    5329 
    5330 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    5331 
    5332 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    5333 
    5334 # Installed binaries are usually stripped using `strip' when the user
    5335 # run `make install-strip'.  However `strip' might not be the right
    5336 # tool to use in cross-compilation environments, therefore Automake
    5337 # will honor the `STRIP' environment variable to overrule this program.
    5338 if test "$cross_compiling" != no; then
    5339   if test -n "$ac_tool_prefix"; then
    5340   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    5341 set dummy ${ac_tool_prefix}strip; ac_word=$2
    5342 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5344 if test "${ac_cv_prog_STRIP+set}" = set; then
    5345   echo $ECHO_N "(cached) $ECHO_C" >&6
    5346 else
    5347   if test -n "$STRIP"; then
    5348   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    5349 else
    5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5351 for as_dir in $PATH
    5352 do
    5353   IFS=$as_save_IFS
    5354   test -z "$as_dir" && as_dir=.
    5355   for ac_exec_ext in '' $ac_executable_extensions; do
    5356   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5357     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    5358     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5359     break 2
    5360   fi
    5361 done
    5362 done
    5363 
    5364 fi
    5365 fi
    5366 STRIP=$ac_cv_prog_STRIP
    5367 if test -n "$STRIP"; then
    5368   echo "$as_me:$LINENO: result: $STRIP" >&5
    5369 echo "${ECHO_T}$STRIP" >&6
    5370 else
    5371   echo "$as_me:$LINENO: result: no" >&5
    5372 echo "${ECHO_T}no" >&6
    5373 fi
    5374 
    5375 fi
    5376 if test -z "$ac_cv_prog_STRIP"; then
    5377   ac_ct_STRIP=$STRIP
    5378   # Extract the first word of "strip", so it can be a program name with args.
    5379 set dummy strip; ac_word=$2
    5380 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5382 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    5383   echo $ECHO_N "(cached) $ECHO_C" >&6
    5384 else
    5385   if test -n "$ac_ct_STRIP"; then
    5386   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    5387 else
    5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5389 for as_dir in $PATH
    5390 do
    5391   IFS=$as_save_IFS
    5392   test -z "$as_dir" && as_dir=.
    5393   for ac_exec_ext in '' $ac_executable_extensions; do
    5394   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5395     ac_cv_prog_ac_ct_STRIP="strip"
    5396     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5397     break 2
    5398   fi
    5399 done
    5400 done
    5401 
    5402   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    5403 fi
    5404 fi
    5405 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    5406 if test -n "$ac_ct_STRIP"; then
    5407   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    5408 echo "${ECHO_T}$ac_ct_STRIP" >&6
    5409 else
    5410   echo "$as_me:$LINENO: result: no" >&5
    5411 echo "${ECHO_T}no" >&6
    5412 fi
    5413 
    5414   STRIP=$ac_ct_STRIP
    5415 else
    5416   STRIP="$ac_cv_prog_STRIP"
    5417 fi
    5418 
    5419 fi
    5420 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    5421 
    5422 # We need awk for the "check" target.  The system "awk" is bad on
    5423 # some platforms.
    5424 # Always define AMTAR for backward compatibility.
    5425 
    5426 AMTAR=${AMTAR-"${am_missing_run}tar"}
    5427 
    5428 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
    5429 
    5430 
    5431 
    5432 
    5433 depcc="$CC"   am_compiler_list=
    5434 
    5435 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    5436 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    5437 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
    5438   echo $ECHO_N "(cached) $ECHO_C" >&6
    5439 else
    5440   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    5441   # We make a subdir and do the tests there.  Otherwise we can end up
    5442   # making bogus files that we don't know about and never remove.  For
    5443   # instance it was reported that on HP-UX the gcc test will end up
    5444   # making a dummy file named `D' -- because `-MD' means `put the output
    5445   # in D'.
    5446   mkdir conftest.dir
    5447   # Copy depcomp to subdir because otherwise we won't find it if we're
    5448   # using a relative directory.
    5449   cp "$am_depcomp" conftest.dir
    5450   cd conftest.dir
    5451   # We will build objects and dependencies in a subdirectory because
    5452   # it helps to detect inapplicable dependency modes.  For instance
    5453   # both Tru64's cc and ICC support -MD to output dependencies as a
    5454   # side effect of compilation, but ICC will put the dependencies in
    5455   # the current directory while Tru64 will put them in the object
    5456   # directory.
    5457   mkdir sub
    5458 
    5459   am_cv_CC_dependencies_compiler_type=none
    5460   if test "$am_compiler_list" = ""; then
    5461      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    5462   fi
    5463   for depmode in $am_compiler_list; do
    5464     # Setup a source with many dependencies, because some compilers
    5465     # like to wrap large dependency lists on column 80 (with \), and
    5466     # we should not choose a depcomp mode which is confused by this.
    5467     #
    5468     # We need to recreate these files for each test, as the compiler may
    5469     # overwrite some of them when testing with obscure command lines.
    5470     # This happens at least with the AIX C compiler.
    5471     : > sub/conftest.c
    5472     for i in 1 2 3 4 5 6; do
    5473       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    5474       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    5475       # Solaris 8's {/usr,}/bin/sh.
    5476       touch sub/conftst$i.h
    5477     done
    5478     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    5479 
    5480     case $depmode in
    5481     nosideeffect)
    5482       # after this tag, mechanisms are not by side-effect, so they'll
    5483       # only be used when explicitly requested
    5484       if test "x$enable_dependency_tracking" = xyes; then
    5485         continue
    5486       else
    5487         break
    5488       fi
    5489       ;;
    5490     none) break ;;
    5491     esac
    5492     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    5493     # mode.  It turns out that the SunPro C++ compiler does not properly
    5494     # handle `-M -o', and we need to detect this.
    5495     if depmode=$depmode \
    5496        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    5497        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    5498        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    5499          >/dev/null 2>conftest.err &&
    5500        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    5501        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    5502        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    5503       # icc doesn't choke on unknown options, it will just issue warnings
    5504       # or remarks (even with -Werror).  So we grep stderr for any message
    5505       # that says an option was ignored or not supported.
    5506       # When given -MP, icc 7.0 and 7.1 complain thusly:
    5507       #   icc: Command line warning: ignoring option '-M'; no argument required
    5508       # The diagnosis changed in icc 8.0:
    5509       #   icc: Command line remark: option '-MP' not supported
    5510       if (grep 'ignoring option' conftest.err ||
    5511           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    5512         am_cv_CC_dependencies_compiler_type=$depmode
    5513         break
    5514       fi
    5515     fi
    5516   done
    5517 
    5518   cd ..
    5519   rm -rf conftest.dir
    5520 else
    5521   am_cv_CC_dependencies_compiler_type=none
    5522 fi
    5523 
    5524 fi
    5525 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    5526 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    5527 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    5528 
    5529 
    5530 
    5531 if
    5532   test "x$enable_dependency_tracking" != xno \
    5533   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    5534   am__fastdepCC_TRUE=
    5535   am__fastdepCC_FALSE='#'
    5536 else
    5537   am__fastdepCC_TRUE='#'
    5538   am__fastdepCC_FALSE=
    5539 fi
    5540 
    5541 
    5542 depcc="$CXX"  am_compiler_list=
    5543 
    5544 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    5545 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    5546 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
    5547   echo $ECHO_N "(cached) $ECHO_C" >&6
    5548 else
    5549   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    5550   # We make a subdir and do the tests there.  Otherwise we can end up
    5551   # making bogus files that we don't know about and never remove.  For
    5552   # instance it was reported that on HP-UX the gcc test will end up
    5553   # making a dummy file named `D' -- because `-MD' means `put the output
    5554   # in D'.
    5555   mkdir conftest.dir
    5556   # Copy depcomp to subdir because otherwise we won't find it if we're
    5557   # using a relative directory.
    5558   cp "$am_depcomp" conftest.dir
    5559   cd conftest.dir
    5560   # We will build objects and dependencies in a subdirectory because
    5561   # it helps to detect inapplicable dependency modes.  For instance
    5562   # both Tru64's cc and ICC support -MD to output dependencies as a
    5563   # side effect of compilation, but ICC will put the dependencies in
    5564   # the current directory while Tru64 will put them in the object
    5565   # directory.
    5566   mkdir sub
    5567 
    5568   am_cv_CXX_dependencies_compiler_type=none
    5569   if test "$am_compiler_list" = ""; then
    5570      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    5571   fi
    5572   for depmode in $am_compiler_list; do
    5573     # Setup a source with many dependencies, because some compilers
    5574     # like to wrap large dependency lists on column 80 (with \), and
    5575     # we should not choose a depcomp mode which is confused by this.
    5576     #
    5577     # We need to recreate these files for each test, as the compiler may
    5578     # overwrite some of them when testing with obscure command lines.
    5579     # This happens at least with the AIX C compiler.
    5580     : > sub/conftest.c
    5581     for i in 1 2 3 4 5 6; do
    5582       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    5583       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    5584       # Solaris 8's {/usr,}/bin/sh.
    5585       touch sub/conftst$i.h
    5586     done
    5587     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    5588 
    5589     case $depmode in
    5590     nosideeffect)
    5591       # after this tag, mechanisms are not by side-effect, so they'll
    5592       # only be used when explicitly requested
    5593       if test "x$enable_dependency_tracking" = xyes; then
    5594         continue
    5595       else
    5596         break
    5597       fi
    5598       ;;
    5599     none) break ;;
    5600     esac
    5601     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    5602     # mode.  It turns out that the SunPro C++ compiler does not properly
    5603     # handle `-M -o', and we need to detect this.
    5604     if depmode=$depmode \
    5605        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    5606        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    5607        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    5608          >/dev/null 2>conftest.err &&
    5609        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    5610        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    5611        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    5612       # icc doesn't choke on unknown options, it will just issue warnings
    5613       # or remarks (even with -Werror).  So we grep stderr for any message
    5614       # that says an option was ignored or not supported.
    5615       # When given -MP, icc 7.0 and 7.1 complain thusly:
    5616       #   icc: Command line warning: ignoring option '-M'; no argument required
    5617       # The diagnosis changed in icc 8.0:
    5618       #   icc: Command line remark: option '-MP' not supported
    5619       if (grep 'ignoring option' conftest.err ||
    5620           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    5621         am_cv_CXX_dependencies_compiler_type=$depmode
    5622         break
    5623       fi
    5624     fi
    5625   done
    5626 
    5627   cd ..
    5628   rm -rf conftest.dir
    5629 else
    5630   am_cv_CXX_dependencies_compiler_type=none
    5631 fi
    5632 
    5633 fi
    5634 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
    5635 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
    5636 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
    5637 
    5638 
    5639 
    5640 if
    5641   test "x$enable_dependency_tracking" != xno \
    5642   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
    5643   am__fastdepCXX_TRUE=
    5644   am__fastdepCXX_FALSE='#'
    5645 else
    5646   am__fastdepCXX_TRUE='#'
    5647   am__fastdepCXX_FALSE=
    5648 fi
    5649 
    5650 
    5651 
    5652 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
    5653 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
    5654     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    5655 if test "${enable_maintainer_mode+set}" = set; then
    5656   enableval="$enable_maintainer_mode"
    5657   USE_MAINTAINER_MODE=$enableval
    5658 else
    5659   USE_MAINTAINER_MODE=no
    5660 fi;
    5661   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
    5662 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
    5663 
    5664 
    5665 if test $USE_MAINTAINER_MODE = yes; then
    5666   MAINTAINER_MODE_TRUE=
    5667   MAINTAINER_MODE_FALSE='#'
    5668 else
    5669   MAINTAINER_MODE_TRUE='#'
    5670   MAINTAINER_MODE_FALSE=
    5671 fi
    5672 
    5673   MAINT=$MAINTAINER_MODE_TRUE
    5674 
    5675 
    5676 
    5677 coin_have_externals=no
    5678 if test "$enable_maintainer_mode" = yes; then
    5679 
    5680   # If maintainer mode is chosen, we make sure that the correct versions
    5681   # of the tools are used, and that we know where libtool.m4 is (to
    5682   # recreate acinclude.m4)
    5683 
    5684 
    5685   LIBTOOLM4=
    5686   # Normally, $HOME
    5687   AUTOTOOLS_DFLT=$HOME
    5688 
    5689   echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
    5690 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
    5691 if test "${ac_cv_use_correct_autotools+set}" = set; then
    5692   echo $ECHO_N "(cached) $ECHO_C" >&6
    5693 else
    5694   ac_cv_use_correct_autotools=check
    5695 fi
    5696 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
    5697 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
    5698 
    5699   if test $ac_cv_use_correct_autotools = check; then
    5700     ac_cv_use_correct_autotools=yes
    5701     # Check if we have autoconf
    5702     # Extract the first word of "autoconf", so it can be a program name with args.
    5703 set dummy autoconf; ac_word=$2
    5704 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5706 if test "${ac_cv_prog_have_autoconf+set}" = set; then
    5707   echo $ECHO_N "(cached) $ECHO_C" >&6
    5708 else
    5709   if test -n "$have_autoconf"; then
    5710   ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
    5711 else
    5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5713 for as_dir in $PATH
    5714 do
    5715   IFS=$as_save_IFS
    5716   test -z "$as_dir" && as_dir=.
    5717   for ac_exec_ext in '' $ac_executable_extensions; do
    5718   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5719     ac_cv_prog_have_autoconf="yes"
    5720     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5721     break 2
    5722   fi
    5723 done
    5724 done
    5725 
    5726   test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
    5727 fi
    5728 fi
    5729 have_autoconf=$ac_cv_prog_have_autoconf
    5730 if test -n "$have_autoconf"; then
    5731   echo "$as_me:$LINENO: result: $have_autoconf" >&5
    5732 echo "${ECHO_T}$have_autoconf" >&6
    5733 else
    5734   echo "$as_me:$LINENO: result: no" >&5
    5735 echo "${ECHO_T}no" >&6
    5736 fi
    5737 
    5738     if test $have_autoconf = no; then
    5739       { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
    5740 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
    5741    { (exit 1); exit 1; }; }
    5742     fi
    5743 
    5744     # Check whether autoconf is the correct version
    5745     correct_version='2.59'
    5746     grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    5747     echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
    5748 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
    5749     autoconf --version > confauto.out 2>&1
    5750     if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
    5751       echo "$as_me:$LINENO: result: yes" >&5
    5752 echo "${ECHO_T}yes" >&6
    5753     else
    5754       rm -f confauto.out
    5755       echo "$as_me:$LINENO: result: no" >&5
    5756 echo "${ECHO_T}no" >&6
    5757       { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
    5758 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
    5759    { (exit 1); exit 1; }; }
    5760     fi
    5761     rm -f confauto.out
    5762 
    5763     # Check if the executable autoconf is picked up from the correct location
    5764     echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
    5765 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
    5766     autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
    5767     autoconf_dir=`cd $autoconf_dir; pwd`
    5768     if test x$AUTOTOOLS_DIR = x; then
    5769       want_dir=$AUTOTOOLS_DFLT/bin
    5770     else
    5771       want_dir=$AUTOTOOLS_DIR/bin
    5772     fi
    5773     if test $autoconf_dir = `cd $want_dir; pwd`; then
    5774       echo "$as_me:$LINENO: result: yes" >&5
    5775 echo "${ECHO_T}yes" >&6
    5776     else
    5777       rm -f confauto.out
    5778       echo "$as_me:$LINENO: result: no" >&5
    5779 echo "${ECHO_T}no" >&6
    5780       { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
    5781 echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
    5782    { (exit 1); exit 1; }; }
    5783     fi
    5784 
    5785     # Check if we have automake
    5786     # Extract the first word of "automake", so it can be a program name with args.
    5787 set dummy automake; ac_word=$2
    5788 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5790 if test "${ac_cv_prog_have_automake+set}" = set; then
    5791   echo $ECHO_N "(cached) $ECHO_C" >&6
    5792 else
    5793   if test -n "$have_automake"; then
    5794   ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
    5795 else
    5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5797 for as_dir in $PATH
    5798 do
    5799   IFS=$as_save_IFS
    5800   test -z "$as_dir" && as_dir=.
    5801   for ac_exec_ext in '' $ac_executable_extensions; do
    5802   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5803     ac_cv_prog_have_automake="yes"
    5804     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5805     break 2
    5806   fi
    5807 done
    5808 done
    5809 
    5810   test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
    5811 fi
    5812 fi
    5813 have_automake=$ac_cv_prog_have_automake
    5814 if test -n "$have_automake"; then
    5815   echo "$as_me:$LINENO: result: $have_automake" >&5
    5816 echo "${ECHO_T}$have_automake" >&6
    5817 else
    5818   echo "$as_me:$LINENO: result: no" >&5
    5819 echo "${ECHO_T}no" >&6
    5820 fi
    5821 
    5822     if test $have_automake = no; then
    5823       { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
    5824 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
    5825    { (exit 1); exit 1; }; }
    5826     fi
    5827 
    5828     # Check whether automake is the correct version
    5829     correct_version='1.9.6'
    5830     grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    5831     echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
    5832 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
    5833     automake --version > confauto.out 2>&1
    5834     if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
    5835       echo "$as_me:$LINENO: result: yes" >&5
    5836 echo "${ECHO_T}yes" >&6
    5837     else
    5838       rm -f confauto.out
    5839       echo "$as_me:$LINENO: result: no" >&5
    5840 echo "${ECHO_T}no" >&6
    5841       { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
    5842 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
    5843    { (exit 1); exit 1; }; }
    5844     fi
    5845     rm -f confauto.out
    5846 
    5847     # Check if the executable automake is picked up from the correct location
    5848     echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
    5849 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
    5850     automake_dir=`which automake | sed -e 's=/automake=='`
    5851     automake_dir=`cd $automake_dir; pwd`
    5852     if test x$AUTOTOOLS_DIR = x; then
    5853       want_dir=$AUTOTOOLS_DFLT/bin
    5854     else
    5855       want_dir=$AUTOTOOLS_DIR/bin
    5856     fi
    5857     if test $automake_dir = `cd $want_dir; pwd`; then
    5858       echo "$as_me:$LINENO: result: yes" >&5
    5859 echo "${ECHO_T}yes" >&6
    5860     else
    5861       rm -f confauto.out
    5862       echo "$as_me:$LINENO: result: no" >&5
    5863 echo "${ECHO_T}no" >&6
    5864       { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
    5865 echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
    5866    { (exit 1); exit 1; }; }
    5867     fi
    5868 
    5869     # Check if this is the correct version of libtool (with escaped dots)
    5870     if test x$AUTOTOOLS_DIR = x; then
    5871       want_dir=$AUTOTOOLS_DFLT/share
    5872     else
    5873       want_dir=$AUTOTOOLS_DIR/share
    5874     fi
    5875     correct_version='1.5.22'
    5876     grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    5877     if test -r $want_dir/libtool/ltmain.sh; then
    5878   have_ltmain=yes
    5879   :
    5880 else
    5881   have_ltmain=no
    5882   :
    5883 fi
    5884 
    5885     echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
    5886 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
    5887     if test $have_ltmain = yes; then
    5888     if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
    5889         echo "$as_me:$LINENO: result: yes" >&5
    5890 echo "${ECHO_T}yes" >&6
    5891       else
    5892         echo "$as_me:$LINENO: result: no" >&5
    5893 echo "${ECHO_T}no" >&6
    5894         { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
    5895 echo "$as_me: error: You don't have the correct version of libtool." >&2;}
    5896    { (exit 1); exit 1; }; }
    5897       fi
    5898     else
    5899       echo "$as_me:$LINENO: result: no" >&5
    5900 echo "${ECHO_T}no" >&6
    5901       { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
    5902 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
    5903    { (exit 1); exit 1; }; }
    5904     fi
    5905   fi
    5906 
    5907   # Check if we can find the libtool file
    5908   if test x$AUTOTOOLS_DIR = x; then
    5909     want_dir=$AUTOTOOLS_DFLT/share
    5910   else
    5911     want_dir=$AUTOTOOLS_DIR/share
    5912   fi
    5913   if test -r $want_dir/aclocal/libtool.m4; then
    5914   LIBTOOLM4="$want_dir/aclocal/libtool.m4"
    5915   :
    5916 else
    5917   { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
    5918 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
    5919    { (exit 1); exit 1; }; }
    5920   :
    5921 fi
    5922 
    5923 
    5924   # Check if we have an Dependencies file
    5925   if test -r $srcdir/Dependencies; then
    5926     coin_have_externals=yes
    5927   fi
    5928   # Check if subversion is installed and understands https
    5929   # Extract the first word of "svn", so it can be a program name with args.
    5930 set dummy svn; ac_word=$2
    5931 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5933 if test "${ac_cv_prog_have_svn+set}" = set; then
    5934   echo $ECHO_N "(cached) $ECHO_C" >&6
    5935 else
    5936   if test -n "$have_svn"; then
    5937   ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
    5938 else
    5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5940 for as_dir in $PATH
    5941 do
    5942   IFS=$as_save_IFS
    5943   test -z "$as_dir" && as_dir=.
    5944   for ac_exec_ext in '' $ac_executable_extensions; do
    5945   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5946     ac_cv_prog_have_svn="yes"
    5947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5948     break 2
    5949   fi
    5950 done
    5951 done
    5952 
    5953   test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
    5954 fi
    5955 fi
    5956 have_svn=$ac_cv_prog_have_svn
    5957 if test -n "$have_svn"; then
    5958   echo "$as_me:$LINENO: result: $have_svn" >&5
    5959 echo "${ECHO_T}$have_svn" >&6
    5960 else
    5961   echo "$as_me:$LINENO: result: no" >&5
    5962 echo "${ECHO_T}no" >&6
    5963 fi
    5964 
    5965   if test x$have_svn = xyes; then
    5966     echo "$as_me:$LINENO: checking whether svn understands https" >&5
    5967 echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
    5968 if test "${ac_cv_svn_understands_https+set}" = set; then
    5969   echo $ECHO_N "(cached) $ECHO_C" >&6
    5970 else
    5971   svn --version > confauto.out 2>&1
    5972                     if $EGREP https confauto.out >/dev/null 2>&1; then
    5973                       ac_cv_svn_understands_https=yes
    5974                     else
    5975                       ac_cv_svn_understands_https=no
    5976                       have_svn=no
    5977                       ac_cv_prog_have_svn=no
    5978                     fi
    5979                     rm -f confauto.out
    5980 fi
    5981 echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
    5982 echo "${ECHO_T}$ac_cv_svn_understands_https" >&6
    5983   fi
    5984 
    5985   # Find the location of the BuildTools directory
    5986   BUILDTOOLSDIR=
    5987   if test -r $srcdir/BuildTools/coin.m4; then
    5988     BUILDTOOLSDIR=$srcdir/BuildTools
    5989   else
    5990     if test -r $srcdir/../BuildTools/coin.m4; then
    5991       BUILDTOOLSDIR=$srcdir/../BuildTools
    5992     else
    5993       if test -r $srcdir/../../BuildTools/coin.m4; then
    5994         BUILDTOOLSDIR=$srcdir/../../BuildTools
    5995       else
    5996         { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    5997 echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    5998    { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
    5999       fi
    6000     fi
    6001   fi
    6002 
    6003 
    6004   # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
    6005   if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
    6006     $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
    6007   fi
    6008 
    6009   # The following variable is set to the name of the directory where
    6010   # the autotool scripts are located
    6011 
    6012   AUX_DIR=$ac_aux_dir
    6013 fi
    6014 
    6015 # helpful variable for the base directory of this package
    6016 abs_source_dir=`cd $srcdir; pwd`
    6017 
    6018 
    6019 # Stuff for example Makefiles
    6020 if test x$prefix = xNONE; then
    6021   full_prefix=$ac_default_prefix
    6022 else
    6023   full_prefix=$prefix
    6024 fi
    6025 full_prefix=`cd $full_prefix ; pwd`
    6026 
    6027 abs_lib_dir=$full_prefix/lib
    6028 
    6029 abs_include_dir=$full_prefix/include
    6030 
    6031 abs_bin_dir=$full_prefix/bin
    6032 
    6033 
    6034 
    6035 if test $coin_have_externals = yes && test x$have_svn = xyes; then
    6036   HAVE_EXTERNALS_TRUE=
    6037   HAVE_EXTERNALS_FALSE='#'
    6038 else
    6039   HAVE_EXTERNALS_TRUE='#'
    6040   HAVE_EXTERNALS_FALSE=
    6041 fi
    6042 
    6043 
    6044 # AC_MSG_NOTICE([End automake initialisation.])
    6045 
    6046 
    6047 
    6048 LIBTOOL=
    6049 if test -r ../libtool; then
    6050   coin_config_dir=..
    6051   LIBTOOL='$(SHELL) $(top_builddir)/../libtool'
    6052 fi
    6053 if test "x$LIBTOOL" = x; then
    6054   if test -r ../../libtool; then
    6055     coin_config_dir=../..
    6056     LIBTOOL='$(SHELL) $(top_builddir)/../../libtool'
    6057   fi
    6058 fi
    6059 
    6060 if test "x$LIBTOOL" = x; then
    6061 # AC_MSG_NOTICE([Creating libtool script (calling COIN_PROG_LIBTOOL).])
    6062   # Stuff for libtool
    6063   # Check whether --enable-shared or --disable-shared was given.
    6064 if test "${enable_shared+set}" = set; then
    6065   enableval="$enable_shared"
    6066   p=${PACKAGE-default}
    6067     case $enableval in
    6068     yes) enable_shared=yes ;;
    6069     no) enable_shared=no ;;
    6070     *)
    6071       enable_shared=no
    6072       # Look at the argument we got.  We use all the common list separators.
    6073       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    6074       for pkg in $enableval; do
    6075         IFS="$lt_save_ifs"
    6076         if test "X$pkg" = "X$p"; then
    6077           enable_shared=yes
    6078         fi
    6079       done
    6080       IFS="$lt_save_ifs"
    6081       ;;
    6082     esac
    6083 else
    6084   enable_shared=yes
    6085 fi;
    6086 
    6087 # Check whether --enable-fast-install or --disable-fast-install was given.
    6088 if test "${enable_fast_install+set}" = set; then
    6089   enableval="$enable_fast_install"
    6090   p=${PACKAGE-default}
    6091     case $enableval in
    6092     yes) enable_fast_install=yes ;;
    6093     no) enable_fast_install=no ;;
    6094     *)
    6095       enable_fast_install=no
    6096       # Look at the argument we got.  We use all the common list separators.
    6097       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    6098       for pkg in $enableval; do
    6099         IFS="$lt_save_ifs"
    6100         if test "X$pkg" = "X$p"; then
    6101           enable_fast_install=yes
    6102         fi
    6103       done
    6104       IFS="$lt_save_ifs"
    6105       ;;
    6106     esac
    6107 else
    6108   enable_fast_install=yes
    6109 fi;
    6110 
    6111 echo "$as_me:$LINENO: checking host system type" >&5
    6112 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    6113 if test "${ac_cv_host+set}" = set; then
    6114   echo $ECHO_N "(cached) $ECHO_C" >&6
    6115 else
    6116   ac_cv_host_alias=$host_alias
    6117 test -z "$ac_cv_host_alias" &&
    6118   ac_cv_host_alias=$ac_cv_build_alias
    6119 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    6120   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    6121 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    6122    { (exit 1); exit 1; }; }
    6123 
    6124 fi
    6125 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    6126 echo "${ECHO_T}$ac_cv_host" >&6
    6127 host=$ac_cv_host
    6128 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    6129 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    6130 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    6131 
    6132 
    6133 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    6134 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
    6135 if test "${lt_cv_path_SED+set}" = set; then
    6136   echo $ECHO_N "(cached) $ECHO_C" >&6
    6137 else
    6138   # Loop through the user's path and test for sed and gsed.
    6139 # Then use that list of sed's as ones to test for truncation.
    6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6141 for as_dir in $PATH
    6142 do
    6143   IFS=$as_save_IFS
    6144   test -z "$as_dir" && as_dir=.
    6145   for lt_ac_prog in sed gsed; do
    6146     for ac_exec_ext in '' $ac_executable_extensions; do
    6147       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
    6148         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
    6149       fi
    6150     done
    6151   done
    6152 done
    6153 lt_ac_max=0
    6154 lt_ac_count=0
    6155 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
    6156 # along with /bin/sed that truncates output.
    6157 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    6158   test ! -f $lt_ac_sed && continue
    6159   cat /dev/null > conftest.in
    6160   lt_ac_count=0
    6161   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
    6162   # Check for GNU sed and select it if it is found.
    6163   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
    6164     lt_cv_path_SED=$lt_ac_sed
    6165     break
    6166   fi
    6167   while true; do
    6168     cat conftest.in conftest.in >conftest.tmp
    6169     mv conftest.tmp conftest.in
    6170     cp conftest.in conftest.nl
    6171     echo >>conftest.nl
    6172     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
    6173     cmp -s conftest.out conftest.nl || break
    6174     # 10000 chars as input seems more than enough
    6175     test $lt_ac_count -gt 10 && break
    6176     lt_ac_count=`expr $lt_ac_count + 1`
    6177     if test $lt_ac_count -gt $lt_ac_max; then
    6178       lt_ac_max=$lt_ac_count
    6179       lt_cv_path_SED=$lt_ac_sed
    6180     fi
    6181   done
    6182 done
    6183 
    6184 fi
    6185 
    6186 SED=$lt_cv_path_SED
    6187 echo "$as_me:$LINENO: result: $SED" >&5
    6188 echo "${ECHO_T}$SED" >&6
    6189 
    6190 
    6191 # Check whether --with-gnu-ld or --without-gnu-ld was given.
    6192 if test "${with_gnu_ld+set}" = set; then
    6193   withval="$with_gnu_ld"
    6194   test "$withval" = no || with_gnu_ld=yes
    6195 else
    6196   with_gnu_ld=no
    6197 fi;
    6198 ac_prog=ld
    6199 if test "$GCC" = yes; then
    6200   # Check if gcc -print-prog-name=ld gives a path.
    6201   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
    6202 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
    6203   case $host in
    6204   *-*-mingw*)
    6205     # gcc leaves a trailing carriage return which upsets mingw
    6206     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    6207   *)
    6208     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    6209   esac
    6210   case $ac_prog in
    6211     # Accept absolute paths.
    6212     [\\/]* | ?:[\\/]*)
    6213       re_direlt='/[^/][^/]*/\.\./'
    6214       # Canonicalize the pathname of ld
    6215       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
    6216       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
    6217         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
    6218       done
    6219       test -z "$LD" && LD="$ac_prog"
    6220       ;;
    6221   "")
    6222     # If it fails, then pretend we aren't using GCC.
    6223     ac_prog=ld
    6224     ;;
    6225   *)
    6226     # If it is relative, then search for the first ld in PATH.
    6227     with_gnu_ld=unknown
    6228     ;;
    6229   esac
    6230 elif test "$with_gnu_ld" = yes; then
    6231   echo "$as_me:$LINENO: checking for GNU ld" >&5
    6232 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
    6233 else
    6234   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
    6235 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
    6236 fi
    6237 if test "${lt_cv_path_LD+set}" = set; then
    6238   echo $ECHO_N "(cached) $ECHO_C" >&6
    6239 else
    6240   if test -z "$LD"; then
    6241   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    6242   for ac_dir in $PATH; do
    6243     IFS="$lt_save_ifs"
    6244     test -z "$ac_dir" && ac_dir=.
    6245     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    6246       lt_cv_path_LD="$ac_dir/$ac_prog"
    6247       # Check to see if the program is GNU ld.  I'd rather use --version,
    6248       # but apparently some variants of GNU ld only accept -v.
    6249       # Break only if it was the GNU/non-GNU ld that we prefer.
    6250       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    6251       *GNU* | *'with BFD'*)
    6252         test "$with_gnu_ld" != no && break
    6253         ;;
    6254       *)
    6255         test "$with_gnu_ld" != yes && break
    6256         ;;
    6257       esac
    6258     fi
    6259   done
    6260   IFS="$lt_save_ifs"
    6261 else
    6262   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    6263 fi
    6264 fi
    6265 
    6266 LD="$lt_cv_path_LD"
    6267 if test -n "$LD"; then
    6268   echo "$as_me:$LINENO: result: $LD" >&5
    6269 echo "${ECHO_T}$LD" >&6
    6270 else
    6271   echo "$as_me:$LINENO: result: no" >&5
    6272 echo "${ECHO_T}no" >&6
    6273 fi
    6274 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
    6275 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
    6276    { (exit 1); exit 1; }; }
    6277 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
    6278 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
    6279 if test "${lt_cv_prog_gnu_ld+set}" = set; then
    6280   echo $ECHO_N "(cached) $ECHO_C" >&6
    6281 else
    6282   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    6283 case `$LD -v 2>&1 </dev/null` in
    6284 *GNU* | *'with BFD'*)
    6285   lt_cv_prog_gnu_ld=yes
    6286   ;;
    6287 *)
    6288   lt_cv_prog_gnu_ld=no
    6289   ;;
    6290 esac
    6291 fi
    6292 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
    6293 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
    6294 with_gnu_ld=$lt_cv_prog_gnu_ld
    6295 
    6296 
    6297 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
    6298 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
    6299 if test "${lt_cv_ld_reload_flag+set}" = set; then
    6300   echo $ECHO_N "(cached) $ECHO_C" >&6
    6301 else
    6302   lt_cv_ld_reload_flag='-r'
    6303 fi
    6304 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
    6305 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    6306 reload_flag=$lt_cv_ld_reload_flag
    6307 case $reload_flag in
    6308 "" | " "*) ;;
    6309 *) reload_flag=" $reload_flag" ;;
    6310 esac
    6311 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    6312 case $host_os in
    6313   darwin*)
    6314     if test "$GCC" = yes; then
    6315       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
    6316     else
    6317       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    6318     fi
    6319     ;;
    6320 esac
    6321 
    6322 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
    6323 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
    6324 if test "${lt_cv_path_NM+set}" = set; then
    6325   echo $ECHO_N "(cached) $ECHO_C" >&6
    6326 else
    6327   if test -n "$NM"; then
    6328   # Let the user override the test.
    6329   lt_cv_path_NM="$NM"
    6330 else
    6331   lt_nm_to_check="${ac_tool_prefix}nm"
    6332   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    6333     lt_nm_to_check="$lt_nm_to_check nm"
    6334   fi
    6335   for lt_tmp_nm in $lt_nm_to_check; do
    6336     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    6337     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    6338       IFS="$lt_save_ifs"
    6339       test -z "$ac_dir" && ac_dir=.
    6340       tmp_nm="$ac_dir/$lt_tmp_nm"
    6341       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
    6342         # Check to see if the nm accepts a BSD-compat flag.
    6343         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
    6344         #   nm: unknown option "B" ignored
    6345         # Tru64's nm complains that /dev/null is an invalid object file
    6346         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    6347         */dev/null* | *'Invalid file or object type'*)
    6348           lt_cv_path_NM="$tmp_nm -B"
    6349           break
    6350           ;;
    6351         *)
    6352           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    6353           */dev/null*)
    6354             lt_cv_path_NM="$tmp_nm -p"
    6355             break
    6356             ;;
    6357           *)
    6358             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    6359             continue # so that we can try to find one that supports BSD flags
    6360             ;;
    6361           esac
    6362           ;;
    6363         esac
    6364       fi
    6365     done
    6366     IFS="$lt_save_ifs"
    6367   done
    6368   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
    6369 fi
    6370 fi
    6371 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
    6372 echo "${ECHO_T}$lt_cv_path_NM" >&6
    6373 NM="$lt_cv_path_NM"
    6374 
    6375 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    6376 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
    6377 if test "${lt_cv_deplibs_check_method+set}" = set; then
    6378   echo $ECHO_N "(cached) $ECHO_C" >&6
    6379 else
    6380   lt_cv_file_magic_cmd='$MAGIC_CMD'
    6381 lt_cv_file_magic_test_file=
    6382 lt_cv_deplibs_check_method='unknown'
    6383 # Need to set the preceding variable on all platforms that support
    6384 # interlibrary dependencies.
    6385 # 'none' -- dependencies not supported.
    6386 # `unknown' -- same as none, but documents that we really don't know.
    6387 # 'pass_all' -- all dependencies passed with no checks.
    6388 # 'test_compile' -- check by making test program.
    6389 # 'file_magic [[regex]]' -- check by looking for files in library path
    6390 # which responds to the $file_magic_cmd with a given extended regex.
    6391 # If you have `file' or equivalent on your system and you're not sure
    6392 # whether `pass_all' will *always* work, you probably want this one.
    6393 
    6394 case $host_os in
    6395 aix4* | aix5*)
    6396   lt_cv_deplibs_check_method=pass_all
    6397   ;;
    6398 
    6399 beos*)
    6400   lt_cv_deplibs_check_method=pass_all
    6401   ;;
    6402 
    6403 bsdi[45]*)
    6404   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    6405   lt_cv_file_magic_cmd='/usr/bin/file -L'
    6406   lt_cv_file_magic_test_file=/shlib/libc.so
    6407   ;;
    6408 
    6409 cygwin*)
    6410   # func_win32_libid is a shell function defined in ltmain.sh
    6411   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    6412   lt_cv_file_magic_cmd='func_win32_libid'
    6413   ;;
    6414 
    6415 mingw* | pw32*)
    6416   # Base MSYS/MinGW do not provide the 'file' command needed by
    6417   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
    6418   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
    6419   lt_cv_file_magic_cmd='$OBJDUMP -f'
    6420   ;;
    6421 
    6422 darwin* | rhapsody*)
    6423   lt_cv_deplibs_check_method=pass_all
    6424   ;;
    6425 
    6426 freebsd* | kfreebsd*-gnu | dragonfly*)
    6427   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    6428     case $host_cpu in
    6429     i*86 )
    6430       # Not sure whether the presence of OpenBSD here was a mistake.
    6431       # Let's accept both of them until this is cleared up.
    6432       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
    6433       lt_cv_file_magic_cmd=/usr/bin/file
    6434       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    6435       ;;
    6436     esac
    6437   else
    6438     lt_cv_deplibs_check_method=pass_all
    6439   fi
    6440   ;;
    6441 
    6442 gnu*)
    6443   lt_cv_deplibs_check_method=pass_all
    6444   ;;
    6445 
    6446 hpux10.20* | hpux11*)
    6447   lt_cv_file_magic_cmd=/usr/bin/file
    6448   case $host_cpu in
    6449   ia64*)
    6450     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    6451     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    6452     ;;
    6453   hppa*64*)
    6454     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
    6455     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    6456     ;;
    6457   *)
    6458     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    6459     lt_cv_file_magic_test_file=/usr/lib/libc.sl
    6460     ;;
    6461   esac
    6462   ;;
    6463 
    6464 interix3*)
    6465   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    6466   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    6467   ;;
    6468 
    6469 irix5* | irix6* | nonstopux*)
    6470   case $LD in
    6471   *-32|*"-32 ") libmagic=32-bit;;
    6472   *-n32|*"-n32 ") libmagic=N32;;
    6473   *-64|*"-64 ") libmagic=64-bit;;
    6474   *) libmagic=never-match;;
    6475   esac
    6476   lt_cv_deplibs_check_method=pass_all
    6477   ;;
    6478 
    6479 # This must be Linux ELF.
    6480 linux*)
    6481   lt_cv_deplibs_check_method=pass_all
    6482   ;;
    6483 
    6484 netbsd*)
    6485   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    6486     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    6487   else
    6488     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    6489   fi
    6490   ;;
    6491 
    6492 newos6*)
    6493   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    6494   lt_cv_file_magic_cmd=/usr/bin/file
    6495   lt_cv_file_magic_test_file=/usr/lib/libnls.so
    6496   ;;
    6497 
    6498 nto-qnx*)
    6499   lt_cv_deplibs_check_method=unknown
    6500   ;;
    6501 
    6502 openbsd*)
    6503   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    6504     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    6505   else
    6506     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    6507   fi
    6508   ;;
    6509 
    6510 osf3* | osf4* | osf5*)
    6511   lt_cv_deplibs_check_method=pass_all
    6512   ;;
    6513 
    6514 solaris*)
    6515   lt_cv_deplibs_check_method=pass_all
    6516   ;;
    6517 
    6518 sysv4 | sysv4.3*)
    6519   case $host_vendor in
    6520   motorola)
    6521     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
    6522     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    6523     ;;
    6524   ncr)
    6525     lt_cv_deplibs_check_method=pass_all
    6526     ;;
    6527   sequent)
    6528     lt_cv_file_magic_cmd='/bin/file'
    6529     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
    6530     ;;
    6531   sni)
    6532     lt_cv_file_magic_cmd='/bin/file'
    6533     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
    6534     lt_cv_file_magic_test_file=/lib/libc.so
    6535     ;;
    6536   siemens)
    6537     lt_cv_deplibs_check_method=pass_all
    6538     ;;
    6539   pc)
    6540     lt_cv_deplibs_check_method=pass_all
    6541     ;;
    6542   esac
    6543   ;;
    6544 
    6545 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    6546   lt_cv_deplibs_check_method=pass_all
    6547   ;;
    6548 esac
    6549 
    6550 fi
    6551 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
    6552 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
    6553 file_magic_cmd=$lt_cv_file_magic_cmd
    6554 deplibs_check_method=$lt_cv_deplibs_check_method
    6555 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    6556 
    6557 
    6558 
    6559 
    6560 # If no C compiler was specified, use CC.
    6561 LTCC=${LTCC-"$CC"}
    6562 
    6563 # If no C compiler flags were specified, use CFLAGS.
    6564 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    6565 
    6566 # Allow CC to be a program name with arguments.
    6567 compiler=$CC
    6568 
    6569 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
    6570 if test "${enable_libtool_lock+set}" = set; then
    6571   enableval="$enable_libtool_lock"
    6572 
    6573 fi;
    6574 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
    6575 
    6576 # Some flags need to be propagated to the compiler or linker for good
    6577 # libtool support.
    6578 case $host in
    6579 ia64-*-hpux*)
    6580   # Find out which ABI we are using.
    6581   echo 'int i;' > conftest.$ac_ext
    6582   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6583   (eval $ac_compile) 2>&5
    6584   ac_status=$?
    6585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6586   (exit $ac_status); }; then
    6587     case `/usr/bin/file conftest.$ac_objext` in
    6588     *ELF-32*)
    6589       HPUX_IA64_MODE="32"
    6590       ;;
    6591     *ELF-64*)
    6592       HPUX_IA64_MODE="64"
    6593       ;;
    6594     esac
    6595   fi
    6596   rm -rf conftest*
    6597   ;;
    6598 *-*-irix6*)
    6599   # Find out which ABI we are using.
    6600   echo '#line 6600 "configure"' > conftest.$ac_ext
    6601   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6602   (eval $ac_compile) 2>&5
    6603   ac_status=$?
    6604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6605   (exit $ac_status); }; then
    6606    if test "$lt_cv_prog_gnu_ld" = yes; then
    6607     case `/usr/bin/file conftest.$ac_objext` in
    6608     *32-bit*)
    6609       LD="${LD-ld} -melf32bsmip"
    6610       ;;
    6611     *N32*)
    6612       LD="${LD-ld} -melf32bmipn32"
    6613       ;;
    6614     *64-bit*)
    6615       LD="${LD-ld} -melf64bmip"
    6616       ;;
    6617     esac
    6618    else
    6619     case `/usr/bin/file conftest.$ac_objext` in
    6620     *32-bit*)
    6621       LD="${LD-ld} -32"
    6622       ;;
    6623     *N32*)
    6624       LD="${LD-ld} -n32"
    6625       ;;
    6626     *64-bit*)
    6627       LD="${LD-ld} -64"
    6628       ;;
    6629     esac
    6630    fi
    6631   fi
    6632   rm -rf conftest*
    6633   ;;
    6634 
    6635 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
    6636   # Find out which ABI we are using.
    6637   echo 'int i;' > conftest.$ac_ext
    6638   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6639   (eval $ac_compile) 2>&5
    6640   ac_status=$?
    6641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6642   (exit $ac_status); }; then
    6643     case `/usr/bin/file conftest.o` in
    6644     *32-bit*)
    6645       case $host in
    6646         x86_64-*linux*)
    6647           LD="${LD-ld} -m elf_i386"
    6648           ;;
    6649         ppc64-*linux*|powerpc64-*linux*)
    6650           LD="${LD-ld} -m elf32ppclinux"
    6651           ;;
    6652         s390x-*linux*)
    6653           LD="${LD-ld} -m elf_s390"
    6654           ;;
    6655         sparc64-*linux*)
    6656           LD="${LD-ld} -m elf32_sparc"
    6657           ;;
    6658       esac
    6659       ;;
    6660     *64-bit*)
    6661       case $host in
    6662         x86_64-*linux*)
    6663           LD="${LD-ld} -m elf_x86_64"
    6664           ;;
    6665         ppc*-*linux*|powerpc*-*linux*)
    6666           LD="${LD-ld} -m elf64ppc"
    6667           ;;
    6668         s390*-*linux*)
    6669           LD="${LD-ld} -m elf64_s390"
    6670           ;;
    6671         sparc*-*linux*)
    6672           LD="${LD-ld} -m elf64_sparc"
    6673           ;;
    6674       esac
    6675       ;;
    6676     esac
    6677   fi
    6678   rm -rf conftest*
    6679   ;;
    6680 
    6681 *-*-sco3.2v5*)
    6682   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    6683   SAVE_CFLAGS="$CFLAGS"
    6684   CFLAGS="$CFLAGS -belf"
    6685   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
    6686 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
    6687 if test "${lt_cv_cc_needs_belf+set}" = set; then
    6688   echo $ECHO_N "(cached) $ECHO_C" >&6
    6689 else
    6690   ac_ext=c
    6691 ac_cpp='$CPP $CPPFLAGS'
    6692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6695 
    6696      cat >conftest.$ac_ext <<_ACEOF
    6697 /* confdefs.h.  */
    6698 _ACEOF
    6699 cat confdefs.h >>conftest.$ac_ext
    6700 cat >>conftest.$ac_ext <<_ACEOF
    6701 /* end confdefs.h.  */
    6702 
    6703 int
    6704 main ()
    6705 {
    6706 
    6707   ;
    6708   return 0;
    6709 }
    6710 _ACEOF
    6711 rm -f conftest.$ac_objext conftest$ac_exeext
    6712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6713   (eval $ac_link) 2>conftest.er1
    6714   ac_status=$?
    6715   grep -v '^ *+' conftest.er1 >conftest.err
    6716   rm -f conftest.er1
    6717   cat conftest.err >&5
    6718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6719   (exit $ac_status); } &&
    6720          { ac_try='test -z "$ac_c_werror_flag"
    6721                          || test ! -s conftest.err'
    6722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6723   (eval $ac_try) 2>&5
    6724   ac_status=$?
    6725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6726   (exit $ac_status); }; } &&
    6727          { ac_try='test -s conftest$ac_exeext'
    6728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6729   (eval $ac_try) 2>&5
    6730   ac_status=$?
    6731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6732   (exit $ac_status); }; }; then
    6733   lt_cv_cc_needs_belf=yes
    6734 else
    6735   echo "$as_me: failed program was:" >&5
    6736 sed 's/^/| /' conftest.$ac_ext >&5
    6737 
    6738 lt_cv_cc_needs_belf=no
    6739 fi
    6740 rm -f conftest.err conftest.$ac_objext \
    6741       conftest$ac_exeext conftest.$ac_ext
    6742      ac_ext=c
    6743 ac_cpp='$CPP $CPPFLAGS'
    6744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6747 
    6748 fi
    6749 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
    6750 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    6751   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    6752     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    6753     CFLAGS="$SAVE_CFLAGS"
    6754   fi
    6755   ;;
    6756 sparc*-*solaris*)
    6757   # Find out which ABI we are using.
    6758   echo 'int i;' > conftest.$ac_ext
    6759   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6760   (eval $ac_compile) 2>&5
    6761   ac_status=$?
    6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6763   (exit $ac_status); }; then
    6764     case `/usr/bin/file conftest.o` in
    6765     *64-bit*)
    6766       case $lt_cv_prog_gnu_ld in
    6767       yes*) LD="${LD-ld} -m elf64_sparc" ;;
    6768       *)    LD="${LD-ld} -64" ;;
    6769       esac
    6770       ;;
    6771     esac
    6772   fi
    6773   rm -rf conftest*
    6774   ;;
    6775 
    6776 
    6777 esac
    6778 
    6779 need_locks="$enable_libtool_lock"
    6780 
    6781 
    6782 ac_ext=c
    6783 ac_cpp='$CPP $CPPFLAGS'
    6784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6787 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    6788 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    6789 # On Suns, sometimes $CPP names a directory.
    6790 if test -n "$CPP" && test -d "$CPP"; then
    6791   CPP=
    6792 fi
    6793 if test -z "$CPP"; then
    6794   if test "${ac_cv_prog_CPP+set}" = set; then
    6795   echo $ECHO_N "(cached) $ECHO_C" >&6
    6796 else
    6797       # Double quotes because CPP needs to be expanded
    6798     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    6799     do
    6800       ac_preproc_ok=false
    6801 for ac_c_preproc_warn_flag in '' yes
    6802 do
    6803   # Use a header file that comes with gcc, so configuring glibc
    6804   # with a fresh cross-compiler works.
    6805   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6806   # <limits.h> exists even on freestanding compilers.
    6807   # On the NeXT, cc -E runs the code through the compiler's parser,
    6808   # not just through cpp. "Syntax error" is here to catch this case.
    6809   cat >conftest.$ac_ext <<_ACEOF
    6810 /* confdefs.h.  */
    6811 _ACEOF
    6812 cat confdefs.h >>conftest.$ac_ext
    6813 cat >>conftest.$ac_ext <<_ACEOF
    6814 /* end confdefs.h.  */
    6815 #ifdef __STDC__
    6816 # include <limits.h>
    6817 #else
    6818 # include <assert.h>
    6819 #endif
    6820                      Syntax error
    6821 _ACEOF
    6822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6823   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6824   ac_status=$?
    6825   grep -v '^ *+' conftest.er1 >conftest.err
    6826   rm -f conftest.er1
    6827   cat conftest.err >&5
    6828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6829   (exit $ac_status); } >/dev/null; then
    6830   if test -s conftest.err; then
    6831     ac_cpp_err=$ac_c_preproc_warn_flag
    6832     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6833   else
    6834     ac_cpp_err=
    6835   fi
    6836 else
    6837   ac_cpp_err=yes
    6838 fi
    6839 if test -z "$ac_cpp_err"; then
    6840   :
    6841 else
    6842   echo "$as_me: failed program was:" >&5
    6843 sed 's/^/| /' conftest.$ac_ext >&5
    6844 
    6845   # Broken: fails on valid input.
    6846 continue
    6847 fi
    6848 rm -f conftest.err conftest.$ac_ext
    6849 
    6850   # OK, works on sane cases.  Now check whether non-existent headers
    6851   # can be detected and how.
    6852   cat >conftest.$ac_ext <<_ACEOF
    6853 /* confdefs.h.  */
    6854 _ACEOF
    6855 cat confdefs.h >>conftest.$ac_ext
    6856 cat >>conftest.$ac_ext <<_ACEOF
    6857 /* end confdefs.h.  */
    6858 #include <ac_nonexistent.h>
    6859 _ACEOF
    6860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6861   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6862   ac_status=$?
    6863   grep -v '^ *+' conftest.er1 >conftest.err
    6864   rm -f conftest.er1
    6865   cat conftest.err >&5
    6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6867   (exit $ac_status); } >/dev/null; then
    6868   if test -s conftest.err; then
    6869     ac_cpp_err=$ac_c_preproc_warn_flag
    6870     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6871   else
    6872     ac_cpp_err=
    6873   fi
    6874 else
    6875   ac_cpp_err=yes
    6876 fi
    6877 if test -z "$ac_cpp_err"; then
    6878   # Broken: success on invalid input.
    6879 continue
    6880 else
    6881   echo "$as_me: failed program was:" >&5
    6882 sed 's/^/| /' conftest.$ac_ext >&5
    6883 
    6884   # Passes both tests.
    6885 ac_preproc_ok=:
    6886 break
    6887 fi
    6888 rm -f conftest.err conftest.$ac_ext
    6889 
    6890 done
    6891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6892 rm -f conftest.err conftest.$ac_ext
    6893 if $ac_preproc_ok; then
    6894   break
    6895 fi
    6896 
    6897     done
    6898     ac_cv_prog_CPP=$CPP
    6899 
    6900 fi
    6901   CPP=$ac_cv_prog_CPP
    6902 else
    6903   ac_cv_prog_CPP=$CPP
    6904 fi
    6905 echo "$as_me:$LINENO: result: $CPP" >&5
    6906 echo "${ECHO_T}$CPP" >&6
    6907 ac_preproc_ok=false
    6908 for ac_c_preproc_warn_flag in '' yes
    6909 do
    6910   # Use a header file that comes with gcc, so configuring glibc
    6911   # with a fresh cross-compiler works.
    6912   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6913   # <limits.h> exists even on freestanding compilers.
    6914   # On the NeXT, cc -E runs the code through the compiler's parser,
    6915   # not just through cpp. "Syntax error" is here to catch this case.
    6916   cat >conftest.$ac_ext <<_ACEOF
    6917 /* confdefs.h.  */
    6918 _ACEOF
    6919 cat confdefs.h >>conftest.$ac_ext
    6920 cat >>conftest.$ac_ext <<_ACEOF
    6921 /* end confdefs.h.  */
    6922 #ifdef __STDC__
    6923 # include <limits.h>
    6924 #else
    6925 # include <assert.h>
    6926 #endif
    6927                      Syntax error
    6928 _ACEOF
    6929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6930   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6931   ac_status=$?
    6932   grep -v '^ *+' conftest.er1 >conftest.err
    6933   rm -f conftest.er1
    6934   cat conftest.err >&5
    6935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6936   (exit $ac_status); } >/dev/null; then
    6937   if test -s conftest.err; then
    6938     ac_cpp_err=$ac_c_preproc_warn_flag
    6939     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6940   else
    6941     ac_cpp_err=
    6942   fi
    6943 else
    6944   ac_cpp_err=yes
    6945 fi
    6946 if test -z "$ac_cpp_err"; then
    6947   :
    6948 else
    6949   echo "$as_me: failed program was:" >&5
    6950 sed 's/^/| /' conftest.$ac_ext >&5
    6951 
    6952   # Broken: fails on valid input.
    6953 continue
    6954 fi
    6955 rm -f conftest.err conftest.$ac_ext
    6956 
    6957   # OK, works on sane cases.  Now check whether non-existent headers
    6958   # can be detected and how.
    6959   cat >conftest.$ac_ext <<_ACEOF
    6960 /* confdefs.h.  */
    6961 _ACEOF
    6962 cat confdefs.h >>conftest.$ac_ext
    6963 cat >>conftest.$ac_ext <<_ACEOF
    6964 /* end confdefs.h.  */
    6965 #include <ac_nonexistent.h>
    6966 _ACEOF
    6967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    6968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    6969   ac_status=$?
    6970   grep -v '^ *+' conftest.er1 >conftest.err
    6971   rm -f conftest.er1
    6972   cat conftest.err >&5
    6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6974   (exit $ac_status); } >/dev/null; then
    6975   if test -s conftest.err; then
    6976     ac_cpp_err=$ac_c_preproc_warn_flag
    6977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    6978   else
    6979     ac_cpp_err=
    6980   fi
    6981 else
    6982   ac_cpp_err=yes
    6983 fi
    6984 if test -z "$ac_cpp_err"; then
    6985   # Broken: success on invalid input.
    6986 continue
    6987 else
    6988   echo "$as_me: failed program was:" >&5
    6989 sed 's/^/| /' conftest.$ac_ext >&5
    6990 
    6991   # Passes both tests.
    6992 ac_preproc_ok=:
    6993 break
    6994