Changeset 326 for trunk


Ignore:
Timestamp:
May 18, 2006 6:22:46 PM (14 years ago)
Author:
andreasw
Message:

several fixes for Cygwin; corrected -no-undefined for Darwin

Location:
trunk/Cbc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/Makefile.in

    r319 r326  
    120120CC = @CC@
    121121CCDEPMODE = @CCDEPMODE@
     122CDEFS = @CDEFS@
    122123CFLAGS = @CFLAGS@
    123124CGLOBJDIR = @CGLOBJDIR@
  • trunk/Cbc/configure

    r324 r326  
    474474#endif"
    475475
    476 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 ADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE COIN_DEBUG_TRUE COIN_DEBUG_FALSE CXXDEFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT EGREP 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE MAINTAINER_SMALL_TRUE MAINTAINER_SMALL_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pkg_lib_dir pkg_include_dir pkg_bin_dir CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE LIBOBJS LTLIBOBJS'
     476ac_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 ADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE COIN_DEBUG_TRUE COIN_DEBUG_FALSE CDEFS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXXDEFS CXX CXXFLAGS ac_ct_CXX EGREP 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 BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE MAINTAINER_SMALL_TRUE MAINTAINER_SMALL_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pkg_lib_dir pkg_include_dir pkg_bin_dir CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE LIBOBJS LTLIBOBJS'
    477477ac_subst_files=''
    478478
     
    915915ac_cv_env_target_alias_set=${target_alias+set}
    916916ac_cv_env_target_alias_value=$target_alias
     917ac_env_CDEFS_set=${CDEFS+set}
     918ac_env_CDEFS_value=$CDEFS
     919ac_cv_env_CDEFS_set=${CDEFS+set}
     920ac_cv_env_CDEFS_value=$CDEFS
     921ac_env_CC_set=${CC+set}
     922ac_env_CC_value=$CC
     923ac_cv_env_CC_set=${CC+set}
     924ac_cv_env_CC_value=$CC
     925ac_env_CFLAGS_set=${CFLAGS+set}
     926ac_env_CFLAGS_value=$CFLAGS
     927ac_cv_env_CFLAGS_set=${CFLAGS+set}
     928ac_cv_env_CFLAGS_value=$CFLAGS
     929ac_env_LDFLAGS_set=${LDFLAGS+set}
     930ac_env_LDFLAGS_value=$LDFLAGS
     931ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     932ac_cv_env_LDFLAGS_value=$LDFLAGS
     933ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     934ac_env_CPPFLAGS_value=$CPPFLAGS
     935ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     936ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    917937ac_env_CXXDEFS_set=${CXXDEFS+set}
    918938ac_env_CXXDEFS_value=$CXXDEFS
     
    927947ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    928948ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    929 ac_env_LDFLAGS_set=${LDFLAGS+set}
    930 ac_env_LDFLAGS_value=$LDFLAGS
    931 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    932 ac_cv_env_LDFLAGS_value=$LDFLAGS
    933 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    934 ac_env_CPPFLAGS_value=$CPPFLAGS
    935 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    936 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    937 ac_env_CC_set=${CC+set}
    938 ac_env_CC_value=$CC
    939 ac_cv_env_CC_set=${CC+set}
    940 ac_cv_env_CC_value=$CC
    941 ac_env_CFLAGS_set=${CFLAGS+set}
    942 ac_env_CFLAGS_value=$CFLAGS
    943 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    944 ac_cv_env_CFLAGS_value=$CFLAGS
    945949ac_env_CPP_set=${CPP+set}
    946950ac_env_CPP_value=$CPP
     
    10871091
    10881092Some influential environment variables:
    1089   CXXDEFS     Additional -D flags to be used when compiling C++ code.
    1090   CXX         C++ compiler command
    1091   CXXFLAGS    C++ compiler flags
     1093  CDEFS       Additional -D flags to be used when compiling C code.
     1094  CC          C compiler command
     1095  CFLAGS      C compiler flags
    10921096  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    10931097              nonstandard directory <lib dir>
    10941098  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    10951099              headers in a nonstandard directory <include dir>
    1096   CC          C compiler command
    1097   CFLAGS      C compiler flags
     1100  CXXDEFS     Additional -D flags to be used when compiling C++ code.
     1101  CXX         C++ compiler command
     1102  CXXFLAGS    C++ compiler flags
    10981103  CPP         C preprocessor
    10991104  CXXCPP      C++ preprocessor
     
    16541659
    16551660
    1656 # A makefile conditional that is set to true if
    1657 
    16581661
    16591662# Check if user wants to produce debugging code
     
    17041707
    17051708
    1706 # This package is written in C++
    1707 ac_ext=cc
    1708 ac_cpp='$CXXCPP $CPPFLAGS'
    1709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1712 
    1713 
    17141709# Get the name of the C++ compiler and appropriate compiler options
    17151710
    1716 ac_ext=cc
    1717 ac_cpp='$CXXCPP $CPPFLAGS'
    1718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1721 
    1722 
    1723 
    1724 
    1725 coin_has_cxx=yes
    1726 
    1727 save_cxxflags="$CXXFLAGS"
     1711ac_ext=c
     1712ac_cpp='$CPP $CPPFLAGS'
     1713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1715ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1716
     1717
     1718# For consistency, we set the C compiler to the same value of the C++
     1719# compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
     1720if test x"$CXX" != x; then
     1721  case $CXX in
     1722    cl*)
     1723      if test x"$CC" = x; then
     1724        CC="$CXX"
     1725        { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
     1726echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
     1727      fi
     1728      ;;
     1729  esac
     1730fi
     1731
     1732
     1733
     1734coin_has_cc=yes
     1735
     1736save_cflags="$CFLAGS"
    17281737case $build in
    17291738  *-cygwin* | *-mingw*)
    1730              comps="g++ cl" ;;
    1731   *-darwin*) comps="g++ c++ CC" ;;
    1732           *) comps="xlC aCC CC g++ c++ pgCC icpc" ;;
     1739             comps="gcc cl" ;;
     1740  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
     1741  *)         comps="xlc cc gcc pgcc icc" ;;
    17331742esac
    1734 ac_ext=cc
    1735 ac_cpp='$CXXCPP $CPPFLAGS'
    1736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     1743ac_ext=c
     1744ac_cpp='$CPP $CPPFLAGS'
     1745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1747ac_compiler_gnu=$ac_cv_c_compiler_gnu
    17391748if test -n "$ac_tool_prefix"; then
    1740   for ac_prog in $CCC $comps
     1749  for ac_prog in $comps
    17411750  do
    17421751    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     
    17441753echo "$as_me:$LINENO: checking for $ac_word" >&5
    17451754echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1746 if test "${ac_cv_prog_CXX+set}" = set; then
     1755if test "${ac_cv_prog_CC+set}" = set; then
    17471756  echo $ECHO_N "(cached) $ECHO_C" >&6
    17481757else
    1749   if test -n "$CXX"; then
    1750   ac_cv_prog_CXX="$CXX" # Let the user override the test.
     1758  if test -n "$CC"; then
     1759  ac_cv_prog_CC="$CC" # Let the user override the test.
    17511760else
    17521761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    17571766  for ac_exec_ext in '' $ac_executable_extensions; do
    17581767  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1759     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     1768    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    17601769    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17611770    break 2
     
    17661775fi
    17671776fi
    1768 CXX=$ac_cv_prog_CXX
    1769 if test -n "$CXX"; then
    1770   echo "$as_me:$LINENO: result: $CXX" >&5
    1771 echo "${ECHO_T}$CXX" >&6
     1777CC=$ac_cv_prog_CC
     1778if test -n "$CC"; then
     1779  echo "$as_me:$LINENO: result: $CC" >&5
     1780echo "${ECHO_T}$CC" >&6
    17721781else
    17731782  echo "$as_me:$LINENO: result: no" >&5
     
    17751784fi
    17761785
    1777     test -n "$CXX" && break
     1786    test -n "$CC" && break
    17781787  done
    17791788fi
    1780 if test -z "$CXX"; then
    1781   ac_ct_CXX=$CXX
    1782   for ac_prog in $CCC $comps
     1789if test -z "$CC"; then
     1790  ac_ct_CC=$CC
     1791  for ac_prog in $comps
    17831792do
    17841793  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    17861795echo "$as_me:$LINENO: checking for $ac_word" >&5
    17871796echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1788 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     1797if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17891798  echo $ECHO_N "(cached) $ECHO_C" >&6
    17901799else
    1791   if test -n "$ac_ct_CXX"; then
    1792   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     1800  if test -n "$ac_ct_CC"; then
     1801  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    17931802else
    17941803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    17991808  for ac_exec_ext in '' $ac_executable_extensions; do
    18001809  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1801     ac_cv_prog_ac_ct_CXX="$ac_prog"
     1810    ac_cv_prog_ac_ct_CC="$ac_prog"
    18021811    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18031812    break 2
     
    18081817fi
    18091818fi
    1810 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    1811 if test -n "$ac_ct_CXX"; then
    1812   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    1813 echo "${ECHO_T}$ac_ct_CXX" >&6
     1819ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1820if test -n "$ac_ct_CC"; then
     1821  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1822echo "${ECHO_T}$ac_ct_CC" >&6
    18141823else
    18151824  echo "$as_me:$LINENO: result: no" >&5
     
    18171826fi
    18181827
    1819   test -n "$ac_ct_CXX" && break
     1828  test -n "$ac_ct_CC" && break
    18201829done
    1821 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    1822 
    1823   CXX=$ac_ct_CXX
    1824 fi
    1825 
     1830
     1831  CC=$ac_ct_CC
     1832fi
     1833
     1834
     1835test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1836See \`config.log' for more details." >&5
     1837echo "$as_me: error: no acceptable C compiler found in \$PATH
     1838See \`config.log' for more details." >&2;}
     1839   { (exit 1); exit 1; }; }
    18261840
    18271841# Provide some information about the compiler.
    18281842echo "$as_me:$LINENO:" \
    1829      "checking for C++ compiler version" >&5
     1843     "checking for C compiler version" >&5
    18301844ac_compiler=`set X $ac_compile; echo $2`
    18311845{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     
    18651879# It will help us diagnose broken compilers, and finding out an intuition
    18661880# of exeext.
    1867 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
    1868 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
     1881echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1882echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    18691883ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    18701884if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    19091923sed 's/^/| /' conftest.$ac_ext >&5
    19101924
    1911 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
     1925{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
    19121926See \`config.log' for more details." >&5
    1913 echo "$as_me: error: C++ compiler cannot create executables
     1927echo "$as_me: error: C compiler cannot create executables
    19141928See \`config.log' for more details." >&2;}
    19151929   { (exit 77); exit 77; }; }
     
    19221936# Check the compiler produces executables we can run.  If not, either
    19231937# the compiler is broken, or we cross compile.
    1924 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
    1925 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
     1938echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1939echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    19261940# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19271941# If not cross compiling, check that we can run a simple program.
     
    19381952        cross_compiling=yes
    19391953    else
    1940         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
     1954        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    19411955If you meant to cross compile, use \`--host'.
    19421956See \`config.log' for more details." >&5
    1943 echo "$as_me: error: cannot run C++ compiled programs.
     1957echo "$as_me: error: cannot run C compiled programs.
    19441958If you meant to cross compile, use \`--host'.
    19451959See \`config.log' for more details." >&2;}
     
    20462060OBJEXT=$ac_cv_objext
    20472061ac_objext=$OBJEXT
    2048 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2049 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    2050 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2051   echo $ECHO_N "(cached) $ECHO_C" >&6
    2052 else
    2053   cat >conftest.$ac_ext <<_ACEOF
    2054 /* confdefs.h.  */
    2055 _ACEOF
    2056 cat confdefs.h >>conftest.$ac_ext
    2057 cat >>conftest.$ac_ext <<_ACEOF
    2058 /* end confdefs.h.  */
    2059 
    2060 int
    2061 main ()
    2062 {
    2063 #ifndef __GNUC__
    2064        choke me
    2065 #endif
    2066 
    2067   ;
    2068   return 0;
    2069 }
    2070 _ACEOF
    2071 rm -f conftest.$ac_objext
    2072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2073   (eval $ac_compile) 2>conftest.er1
    2074   ac_status=$?
    2075   grep -v '^ *+' conftest.er1 >conftest.err
    2076   rm -f conftest.er1
    2077   cat conftest.err >&5
    2078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2079   (exit $ac_status); } &&
    2080          { ac_try='test -z "$ac_cxx_werror_flag"
    2081                          || test ! -s conftest.err'
    2082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2083   (eval $ac_try) 2>&5
    2084   ac_status=$?
    2085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2086   (exit $ac_status); }; } &&
    2087          { ac_try='test -s conftest.$ac_objext'
    2088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2089   (eval $ac_try) 2>&5
    2090   ac_status=$?
    2091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2092   (exit $ac_status); }; }; then
    2093   ac_compiler_gnu=yes
    2094 else
    2095   echo "$as_me: failed program was:" >&5
    2096 sed 's/^/| /' conftest.$ac_ext >&5
    2097 
    2098 ac_compiler_gnu=no
    2099 fi
    2100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2101 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    2102 
    2103 fi
    2104 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2105 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2106 GXX=`test $ac_compiler_gnu = yes && echo yes`
    2107 ac_test_CXXFLAGS=${CXXFLAGS+set}
    2108 ac_save_CXXFLAGS=$CXXFLAGS
    2109 CXXFLAGS="-g"
    2110 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2111 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    2112 if test "${ac_cv_prog_cxx_g+set}" = set; then
    2113   echo $ECHO_N "(cached) $ECHO_C" >&6
    2114 else
    2115   cat >conftest.$ac_ext <<_ACEOF
    2116 /* confdefs.h.  */
    2117 _ACEOF
    2118 cat confdefs.h >>conftest.$ac_ext
    2119 cat >>conftest.$ac_ext <<_ACEOF
    2120 /* end confdefs.h.  */
    2121 
    2122 int
    2123 main ()
    2124 {
    2125 
    2126   ;
    2127   return 0;
    2128 }
    2129 _ACEOF
    2130 rm -f conftest.$ac_objext
    2131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2132   (eval $ac_compile) 2>conftest.er1
    2133   ac_status=$?
    2134   grep -v '^ *+' conftest.er1 >conftest.err
    2135   rm -f conftest.er1
    2136   cat conftest.err >&5
    2137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2138   (exit $ac_status); } &&
    2139          { ac_try='test -z "$ac_cxx_werror_flag"
    2140                          || test ! -s conftest.err'
    2141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2142   (eval $ac_try) 2>&5
    2143   ac_status=$?
    2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2145   (exit $ac_status); }; } &&
    2146          { ac_try='test -s conftest.$ac_objext'
    2147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2148   (eval $ac_try) 2>&5
    2149   ac_status=$?
    2150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2151   (exit $ac_status); }; }; then
    2152   ac_cv_prog_cxx_g=yes
    2153 else
    2154   echo "$as_me: failed program was:" >&5
    2155 sed 's/^/| /' conftest.$ac_ext >&5
    2156 
    2157 ac_cv_prog_cxx_g=no
    2158 fi
    2159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2160 fi
    2161 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2162 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    2163 if test "$ac_test_CXXFLAGS" = set; then
    2164   CXXFLAGS=$ac_save_CXXFLAGS
    2165 elif test $ac_cv_prog_cxx_g = yes; then
    2166   if test "$GXX" = yes; then
    2167     CXXFLAGS="-g -O2"
    2168   else
    2169     CXXFLAGS="-g"
    2170   fi
    2171 else
    2172   if test "$GXX" = yes; then
    2173     CXXFLAGS="-O2"
    2174   else
    2175     CXXFLAGS=
    2176   fi
    2177 fi
    2178 for ac_declaration in \
    2179    '' \
    2180    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2181    'extern "C" void std::exit (int); using std::exit;' \
    2182    'extern "C" void exit (int) throw ();' \
    2183    'extern "C" void exit (int);' \
    2184    'void exit (int);'
    2185 do
    2186   cat >conftest.$ac_ext <<_ACEOF
    2187 /* confdefs.h.  */
    2188 _ACEOF
    2189 cat confdefs.h >>conftest.$ac_ext
    2190 cat >>conftest.$ac_ext <<_ACEOF
    2191 /* end confdefs.h.  */
    2192 $ac_declaration
    2193 #include <stdlib.h>
    2194 int
    2195 main ()
    2196 {
    2197 exit (42);
    2198   ;
    2199   return 0;
    2200 }
    2201 _ACEOF
    2202 rm -f conftest.$ac_objext
    2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2204   (eval $ac_compile) 2>conftest.er1
    2205   ac_status=$?
    2206   grep -v '^ *+' conftest.er1 >conftest.err
    2207   rm -f conftest.er1
    2208   cat conftest.err >&5
    2209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2210   (exit $ac_status); } &&
    2211          { ac_try='test -z "$ac_cxx_werror_flag"
    2212                          || test ! -s conftest.err'
    2213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2214   (eval $ac_try) 2>&5
    2215   ac_status=$?
    2216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2217   (exit $ac_status); }; } &&
    2218          { ac_try='test -s conftest.$ac_objext'
    2219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2220   (eval $ac_try) 2>&5
    2221   ac_status=$?
    2222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2223   (exit $ac_status); }; }; then
    2224   :
    2225 else
    2226   echo "$as_me: failed program was:" >&5
    2227 sed 's/^/| /' conftest.$ac_ext >&5
    2228 
    2229 continue
    2230 fi
    2231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2232   cat >conftest.$ac_ext <<_ACEOF
    2233 /* confdefs.h.  */
    2234 _ACEOF
    2235 cat confdefs.h >>conftest.$ac_ext
    2236 cat >>conftest.$ac_ext <<_ACEOF
    2237 /* end confdefs.h.  */
    2238 $ac_declaration
    2239 int
    2240 main ()
    2241 {
    2242 exit (42);
    2243   ;
    2244   return 0;
    2245 }
    2246 _ACEOF
    2247 rm -f conftest.$ac_objext
    2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2249   (eval $ac_compile) 2>conftest.er1
    2250   ac_status=$?
    2251   grep -v '^ *+' conftest.er1 >conftest.err
    2252   rm -f conftest.er1
    2253   cat conftest.err >&5
    2254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2255   (exit $ac_status); } &&
    2256          { ac_try='test -z "$ac_cxx_werror_flag"
    2257                          || test ! -s conftest.err'
    2258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2259   (eval $ac_try) 2>&5
    2260   ac_status=$?
    2261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2262   (exit $ac_status); }; } &&
    2263          { ac_try='test -s conftest.$ac_objext'
    2264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2265   (eval $ac_try) 2>&5
    2266   ac_status=$?
    2267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2268   (exit $ac_status); }; }; then
    2269   break
    2270 else
    2271   echo "$as_me: failed program was:" >&5
    2272 sed 's/^/| /' conftest.$ac_ext >&5
    2273 
    2274 fi
    2275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2276 done
    2277 rm -f conftest*
    2278 if test -n "$ac_declaration"; then
    2279   echo '#ifdef __cplusplus' >>confdefs.h
    2280   echo $ac_declaration      >>confdefs.h
    2281   echo '#endif'             >>confdefs.h
    2282 fi
    2283 
    2284 ac_ext=cc
    2285 ac_cpp='$CXXCPP $CPPFLAGS'
    2286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2289 
    2290 CXXFLAGS="$save_cxxflags"
    2291 
    2292 echo "$as_me:$LINENO: checking for C++ compiler options" >&5
    2293 echo $ECHO_N "checking for C++ compiler options... $ECHO_C" >&6
    2294 if test "${coin_cv_cxxflags+set}" = set; then
    2295   echo $ECHO_N "(cached) $ECHO_C" >&6
    2296 else
    2297   if test x"$CXXFLAGS" = x; then
    2298 
    2299 # ToDo decide whether we want -DNDEBUG for optimization
    2300   coin_add_cxxflags=
    2301   coin_opt_cxxflags=
    2302   coin_dbg_cxxflags=
    2303   coin_warn_cxxflags=
    2304 
    2305   if test "$GXX" = "yes"; then
    2306     case "$CXX" in
    2307       icpc | */icpc)
    2308         ;;
    2309       *)
    2310 # ToDo decide about unroll-loops
    2311         coin_opt_cxxflags="-O3 -fomit-frame-pointer"
    2312         coin_add_cxxflags="-pipe"
    2313         coin_dbg_cxxflags="-g"
    2314         coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion"
    2315 
    2316         case $build in
    2317           *-cygwin*)
    2318             CXXFLAGS="-mno-cygwin"
    2319             cat >conftest.$ac_ext <<_ACEOF
    2320 /* confdefs.h.  */
    2321 _ACEOF
    2322 cat confdefs.h >>conftest.$ac_ext
    2323 cat >>conftest.$ac_ext <<_ACEOF
    2324 /* end confdefs.h.  */
    2325 
    2326 int
    2327 main ()
    2328 {
    2329 int i=0; i++;
    2330   ;
    2331   return 0;
    2332 }
    2333 _ACEOF
    2334 rm -f conftest.$ac_objext conftest$ac_exeext
    2335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2336   (eval $ac_link) 2>conftest.er1
    2337   ac_status=$?
    2338   grep -v '^ *+' conftest.er1 >conftest.err
    2339   rm -f conftest.er1
    2340   cat conftest.err >&5
    2341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2342   (exit $ac_status); } &&
    2343          { ac_try='test -z "$ac_cxx_werror_flag"
    2344                          || test ! -s conftest.err'
    2345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2346   (eval $ac_try) 2>&5
    2347   ac_status=$?
    2348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2349   (exit $ac_status); }; } &&
    2350          { ac_try='test -s conftest$ac_exeext'
    2351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2352   (eval $ac_try) 2>&5
    2353   ac_status=$?
    2354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2355   (exit $ac_status); }; }; then
    2356   coin_add_cxxflags="-mno-cygwin $coin_add_cxxflags"
    2357 else
    2358   echo "$as_me: failed program was:" >&5
    2359 sed 's/^/| /' conftest.$ac_ext >&5
    2360 
    2361 fi
    2362 rm -f conftest.err conftest.$ac_objext \
    2363       conftest$ac_exeext conftest.$ac_ext
    2364             CXXFLAGS=
    2365             ;;
    2366         esac
    2367         ;;
    2368     esac
    2369   fi
    2370   if test -z "$coin_opt_cxxflags"; then
    2371     case $build in
    2372       *-cygwin* | *-mingw*)
    2373         case "$CXX" in
    2374           cl | */cl)
    2375             coin_opt_cxxflags='-O2'
    2376             coin_add_cxxflags='-nologo -GX -GR -MT'
    2377             coin_dbg_cxxflags='-Yd'
    2378             ;;
    2379         esac
    2380         ;;
    2381       *-linux-*)
    2382         case "$CXX" in
    2383           icpc | */icpc)
    2384             coin_opt_cxxflags="-O3 -ip"
    2385             coin_add_cxxflags=""
    2386             coin_dbg_cxxflags="-g"
    2387             # Check if -i_dynamic is necessary (for new glibc library)
    2388             CXXFLAGS=
    2389             cat >conftest.$ac_ext <<_ACEOF
    2390 /* confdefs.h.  */
    2391 _ACEOF
    2392 cat confdefs.h >>conftest.$ac_ext
    2393 cat >>conftest.$ac_ext <<_ACEOF
    2394 /* end confdefs.h.  */
    2395 
    2396 int
    2397 main ()
    2398 {
    2399 int i=0; i++;
    2400   ;
    2401   return 0;
    2402 }
    2403 _ACEOF
    2404 rm -f conftest.$ac_objext conftest$ac_exeext
    2405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2406   (eval $ac_link) 2>conftest.er1
    2407   ac_status=$?
    2408   grep -v '^ *+' conftest.er1 >conftest.err
    2409   rm -f conftest.er1
    2410   cat conftest.err >&5
    2411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2412   (exit $ac_status); } &&
    2413          { ac_try='test -z "$ac_cxx_werror_flag"
    2414                          || test ! -s conftest.err'
    2415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2416   (eval $ac_try) 2>&5
    2417   ac_status=$?
    2418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2419   (exit $ac_status); }; } &&
    2420          { ac_try='test -s conftest$ac_exeext'
    2421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2422   (eval $ac_try) 2>&5
    2423   ac_status=$?
    2424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2425   (exit $ac_status); }; }; then
    2426   :
    2427 else
    2428   echo "$as_me: failed program was:" >&5
    2429 sed 's/^/| /' conftest.$ac_ext >&5
    2430 
    2431 coin_add_cxxflags="-i_dynamic $coin_add_cxxflags"
    2432 fi
    2433 rm -f conftest.err conftest.$ac_objext \
    2434       conftest$ac_exeext conftest.$ac_ext
    2435             ;;
    2436           pgCC | */pgCC)
    2437             coin_opt_cxxflags="-fast"
    2438             coin_add_cxxflags="-Kieee -pc 64"
    2439             coin_dbg_cxxflags="-g"
    2440             ;;
    2441         esac
    2442         ;;
    2443       *-ibm-*)
    2444         case "$CXX" in
    2445           xlC* | */xlC* | mpxlC* | */mpxlC*)
    2446             coin_opt_cxxflags="-O3 -qarch=auto -qcache=auto -qhot -qtune=auto -qmaxmem=-1"
    2447             coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna"
    2448             coin_dbg_cxxflags="-g"
    2449             ;;
    2450         esac
    2451         ;;
    2452       *-hp-*)
    2453         case "$CXX" in
    2454           aCC | */aCC )
    2455             coin_opt_cxxflags="-O"
    2456             coin_add_cxxflags="-AA"
    2457             coin_dbg_cxxflags="-g"
    2458             ;;
    2459         esac
    2460         ;;
    2461       *-sun-*)
    2462           coin_opt_cxxflags="-O4 -xtarget=native"
    2463           coin_dbg_cxxflags="-g"
    2464         ;;
    2465     esac
    2466   fi
    2467 
    2468   if test "$ac_cv_prog_cxx_g" = yes && test -z "$coin_dbg_cxxflags" ; then
    2469     coin_dbg_cxxflags="-g"
    2470   fi
    2471 
    2472   if test "$coin_debug_compile" = "true"; then
    2473     CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags"
    2474   else
    2475     if test -z "$coin_opt_cxxflags"; then
    2476       # Try if -O option works if nothing else is set
    2477       CXXFLAGS="-O"
    2478       cat >conftest.$ac_ext <<_ACEOF
    2479 /* confdefs.h.  */
    2480 _ACEOF
    2481 cat confdefs.h >>conftest.$ac_ext
    2482 cat >>conftest.$ac_ext <<_ACEOF
    2483 /* end confdefs.h.  */
    2484 
    2485 int
    2486 main ()
    2487 {
    2488 int i=0; i++;
    2489   ;
    2490   return 0;
    2491 }
    2492 _ACEOF
    2493 rm -f conftest.$ac_objext conftest$ac_exeext
    2494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2495   (eval $ac_link) 2>conftest.er1
    2496   ac_status=$?
    2497   grep -v '^ *+' conftest.er1 >conftest.err
    2498   rm -f conftest.er1
    2499   cat conftest.err >&5
    2500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2501   (exit $ac_status); } &&
    2502          { ac_try='test -z "$ac_cxx_werror_flag"
    2503                          || test ! -s conftest.err'
    2504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2505   (eval $ac_try) 2>&5
    2506   ac_status=$?
    2507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2508   (exit $ac_status); }; } &&
    2509          { ac_try='test -s conftest$ac_exeext'
    2510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2511   (eval $ac_try) 2>&5
    2512   ac_status=$?
    2513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2514   (exit $ac_status); }; }; then
    2515   coin_opt_cxxflags="-O"
    2516 else
    2517   echo "$as_me: failed program was:" >&5
    2518 sed 's/^/| /' conftest.$ac_ext >&5
    2519 
    2520 fi
    2521 rm -f conftest.err conftest.$ac_objext \
    2522       conftest$ac_exeext conftest.$ac_ext
    2523     fi
    2524     CXXFLAGS="$coin_opt_cxxflags $coin_add_cxxflags -DNDEBUG $CXXDEFS $coin_warn_cxxflags"
    2525   fi
    2526 fi
    2527 
    2528 # Try if CXXFLAGS works
    2529 cat >conftest.$ac_ext <<_ACEOF
    2530 /* confdefs.h.  */
    2531 _ACEOF
    2532 cat confdefs.h >>conftest.$ac_ext
    2533 cat >>conftest.$ac_ext <<_ACEOF
    2534 /* end confdefs.h.  */
    2535 
    2536 int
    2537 main ()
    2538 {
    2539 int i=0; i++;
    2540   ;
    2541   return 0;
    2542 }
    2543 _ACEOF
    2544 rm -f conftest.$ac_objext conftest$ac_exeext
    2545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2546   (eval $ac_link) 2>conftest.er1
    2547   ac_status=$?
    2548   grep -v '^ *+' conftest.er1 >conftest.err
    2549   rm -f conftest.er1
    2550   cat conftest.err >&5
    2551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2552   (exit $ac_status); } &&
    2553          { ac_try='test -z "$ac_cxx_werror_flag"
    2554                          || test ! -s conftest.err'
    2555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2556   (eval $ac_try) 2>&5
    2557   ac_status=$?
    2558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2559   (exit $ac_status); }; } &&
    2560          { ac_try='test -s conftest$ac_exeext'
    2561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2562   (eval $ac_try) 2>&5
    2563   ac_status=$?
    2564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2565   (exit $ac_status); }; }; then
    2566   :
    2567 else
    2568   echo "$as_me: failed program was:" >&5
    2569 sed 's/^/| /' conftest.$ac_ext >&5
    2570 
    2571 CXXFLAGS=
    2572 fi
    2573 rm -f conftest.err conftest.$ac_objext \
    2574       conftest$ac_exeext conftest.$ac_ext
    2575 if test -z "$CXXFLAGS"; then
    2576   { echo "$as_me:$LINENO: WARNING: The flags CXXFLAGS=\"$CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&5
    2577 echo "$as_me: WARNING: The flags CXXFLAGS=\"$CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&2;}
    2578   CXXFLAGS='-O'
    2579   cat >conftest.$ac_ext <<_ACEOF
    2580 /* confdefs.h.  */
    2581 _ACEOF
    2582 cat confdefs.h >>conftest.$ac_ext
    2583 cat >>conftest.$ac_ext <<_ACEOF
    2584 /* end confdefs.h.  */
    2585 
    2586 int
    2587 main ()
    2588 {
    2589 int i=0; i++;
    2590   ;
    2591   return 0;
    2592 }
    2593 _ACEOF
    2594 rm -f conftest.$ac_objext conftest$ac_exeext
    2595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2596   (eval $ac_link) 2>conftest.er1
    2597   ac_status=$?
    2598   grep -v '^ *+' conftest.er1 >conftest.err
    2599   rm -f conftest.er1
    2600   cat conftest.err >&5
    2601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2602   (exit $ac_status); } &&
    2603          { ac_try='test -z "$ac_cxx_werror_flag"
    2604                          || test ! -s conftest.err'
    2605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2606   (eval $ac_try) 2>&5
    2607   ac_status=$?
    2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2609   (exit $ac_status); }; } &&
    2610          { ac_try='test -s conftest$ac_exeext'
    2611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2612   (eval $ac_try) 2>&5
    2613   ac_status=$?
    2614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2615   (exit $ac_status); }; }; then
    2616   :
    2617 else
    2618   echo "$as_me: failed program was:" >&5
    2619 sed 's/^/| /' conftest.$ac_ext >&5
    2620 
    2621 CXXFLAGS=
    2622 fi
    2623 rm -f conftest.err conftest.$ac_objext \
    2624       conftest$ac_exeext conftest.$ac_ext
    2625   if test -z "$CXXFLAGS"; then
    2626     { 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
    2627 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;}
    2628   fi
    2629 fi
    2630 coin_cv_cxxflags="$CXXFLAGS"
    2631 
    2632 fi
    2633 echo "$as_me:$LINENO: result: $coin_cv_cxxflags" >&5
    2634 echo "${ECHO_T}$coin_cv_cxxflags" >&6 # AC_CACHE_CHECK([for C++ compiler options CXXFLAGS]
    2635 CXXFLAGS="$coin_cv_cxxflags"
    2636 
    2637 ac_ext=cc
    2638 ac_cpp='$CXXCPP $CPPFLAGS'
    2639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2642 
    2643 
    2644 
    2645 # Initialize automake and libtool
    2646 
    2647 # On Cygwin, building DLLs doesn't work
    2648 case $build in
    2649   *-cygwin*)
    2650     coin_disable_shared=yes
    2651   ;;
    2652   *-mingw*)
    2653     case $CXX in
    2654       cl)
    2655         coin_disable_shared=yes
    2656     ;;
    2657     esac
    2658   ;;
    2659 esac
    2660 if test x"$coin_disable_shared" = xyes; then
    2661   if test x"$enable_shared" = xyes; then
    2662     { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
    2663 echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
    2664   fi
    2665   enable_shared=no
    2666 fi
    2667 # By default, we only want the shared objects to be compiled
    2668 # Check whether --enable-static or --disable-static was given.
    2669 if test "${enable_static+set}" = set; then
    2670   enableval="$enable_static"
    2671   p=${PACKAGE-default}
    2672     case $enableval in
    2673     yes) enable_static=yes ;;
    2674     no) enable_static=no ;;
    2675     *)
    2676      enable_static=no
    2677       # Look at the argument we got.  We use all the common list separators.
    2678       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    2679       for pkg in $enableval; do
    2680         IFS="$lt_save_ifs"
    2681         if test "X$pkg" = "X$p"; then
    2682           enable_static=yes
    2683         fi
    2684       done
    2685       IFS="$lt_save_ifs"
    2686       ;;
    2687     esac
    2688 else
    2689   enable_static=no
    2690 fi;
    2691 
    2692 
    2693 
    2694 echo "$as_me:$LINENO: checking for egrep" >&5
    2695 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2696 if test "${ac_cv_prog_egrep+set}" = set; then
    2697   echo $ECHO_N "(cached) $ECHO_C" >&6
    2698 else
    2699   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2700     then ac_cv_prog_egrep='grep -E'
    2701     else ac_cv_prog_egrep='egrep'
    2702     fi
    2703 fi
    2704 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2705 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2706  EGREP=$ac_cv_prog_egrep
    2707 
    2708 
    2709 am__api_version="1.9"
    2710 # Find a good install program.  We prefer a C program (faster),
    2711 # so one script is as good as another.  But avoid the broken or
    2712 # incompatible versions:
    2713 # SysV /etc/install, /usr/sbin/install
    2714 # SunOS /usr/etc/install
    2715 # IRIX /sbin/install
    2716 # AIX /bin/install
    2717 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2718 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2721 # OS/2's system install, which has a completely different semantic
    2722 # ./install, which can be erroneously created by make from ./install.sh.
    2723 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2724 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    2725 if test -z "$INSTALL"; then
    2726 if test "${ac_cv_path_install+set}" = set; then
    2727   echo $ECHO_N "(cached) $ECHO_C" >&6
    2728 else
    2729   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2730 for as_dir in $PATH
    2731 do
    2732   IFS=$as_save_IFS
    2733   test -z "$as_dir" && as_dir=.
    2734   # Account for people who put trailing slashes in PATH elements.
    2735 case $as_dir/ in
    2736   ./ | .// | /cC/* | \
    2737   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2738   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2739   /usr/ucb/* ) ;;
    2740   *)
    2741     # OSF1 and SCO ODT 3.0 have their own names for install.
    2742     # Don't use installbsd from OSF since it installs stuff as root
    2743     # by default.
    2744     for ac_prog in ginstall scoinst install; do
    2745       for ac_exec_ext in '' $ac_executable_extensions; do
    2746         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2747           if test $ac_prog = install &&
    2748             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2749             # AIX install.  It has an incompatible calling convention.
    2750             :
    2751           elif test $ac_prog = install &&
    2752             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2753             # program-specific install script used by HP pwplus--don't use.
    2754             :
    2755           else
    2756             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2757             break 3
    2758           fi
    2759         fi
    2760       done
    2761     done
    2762     ;;
    2763 esac
    2764 done
    2765 
    2766 
    2767 fi
    2768   if test "${ac_cv_path_install+set}" = set; then
    2769     INSTALL=$ac_cv_path_install
    2770   else
    2771     # As a last resort, use the slow shell script.  We don't cache a
    2772     # path for INSTALL within a source directory, because that will
    2773     # break other packages using the cache if that directory is
    2774     # removed, or if the path is relative.
    2775     INSTALL=$ac_install_sh
    2776   fi
    2777 fi
    2778 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2779 echo "${ECHO_T}$INSTALL" >&6
    2780 
    2781 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2782 # It thinks the first close brace ends the variable substitution.
    2783 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2784 
    2785 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2786 
    2787 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    2788 
    2789 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    2790 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    2791 # Just in case
    2792 sleep 1
    2793 echo timestamp > conftest.file
    2794 # Do `set' in a subshell so we don't clobber the current shell's
    2795 # arguments.  Must try -L first in case configure is actually a
    2796 # symlink; some systems play weird games with the mod time of symlinks
    2797 # (eg FreeBSD returns the mod time of the symlink's containing
    2798 # directory).
    2799 if (
    2800    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    2801    if test "$*" = "X"; then
    2802       # -L didn't work.
    2803       set X `ls -t $srcdir/configure conftest.file`
    2804    fi
    2805    rm -f conftest.file
    2806    if test "$*" != "X $srcdir/configure conftest.file" \
    2807       && test "$*" != "X conftest.file $srcdir/configure"; then
    2808 
    2809       # If neither matched, then we have a broken ls.  This can happen
    2810       # if, for instance, CONFIG_SHELL is bash and it inherits a
    2811       # broken ls alias from the environment.  This has actually
    2812       # happened.  Such a system could not be considered "sane".
    2813       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    2814 alias in your environment" >&5
    2815 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    2816 alias in your environment" >&2;}
    2817    { (exit 1); exit 1; }; }
    2818    fi
    2819 
    2820    test "$2" = conftest.file
    2821    )
    2822 then
    2823    # Ok.
    2824    :
    2825 else
    2826    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    2827 Check your system clock" >&5
    2828 echo "$as_me: error: newly created file is older than distributed files!
    2829 Check your system clock" >&2;}
    2830    { (exit 1); exit 1; }; }
    2831 fi
    2832 echo "$as_me:$LINENO: result: yes" >&5
    2833 echo "${ECHO_T}yes" >&6
    2834 test "$program_prefix" != NONE &&
    2835   program_transform_name="s,^,$program_prefix,;$program_transform_name"
    2836 # Use a double $ so make ignores it.
    2837 test "$program_suffix" != NONE &&
    2838   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    2839 # Double any \ or $.  echo might interpret backslashes.
    2840 # By default was `s,x,x', remove it if useless.
    2841 cat <<\_ACEOF >conftest.sed
    2842 s/[\\$]/&&/g;s/;s,x,x,$//
    2843 _ACEOF
    2844 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    2845 rm conftest.sed
    2846 
    2847 # expand $ac_aux_dir to an absolute path
    2848 am_aux_dir=`cd $ac_aux_dir && pwd`
    2849 
    2850 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    2851 # Use eval to expand $SHELL
    2852 if eval "$MISSING --run true"; then
    2853   am_missing_run="$MISSING --run "
    2854 else
    2855   am_missing_run=
    2856   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    2857 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2858 fi
    2859 
    2860 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    2861   # We used to keeping the `.' as first argument, in order to
    2862   # allow $(mkdir_p) to be used without argument.  As in
    2863   #   $(mkdir_p) $(somedir)
    2864   # where $(somedir) is conditionally defined.  However this is wrong
    2865   # for two reasons:
    2866   #  1. if the package is installed by a user who cannot write `.'
    2867   #     make install will fail,
    2868   #  2. the above comment should most certainly read
    2869   #     $(mkdir_p) $(DESTDIR)$(somedir)
    2870   #     so it does not work when $(somedir) is undefined and
    2871   #     $(DESTDIR) is not.
    2872   #  To support the latter case, we have to write
    2873   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    2874   #  so the `.' trick is pointless.
    2875   mkdir_p='mkdir -p --'
    2876 else
    2877   # On NextStep and OpenStep, the `mkdir' command does not
    2878   # recognize any option.  It will interpret all options as
    2879   # directories to create, and then abort because `.' already
    2880   # exists.
    2881   for d in ./-p ./--version;
    2882   do
    2883     test -d $d && rmdir $d
    2884   done
    2885   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    2886   if test -f "$ac_aux_dir/mkinstalldirs"; then
    2887     mkdir_p='$(mkinstalldirs)'
    2888   else
    2889     mkdir_p='$(install_sh) -d'
    2890   fi
    2891 fi
    2892 
    2893 for ac_prog in gawk mawk nawk awk
    2894 do
    2895   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2896 set dummy $ac_prog; ac_word=$2
    2897 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2899 if test "${ac_cv_prog_AWK+set}" = set; then
    2900   echo $ECHO_N "(cached) $ECHO_C" >&6
    2901 else
    2902   if test -n "$AWK"; then
    2903   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    2904 else
    2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2906 for as_dir in $PATH
    2907 do
    2908   IFS=$as_save_IFS
    2909   test -z "$as_dir" && as_dir=.
    2910   for ac_exec_ext in '' $ac_executable_extensions; do
    2911   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2912     ac_cv_prog_AWK="$ac_prog"
    2913     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2914     break 2
    2915   fi
    2916 done
    2917 done
    2918 
    2919 fi
    2920 fi
    2921 AWK=$ac_cv_prog_AWK
    2922 if test -n "$AWK"; then
    2923   echo "$as_me:$LINENO: result: $AWK" >&5
    2924 echo "${ECHO_T}$AWK" >&6
    2925 else
    2926   echo "$as_me:$LINENO: result: no" >&5
    2927 echo "${ECHO_T}no" >&6
    2928 fi
    2929 
    2930   test -n "$AWK" && break
    2931 done
    2932 
    2933 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2934 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2935 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2936 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2937   echo $ECHO_N "(cached) $ECHO_C" >&6
    2938 else
    2939   cat >conftest.make <<\_ACEOF
    2940 all:
    2941         @echo 'ac_maketemp="$(MAKE)"'
    2942 _ACEOF
    2943 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2944 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2945 if test -n "$ac_maketemp"; then
    2946   eval ac_cv_prog_make_${ac_make}_set=yes
    2947 else
    2948   eval ac_cv_prog_make_${ac_make}_set=no
    2949 fi
    2950 rm -f conftest.make
    2951 fi
    2952 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2953   echo "$as_me:$LINENO: result: yes" >&5
    2954 echo "${ECHO_T}yes" >&6
    2955   SET_MAKE=
    2956 else
    2957   echo "$as_me:$LINENO: result: no" >&5
    2958 echo "${ECHO_T}no" >&6
    2959   SET_MAKE="MAKE=${MAKE-make}"
    2960 fi
    2961 
    2962 rm -rf .tst 2>/dev/null
    2963 mkdir .tst 2>/dev/null
    2964 if test -d .tst; then
    2965   am__leading_dot=.
    2966 else
    2967   am__leading_dot=_
    2968 fi
    2969 rmdir .tst 2>/dev/null
    2970 
    2971 DEPDIR="${am__leading_dot}deps"
    2972 
    2973           ac_config_commands="$ac_config_commands depfiles"
    2974 
    2975 
    2976 am_make=${MAKE-make}
    2977 cat > confinc << 'END'
    2978 am__doit:
    2979         @echo done
    2980 .PHONY: am__doit
    2981 END
    2982 # If we don't find an include directive, just comment out the code.
    2983 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
    2984 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
    2985 am__include="#"
    2986 am__quote=
    2987 _am_result=none
    2988 # First try GNU make style include.
    2989 echo "include confinc" > confmf
    2990 # We grep out `Entering directory' and `Leaving directory'
    2991 # messages which can occur if `w' ends up in MAKEFLAGS.
    2992 # In particular we don't look at `^make:' because GNU make might
    2993 # be invoked under some other name (usually "gmake"), in which
    2994 # case it prints its new name instead of `make'.
    2995 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    2996    am__include=include
    2997    am__quote=
    2998    _am_result=GNU
    2999 fi
    3000 # Now try BSD make style include.
    3001 if test "$am__include" = "#"; then
    3002    echo '.include "confinc"' > confmf
    3003    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    3004       am__include=.include
    3005       am__quote="\""
    3006       _am_result=BSD
    3007    fi
    3008 fi
    3009 
    3010 
    3011 echo "$as_me:$LINENO: result: $_am_result" >&5
    3012 echo "${ECHO_T}$_am_result" >&6
    3013 rm -f confinc confmf
    3014 
    3015 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
    3016 if test "${enable_dependency_tracking+set}" = set; then
    3017   enableval="$enable_dependency_tracking"
    3018 
    3019 fi;
    3020 if test "x$enable_dependency_tracking" != xno; then
    3021   am_depcomp="$ac_aux_dir/depcomp"
    3022   AMDEPBACKSLASH='\'
    3023 fi
    3024 
    3025 
    3026 if test "x$enable_dependency_tracking" != xno; then
    3027   AMDEP_TRUE=
    3028   AMDEP_FALSE='#'
    3029 else
    3030   AMDEP_TRUE='#'
    3031   AMDEP_FALSE=
    3032 fi
    3033 
    3034 
    3035 
    3036 ac_ext=c
    3037 ac_cpp='$CPP $CPPFLAGS'
    3038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3041 if test -n "$ac_tool_prefix"; then
    3042   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    3043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    3044 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3046 if test "${ac_cv_prog_CC+set}" = set; then
    3047   echo $ECHO_N "(cached) $ECHO_C" >&6
    3048 else
    3049   if test -n "$CC"; then
    3050   ac_cv_prog_CC="$CC" # Let the user override the test.
    3051 else
    3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3053 for as_dir in $PATH
    3054 do
    3055   IFS=$as_save_IFS
    3056   test -z "$as_dir" && as_dir=.
    3057   for ac_exec_ext in '' $ac_executable_extensions; do
    3058   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3059     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    3060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3061     break 2
    3062   fi
    3063 done
    3064 done
    3065 
    3066 fi
    3067 fi
    3068 CC=$ac_cv_prog_CC
    3069 if test -n "$CC"; then
    3070   echo "$as_me:$LINENO: result: $CC" >&5
    3071 echo "${ECHO_T}$CC" >&6
    3072 else
    3073   echo "$as_me:$LINENO: result: no" >&5
    3074 echo "${ECHO_T}no" >&6
    3075 fi
    3076 
    3077 fi
    3078 if test -z "$ac_cv_prog_CC"; then
    3079   ac_ct_CC=$CC
    3080   # Extract the first word of "gcc", so it can be a program name with args.
    3081 set dummy gcc; ac_word=$2
    3082 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3085   echo $ECHO_N "(cached) $ECHO_C" >&6
    3086 else
    3087   if test -n "$ac_ct_CC"; then
    3088   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3089 else
    3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3091 for as_dir in $PATH
    3092 do
    3093   IFS=$as_save_IFS
    3094   test -z "$as_dir" && as_dir=.
    3095   for ac_exec_ext in '' $ac_executable_extensions; do
    3096   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3097     ac_cv_prog_ac_ct_CC="gcc"
    3098     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3099     break 2
    3100   fi
    3101 done
    3102 done
    3103 
    3104 fi
    3105 fi
    3106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3107 if test -n "$ac_ct_CC"; then
    3108   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3109 echo "${ECHO_T}$ac_ct_CC" >&6
    3110 else
    3111   echo "$as_me:$LINENO: result: no" >&5
    3112 echo "${ECHO_T}no" >&6
    3113 fi
    3114 
    3115   CC=$ac_ct_CC
    3116 else
    3117   CC="$ac_cv_prog_CC"
    3118 fi
    3119 
    3120 if test -z "$CC"; then
    3121   if test -n "$ac_tool_prefix"; then
    3122   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    3123 set dummy ${ac_tool_prefix}cc; ac_word=$2
    3124 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3126 if test "${ac_cv_prog_CC+set}" = set; then
    3127   echo $ECHO_N "(cached) $ECHO_C" >&6
    3128 else
    3129   if test -n "$CC"; then
    3130   ac_cv_prog_CC="$CC" # Let the user override the test.
    3131 else
    3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3133 for as_dir in $PATH
    3134 do
    3135   IFS=$as_save_IFS
    3136   test -z "$as_dir" && as_dir=.
    3137   for ac_exec_ext in '' $ac_executable_extensions; do
    3138   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3139     ac_cv_prog_CC="${ac_tool_prefix}cc"
    3140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3141     break 2
    3142   fi
    3143 done
    3144 done
    3145 
    3146 fi
    3147 fi
    3148 CC=$ac_cv_prog_CC
    3149 if test -n "$CC"; then
    3150   echo "$as_me:$LINENO: result: $CC" >&5
    3151 echo "${ECHO_T}$CC" >&6
    3152 else
    3153   echo "$as_me:$LINENO: result: no" >&5
    3154 echo "${ECHO_T}no" >&6
    3155 fi
    3156 
    3157 fi
    3158 if test -z "$ac_cv_prog_CC"; then
    3159   ac_ct_CC=$CC
    3160   # Extract the first word of "cc", so it can be a program name with args.
    3161 set dummy cc; ac_word=$2
    3162 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3165   echo $ECHO_N "(cached) $ECHO_C" >&6
    3166 else
    3167   if test -n "$ac_ct_CC"; then
    3168   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3169 else
    3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3171 for as_dir in $PATH
    3172 do
    3173   IFS=$as_save_IFS
    3174   test -z "$as_dir" && as_dir=.
    3175   for ac_exec_ext in '' $ac_executable_extensions; do
    3176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3177     ac_cv_prog_ac_ct_CC="cc"
    3178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3179     break 2
    3180   fi
    3181 done
    3182 done
    3183 
    3184 fi
    3185 fi
    3186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3187 if test -n "$ac_ct_CC"; then
    3188   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3189 echo "${ECHO_T}$ac_ct_CC" >&6
    3190 else
    3191   echo "$as_me:$LINENO: result: no" >&5
    3192 echo "${ECHO_T}no" >&6
    3193 fi
    3194 
    3195   CC=$ac_ct_CC
    3196 else
    3197   CC="$ac_cv_prog_CC"
    3198 fi
    3199 
    3200 fi
    3201 if test -z "$CC"; then
    3202   # Extract the first word of "cc", so it can be a program name with args.
    3203 set dummy cc; 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_CC+set}" = set; then
    3207   echo $ECHO_N "(cached) $ECHO_C" >&6
    3208 else
    3209   if test -n "$CC"; then
    3210   ac_cv_prog_CC="$CC" # Let the user override the test.
    3211 else
    3212   ac_prog_rejected=no
    3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3214 for as_dir in $PATH
    3215 do
    3216   IFS=$as_save_IFS
    3217   test -z "$as_dir" && as_dir=.
    3218   for ac_exec_ext in '' $ac_executable_extensions; do
    3219   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3220     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    3221        ac_prog_rejected=yes
    3222        continue
    3223      fi
    3224     ac_cv_prog_CC="cc"
    3225     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3226     break 2
    3227   fi
    3228 done
    3229 done
    3230 
    3231 if test $ac_prog_rejected = yes; then
    3232   # We found a bogon in the path, so make sure we never use it.
    3233   set dummy $ac_cv_prog_CC
    3234   shift
    3235   if test $# != 0; then
    3236     # We chose a different compiler from the bogus one.
    3237     # However, it has the same basename, so the bogon will be chosen
    3238     # first if we set CC to just the basename; use the full file name.
    3239     shift
    3240     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    3241   fi
    3242 fi
    3243 fi
    3244 fi
    3245 CC=$ac_cv_prog_CC
    3246 if test -n "$CC"; then
    3247   echo "$as_me:$LINENO: result: $CC" >&5
    3248 echo "${ECHO_T}$CC" >&6
    3249 else
    3250   echo "$as_me:$LINENO: result: no" >&5
    3251 echo "${ECHO_T}no" >&6
    3252 fi
    3253 
    3254 fi
    3255 if test -z "$CC"; then
    3256   if test -n "$ac_tool_prefix"; then
    3257   for ac_prog in cl
    3258   do
    3259     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3261 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3263 if test "${ac_cv_prog_CC+set}" = set; then
    3264   echo $ECHO_N "(cached) $ECHO_C" >&6
    3265 else
    3266   if test -n "$CC"; then
    3267   ac_cv_prog_CC="$CC" # Let the user override the test.
    3268 else
    3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3270 for as_dir in $PATH
    3271 do
    3272   IFS=$as_save_IFS
    3273   test -z "$as_dir" && as_dir=.
    3274   for ac_exec_ext in '' $ac_executable_extensions; do
    3275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3276     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3278     break 2
    3279   fi
    3280 done
    3281 done
    3282 
    3283 fi
    3284 fi
    3285 CC=$ac_cv_prog_CC
    3286 if test -n "$CC"; then
    3287   echo "$as_me:$LINENO: result: $CC" >&5
    3288 echo "${ECHO_T}$CC" >&6
    3289 else
    3290   echo "$as_me:$LINENO: result: no" >&5
    3291 echo "${ECHO_T}no" >&6
    3292 fi
    3293 
    3294     test -n "$CC" && break
    3295   done
    3296 fi
    3297 if test -z "$CC"; then
    3298   ac_ct_CC=$CC
    3299   for ac_prog in cl
    3300 do
    3301   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3302 set dummy $ac_prog; ac_word=$2
    3303 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3306   echo $ECHO_N "(cached) $ECHO_C" >&6
    3307 else
    3308   if test -n "$ac_ct_CC"; then
    3309   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3310 else
    3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3312 for as_dir in $PATH
    3313 do
    3314   IFS=$as_save_IFS
    3315   test -z "$as_dir" && as_dir=.
    3316   for ac_exec_ext in '' $ac_executable_extensions; do
    3317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3318     ac_cv_prog_ac_ct_CC="$ac_prog"
    3319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3320     break 2
    3321   fi
    3322 done
    3323 done
    3324 
    3325 fi
    3326 fi
    3327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3328 if test -n "$ac_ct_CC"; then
    3329   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3330 echo "${ECHO_T}$ac_ct_CC" >&6
    3331 else
    3332   echo "$as_me:$LINENO: result: no" >&5
    3333 echo "${ECHO_T}no" >&6
    3334 fi
    3335 
    3336   test -n "$ac_ct_CC" && break
    3337 done
    3338 
    3339   CC=$ac_ct_CC
    3340 fi
    3341 
    3342 fi
    3343 
    3344 
    3345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    3346 See \`config.log' for more details." >&5
    3347 echo "$as_me: error: no acceptable C compiler found in \$PATH
    3348 See \`config.log' for more details." >&2;}
    3349    { (exit 1); exit 1; }; }
    3350 
    3351 # Provide some information about the compiler.
    3352 echo "$as_me:$LINENO:" \
    3353      "checking for C compiler version" >&5
    3354 ac_compiler=`set X $ac_compile; echo $2`
    3355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3356   (eval $ac_compiler --version </dev/null >&5) 2>&5
    3357   ac_status=$?
    3358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3359   (exit $ac_status); }
    3360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3361   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3362   ac_status=$?
    3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3364   (exit $ac_status); }
    3365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3366   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3367   ac_status=$?
    3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3369   (exit $ac_status); }
    3370 
    33712062echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    33722063echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     
    37632454ac_compiler_gnu=$ac_cv_c_compiler_gnu
    37642455
    3765 depcc="$CC"   am_compiler_list=
    3766 
    3767 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    3768 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    3769 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     2456CFLAGS="$save_cflags"
     2457
     2458echo "$as_me:$LINENO: checking for C compiler options" >&5
     2459echo $ECHO_N "checking for C compiler options... $ECHO_C" >&6
     2460if test "${coin_cv_cflags+set}" = set; then
    37702461  echo $ECHO_N "(cached) $ECHO_C" >&6
    37712462else
    3772   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    3773   # We make a subdir and do the tests there.  Otherwise we can end up
    3774   # making bogus files that we don't know about and never remove.  For
    3775   # instance it was reported that on HP-UX the gcc test will end up
    3776   # making a dummy file named `D' -- because `-MD' means `put the output
    3777   # in D'.
    3778   mkdir conftest.dir
    3779   # Copy depcomp to subdir because otherwise we won't find it if we're
    3780   # using a relative directory.
    3781   cp "$am_depcomp" conftest.dir
    3782   cd conftest.dir
    3783   # We will build objects and dependencies in a subdirectory because
    3784   # it helps to detect inapplicable dependency modes.  For instance
    3785   # both Tru64's cc and ICC support -MD to output dependencies as a
    3786   # side effect of compilation, but ICC will put the dependencies in
    3787   # the current directory while Tru64 will put them in the object
    3788   # directory.
    3789   mkdir sub
    3790 
    3791   am_cv_CC_dependencies_compiler_type=none
    3792   if test "$am_compiler_list" = ""; then
    3793      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     2463  if test x"$CFLAGS" = x; then
     2464
     2465  coin_add_cflags=
     2466  coin_opt_cflags=
     2467  coin_dbg_cflags=
     2468  coin_warn_cflags=
     2469
     2470  if test "$GCC" = "yes"; then
     2471    case "$CC" in
     2472      icc | */icc)
     2473        ;;
     2474      *)
     2475        coin_opt_cflags="-O3 -fomit-frame-pointer"
     2476        coin_add_cflags="-pipe"
     2477        coin_dbg_cflags="-g"
     2478        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
     2479
     2480        case $build in
     2481          *-cygwin*)
     2482            CFLAGS="-mno-cygwin"
     2483            cat >conftest.$ac_ext <<_ACEOF
     2484/* confdefs.h.  */
     2485_ACEOF
     2486cat confdefs.h >>conftest.$ac_ext
     2487cat >>conftest.$ac_ext <<_ACEOF
     2488/* end confdefs.h.  */
     2489
     2490int
     2491main ()
     2492{
     2493int i=0; i++;
     2494  ;
     2495  return 0;
     2496}
     2497_ACEOF
     2498rm -f conftest.$ac_objext conftest$ac_exeext
     2499if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2500  (eval $ac_link) 2>conftest.er1
     2501  ac_status=$?
     2502  grep -v '^ *+' conftest.er1 >conftest.err
     2503  rm -f conftest.er1
     2504  cat conftest.err >&5
     2505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2506  (exit $ac_status); } &&
     2507         { ac_try='test -z "$ac_c_werror_flag"
     2508                         || test ! -s conftest.err'
     2509  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2510  (eval $ac_try) 2>&5
     2511  ac_status=$?
     2512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2513  (exit $ac_status); }; } &&
     2514         { ac_try='test -s conftest$ac_exeext'
     2515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2516  (eval $ac_try) 2>&5
     2517  ac_status=$?
     2518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2519  (exit $ac_status); }; }; then
     2520  coin_add_cflags="-mno-cygwin $coin_add_cflags"
     2521else
     2522  echo "$as_me: failed program was:" >&5
     2523sed 's/^/| /' conftest.$ac_ext >&5
     2524
     2525fi
     2526rm -f conftest.err conftest.$ac_objext \
     2527      conftest$ac_exeext conftest.$ac_ext
     2528            CFLAGS=
     2529          ;;
     2530        esac
     2531        ;;
     2532    esac
    37942533  fi
    3795   for depmode in $am_compiler_list; do
    3796     # Setup a source with many dependencies, because some compilers
    3797     # like to wrap large dependency lists on column 80 (with \), and
    3798     # we should not choose a depcomp mode which is confused by this.
    3799     #
    3800     # We need to recreate these files for each test, as the compiler may
    3801     # overwrite some of them when testing with obscure command lines.
    3802     # This happens at least with the AIX C compiler.
    3803     : > sub/conftest.c
    3804     for i in 1 2 3 4 5 6; do
    3805       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3806       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3807       # Solaris 8's {/usr,}/bin/sh.
    3808       touch sub/conftst$i.h
     2534  if test -z "$coin_opt_cflags"; then
     2535    case $build in
     2536      *-cygwin* | *-mingw*)
     2537        case "$CC" in
     2538          cl | */cl)
     2539            coin_opt_cflags='-O2'
     2540            coin_add_cflags='-nologo'
     2541            coin_dbg_cflags='-Yd'
     2542            ;;
     2543        esac
     2544        ;;
     2545      *-linux-*)
     2546        case "$CC" in
     2547          icc | */icc)
     2548            coin_opt_cflags="-O3 -ip"
     2549            coin_add_cflags=""
     2550            coin_dbg_cflags="-g"
     2551            # Check if -i_dynamic is necessary (for new glibc library)
     2552            CFLAGS=
     2553            cat >conftest.$ac_ext <<_ACEOF
     2554/* confdefs.h.  */
     2555_ACEOF
     2556cat confdefs.h >>conftest.$ac_ext
     2557cat >>conftest.$ac_ext <<_ACEOF
     2558/* end confdefs.h.  */
     2559
     2560int
     2561main ()
     2562{
     2563int i=0; i++;
     2564  ;
     2565  return 0;
     2566}
     2567_ACEOF
     2568rm -f conftest.$ac_objext conftest$ac_exeext
     2569if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2570  (eval $ac_link) 2>conftest.er1
     2571  ac_status=$?
     2572  grep -v '^ *+' conftest.er1 >conftest.err
     2573  rm -f conftest.er1
     2574  cat conftest.err >&5
     2575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2576  (exit $ac_status); } &&
     2577         { ac_try='test -z "$ac_c_werror_flag"
     2578                         || test ! -s conftest.err'
     2579  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2580  (eval $ac_try) 2>&5
     2581  ac_status=$?
     2582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2583  (exit $ac_status); }; } &&
     2584         { ac_try='test -s conftest$ac_exeext'
     2585  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2586  (eval $ac_try) 2>&5
     2587  ac_status=$?
     2588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  (exit $ac_status); }; }; then
     2590  :
     2591else
     2592  echo "$as_me: failed program was:" >&5
     2593sed 's/^/| /' conftest.$ac_ext >&5
     2594
     2595coin_add_cflags="-i_dynamic $coin_add_cflags"
     2596fi
     2597rm -f conftest.err conftest.$ac_objext \
     2598      conftest$ac_exeext conftest.$ac_ext
     2599            ;;
     2600          pgcc | */pgcc)
     2601            coin_opt_cflags="-fast"
     2602            coin_add_cflags="-Kieee -pc 64"
     2603            coin_dbg_cflags="-g"
     2604            ;;
     2605        esac
     2606        ;;
     2607      *-ibm-*)
     2608        case "$CC" in
     2609          xlc* | */xlc* | mpxlc* | */mpxlc*)
     2610            coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qhot -qtune=auto -qmaxmem=-1"
     2611            coin_add_cflags="-bmaxdata:0x80000000"
     2612            coin_dbg_cflags="-g"
     2613          ;;
     2614        esac
     2615        ;;
     2616      *-hp-*)
     2617        coin_opt_cflags="-O"
     2618        coin_add_cflags="-Ae"
     2619        coin_dbg_cflags="-g"
     2620        ;;
     2621      *-sun-*)
     2622        coin_opt_cflags="-xO4 -xtarget=native"
     2623        coin_dbg_cflags="-g"
     2624        ;;
     2625      *-sgi-*)
     2626        coin_opt_cflags="-O -OPT:Olimit=0"
     2627        coin_dbg_cflags="-g"
     2628        ;;
     2629    esac
     2630  fi
     2631
     2632  if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
     2633    coin_dbg_cflags="-g"
     2634  fi
     2635
     2636  if test "$coin_debug_compile" = "true"; then
     2637    CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
     2638  else
     2639    if test -z "$coin_opt_cflags"; then
     2640      # Try if -O option works if nothing else is set
     2641      CFLAGS="-O"
     2642      cat >conftest.$ac_ext <<_ACEOF
     2643/* confdefs.h.  */
     2644_ACEOF
     2645cat confdefs.h >>conftest.$ac_ext
     2646cat >>conftest.$ac_ext <<_ACEOF
     2647/* end confdefs.h.  */
     2648
     2649int
     2650main ()
     2651{
     2652int i=0; i++;
     2653  ;
     2654  return 0;
     2655}
     2656_ACEOF
     2657rm -f conftest.$ac_objext conftest$ac_exeext
     2658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2659  (eval $ac_link) 2>conftest.er1
     2660  ac_status=$?
     2661  grep -v '^ *+' conftest.er1 >conftest.err
     2662  rm -f conftest.er1
     2663  cat conftest.err >&5
     2664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2665  (exit $ac_status); } &&
     2666         { ac_try='test -z "$ac_c_werror_flag"
     2667                         || test ! -s conftest.err'
     2668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2669  (eval $ac_try) 2>&5
     2670  ac_status=$?
     2671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2672  (exit $ac_status); }; } &&
     2673         { ac_try='test -s conftest$ac_exeext'
     2674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2675  (eval $ac_try) 2>&5
     2676  ac_status=$?
     2677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2678  (exit $ac_status); }; }; then
     2679  coin_opt_cflags="-O"
     2680else
     2681  echo "$as_me: failed program was:" >&5
     2682sed 's/^/| /' conftest.$ac_ext >&5
     2683
     2684fi
     2685rm -f conftest.err conftest.$ac_objext \
     2686      conftest$ac_exeext conftest.$ac_ext
     2687    fi
     2688    CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $CDEFS $coin_warn_cflags"
     2689  fi
     2690fi
     2691
     2692# Try if CFLAGS works
     2693cat >conftest.$ac_ext <<_ACEOF
     2694/* confdefs.h.  */
     2695_ACEOF
     2696cat confdefs.h >>conftest.$ac_ext
     2697cat >>conftest.$ac_ext <<_ACEOF
     2698/* end confdefs.h.  */
     2699
     2700int
     2701main ()
     2702{
     2703int i=0; i++;
     2704  ;
     2705  return 0;
     2706}
     2707_ACEOF
     2708rm -f conftest.$ac_objext conftest$ac_exeext
     2709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2710  (eval $ac_link) 2>conftest.er1
     2711  ac_status=$?
     2712  grep -v '^ *+' conftest.er1 >conftest.err
     2713  rm -f conftest.er1
     2714  cat conftest.err >&5
     2715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2716  (exit $ac_status); } &&
     2717         { ac_try='test -z "$ac_c_werror_flag"
     2718                         || test ! -s conftest.err'
     2719  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2720  (eval $ac_try) 2>&5
     2721  ac_status=$?
     2722  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2723  (exit $ac_status); }; } &&
     2724         { ac_try='test -s conftest$ac_exeext'
     2725  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2726  (eval $ac_try) 2>&5
     2727  ac_status=$?
     2728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2729  (exit $ac_status); }; }; then
     2730  :
     2731else
     2732  echo "$as_me: failed program was:" >&5
     2733sed 's/^/| /' conftest.$ac_ext >&5
     2734
     2735CFLAGS=
     2736fi
     2737rm -f conftest.err conftest.$ac_objext \
     2738      conftest$ac_exeext conftest.$ac_ext
     2739if test -z "$CFLAGS"; then
     2740  { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&5
     2741echo "$as_me: WARNING: The value CFLAGS=\"$CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&2;}
     2742  CFLAGS='-O'
     2743  cat >conftest.$ac_ext <<_ACEOF
     2744/* confdefs.h.  */
     2745_ACEOF
     2746cat confdefs.h >>conftest.$ac_ext
     2747cat >>conftest.$ac_ext <<_ACEOF
     2748/* end confdefs.h.  */
     2749
     2750int
     2751main ()
     2752{
     2753int i=0; i++;
     2754  ;
     2755  return 0;
     2756}
     2757_ACEOF
     2758rm -f conftest.$ac_objext conftest$ac_exeext
     2759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2760  (eval $ac_link) 2>conftest.er1
     2761  ac_status=$?
     2762  grep -v '^ *+' conftest.er1 >conftest.err
     2763  rm -f conftest.er1
     2764  cat conftest.err >&5
     2765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2766  (exit $ac_status); } &&
     2767         { ac_try='test -z "$ac_c_werror_flag"
     2768                         || test ! -s conftest.err'
     2769  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2770  (eval $ac_try) 2>&5
     2771  ac_status=$?
     2772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2773  (exit $ac_status); }; } &&
     2774         { ac_try='test -s conftest$ac_exeext'
     2775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2776  (eval $ac_try) 2>&5
     2777  ac_status=$?
     2778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2779  (exit $ac_status); }; }; then
     2780  :
     2781else
     2782  echo "$as_me: failed program was:" >&5
     2783sed 's/^/| /' conftest.$ac_ext >&5
     2784
     2785CFLAGS=
     2786fi
     2787rm -f conftest.err conftest.$ac_objext \
     2788      conftest$ac_exeext conftest.$ac_ext
     2789  if test -z "$CFLAGS"; then
     2790    { 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
     2791echo "$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;}
     2792  fi
     2793fi
     2794coin_cv_cflags="$CFLAGS"
     2795
     2796fi
     2797echo "$as_me:$LINENO: result: $coin_cv_cflags" >&5
     2798echo "${ECHO_T}$coin_cv_cflags" >&6 # AC_CACHE_CHECK([for C compiler options CXXFLAGS]
     2799CFLAGS="$coin_cv_cflags"
     2800
     2801ac_ext=c
     2802ac_cpp='$CPP $CPPFLAGS'
     2803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2805ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2806
     2807
     2808
     2809 #Let's try if that overcomes configuration problem with VC++ 6.0
     2810ac_ext=cc
     2811ac_cpp='$CXXCPP $CPPFLAGS'
     2812ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2813ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2814ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2815
     2816
     2817
     2818
     2819coin_has_cxx=yes
     2820
     2821save_cxxflags="$CXXFLAGS"
     2822case $build in
     2823  *-cygwin* | *-mingw*)
     2824             comps="g++ cl" ;;
     2825  *-darwin*) comps="g++ c++ CC" ;;
     2826          *) comps="xlC aCC CC g++ c++ pgCC icpc" ;;
     2827esac
     2828ac_ext=cc
     2829ac_cpp='$CXXCPP $CPPFLAGS'
     2830ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2831ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2832ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2833if test -n "$ac_tool_prefix"; then
     2834  for ac_prog in $CCC $comps
     2835  do
     2836    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2837set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2838echo "$as_me:$LINENO: checking for $ac_word" >&5
     2839echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2840if test "${ac_cv_prog_CXX+set}" = set; then
     2841  echo $ECHO_N "(cached) $ECHO_C" >&6
     2842else
     2843  if test -n "$CXX"; then
     2844  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     2845else
     2846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2847for as_dir in $PATH
     2848do
     2849  IFS=$as_save_IFS
     2850  test -z "$as_dir" && as_dir=.
     2851  for ac_exec_ext in '' $ac_executable_extensions; do
     2852  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2853    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     2854    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2855    break 2
     2856  fi
     2857done
     2858done
     2859
     2860fi
     2861fi
     2862CXX=$ac_cv_prog_CXX
     2863if test -n "$CXX"; then
     2864  echo "$as_me:$LINENO: result: $CXX" >&5
     2865echo "${ECHO_T}$CXX" >&6
     2866else
     2867  echo "$as_me:$LINENO: result: no" >&5
     2868echo "${ECHO_T}no" >&6
     2869fi
     2870
     2871    test -n "$CXX" && break
     2872  done
     2873fi
     2874if test -z "$CXX"; then
     2875  ac_ct_CXX=$CXX
     2876  for ac_prog in $CCC $comps
     2877do
     2878  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2879set dummy $ac_prog; ac_word=$2
     2880echo "$as_me:$LINENO: checking for $ac_word" >&5
     2881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2882if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2883  echo $ECHO_N "(cached) $ECHO_C" >&6
     2884else
     2885  if test -n "$ac_ct_CXX"; then
     2886  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     2887else
     2888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2889for as_dir in $PATH
     2890do
     2891  IFS=$as_save_IFS
     2892  test -z "$as_dir" && as_dir=.
     2893  for ac_exec_ext in '' $ac_executable_extensions; do
     2894  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2895    ac_cv_prog_ac_ct_CXX="$ac_prog"
     2896    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2897    break 2
     2898  fi
     2899done
     2900done
     2901
     2902fi
     2903fi
     2904ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     2905if test -n "$ac_ct_CXX"; then
     2906  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2907echo "${ECHO_T}$ac_ct_CXX" >&6
     2908else
     2909  echo "$as_me:$LINENO: result: no" >&5
     2910echo "${ECHO_T}no" >&6
     2911fi
     2912
     2913  test -n "$ac_ct_CXX" && break
     2914done
     2915test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2916
     2917  CXX=$ac_ct_CXX
     2918fi
     2919
     2920
     2921# Provide some information about the compiler.
     2922echo "$as_me:$LINENO:" \
     2923     "checking for C++ compiler version" >&5
     2924ac_compiler=`set X $ac_compile; echo $2`
     2925{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2926  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2927  ac_status=$?
     2928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2929  (exit $ac_status); }
     2930{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2931  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2932  ac_status=$?
     2933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2934  (exit $ac_status); }
     2935{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2936  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2937  ac_status=$?
     2938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2939  (exit $ac_status); }
     2940
     2941echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2942echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2943if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2944  echo $ECHO_N "(cached) $ECHO_C" >&6
     2945else
     2946  cat >conftest.$ac_ext <<_ACEOF
     2947/* confdefs.h.  */
     2948_ACEOF
     2949cat confdefs.h >>conftest.$ac_ext
     2950cat >>conftest.$ac_ext <<_ACEOF
     2951/* end confdefs.h.  */
     2952
     2953int
     2954main ()
     2955{
     2956#ifndef __GNUC__
     2957       choke me
     2958#endif
     2959
     2960  ;
     2961  return 0;
     2962}
     2963_ACEOF
     2964rm -f conftest.$ac_objext
     2965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2966  (eval $ac_compile) 2>conftest.er1
     2967  ac_status=$?
     2968  grep -v '^ *+' conftest.er1 >conftest.err
     2969  rm -f conftest.er1
     2970  cat conftest.err >&5
     2971  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2972  (exit $ac_status); } &&
     2973         { ac_try='test -z "$ac_cxx_werror_flag"
     2974                         || test ! -s conftest.err'
     2975  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2976  (eval $ac_try) 2>&5
     2977  ac_status=$?
     2978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2979  (exit $ac_status); }; } &&
     2980         { ac_try='test -s conftest.$ac_objext'
     2981  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2982  (eval $ac_try) 2>&5
     2983  ac_status=$?
     2984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2985  (exit $ac_status); }; }; then
     2986  ac_compiler_gnu=yes
     2987else
     2988  echo "$as_me: failed program was:" >&5
     2989sed 's/^/| /' conftest.$ac_ext >&5
     2990
     2991ac_compiler_gnu=no
     2992fi
     2993rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2994ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     2995
     2996fi
     2997echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2998echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2999GXX=`test $ac_compiler_gnu = yes && echo yes`
     3000ac_test_CXXFLAGS=${CXXFLAGS+set}
     3001ac_save_CXXFLAGS=$CXXFLAGS
     3002CXXFLAGS="-g"
     3003echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3004echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3005if test "${ac_cv_prog_cxx_g+set}" = set; then
     3006  echo $ECHO_N "(cached) $ECHO_C" >&6
     3007else
     3008  cat >conftest.$ac_ext <<_ACEOF
     3009/* confdefs.h.  */
     3010_ACEOF
     3011cat confdefs.h >>conftest.$ac_ext
     3012cat >>conftest.$ac_ext <<_ACEOF
     3013/* end confdefs.h.  */
     3014
     3015int
     3016main ()
     3017{
     3018
     3019  ;
     3020  return 0;
     3021}
     3022_ACEOF
     3023rm -f conftest.$ac_objext
     3024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3025  (eval $ac_compile) 2>conftest.er1
     3026  ac_status=$?
     3027  grep -v '^ *+' conftest.er1 >conftest.err
     3028  rm -f conftest.er1
     3029  cat conftest.err >&5
     3030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3031  (exit $ac_status); } &&
     3032         { ac_try='test -z "$ac_cxx_werror_flag"
     3033                         || test ! -s conftest.err'
     3034  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3035  (eval $ac_try) 2>&5
     3036  ac_status=$?
     3037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3038  (exit $ac_status); }; } &&
     3039         { ac_try='test -s conftest.$ac_objext'
     3040  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3041  (eval $ac_try) 2>&5
     3042  ac_status=$?
     3043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3044  (exit $ac_status); }; }; then
     3045  ac_cv_prog_cxx_g=yes
     3046else
     3047  echo "$as_me: failed program was:" >&5
     3048sed 's/^/| /' conftest.$ac_ext >&5
     3049
     3050ac_cv_prog_cxx_g=no
     3051fi
     3052rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3053fi
     3054echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3055echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3056if test "$ac_test_CXXFLAGS" = set; then
     3057  CXXFLAGS=$ac_save_CXXFLAGS
     3058elif test $ac_cv_prog_cxx_g = yes; then
     3059  if test "$GXX" = yes; then
     3060    CXXFLAGS="-g -O2"
     3061  else
     3062    CXXFLAGS="-g"
     3063  fi
     3064else
     3065  if test "$GXX" = yes; then
     3066    CXXFLAGS="-O2"
     3067  else
     3068    CXXFLAGS=
     3069  fi
     3070fi
     3071for ac_declaration in \
     3072   '' \
     3073   'extern "C" void std::exit (int) throw (); using std::exit;' \
     3074   'extern "C" void std::exit (int); using std::exit;' \
     3075   'extern "C" void exit (int) throw ();' \
     3076   'extern "C" void exit (int);' \
     3077   'void exit (int);'
     3078do
     3079  cat >conftest.$ac_ext <<_ACEOF
     3080/* confdefs.h.  */
     3081_ACEOF
     3082cat confdefs.h >>conftest.$ac_ext
     3083cat >>conftest.$ac_ext <<_ACEOF
     3084/* end confdefs.h.  */
     3085$ac_declaration
     3086#include <stdlib.h>
     3087int
     3088main ()
     3089{
     3090exit (42);
     3091  ;
     3092  return 0;
     3093}
     3094_ACEOF
     3095rm -f conftest.$ac_objext
     3096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3097  (eval $ac_compile) 2>conftest.er1
     3098  ac_status=$?
     3099  grep -v '^ *+' conftest.er1 >conftest.err
     3100  rm -f conftest.er1
     3101  cat conftest.err >&5
     3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3103  (exit $ac_status); } &&
     3104         { ac_try='test -z "$ac_cxx_werror_flag"
     3105                         || test ! -s conftest.err'
     3106  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3107  (eval $ac_try) 2>&5
     3108  ac_status=$?
     3109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3110  (exit $ac_status); }; } &&
     3111         { ac_try='test -s conftest.$ac_objext'
     3112  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3113  (eval $ac_try) 2>&5
     3114  ac_status=$?
     3115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3116  (exit $ac_status); }; }; then
     3117  :
     3118else
     3119  echo "$as_me: failed program was:" >&5
     3120sed 's/^/| /' conftest.$ac_ext >&5
     3121
     3122continue
     3123fi
     3124rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3125  cat >conftest.$ac_ext <<_ACEOF
     3126/* confdefs.h.  */
     3127_ACEOF
     3128cat confdefs.h >>conftest.$ac_ext
     3129cat >>conftest.$ac_ext <<_ACEOF
     3130/* end confdefs.h.  */
     3131$ac_declaration
     3132int
     3133main ()
     3134{
     3135exit (42);
     3136  ;
     3137  return 0;
     3138}
     3139_ACEOF
     3140rm -f conftest.$ac_objext
     3141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3142  (eval $ac_compile) 2>conftest.er1
     3143  ac_status=$?
     3144  grep -v '^ *+' conftest.er1 >conftest.err
     3145  rm -f conftest.er1
     3146  cat conftest.err >&5
     3147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3148  (exit $ac_status); } &&
     3149         { ac_try='test -z "$ac_cxx_werror_flag"
     3150                         || test ! -s conftest.err'
     3151  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3152  (eval $ac_try) 2>&5
     3153  ac_status=$?
     3154  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3155  (exit $ac_status); }; } &&
     3156         { ac_try='test -s conftest.$ac_objext'
     3157  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3158  (eval $ac_try) 2>&5
     3159  ac_status=$?
     3160  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3161  (exit $ac_status); }; }; then
     3162  break
     3163else
     3164  echo "$as_me: failed program was:" >&5
     3165sed 's/^/| /' conftest.$ac_ext >&5
     3166
     3167fi
     3168rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3169done
     3170rm -f conftest*
     3171if test -n "$ac_declaration"; then
     3172  echo '#ifdef __cplusplus' >>confdefs.h
     3173  echo $ac_declaration      >>confdefs.h
     3174  echo '#endif'             >>confdefs.h
     3175fi
     3176
     3177ac_ext=cc
     3178ac_cpp='$CXXCPP $CPPFLAGS'
     3179ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3180ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3181ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3182
     3183CXXFLAGS="$save_cxxflags"
     3184
     3185echo "$as_me:$LINENO: checking for C++ compiler options" >&5
     3186echo $ECHO_N "checking for C++ compiler options... $ECHO_C" >&6
     3187if test "${coin_cv_cxxflags+set}" = set; then
     3188  echo $ECHO_N "(cached) $ECHO_C" >&6
     3189else
     3190  if test x"$CXXFLAGS" = x; then
     3191
     3192# ToDo decide whether we want -DNDEBUG for optimization
     3193  coin_add_cxxflags=
     3194  coin_opt_cxxflags=
     3195  coin_dbg_cxxflags=
     3196  coin_warn_cxxflags=
     3197
     3198  if test "$GXX" = "yes"; then
     3199    case "$CXX" in
     3200      icpc | */icpc)
     3201        ;;
     3202      *)
     3203# ToDo decide about unroll-loops
     3204        coin_opt_cxxflags="-O3 -fomit-frame-pointer"
     3205        coin_add_cxxflags="-pipe"
     3206        coin_dbg_cxxflags="-g"
     3207        coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion"
     3208
     3209        case $build in
     3210          *-cygwin*)
     3211            CXXFLAGS="-mno-cygwin"
     3212            cat >conftest.$ac_ext <<_ACEOF
     3213/* confdefs.h.  */
     3214_ACEOF
     3215cat confdefs.h >>conftest.$ac_ext
     3216cat >>conftest.$ac_ext <<_ACEOF
     3217/* end confdefs.h.  */
     3218
     3219int
     3220main ()
     3221{
     3222int i=0; i++;
     3223  ;
     3224  return 0;
     3225}
     3226_ACEOF
     3227rm -f conftest.$ac_objext conftest$ac_exeext
     3228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3229  (eval $ac_link) 2>conftest.er1
     3230  ac_status=$?
     3231  grep -v '^ *+' conftest.er1 >conftest.err
     3232  rm -f conftest.er1
     3233  cat conftest.err >&5
     3234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3235  (exit $ac_status); } &&
     3236         { ac_try='test -z "$ac_cxx_werror_flag"
     3237                         || test ! -s conftest.err'
     3238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3239  (eval $ac_try) 2>&5
     3240  ac_status=$?
     3241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3242  (exit $ac_status); }; } &&
     3243         { ac_try='test -s conftest$ac_exeext'
     3244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3245  (eval $ac_try) 2>&5
     3246  ac_status=$?
     3247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3248  (exit $ac_status); }; }; then
     3249  coin_add_cxxflags="-mno-cygwin $coin_add_cxxflags"
     3250else
     3251  echo "$as_me: failed program was:" >&5
     3252sed 's/^/| /' conftest.$ac_ext >&5
     3253
     3254fi
     3255rm -f conftest.err conftest.$ac_objext \
     3256      conftest$ac_exeext conftest.$ac_ext
     3257            CXXFLAGS=
     3258            ;;
     3259        esac
     3260        ;;
     3261    esac
     3262  fi
     3263  if test -z "$coin_opt_cxxflags"; then
     3264    case $build in
     3265      *-cygwin* | *-mingw*)
     3266        case "$CXX" in
     3267          cl | */cl)
     3268            coin_opt_cxxflags='-O2'
     3269            coin_add_cxxflags='-nologo -EHsc -GR -MT'
     3270            coin_dbg_cxxflags='-Yd'
     3271            ;;
     3272        esac
     3273        ;;
     3274      *-linux-*)
     3275        case "$CXX" in
     3276          icpc | */icpc)
     3277            coin_opt_cxxflags="-O3 -ip"
     3278            coin_add_cxxflags=""
     3279            coin_dbg_cxxflags="-g"
     3280            # Check if -i_dynamic is necessary (for new glibc library)
     3281            CXXFLAGS=
     3282            cat >conftest.$ac_ext <<_ACEOF
     3283/* confdefs.h.  */
     3284_ACEOF
     3285cat confdefs.h >>conftest.$ac_ext
     3286cat >>conftest.$ac_ext <<_ACEOF
     3287/* end confdefs.h.  */
     3288
     3289int
     3290main ()
     3291{
     3292int i=0; i++;
     3293  ;
     3294  return 0;
     3295}
     3296_ACEOF
     3297rm -f conftest.$ac_objext conftest$ac_exeext
     3298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3299  (eval $ac_link) 2>conftest.er1
     3300  ac_status=$?
     3301  grep -v '^ *+' conftest.er1 >conftest.err
     3302  rm -f conftest.er1
     3303  cat conftest.err >&5
     3304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3305  (exit $ac_status); } &&
     3306         { ac_try='test -z "$ac_cxx_werror_flag"
     3307                         || test ! -s conftest.err'
     3308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3309  (eval $ac_try) 2>&5
     3310  ac_status=$?
     3311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3312  (exit $ac_status); }; } &&
     3313         { ac_try='test -s conftest$ac_exeext'
     3314  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3315  (eval $ac_try) 2>&5
     3316  ac_status=$?
     3317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3318  (exit $ac_status); }; }; then
     3319  :
     3320else
     3321  echo "$as_me: failed program was:" >&5
     3322sed 's/^/| /' conftest.$ac_ext >&5
     3323
     3324coin_add_cxxflags="-i_dynamic $coin_add_cxxflags"
     3325fi
     3326rm -f conftest.err conftest.$ac_objext \
     3327      conftest$ac_exeext conftest.$ac_ext
     3328            ;;
     3329          pgCC | */pgCC)
     3330            coin_opt_cxxflags="-fast"
     3331            coin_add_cxxflags="-Kieee -pc 64"
     3332            coin_dbg_cxxflags="-g"
     3333            ;;
     3334        esac
     3335        ;;
     3336      *-ibm-*)
     3337        case "$CXX" in
     3338          xlC* | */xlC* | mpxlC* | */mpxlC*)
     3339            coin_opt_cxxflags="-O3 -qarch=auto -qcache=auto -qhot -qtune=auto -qmaxmem=-1"
     3340            coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna"
     3341            coin_dbg_cxxflags="-g"
     3342            ;;
     3343        esac
     3344        ;;
     3345      *-hp-*)
     3346        case "$CXX" in
     3347          aCC | */aCC )
     3348            coin_opt_cxxflags="-O"
     3349            coin_add_cxxflags="-AA"
     3350            coin_dbg_cxxflags="-g"
     3351            ;;
     3352        esac
     3353        ;;
     3354      *-sun-*)
     3355          coin_opt_cxxflags="-O4 -xtarget=native"
     3356          coin_dbg_cxxflags="-g"
     3357        ;;
     3358    esac
     3359  fi
     3360
     3361  if test "$ac_cv_prog_cxx_g" = yes && test -z "$coin_dbg_cxxflags" ; then
     3362    coin_dbg_cxxflags="-g"
     3363  fi
     3364
     3365  if test "$coin_debug_compile" = "true"; then
     3366    CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags"
     3367  else
     3368    if test -z "$coin_opt_cxxflags"; then
     3369      # Try if -O option works if nothing else is set
     3370      CXXFLAGS="-O"
     3371      cat >conftest.$ac_ext <<_ACEOF
     3372/* confdefs.h.  */
     3373_ACEOF
     3374cat confdefs.h >>conftest.$ac_ext
     3375cat >>conftest.$ac_ext <<_ACEOF
     3376/* end confdefs.h.  */
     3377
     3378int
     3379main ()
     3380{
     3381int i=0; i++;
     3382  ;
     3383  return 0;
     3384}
     3385_ACEOF
     3386rm -f conftest.$ac_objext conftest$ac_exeext
     3387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3388  (eval $ac_link) 2>conftest.er1
     3389  ac_status=$?
     3390  grep -v '^ *+' conftest.er1 >conftest.err
     3391  rm -f conftest.er1
     3392  cat conftest.err >&5
     3393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3394  (exit $ac_status); } &&
     3395         { ac_try='test -z "$ac_cxx_werror_flag"
     3396                         || test ! -s conftest.err'
     3397  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3398  (eval $ac_try) 2>&5
     3399  ac_status=$?
     3400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3401  (exit $ac_status); }; } &&
     3402         { ac_try='test -s conftest$ac_exeext'
     3403  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3404  (eval $ac_try) 2>&5
     3405  ac_status=$?
     3406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3407  (exit $ac_status); }; }; then
     3408  coin_opt_cxxflags="-O"
     3409else
     3410  echo "$as_me: failed program was:" >&5
     3411sed 's/^/| /' conftest.$ac_ext >&5
     3412
     3413fi
     3414rm -f conftest.err conftest.$ac_objext \
     3415      conftest$ac_exeext conftest.$ac_ext
     3416    fi
     3417    CXXFLAGS="$coin_opt_cxxflags $coin_add_cxxflags -DNDEBUG $CXXDEFS $coin_warn_cxxflags"
     3418  fi
     3419fi
     3420
     3421# Try if CXXFLAGS works
     3422cat >conftest.$ac_ext <<_ACEOF
     3423/* confdefs.h.  */
     3424_ACEOF
     3425cat confdefs.h >>conftest.$ac_ext
     3426cat >>conftest.$ac_ext <<_ACEOF
     3427/* end confdefs.h.  */
     3428
     3429int
     3430main ()
     3431{
     3432int i=0; i++;
     3433  ;
     3434  return 0;
     3435}
     3436_ACEOF
     3437rm -f conftest.$ac_objext conftest$ac_exeext
     3438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3439  (eval $ac_link) 2>conftest.er1
     3440  ac_status=$?
     3441  grep -v '^ *+' conftest.er1 >conftest.err
     3442  rm -f conftest.er1
     3443  cat conftest.err >&5
     3444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3445  (exit $ac_status); } &&
     3446         { ac_try='test -z "$ac_cxx_werror_flag"
     3447                         || test ! -s conftest.err'
     3448  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3449  (eval $ac_try) 2>&5
     3450  ac_status=$?
     3451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3452  (exit $ac_status); }; } &&
     3453         { ac_try='test -s conftest$ac_exeext'
     3454  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3455  (eval $ac_try) 2>&5
     3456  ac_status=$?
     3457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3458  (exit $ac_status); }; }; then
     3459  :
     3460else
     3461  echo "$as_me: failed program was:" >&5
     3462sed 's/^/| /' conftest.$ac_ext >&5
     3463
     3464CXXFLAGS=
     3465fi
     3466rm -f conftest.err conftest.$ac_objext \
     3467      conftest$ac_exeext conftest.$ac_ext
     3468if test -z "$CXXFLAGS"; then
     3469  { echo "$as_me:$LINENO: WARNING: The flags CXXFLAGS=\"$CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&5
     3470echo "$as_me: WARNING: The flags CXXFLAGS=\"$CXXFLAGS\" do not work.  I will now just try '-O', but you might want to set CXXFLAGS manually." >&2;}
     3471  CXXFLAGS='-O'
     3472  cat >conftest.$ac_ext <<_ACEOF
     3473/* confdefs.h.  */
     3474_ACEOF
     3475cat confdefs.h >>conftest.$ac_ext
     3476cat >>conftest.$ac_ext <<_ACEOF
     3477/* end confdefs.h.  */
     3478
     3479int
     3480main ()
     3481{
     3482int i=0; i++;
     3483  ;
     3484  return 0;
     3485}
     3486_ACEOF
     3487rm -f conftest.$ac_objext conftest$ac_exeext
     3488if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3489  (eval $ac_link) 2>conftest.er1
     3490  ac_status=$?
     3491  grep -v '^ *+' conftest.er1 >conftest.err
     3492  rm -f conftest.er1
     3493  cat conftest.err >&5
     3494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3495  (exit $ac_status); } &&
     3496         { ac_try='test -z "$ac_cxx_werror_flag"
     3497                         || test ! -s conftest.err'
     3498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3499  (eval $ac_try) 2>&5
     3500  ac_status=$?
     3501  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3502  (exit $ac_status); }; } &&
     3503         { ac_try='test -s conftest$ac_exeext'
     3504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3505  (eval $ac_try) 2>&5
     3506  ac_status=$?
     3507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3508  (exit $ac_status); }; }; then
     3509  :
     3510else
     3511  echo "$as_me: failed program was:" >&5
     3512sed 's/^/| /' conftest.$ac_ext >&5
     3513
     3514CXXFLAGS=
     3515fi
     3516rm -f conftest.err conftest.$ac_objext \
     3517      conftest$ac_exeext conftest.$ac_ext
     3518  if test -z "$CXXFLAGS"; then
     3519    { 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
     3520echo "$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;}
     3521  fi
     3522fi
     3523coin_cv_cxxflags="$CXXFLAGS"
     3524
     3525fi
     3526echo "$as_me:$LINENO: result: $coin_cv_cxxflags" >&5
     3527echo "${ECHO_T}$coin_cv_cxxflags" >&6 # AC_CACHE_CHECK([for C++ compiler options CXXFLAGS]
     3528CXXFLAGS="$coin_cv_cxxflags"
     3529
     3530ac_ext=c
     3531ac_cpp='$CPP $CPPFLAGS'
     3532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3534ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3535
     3536
     3537
     3538# Initialize automake and libtool
     3539
     3540# On Cygwin, building DLLs doesn't work
     3541case $build in
     3542  *-cygwin*)
     3543    coin_disable_shared=yes
     3544  ;;
     3545  *-mingw*)
     3546    case $CXX in
     3547      cl)
     3548        coin_disable_shared=yes
     3549    ;;
     3550    esac
     3551  ;;
     3552esac
     3553if test x"$coin_disable_shared" = xyes; then
     3554  if test x"$enable_shared" = xyes; then
     3555    { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
     3556echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
     3557  fi
     3558  enable_shared=no
     3559fi
     3560# By default, we only want the shared objects to be compiled
     3561# Check whether --enable-static or --disable-static was given.
     3562if test "${enable_static+set}" = set; then
     3563  enableval="$enable_static"
     3564  p=${PACKAGE-default}
     3565    case $enableval in
     3566    yes) enable_static=yes ;;
     3567    no) enable_static=no ;;
     3568    *)
     3569     enable_static=no
     3570      # Look at the argument we got.  We use all the common list separators.
     3571      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     3572      for pkg in $enableval; do
     3573        IFS="$lt_save_ifs"
     3574        if test "X$pkg" = "X$p"; then
     3575          enable_static=yes
     3576        fi
     3577      done
     3578      IFS="$lt_save_ifs"
     3579      ;;
     3580    esac
     3581else
     3582  enable_static=no
     3583fi;
     3584
     3585
     3586
     3587echo "$as_me:$LINENO: checking for egrep" >&5
     3588echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3589if test "${ac_cv_prog_egrep+set}" = set; then
     3590  echo $ECHO_N "(cached) $ECHO_C" >&6
     3591else
     3592  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3593    then ac_cv_prog_egrep='grep -E'
     3594    else ac_cv_prog_egrep='egrep'
     3595    fi
     3596fi
     3597echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3598echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3599 EGREP=$ac_cv_prog_egrep
     3600
     3601
     3602am__api_version="1.9"
     3603# Find a good install program.  We prefer a C program (faster),
     3604# so one script is as good as another.  But avoid the broken or
     3605# incompatible versions:
     3606# SysV /etc/install, /usr/sbin/install
     3607# SunOS /usr/etc/install
     3608# IRIX /sbin/install
     3609# AIX /bin/install
     3610# AmigaOS /C/install, which installs bootblocks on floppy discs
     3611# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     3612# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     3613# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     3614# OS/2's system install, which has a completely different semantic
     3615# ./install, which can be erroneously created by make from ./install.sh.
     3616echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3617echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3618if test -z "$INSTALL"; then
     3619if test "${ac_cv_path_install+set}" = set; then
     3620  echo $ECHO_N "(cached) $ECHO_C" >&6
     3621else
     3622  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3623for as_dir in $PATH
     3624do
     3625  IFS=$as_save_IFS
     3626  test -z "$as_dir" && as_dir=.
     3627  # Account for people who put trailing slashes in PATH elements.
     3628case $as_dir/ in
     3629  ./ | .// | /cC/* | \
     3630  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3631  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3632  /usr/ucb/* ) ;;
     3633  *)
     3634    # OSF1 and SCO ODT 3.0 have their own names for install.
     3635    # Don't use installbsd from OSF since it installs stuff as root
     3636    # by default.
     3637    for ac_prog in ginstall scoinst install; do
     3638      for ac_exec_ext in '' $ac_executable_extensions; do
     3639        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3640          if test $ac_prog = install &&
     3641            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3642            # AIX install.  It has an incompatible calling convention.
     3643            :
     3644          elif test $ac_prog = install &&
     3645            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3646            # program-specific install script used by HP pwplus--don't use.
     3647            :
     3648          else
     3649            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3650            break 3
     3651          fi
     3652        fi
     3653      done
    38093654    done
    3810     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    3811 
    3812     case $depmode in
    3813     nosideeffect)
    3814       # after this tag, mechanisms are not by side-effect, so they'll
    3815       # only be used when explicitly requested
    3816       if test "x$enable_dependency_tracking" = xyes; then
    3817         continue
    3818       else
    3819         break
    3820       fi
    3821       ;;
    3822     none) break ;;
    3823     esac
    3824     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    3825     # mode.  It turns out that the SunPro C++ compiler does not properly
    3826     # handle `-M -o', and we need to detect this.
    3827     if depmode=$depmode \
    3828        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    3829        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    3830        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    3831          >/dev/null 2>conftest.err &&
    3832        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    3833        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    3834        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    3835       # icc doesn't choke on unknown options, it will just issue warnings
    3836       # or remarks (even with -Werror).  So we grep stderr for any message
    3837       # that says an option was ignored or not supported.
    3838       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3839       #   icc: Command line warning: ignoring option '-M'; no argument required
    3840       # The diagnosis changed in icc 8.0:
    3841       #   icc: Command line remark: option '-MP' not supported
    3842       if (grep 'ignoring option' conftest.err ||
    3843           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    3844         am_cv_CC_dependencies_compiler_type=$depmode
    3845         break
    3846       fi
    3847     fi
     3655    ;;
     3656esac
     3657done
     3658
     3659
     3660fi
     3661  if test "${ac_cv_path_install+set}" = set; then
     3662    INSTALL=$ac_cv_path_install
     3663  else
     3664    # As a last resort, use the slow shell script.  We don't cache a
     3665    # path for INSTALL within a source directory, because that will
     3666    # break other packages using the cache if that directory is
     3667    # removed, or if the path is relative.
     3668    INSTALL=$ac_install_sh
     3669  fi
     3670fi
     3671echo "$as_me:$LINENO: result: $INSTALL" >&5
     3672echo "${ECHO_T}$INSTALL" >&6
     3673
     3674# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     3675# It thinks the first close brace ends the variable substitution.
     3676test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     3677
     3678test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     3679
     3680test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     3681
     3682echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     3683echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
     3684# Just in case
     3685sleep 1
     3686echo timestamp > conftest.file
     3687# Do `set' in a subshell so we don't clobber the current shell's
     3688# arguments.  Must try -L first in case configure is actually a
     3689# symlink; some systems play weird games with the mod time of symlinks
     3690# (eg FreeBSD returns the mod time of the symlink's containing
     3691# directory).
     3692if (
     3693   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     3694   if test "$*" = "X"; then
     3695      # -L didn't work.
     3696      set X `ls -t $srcdir/configure conftest.file`
     3697   fi
     3698   rm -f conftest.file
     3699   if test "$*" != "X $srcdir/configure conftest.file" \
     3700      && test "$*" != "X conftest.file $srcdir/configure"; then
     3701
     3702      # If neither matched, then we have a broken ls.  This can happen
     3703      # if, for instance, CONFIG_SHELL is bash and it inherits a
     3704      # broken ls alias from the environment.  This has actually
     3705      # happened.  Such a system could not be considered "sane".
     3706      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     3707alias in your environment" >&5
     3708echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     3709alias in your environment" >&2;}
     3710   { (exit 1); exit 1; }; }
     3711   fi
     3712
     3713   test "$2" = conftest.file
     3714   )
     3715then
     3716   # Ok.
     3717   :
     3718else
     3719   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     3720Check your system clock" >&5
     3721echo "$as_me: error: newly created file is older than distributed files!
     3722Check your system clock" >&2;}
     3723   { (exit 1); exit 1; }; }
     3724fi
     3725echo "$as_me:$LINENO: result: yes" >&5
     3726echo "${ECHO_T}yes" >&6
     3727test "$program_prefix" != NONE &&
     3728  program_transform_name="s,^,$program_prefix,;$program_transform_name"
     3729# Use a double $ so make ignores it.
     3730test "$program_suffix" != NONE &&
     3731  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     3732# Double any \ or $.  echo might interpret backslashes.
     3733# By default was `s,x,x', remove it if useless.
     3734cat <<\_ACEOF >conftest.sed
     3735s/[\\$]/&&/g;s/;s,x,x,$//
     3736_ACEOF
     3737program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     3738rm conftest.sed
     3739
     3740# expand $ac_aux_dir to an absolute path
     3741am_aux_dir=`cd $ac_aux_dir && pwd`
     3742
     3743test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     3744# Use eval to expand $SHELL
     3745if eval "$MISSING --run true"; then
     3746  am_missing_run="$MISSING --run "
     3747else
     3748  am_missing_run=
     3749  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     3750echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     3751fi
     3752
     3753if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     3754  # We used to keeping the `.' as first argument, in order to
     3755  # allow $(mkdir_p) to be used without argument.  As in
     3756  #   $(mkdir_p) $(somedir)
     3757  # where $(somedir) is conditionally defined.  However this is wrong
     3758  # for two reasons:
     3759  #  1. if the package is installed by a user who cannot write `.'
     3760  #     make install will fail,
     3761  #  2. the above comment should most certainly read
     3762  #     $(mkdir_p) $(DESTDIR)$(somedir)
     3763  #     so it does not work when $(somedir) is undefined and
     3764  #     $(DESTDIR) is not.
     3765  #  To support the latter case, we have to write
     3766  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
     3767  #  so the `.' trick is pointless.
     3768  mkdir_p='mkdir -p --'
     3769else
     3770  # On NextStep and OpenStep, the `mkdir' command does not
     3771  # recognize any option.  It will interpret all options as
     3772  # directories to create, and then abort because `.' already
     3773  # exists.
     3774  for d in ./-p ./--version;
     3775  do
     3776    test -d $d && rmdir $d
    38483777  done
    3849 
    3850   cd ..
    3851   rm -rf conftest.dir
    3852 else
    3853   am_cv_CC_dependencies_compiler_type=none
    3854 fi
    3855 
    3856 fi
    3857 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    3858 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    3859 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    3860 
    3861 
    3862 
    3863 if
    3864   test "x$enable_dependency_tracking" != xno \
    3865   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    3866   am__fastdepCC_TRUE=
    3867   am__fastdepCC_FALSE='#'
    3868 else
    3869   am__fastdepCC_TRUE='#'
    3870   am__fastdepCC_FALSE=
     3778  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     3779  if test -f "$ac_aux_dir/mkinstalldirs"; then
     3780    mkdir_p='$(mkinstalldirs)'
     3781  else
     3782    mkdir_p='$(install_sh) -d'
     3783  fi
     3784fi
     3785
     3786for ac_prog in gawk mawk nawk awk
     3787do
     3788  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3789set dummy $ac_prog; ac_word=$2
     3790echo "$as_me:$LINENO: checking for $ac_word" >&5
     3791echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3792if test "${ac_cv_prog_AWK+set}" = set; then
     3793  echo $ECHO_N "(cached) $ECHO_C" >&6
     3794else
     3795  if test -n "$AWK"; then
     3796  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3797else
     3798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3799for as_dir in $PATH
     3800do
     3801  IFS=$as_save_IFS
     3802  test -z "$as_dir" && as_dir=.
     3803  for ac_exec_ext in '' $ac_executable_extensions; do
     3804  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3805    ac_cv_prog_AWK="$ac_prog"
     3806    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3807    break 2
     3808  fi
     3809done
     3810done
     3811
     3812fi
     3813fi
     3814AWK=$ac_cv_prog_AWK
     3815if test -n "$AWK"; then
     3816  echo "$as_me:$LINENO: result: $AWK" >&5
     3817echo "${ECHO_T}$AWK" >&6
     3818else
     3819  echo "$as_me:$LINENO: result: no" >&5
     3820echo "${ECHO_T}no" >&6
     3821fi
     3822
     3823  test -n "$AWK" && break
     3824done
     3825
     3826echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3827echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3828set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3829if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3830  echo $ECHO_N "(cached) $ECHO_C" >&6
     3831else
     3832  cat >conftest.make <<\_ACEOF
     3833all:
     3834        @echo 'ac_maketemp="$(MAKE)"'
     3835_ACEOF
     3836# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3837eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3838if test -n "$ac_maketemp"; then
     3839  eval ac_cv_prog_make_${ac_make}_set=yes
     3840else
     3841  eval ac_cv_prog_make_${ac_make}_set=no
     3842fi
     3843rm -f conftest.make
     3844fi
     3845if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3846  echo "$as_me:$LINENO: result: yes" >&5
     3847echo "${ECHO_T}yes" >&6
     3848  SET_MAKE=
     3849else
     3850  echo "$as_me:$LINENO: result: no" >&5
     3851echo "${ECHO_T}no" >&6
     3852  SET_MAKE="MAKE=${MAKE-make}"
     3853fi
     3854
     3855rm -rf .tst 2>/dev/null
     3856mkdir .tst 2>/dev/null
     3857if test -d .tst; then
     3858  am__leading_dot=.
     3859else
     3860  am__leading_dot=_
     3861fi
     3862rmdir .tst 2>/dev/null
     3863
     3864DEPDIR="${am__leading_dot}deps"
     3865
     3866          ac_config_commands="$ac_config_commands depfiles"
     3867
     3868
     3869am_make=${MAKE-make}
     3870cat > confinc << 'END'
     3871am__doit:
     3872        @echo done
     3873.PHONY: am__doit
     3874END
     3875# If we don't find an include directive, just comment out the code.
     3876echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     3877echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
     3878am__include="#"
     3879am__quote=
     3880_am_result=none
     3881# First try GNU make style include.
     3882echo "include confinc" > confmf
     3883# We grep out `Entering directory' and `Leaving directory'
     3884# messages which can occur if `w' ends up in MAKEFLAGS.
     3885# In particular we don't look at `^make:' because GNU make might
     3886# be invoked under some other name (usually "gmake"), in which
     3887# case it prints its new name instead of `make'.
     3888if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     3889   am__include=include
     3890   am__quote=
     3891   _am_result=GNU
     3892fi
     3893# Now try BSD make style include.
     3894if test "$am__include" = "#"; then
     3895   echo '.include "confinc"' > confmf
     3896   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     3897      am__include=.include
     3898      am__quote="\""
     3899      _am_result=BSD
     3900   fi
     3901fi
     3902
     3903
     3904echo "$as_me:$LINENO: result: $_am_result" >&5
     3905echo "${ECHO_T}$_am_result" >&6
     3906rm -f confinc confmf
     3907
     3908# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
     3909if test "${enable_dependency_tracking+set}" = set; then
     3910  enableval="$enable_dependency_tracking"
     3911
     3912fi;
     3913if test "x$enable_dependency_tracking" != xno; then
     3914  am_depcomp="$ac_aux_dir/depcomp"
     3915  AMDEPBACKSLASH='\'
     3916fi
     3917
     3918
     3919if test "x$enable_dependency_tracking" != xno; then
     3920  AMDEP_TRUE=
     3921  AMDEP_FALSE='#'
     3922else
     3923  AMDEP_TRUE='#'
     3924  AMDEP_FALSE=
    38713925fi
    38723926
     
    39464000
    39474001
    3948 ac_ext=cc
    3949 ac_cpp='$CXXCPP $CPPFLAGS'
    3950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     4002ac_ext=c
     4003ac_cpp='$CPP $CPPFLAGS'
     4004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4006ac_compiler_gnu=$ac_cv_c_compiler_gnu
    39534007
    39544008
     
    45014555*-*-irix6*)
    45024556  # Find out which ABI we are using.
    4503   echo '#line 4503 "configure"' > conftest.$ac_ext
     4557  echo '#line 4557 "configure"' > conftest.$ac_ext
    45044558  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    45054559  (eval $ac_compile) 2>&5
     
    56355689
    56365690# Provide some information about the compiler.
    5637 echo "$as_me:5637:" \
     5691echo "$as_me:5691:" \
    56385692     "checking for Fortran 77 compiler version" >&5
    56395693ac_compiler=`set X $ac_compile; echo $2`
     
    57735827
    57745828G77=`test $ac_compiler_gnu = yes && echo yes`
    5775 ac_ext=cc
    5776 ac_cpp='$CXXCPP $CPPFLAGS'
    5777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     5829ac_ext=c
     5830ac_cpp='$CPP $CPPFLAGS'
     5831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5833ac_compiler_gnu=$ac_cv_c_compiler_gnu
    57805834
    57815835
     
    67026756   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    67036757   -e 's:$: $lt_compiler_flag:'`
    6704    (eval echo "\"\$as_me:6704: $lt_compile\"" >&5)
     6758   (eval echo "\"\$as_me:6758: $lt_compile\"" >&5)
    67056759   (eval "$lt_compile" 2>conftest.err)
    67066760   ac_status=$?
    67076761   cat conftest.err >&5
    6708    echo "$as_me:6708: \$? = $ac_status" >&5
     6762   echo "$as_me:6762: \$? = $ac_status" >&5
    67096763   if (exit $ac_status) && test -s "$ac_outfile"; then
    67106764     # The compiler can only warn and ignore the option if not recognized
     
    69707024   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69717025   -e 's:$: $lt_compiler_flag:'`
    6972    (eval echo "\"\$as_me:6972: $lt_compile\"" >&5)
     7026   (eval echo "\"\$as_me:7026: $lt_compile\"" >&5)
    69737027   (eval "$lt_compile" 2>conftest.err)
    69747028   ac_status=$?
    69757029   cat conftest.err >&5
    6976    echo "$as_me:6976: \$? = $ac_status" >&5
     7030   echo "$as_me:7030: \$? = $ac_status" >&5
    69777031   if (exit $ac_status) && test -s "$ac_outfile"; then
    69787032     # The compiler can only warn and ignore the option if not recognized
     
    70747128   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70757129   -e 's:$: $lt_compiler_flag:'`
    7076    (eval echo "\"\$as_me:7076: $lt_compile\"" >&5)
     7130   (eval echo "\"\$as_me:7130: $lt_compile\"" >&5)
    70777131   (eval "$lt_compile" 2>out/conftest.err)
    70787132   ac_status=$?
    70797133   cat out/conftest.err >&5
    7080    echo "$as_me:7080: \$? = $ac_status" >&5
     7134   echo "$as_me:7134: \$? = $ac_status" >&5
    70817135   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    70827136   then
     
    94199473  lt_status=$lt_dlunknown
    94209474  cat > conftest.$ac_ext <<EOF
    9421 #line 9421 "configure"
     9475#line 9475 "configure"
    94229476#include "confdefs.h"
    94239477
     
    95199573  lt_status=$lt_dlunknown
    95209574  cat > conftest.$ac_ext <<EOF
    9521 #line 9521 "configure"
     9575#line 9575 "configure"
    95229576#include "confdefs.h"
    95239577
     
    1014310197
    1014410198
    10145 ac_ext=cc
    10146 ac_cpp='$CXXCPP $CPPFLAGS'
    10147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    10148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    10149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     10199ac_ext=c
     10200ac_cpp='$CPP $CPPFLAGS'
     10201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     10202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     10203ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1015010204
    1015110205CC="$lt_save_CC"
     
    1186311917   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1186411918   -e 's:$: $lt_compiler_flag:'`
    11865    (eval echo "\"\$as_me:11865: $lt_compile\"" >&5)
     11919   (eval echo "\"\$as_me:11919: $lt_compile\"" >&5)
    1186611920   (eval "$lt_compile" 2>conftest.err)
    1186711921   ac_status=$?
    1186811922   cat conftest.err >&5
    11869    echo "$as_me:11869: \$? = $ac_status" >&5
     11923   echo "$as_me:11923: \$? = $ac_status" >&5
    1187011924   if (exit $ac_status) && test -s "$ac_outfile"; then
    1187111925     # The compiler can only warn and ignore the option if not recognized
     
    1196712021   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1196812022   -e 's:$: $lt_compiler_flag:'`
    11969    (eval echo "\"\$as_me:11969: $lt_compile\"" >&5)
     12023   (eval echo "\"\$as_me:12023: $lt_compile\"" >&5)
    1197012024   (eval "$lt_compile" 2>out/conftest.err)
    1197112025   ac_status=$?
    1197212026   cat out/conftest.err >&5
    11973    echo "$as_me:11973: \$? = $ac_status" >&5
     12027   echo "$as_me:12027: \$? = $ac_status" >&5
    1197412028   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1197512029   then
     
    1315413208
    1315513209
    13156 ac_ext=cc
    13157 ac_cpp='$CXXCPP $CPPFLAGS'
    13158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     13210ac_ext=c
     13211ac_cpp='$CPP $CPPFLAGS'
     13212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13214ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1316113215
    1316213216CC=$lt_save_CC
     
    1353713591   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1353813592   -e 's:$: $lt_compiler_flag:'`
    13539    (eval echo "\"\$as_me:13539: $lt_compile\"" >&5)
     13593   (eval echo "\"\$as_me:13593: $lt_compile\"" >&5)
    1354013594   (eval "$lt_compile" 2>conftest.err)
    1354113595   ac_status=$?
    1354213596   cat conftest.err >&5
    13543    echo "$as_me:13543: \$? = $ac_status" >&5
     13597   echo "$as_me:13597: \$? = $ac_status" >&5
    1354413598   if (exit $ac_status) && test -s "$ac_outfile"; then
    1354513599     # The compiler can only warn and ignore the option if not recognized
     
    1364113695   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1364213696   -e 's:$: $lt_compiler_flag:'`
    13643    (eval echo "\"\$as_me:13643: $lt_compile\"" >&5)
     13697   (eval echo "\"\$as_me:13697: $lt_compile\"" >&5)
    1364413698   (eval "$lt_compile" 2>out/conftest.err)
    1364513699   ac_status=$?
    1364613700   cat out/conftest.err >&5
    13647    echo "$as_me:13647: \$? = $ac_status" >&5
     13701   echo "$as_me:13701: \$? = $ac_status" >&5
    1364813702   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1364913703   then
     
    1574115795
    1574215796
    15743 ac_ext=cc
    15744 ac_cpp='$CXXCPP $CPPFLAGS'
    15745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     15797ac_ext=c
     15798ac_cpp='$CPP $CPPFLAGS'
     15799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     15800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     15801ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1574815802
    1574915803CC="$lt_save_CC"
     
    1584815902   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1584915903   -e 's:$: $lt_compiler_flag:'`
    15850    (eval echo "\"\$as_me:15850: $lt_compile\"" >&5)
     15904   (eval echo "\"\$as_me:15904: $lt_compile\"" >&5)
    1585115905   (eval "$lt_compile" 2>conftest.err)
    1585215906   ac_status=$?
    1585315907   cat conftest.err >&5
    15854    echo "$as_me:15854: \$? = $ac_status" >&5
     15908   echo "$as_me:15908: \$? = $ac_status" >&5
    1585515909   if (exit $ac_status) && test -s "$ac_outfile"; then
    1585615910     # The compiler can only warn and ignore the option if not recognized
     
    1611616170   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1611716171   -e 's:$: $lt_compiler_flag:'`
    16118    (eval echo "\"\$as_me:16118: $lt_compile\"" >&5)
     16172   (eval echo "\"\$as_me:16172: $lt_compile\"" >&5)
    1611916173   (eval "$lt_compile" 2>conftest.err)
    1612016174   ac_status=$?
    1612116175   cat conftest.err >&5
    16122    echo "$as_me:16122: \$? = $ac_status" >&5
     16176   echo "$as_me:16176: \$? = $ac_status" >&5
    1612316177   if (exit $ac_status) && test -s "$ac_outfile"; then
    1612416178     # The compiler can only warn and ignore the option if not recognized
     
    1622016274   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1622116275   -e 's:$: $lt_compiler_flag:'`
    16222    (eval echo "\"\$as_me:16222: $lt_compile\"" >&5)
     16276   (eval echo "\"\$as_me:16276: $lt_compile\"" >&5)
    1622316277   (eval "$lt_compile" 2>out/conftest.err)
    1622416278   ac_status=$?
    1622516279   cat out/conftest.err >&5
    16226    echo "$as_me:16226: \$? = $ac_status" >&5
     16280   echo "$as_me:16280: \$? = $ac_status" >&5
    1622716281   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1622816282   then
     
    1669616750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1669716751  (exit $ac_status); } &&
    16698          { ac_try='test -z "$ac_cxx_werror_flag"
     16752         { ac_try='test -z "$ac_c_werror_flag"
    1669916753                         || test ! -s conftest.err'
    1670016754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    1675716811  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1675816812  (exit $ac_status); } &&
    16759          { ac_try='test -z "$ac_cxx_werror_flag"
     16813         { ac_try='test -z "$ac_c_werror_flag"
    1676016814                         || test ! -s conftest.err'
    1676116815  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    1834018394
    1834118395
    18342 ac_ext=cc
    18343 ac_cpp='$CXXCPP $CPPFLAGS'
    18344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    18345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     18396ac_ext=c
     18397ac_cpp='$CPP $CPPFLAGS'
     18398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     18399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     18400ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1834718401
    1834818402CC="$lt_save_CC"
     
    1882118875
    1882218876
    18823 ac_ext=cc
    18824 ac_cpp='$CXXCPP $CPPFLAGS'
    18825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    18826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     18877ac_ext=c
     18878ac_cpp='$CPP $CPPFLAGS'
     18879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     18880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     18881ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1882818882
    1882918883CC="$lt_save_CC"
     
    1903319087
    1903419088
     19089
     19090
     19091depcc="$CC"   am_compiler_list=
     19092
     19093echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     19094echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     19095if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     19096  echo $ECHO_N "(cached) $ECHO_C" >&6
     19097else
     19098  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     19099  # We make a subdir and do the tests there.  Otherwise we can end up
     19100  # making bogus files that we don't know about and never remove.  For
     19101  # instance it was reported that on HP-UX the gcc test will end up
     19102  # making a dummy file named `D' -- because `-MD' means `put the output
     19103  # in D'.
     19104  mkdir conftest.dir
     19105  # Copy depcomp to subdir because otherwise we won't find it if we're
     19106  # using a relative directory.
     19107  cp "$am_depcomp" conftest.dir
     19108  cd conftest.dir
     19109  # We will build objects and dependencies in a subdirectory because
     19110  # it helps to detect inapplicable dependency modes.  For instance
     19111  # both Tru64's cc and ICC support -MD to output dependencies as a
     19112  # side effect of compilation, but ICC will put the dependencies in
     19113  # the current directory while Tru64 will put them in the object
     19114  # directory.
     19115  mkdir sub
     19116
     19117  am_cv_CC_dependencies_compiler_type=none
     19118  if test "$am_compiler_list" = ""; then
     19119     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     19120  fi
     19121  for depmode in $am_compiler_list; do
     19122    # Setup a source with many dependencies, because some compilers
     19123    # like to wrap large dependency lists on column 80 (with \), and
     19124    # we should not choose a depcomp mode which is confused by this.
     19125    #
     19126    # We need to recreate these files for each test, as the compiler may
     19127    # overwrite some of them when testing with obscure command lines.
     19128    # This happens at least with the AIX C compiler.
     19129    : > sub/conftest.c
     19130    for i in 1 2 3 4 5 6; do
     19131      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     19132      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     19133      # Solaris 8's {/usr,}/bin/sh.
     19134      touch sub/conftst$i.h
     19135    done
     19136    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     19137
     19138    case $depmode in
     19139    nosideeffect)
     19140      # after this tag, mechanisms are not by side-effect, so they'll
     19141      # only be used when explicitly requested
     19142      if test "x$enable_dependency_tracking" = xyes; then
     19143        continue
     19144      else
     19145        break
     19146      fi
     19147      ;;
     19148    none) break ;;
     19149    esac
     19150    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     19151    # mode.  It turns out that the SunPro C++ compiler does not properly
     19152    # handle `-M -o', and we need to detect this.
     19153    if depmode=$depmode \
     19154       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     19155       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     19156       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     19157         >/dev/null 2>conftest.err &&
     19158       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     19159       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     19160       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     19161      # icc doesn't choke on unknown options, it will just issue warnings
     19162      # or remarks (even with -Werror).  So we grep stderr for any message
     19163      # that says an option was ignored or not supported.
     19164      # When given -MP, icc 7.0 and 7.1 complain thusly:
     19165      #   icc: Command line warning: ignoring option '-M'; no argument required
     19166      # The diagnosis changed in icc 8.0:
     19167      #   icc: Command line remark: option '-MP' not supported
     19168      if (grep 'ignoring option' conftest.err ||
     19169          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     19170        am_cv_CC_dependencies_compiler_type=$depmode
     19171        break
     19172      fi
     19173    fi
     19174  done
     19175
     19176  cd ..
     19177  rm -rf conftest.dir
     19178else
     19179  am_cv_CC_dependencies_compiler_type=none
     19180fi
     19181
     19182fi
     19183echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     19184echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     19185CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     19186
     19187
     19188
     19189if
     19190  test "x$enable_dependency_tracking" != xno \
     19191  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     19192  am__fastdepCC_TRUE=
     19193  am__fastdepCC_FALSE='#'
     19194else
     19195  am__fastdepCC_TRUE='#'
     19196  am__fastdepCC_FALSE=
     19197fi
    1903519198
    1903619199
     
    2005120214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2005220215  (exit $ac_status); } &&
    20053          { ac_try='test -z "$ac_cxx_werror_flag"
     20216         { ac_try='test -z "$ac_c_werror_flag"
    2005420217                         || test ! -s conftest.err'
    2005520218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    2019620359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2019720360  (exit $ac_status); } &&
    20198          { ac_try='test -z "$ac_cxx_werror_flag"
     20361         { ac_try='test -z "$ac_c_werror_flag"
    2019920362                         || test ! -s conftest.err'
    2020020363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    2040420567  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2040520568  (exit $ac_status); } &&
    20406          { ac_try='test -z "$ac_cxx_werror_flag"
     20569         { ac_try='test -z "$ac_c_werror_flag"
    2040720570                         || test ! -s conftest.err'
    2040820571  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    2054920712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2055020713  (exit $ac_status); } &&
    20551          { ac_try='test -z "$ac_cxx_werror_flag"
     20714         { ac_try='test -z "$ac_c_werror_flag"
    2055220715                         || test ! -s conftest.err'
    2055320716  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    2078320946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2078420947  (exit $ac_status); } &&
    20785          { ac_try='test -z "$ac_cxx_werror_flag"
     20948         { ac_try='test -z "$ac_c_werror_flag"
    2078620949                         || test ! -s conftest.err'
    2078720950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     
    2096321126   { (exit 1); exit 1; }; }
    2096421127fi
     21128if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     21129  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
     21130Usually this means the macro was only invoked conditionally." >&5
     21131echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
     21132Usually this means the macro was only invoked conditionally." >&2;}
     21133   { (exit 1); exit 1; }; }
     21134fi
    2096521135if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    2096621136  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
     
    2098821158Usually this means the macro was only invoked conditionally." >&5
    2098921159echo "$as_me: error: conditional \"MAINTAINER_SMALL\" was never defined.
    20990 Usually this means the macro was only invoked conditionally." >&2;}
    20991    { (exit 1); exit 1; }; }
    20992 fi
    20993 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    20994   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
    20995 Usually this means the macro was only invoked conditionally." >&5
    20996 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
    2099721160Usually this means the macro was only invoked conditionally." >&2;}
    2099821161   { (exit 1); exit 1; }; }
     
    2165321816s,@COIN_DEBUG_TRUE@,$COIN_DEBUG_TRUE,;t t
    2165421817s,@COIN_DEBUG_FALSE@,$COIN_DEBUG_FALSE,;t t
     21818s,@CDEFS@,$CDEFS,;t t
     21819s,@CC@,$CC,;t t
     21820s,@CFLAGS@,$CFLAGS,;t t
     21821s,@LDFLAGS@,$LDFLAGS,;t t
     21822s,@CPPFLAGS@,$CPPFLAGS,;t t
     21823s,@ac_ct_CC@,$ac_ct_CC,;t t
     21824s,@EXEEXT@,$EXEEXT,;t t
     21825s,@OBJEXT@,$OBJEXT,;t t
    2165521826s,@CXXDEFS@,$CXXDEFS,;t t
    2165621827s,@CXX@,$CXX,;t t
    2165721828s,@CXXFLAGS@,$CXXFLAGS,;t t
    21658 s,@LDFLAGS@,$LDFLAGS,;t t
    21659 s,@CPPFLAGS@,$CPPFLAGS,;t t
    2166021829s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    21661 s,@EXEEXT@,$EXEEXT,;t t
    21662 s,@OBJEXT@,$OBJEXT,;t t
    2166321830s,@EGREP@,$EGREP,;t t
    2166421831s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     
    2169021857s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
    2169121858s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
     21859s,@CCDEPMODE@,$CCDEPMODE,;t t
     21860s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
     21861s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2169221862s,@CXXDEPMODE@,$CXXDEPMODE,;t t
    2169321863s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
     
    2170521875s,@MAINTAINER_SMALL_TRUE@,$MAINTAINER_SMALL_TRUE,;t t
    2170621876s,@MAINTAINER_SMALL_FALSE@,$MAINTAINER_SMALL_FALSE,;t t
    21707 s,@CC@,$CC,;t t
    21708 s,@CFLAGS@,$CFLAGS,;t t
    21709 s,@ac_ct_CC@,$ac_ct_CC,;t t
    21710 s,@CCDEPMODE@,$CCDEPMODE,;t t
    21711 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
    21712 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2171321877s,@host@,$host,;t t
    2171421878s,@host_cpu@,$host_cpu,;t t
  • trunk/Cbc/configure.ac

    r319 r326  
    4848# Check if user wants to produce debugging code
    4949AC_COIN_DEBUG_COMPILE
    50 
    51 # This package is written in C++
    52 AC_LANG(C++)
    5350
    5451# Get the name of the C++ compiler and appropriate compiler options
  • trunk/Cbc/src/Makefile.in

    r325 r326  
    226226CC = @CC@
    227227CCDEPMODE = @CCDEPMODE@
     228CDEFS = @CDEFS@
    228229CFLAGS = @CFLAGS@
    229230CGLOBJDIR = @CGLOBJDIR@
  • trunk/Cbc/test/Makefile.in

    r324 r326  
    7373CC = @CC@
    7474CCDEPMODE = @CCDEPMODE@
     75CDEFS = @CDEFS@
    7576CFLAGS = @CFLAGS@
    7677CGLOBJDIR = @CGLOBJDIR@
Note: See TracChangeset for help on using the changeset viewer.