Changeset 527 for trunk/Cbc/configure


Ignore:
Timestamp:
Feb 1, 2007 4:24:46 PM (12 years ago)
Author:
andreasw
Message:

reran autotools with latest coin.m4 in stable; replaced make by $(MAKE); generate libtool in base directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r470 r527  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX 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 have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LT_LDFLAGS RPATH_FLAGS 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 ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX 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 have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS 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 ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10781078  --enable-debug-cbc compile this project (Cbc) with debug options
    10791079  --enable-doscompile     Under Cygwin, compile so that executables run under
    1080                           DOS (default: disabled)
     1080                          DOS. Set to mingw to use gcc/g++/ld with
     1081                          -mno-cygwin. Set to msvc to use cl/link. Default
     1082                          when mentioned: mingw. Default when not mentioned:
     1083                          disabled.
    10811084  --enable-static[=PKGS]
    10821085                          build static libraries [default=no]
     
    17081711# retrieved by svn if they are not there yet.
    17091712# Initialize the ADDLIBS variable
    1710 ADDLIBS='-lm'
     1713ADDLIBS="-lm $LIBS"
    17111714
    17121715
    17131716# Initialize the FADDLIBS variable (which is to be used with a fortran
    17141717# compiler and will not include FLIBS)
    1715 FADDLIBS=
     1718FADDLIBS="$LIBS"
    17161719
    17171720
     
    18281831    fi
    18291832    ;;
    1830 esac
    1831 
    1832 # Check whether --enable-doscompile or --disable-doscompile was given.
     1833 esac
     1834 case $enable_doscompile in
     1835   msvc)
     1836     if test "x${LD+set}" = xset; then :; else
     1837       LD=link
     1838     fi
     1839     ;;
     1840 esac
     1841
     1842
     1843 # Check whether --enable-doscompile or --disable-doscompile was given.
    18331844if test "${enable_doscompile+set}" = set; then
    18341845  enableval="$enable_doscompile"
    1835   if test "$enable_doscompile = yes"; then
    1836   case $build in
    1837     *-cygwin*) ;;
    1838     *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
    1839 echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;}
     1846  if test "$enable_doscompile" != no; then
     1847     case $build in
     1848       *-cygwin*) ;;
     1849       *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin" >&5
     1850echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;}
    18401851   { (exit 1); exit 1; }; } ;;
    1841   esac
    1842 fi
     1852     esac
     1853   fi
    18431854else
    18441855  enable_doscompile=no
    18451856fi;
     1857 case "$enable_doscompile" in
     1858   msvc|mingw|no) ;;
     1859   yes) enable_doscompile=mingw ;;
     1860   *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile.
     1861                    Try configure --help=recursive." >&5
     1862echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile.
     1863                    Try configure --help=recursive." >&2;}
     1864   { (exit 1); exit 1; }; }
     1865      ;;
     1866  esac
     1867  if test "$enable_doscompile" != no ; then
     1868    { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5
     1869echo "$as_me: DOS compile style is: $enable_doscompile" >&6;}
     1870  fi
    18461871
    18471872
     
    18591884if test x"$CXX" != x; then
    18601885  case "$CXX" in
    1861     cl*)
     1886    cl* | */cl* | CL* | */CL*)
    18621887      if test x"$CC" = x; then
    18631888        CC="$CXX"
     
    18771902
    18781903save_cflags="$CFLAGS"
     1904# For sparc-sun-solaris, promote Studio/Workshop compiler to front of list.
     1905# ToDo: If Studio/Workshop cc is not present, we may find /usr/ucb/cc, which
     1906# is likely to be a non-functional shell. But many installations will have
     1907# both cc and gcc, so promoting gcc isn't good either. How to test reliably?
    18791908case $build in
    18801909  *-cygwin* | *-mingw*)
    1881              comps="gcc cl" ;;
     1910             if test "$enable_doscompile" = msvc ; then
     1911               comps="cl"
     1912             else
     1913               comps="gcc cl"
     1914             fi ;;
     1915  sparc-sun-solaris*)
     1916             comps="cc xlc gcc pgcc icc" ;;
    18821917  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
    18831918  *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
     
    18851920
    18861921# We delete the cached value, since the test might not have been
    1887 # performed with out choise of compilers earlier
     1922# performed with our choice of compilers earlier
    18881923$as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; }
     1924# AC_MSG_NOTICE([C compiler candidates: $comps])
    18891925ac_ext=c
    18901926ac_cpp='$CPP $CPPFLAGS'
     
    26002636ac_compiler_gnu=$ac_cv_c_compiler_gnu
    26012637
     2638if test -z "$CC" ; then
     2639  { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5
     2640echo "$as_me: error: Failed to find a C compiler!" >&2;}
     2641   { (exit 1); exit 1; }; }
     2642fi
     2643# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
     2644case "$CC" in
     2645  cl* | */cl* | CL* | */CL* )
     2646    if test "$ac_cv_prog_cc_g" = yes ; then
     2647      ac_cv_prog_cc_g=no
     2648      { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
     2649echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
     2650    fi ;;
     2651esac
    26022652CFLAGS="$save_cflags"
    26032653
     
    26262676        coin_dbg_cflags="-g"
    26272677        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
    2628         if test "$enable_doscompile" = yes; then
    2629           case $build in
    2630             *-cygwin*)
    2631               CFLAGS="-mno-cygwin"
    2632               cat >conftest.$ac_ext <<_ACEOF
     2678        case $enable_doscompile in
     2679          mingw)
     2680            CFLAGS="-mno-cygwin"
     2681            cat >conftest.$ac_ext <<_ACEOF
    26332682/* confdefs.h.  */
    26342683_ACEOF
     
    26752724rm -f conftest.err conftest.$ac_objext \
    26762725      conftest$ac_exeext conftest.$ac_ext
    2677               CFLAGS=
    2678             ;;
    2679           esac
    2680         fi
     2726            CFLAGS=
     2727          ;;
     2728        esac
    26812729    esac
    26822730  fi
     
    26852733      *-cygwin* | *-mingw*)
    26862734        case "$CC" in
    2687           cl* | */cl*)
    2688             coin_opt_cflags='-O2'
    2689             coin_add_cflags='-nologo'
    2690             coin_dbg_cflags='-Yd'
     2735          cl* | */cl* | CL* | */CL*)
     2736            coin_opt_cflags='-MT -O2'
     2737            coin_add_cflags='-nologo -wd4996'
     2738            coin_dbg_cflags='-MTd'
    26912739            ;;
    26922740        esac
     
    28332881  fi
    28342882
     2883  # if PM doesn't want the warning messages, take them out
     2884  if test x"$coin_skip_warn_cflags" = xyes; then
     2885    coin_warn_cflags=
     2886  fi
     2887
    28352888  if test x${DBG_CFLAGS+set} != xset; then
    28362889    DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
     
    28582911fi
    28592912
    2860 # Check if user wants to have additional CFLAGS options
    2861 
    2862 if test x"$ADD_CFLAGS" != x; then
    2863   CFLAGS="$CFLAGS $ADD_CFLAGS"
    2864 fi
     2913# If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
     2914
     2915case "$CFLAGS" in
     2916  *-mno-cygwin*)
     2917    if test x${CPPFLAGS+set} != xset ; then
     2918      CPPFLAGS="-mno-cygwin"
     2919    else
     2920      case "$CPPFLAGS" in
     2921        *-mno-cygwin*)
     2922          ;;
     2923        *)
     2924          CPPFLAGS="$CPPFLAGS -mno-cygwin"
     2925          ;;
     2926      esac
     2927    fi ;;
     2928esac
    28652929
    28662930# Try if CFLAGS works
     
    29803044# Correct ADDLIBS initialization if we are using the MS compiler
    29813045case "$CC" in
    2982   cl*)
     3046  cl* | */cl* | CL* | */CL*)
    29833047    ADDLIBS=
    29843048    case $build in
     
    29883052    fi
    29893053    ;;
    2990 esac
     3054 esac
     3055 case $enable_doscompile in
     3056   msvc)
     3057     if test "x${LD+set}" = xset; then :; else
     3058       LD=link
     3059     fi
     3060     ;;
     3061 esac
    29913062
    29923063    ;;
     
    30183089
    30193090save_cxxflags="$CXXFLAGS"
     3091# For sparc-sun-solaris, promote Studio/Workshop compiler to front of list.
    30203092case $build in
    30213093  *-cygwin* | *-mingw*)
    3022              comps="g++ cl" ;;
     3094             if test "$enable_doscompile" = msvc ; then
     3095               comps="cl"
     3096             else
     3097               comps="g++ cl"
     3098             fi ;;
     3099  sparc-sun-solaris*)
     3100             comps="CC xlC aCC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;;
    30233101  *-darwin*) comps="g++ c++ CC" ;;
    30243102          *) comps="xlC aCC CC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;;
     
    30263104
    30273105# We delete the cached value, since the test might not have been
    3028 # performed with out choise of compilers earlier
     3106# performed with our choice of compilers earlier
    30293107$as_unset ac_cv_prog_CXX || test "${ac_cv_prog_CXX+set}" != set || { ac_cv_prog_CXX=; export ac_cv_prog_CXX; }
     3108# AC_MSG_NOTICE([C++ compiler candidates: $comps])
    30303109ac_ext=cc
    30313110ac_cpp='$CXXCPP $CPPFLAGS'
     
    33833462ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    33843463
     3464if test -z "$CXX" ; then
     3465  { { echo "$as_me:$LINENO: error: Failed to find a C++ compiler!" >&5
     3466echo "$as_me: error: Failed to find a C++ compiler!" >&2;}
     3467   { (exit 1); exit 1; }; }
     3468fi
     3469
     3470# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
     3471case "$CXX" in
     3472  cl* | */cl* | CL* | */CL* )
     3473    if test "$ac_cv_prog_cxx_g" = yes ; then
     3474      ac_cv_prog_cxx_g=no
     3475      { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5
     3476echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
     3477    fi ;;
     3478esac
    33853479CXXFLAGS="$save_cxxflags"
    33863480
     
    34113505        coin_dbg_cxxflags="-g"
    34123506        coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion"
    3413         if test "$enable_doscompile" = yes; then
    3414           case $build in
    3415             *-cygwin*)
    3416               CXXFLAGS="-mno-cygwin"
    3417               cat >conftest.$ac_ext <<_ACEOF
     3507        case $enable_doscompile in
     3508          mingw)
     3509            CXXFLAGS="-mno-cygwin"
     3510            cat >conftest.$ac_ext <<_ACEOF
    34183511/* confdefs.h.  */
    34193512_ACEOF
     
    34603553rm -f conftest.err conftest.$ac_objext \
    34613554      conftest$ac_exeext conftest.$ac_ext
    3462               CXXFLAGS=
    3463               ;;
    3464           esac
    3465         fi
     3555            CXXFLAGS=
     3556            ;;
     3557        esac
    34663558    esac
    34673559  fi
     3560
     3561# Note that we do not need to cover GCC in the following tests.
     3562
    34683563  if test -z "$coin_opt_cxxflags"; then
    34693564    case $build in
    34703565      *-cygwin* | *-mingw*)
    34713566        case "$CXX" in
    3472           cl* | */cl*)
    3473             coin_opt_cxxflags='-O2'
    3474             coin_add_cxxflags='-nologo -EHsc -GR -MT'
    3475             coin_dbg_cxxflags='-Yd'
     3567          cl* | */cl* | CL* | */CL*)
     3568            # The MT and MTd options are mutually exclusive
     3569            coin_opt_cxxflags='-MT -O2'
     3570            coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3571            coin_dbg_cxxflags='-MTd'
    34763572            ;;
    34773573        esac
     
    35643660  fi
    35653661
     3662# Generic flag settings. If these don't work, add a case above.
     3663
    35663664  if test "$ac_cv_prog_cxx_g" = yes && test -z "$coin_dbg_cxxflags" ; then
    35673665    coin_dbg_cxxflags="-g"
     
    36183716  fi
    36193717
     3718  # if PM doesn't want the warning messages, take them out
     3719  if test x"$coin_skip_warn_cxxflags" = xyes; then
     3720    coin_warn_cxxflags=
     3721  fi
     3722
     3723# Do final setup of flags based on values determined above.
     3724
    36203725  if test x${DBG_CXXFLAGS+set} != xset; then
    36213726    DBG_CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags"
     
    36333738    CXXFLAGS="$OPT_CXXFLAGS"
    36343739  fi
     3740
     3741# Handle the case where CXXFLAGS was set externally.
    36353742else
    36363743  CXXFLAGS="$CXXFLAGS $ADD_CXXFLAGS $CXXDEFS"
     
    36423749  fi
    36433750fi
     3751
     3752# If CXXFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
     3753
     3754case "$CXXFLAGS" in
     3755  *-mno-cygwin*)
     3756    if test x${CPPFLAGS+set} != xset ; then
     3757      CPPFLAGS="-mno-cygwin"
     3758    else
     3759      case "$CPPFLAGS" in
     3760        *-mno-cygwin*)
     3761          ;;
     3762        *)
     3763          CPPFLAGS="$CPPFLAGS -mno-cygwin"
     3764          ;;
     3765      esac
     3766    fi ;;
     3767esac
    36443768
    36453769# Try if CXXFLAGS works
     
    37583882
    37593883case "$CXX" in
    3760   cl*)
     3884  cl* | */cl* | CL* | */CL* )
    37613885    case $build in
    37623886  *-mingw*)
     
    37653889    fi
    37663890    ;;
    3767 esac
     3891 esac
     3892 case $enable_doscompile in
     3893   msvc)
     3894     if test "x${LD+set}" = xset; then :; else
     3895       LD=link
     3896     fi
     3897     ;;
     3898 esac
    37683899
    37693900    ;;
     
    37793910
    37803911# Initialize automake and libtool
     3912{
     3913
     3914
     3915
     3916# START
    37813917
    37823918# On Cygwin, building DLLs doesn't work
     
    38313967
    38323968
     3969
     3970# Initialize automake
    38333971echo "$as_me:$LINENO: checking for egrep" >&5
    38343972echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     
    41734311
    41744312
    4175 ac_ext=c
    4176 ac_cpp='$CPP $CPPFLAGS'
    4177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4180 
    4181 if test x"" = x; then
    4182   hdr="#include <dlfcn.h>"
    4183 else
    4184   hdr=""
    4185 fi
    4186 
    4187 for ac_header in dlfcn.h
     4313
     4314
     4315# AC_MSG_NOTICE([Beginning automake initialisation.])
     4316# Stuff for automake
     4317# test to see if srcdir already configured
     4318if test "`cd $srcdir && pwd`" != "`pwd`" &&
     4319   test -f $srcdir/config.status; then
     4320  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
     4321echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
     4322   { (exit 1); exit 1; }; }
     4323fi
     4324
     4325# test whether we have cygpath
     4326if test -z "$CYGPATH_W"; then
     4327  if (cygpath --version) >/dev/null 2>/dev/null; then
     4328    CYGPATH_W='cygpath -w'
     4329  else
     4330    CYGPATH_W=echo
     4331  fi
     4332fi
     4333
     4334
     4335# Define the identity of the package.
     4336 PACKAGE='cbc'
     4337 VERSION='0.1'
     4338
     4339
     4340cat >>confdefs.h <<_ACEOF
     4341#define PACKAGE "$PACKAGE"
     4342_ACEOF
     4343
     4344
     4345cat >>confdefs.h <<_ACEOF
     4346#define VERSION "$VERSION"
     4347_ACEOF
     4348
     4349# Some tools Automake needs.
     4350
     4351ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     4352
     4353
     4354AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     4355
     4356
     4357AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     4358
     4359
     4360AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     4361
     4362
     4363MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     4364
     4365install_sh=${install_sh-"$am_aux_dir/install-sh"}
     4366
     4367# Installed binaries are usually stripped using `strip' when the user
     4368# run `make install-strip'.  However `strip' might not be the right
     4369# tool to use in cross-compilation environments, therefore Automake
     4370# will honor the `STRIP' environment variable to overrule this program.
     4371if test "$cross_compiling" != no; then
     4372  if test -n "$ac_tool_prefix"; then
     4373  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     4374set dummy ${ac_tool_prefix}strip; ac_word=$2
     4375echo "$as_me:$LINENO: checking for $ac_word" >&5
     4376echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4377if test "${ac_cv_prog_STRIP+set}" = set; then
     4378  echo $ECHO_N "(cached) $ECHO_C" >&6
     4379else
     4380  if test -n "$STRIP"; then
     4381  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     4382else
     4383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4384for as_dir in $PATH
    41884385do
    4189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4190 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4386  IFS=$as_save_IFS
     4387  test -z "$as_dir" && as_dir=.
     4388  for ac_exec_ext in '' $ac_executable_extensions; do
     4389  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4390    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     4391    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4392    break 2
     4393  fi
     4394done
     4395done
     4396
     4397fi
     4398fi
     4399STRIP=$ac_cv_prog_STRIP
     4400if test -n "$STRIP"; then
     4401  echo "$as_me:$LINENO: result: $STRIP" >&5
     4402echo "${ECHO_T}$STRIP" >&6
     4403else
     4404  echo "$as_me:$LINENO: result: no" >&5
     4405echo "${ECHO_T}no" >&6
     4406fi
     4407
     4408fi
     4409if test -z "$ac_cv_prog_STRIP"; then
     4410  ac_ct_STRIP=$STRIP
     4411  # Extract the first word of "strip", so it can be a program name with args.
     4412set dummy strip; ac_word=$2
     4413echo "$as_me:$LINENO: checking for $ac_word" >&5
     4414echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4415if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    41934416  echo $ECHO_N "(cached) $ECHO_C" >&6
    41944417else
    4195   cat >conftest.$ac_ext <<_ACEOF
    4196 /* confdefs.h.  */
    4197 _ACEOF
    4198 cat confdefs.h >>conftest.$ac_ext
    4199 cat >>conftest.$ac_ext <<_ACEOF
    4200 /* end confdefs.h.  */
    4201 $hdr
    4202 
    4203 #include <$ac_header>
    4204 _ACEOF
    4205 rm -f conftest.$ac_objext
    4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4207   (eval $ac_compile) 2>conftest.er1
    4208   ac_status=$?
    4209   grep -v '^ *+' conftest.er1 >conftest.err
    4210   rm -f conftest.er1
    4211   cat conftest.err >&5
    4212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4213   (exit $ac_status); } &&
    4214          { ac_try='test -z "$ac_c_werror_flag"
    4215                          || test ! -s conftest.err'
    4216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4217   (eval $ac_try) 2>&5
    4218   ac_status=$?
    4219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4220   (exit $ac_status); }; } &&
    4221          { ac_try='test -s conftest.$ac_objext'
    4222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4223   (eval $ac_try) 2>&5
    4224   ac_status=$?
    4225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4226   (exit $ac_status); }; }; then
    4227   eval "$as_ac_Header=yes"
    4228 else
    4229   echo "$as_me: failed program was:" >&5
    4230 sed 's/^/| /' conftest.$ac_ext >&5
    4231 
    4232 eval "$as_ac_Header=no"
    4233 fi
    4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4235 fi
    4236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4239   cat >>confdefs.h <<_ACEOF
    4240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4241 _ACEOF
    4242 
    4243 fi
    4244 
     4418  if test -n "$ac_ct_STRIP"; then
     4419  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     4420else
     4421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4422for as_dir in $PATH
     4423do
     4424  IFS=$as_save_IFS
     4425  test -z "$as_dir" && as_dir=.
     4426  for ac_exec_ext in '' $ac_executable_extensions; do
     4427  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4428    ac_cv_prog_ac_ct_STRIP="strip"
     4429    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4430    break 2
     4431  fi
    42454432done
    4246 
    4247 
    4248 ac_ext=c
    4249 ac_cpp='$CPP $CPPFLAGS'
    4250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4253 
    4254 
    4255 # Check whether --enable-shared or --disable-shared was given.
     4433done
     4434
     4435  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
     4436fi
     4437fi
     4438ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     4439if test -n "$ac_ct_STRIP"; then
     4440  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     4441echo "${ECHO_T}$ac_ct_STRIP" >&6
     4442else
     4443  echo "$as_me:$LINENO: result: no" >&5
     4444echo "${ECHO_T}no" >&6
     4445fi
     4446
     4447  STRIP=$ac_ct_STRIP
     4448else
     4449  STRIP="$ac_cv_prog_STRIP"
     4450fi
     4451
     4452fi
     4453INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     4454
     4455# We need awk for the "check" target.  The system "awk" is bad on
     4456# some platforms.
     4457# Always define AMTAR for backward compatibility.
     4458
     4459AMTAR=${AMTAR-"${am_missing_run}tar"}
     4460
     4461am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
     4462
     4463
     4464
     4465
     4466depcc="$CC"   am_compiler_list=
     4467
     4468echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4469echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     4470if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     4471  echo $ECHO_N "(cached) $ECHO_C" >&6
     4472else
     4473  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4474  # We make a subdir and do the tests there.  Otherwise we can end up
     4475  # making bogus files that we don't know about and never remove.  For
     4476  # instance it was reported that on HP-UX the gcc test will end up
     4477  # making a dummy file named `D' -- because `-MD' means `put the output
     4478  # in D'.
     4479  mkdir conftest.dir
     4480  # Copy depcomp to subdir because otherwise we won't find it if we're
     4481  # using a relative directory.
     4482  cp "$am_depcomp" conftest.dir
     4483  cd conftest.dir
     4484  # We will build objects and dependencies in a subdirectory because
     4485  # it helps to detect inapplicable dependency modes.  For instance
     4486  # both Tru64's cc and ICC support -MD to output dependencies as a
     4487  # side effect of compilation, but ICC will put the dependencies in
     4488  # the current directory while Tru64 will put them in the object
     4489  # directory.
     4490  mkdir sub
     4491
     4492  am_cv_CC_dependencies_compiler_type=none
     4493  if test "$am_compiler_list" = ""; then
     4494     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4495  fi
     4496  for depmode in $am_compiler_list; do
     4497    # Setup a source with many dependencies, because some compilers
     4498    # like to wrap large dependency lists on column 80 (with \), and
     4499    # we should not choose a depcomp mode which is confused by this.
     4500    #
     4501    # We need to recreate these files for each test, as the compiler may
     4502    # overwrite some of them when testing with obscure command lines.
     4503    # This happens at least with the AIX C compiler.
     4504    : > sub/conftest.c
     4505    for i in 1 2 3 4 5 6; do
     4506      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4507      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     4508      # Solaris 8's {/usr,}/bin/sh.
     4509      touch sub/conftst$i.h
     4510    done
     4511    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4512
     4513    case $depmode in
     4514    nosideeffect)
     4515      # after this tag, mechanisms are not by side-effect, so they'll
     4516      # only be used when explicitly requested
     4517      if test "x$enable_dependency_tracking" = xyes; then
     4518        continue
     4519      else
     4520        break
     4521      fi
     4522      ;;
     4523    none) break ;;
     4524    esac
     4525    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4526    # mode.  It turns out that the SunPro C++ compiler does not properly
     4527    # handle `-M -o', and we need to detect this.
     4528    if depmode=$depmode \
     4529       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     4530       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4531       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     4532         >/dev/null 2>conftest.err &&
     4533       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4534       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     4535       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4536      # icc doesn't choke on unknown options, it will just issue warnings
     4537      # or remarks (even with -Werror).  So we grep stderr for any message
     4538      # that says an option was ignored or not supported.
     4539      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4540      #   icc: Command line warning: ignoring option '-M'; no argument required
     4541      # The diagnosis changed in icc 8.0:
     4542      #   icc: Command line remark: option '-MP' not supported
     4543      if (grep 'ignoring option' conftest.err ||
     4544          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4545        am_cv_CC_dependencies_compiler_type=$depmode
     4546        break
     4547      fi
     4548    fi
     4549  done
     4550
     4551  cd ..
     4552  rm -rf conftest.dir
     4553else
     4554  am_cv_CC_dependencies_compiler_type=none
     4555fi
     4556
     4557fi
     4558echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     4559echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     4560CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     4561
     4562
     4563
     4564if
     4565  test "x$enable_dependency_tracking" != xno \
     4566  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     4567  am__fastdepCC_TRUE=
     4568  am__fastdepCC_FALSE='#'
     4569else
     4570  am__fastdepCC_TRUE='#'
     4571  am__fastdepCC_FALSE=
     4572fi
     4573
     4574
     4575depcc="$CXX"  am_compiler_list=
     4576
     4577echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4578echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     4579if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
     4580  echo $ECHO_N "(cached) $ECHO_C" >&6
     4581else
     4582  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4583  # We make a subdir and do the tests there.  Otherwise we can end up
     4584  # making bogus files that we don't know about and never remove.  For
     4585  # instance it was reported that on HP-UX the gcc test will end up
     4586  # making a dummy file named `D' -- because `-MD' means `put the output
     4587  # in D'.
     4588  mkdir conftest.dir
     4589  # Copy depcomp to subdir because otherwise we won't find it if we're
     4590  # using a relative directory.
     4591  cp "$am_depcomp" conftest.dir
     4592  cd conftest.dir
     4593  # We will build objects and dependencies in a subdirectory because
     4594  # it helps to detect inapplicable dependency modes.  For instance
     4595  # both Tru64's cc and ICC support -MD to output dependencies as a
     4596  # side effect of compilation, but ICC will put the dependencies in
     4597  # the current directory while Tru64 will put them in the object
     4598  # directory.
     4599  mkdir sub
     4600
     4601  am_cv_CXX_dependencies_compiler_type=none
     4602  if test "$am_compiler_list" = ""; then
     4603     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4604  fi
     4605  for depmode in $am_compiler_list; do
     4606    # Setup a source with many dependencies, because some compilers
     4607    # like to wrap large dependency lists on column 80 (with \), and
     4608    # we should not choose a depcomp mode which is confused by this.
     4609    #
     4610    # We need to recreate these files for each test, as the compiler may
     4611    # overwrite some of them when testing with obscure command lines.
     4612    # This happens at least with the AIX C compiler.
     4613    : > sub/conftest.c
     4614    for i in 1 2 3 4 5 6; do
     4615      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4616      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     4617      # Solaris 8's {/usr,}/bin/sh.
     4618      touch sub/conftst$i.h
     4619    done
     4620    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4621
     4622    case $depmode in
     4623    nosideeffect)
     4624      # after this tag, mechanisms are not by side-effect, so they'll
     4625      # only be used when explicitly requested
     4626      if test "x$enable_dependency_tracking" = xyes; then
     4627        continue
     4628      else
     4629        break
     4630      fi
     4631      ;;
     4632    none) break ;;
     4633    esac
     4634    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4635    # mode.  It turns out that the SunPro C++ compiler does not properly
     4636    # handle `-M -o', and we need to detect this.
     4637    if depmode=$depmode \
     4638       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     4639       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4640       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     4641         >/dev/null 2>conftest.err &&
     4642       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4643       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     4644       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4645      # icc doesn't choke on unknown options, it will just issue warnings
     4646      # or remarks (even with -Werror).  So we grep stderr for any message
     4647      # that says an option was ignored or not supported.
     4648      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4649      #   icc: Command line warning: ignoring option '-M'; no argument required
     4650      # The diagnosis changed in icc 8.0:
     4651      #   icc: Command line remark: option '-MP' not supported
     4652      if (grep 'ignoring option' conftest.err ||
     4653          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4654        am_cv_CXX_dependencies_compiler_type=$depmode
     4655        break
     4656      fi
     4657    fi
     4658  done
     4659
     4660  cd ..
     4661  rm -rf conftest.dir
     4662else
     4663  am_cv_CXX_dependencies_compiler_type=none
     4664fi
     4665
     4666fi
     4667echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
     4668echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
     4669CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     4670
     4671
     4672
     4673if
     4674  test "x$enable_dependency_tracking" != xno \
     4675  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
     4676  am__fastdepCXX_TRUE=
     4677  am__fastdepCXX_FALSE='#'
     4678else
     4679  am__fastdepCXX_TRUE='#'
     4680  am__fastdepCXX_FALSE=
     4681fi
     4682
     4683
     4684
     4685echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4686echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
     4687    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
     4688if test "${enable_maintainer_mode+set}" = set; then
     4689  enableval="$enable_maintainer_mode"
     4690  USE_MAINTAINER_MODE=$enableval
     4691else
     4692  USE_MAINTAINER_MODE=no
     4693fi;
     4694  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
     4695echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
     4696
     4697
     4698if test $USE_MAINTAINER_MODE = yes; then
     4699  MAINTAINER_MODE_TRUE=
     4700  MAINTAINER_MODE_FALSE='#'
     4701else
     4702  MAINTAINER_MODE_TRUE='#'
     4703  MAINTAINER_MODE_FALSE=
     4704fi
     4705
     4706  MAINT=$MAINTAINER_MODE_TRUE
     4707
     4708
     4709
     4710coin_have_externals=no
     4711if test "$enable_maintainer_mode" = yes; then
     4712
     4713  # If maintainer mode is chosen, we make sure that the correct versions
     4714  # of the tools are used, and that we know where libtool.m4 is (to
     4715  # recreate acinclude.m4)
     4716
     4717
     4718  LIBTOOLM4=
     4719  # Normally, $HOME
     4720  AUTOTOOLS_DFLT=$HOME
     4721
     4722  echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5
     4723echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
     4724if test "${ac_cv_use_correct_autotools+set}" = set; then
     4725  echo $ECHO_N "(cached) $ECHO_C" >&6
     4726else
     4727  ac_cv_use_correct_autotools=check
     4728fi
     4729echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
     4730echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6
     4731
     4732  if test $ac_cv_use_correct_autotools = check; then
     4733    ac_cv_use_correct_autotools=yes
     4734    # Check if we have autoconf
     4735    # Extract the first word of "autoconf", so it can be a program name with args.
     4736set dummy autoconf; ac_word=$2
     4737echo "$as_me:$LINENO: checking for $ac_word" >&5
     4738echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4739if test "${ac_cv_prog_have_autoconf+set}" = set; then
     4740  echo $ECHO_N "(cached) $ECHO_C" >&6
     4741else
     4742  if test -n "$have_autoconf"; then
     4743  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
     4744else
     4745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4746for as_dir in $PATH
     4747do
     4748  IFS=$as_save_IFS
     4749  test -z "$as_dir" && as_dir=.
     4750  for ac_exec_ext in '' $ac_executable_extensions; do
     4751  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4752    ac_cv_prog_have_autoconf="yes"
     4753    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4754    break 2
     4755  fi
     4756done
     4757done
     4758
     4759  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
     4760fi
     4761fi
     4762have_autoconf=$ac_cv_prog_have_autoconf
     4763if test -n "$have_autoconf"; then
     4764  echo "$as_me:$LINENO: result: $have_autoconf" >&5
     4765echo "${ECHO_T}$have_autoconf" >&6
     4766else
     4767  echo "$as_me:$LINENO: result: no" >&5
     4768echo "${ECHO_T}no" >&6
     4769fi
     4770
     4771    if test $have_autoconf = no; then
     4772      { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
     4773echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
     4774   { (exit 1); exit 1; }; }
     4775    fi
     4776
     4777    # Check whether autoconf is the correct version
     4778    correct_version='2.59'
     4779    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
     4780    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
     4781echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
     4782    autoconf --version > confauto.out 2>&1
     4783    if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
     4784      echo "$as_me:$LINENO: result: yes" >&5
     4785echo "${ECHO_T}yes" >&6
     4786    else
     4787      rm -f confauto.out
     4788      echo "$as_me:$LINENO: result: no" >&5
     4789echo "${ECHO_T}no" >&6
     4790      { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
     4791echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
     4792   { (exit 1); exit 1; }; }
     4793    fi
     4794    rm -f confauto.out
     4795
     4796    # Check if the executable autoconf is picked up from the correct location
     4797    echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
     4798echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
     4799    autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
     4800    autoconf_dir=`cd $autoconf_dir; pwd`
     4801    if test x$AUTOTOOLS_DIR = x; then
     4802      want_dir=$AUTOTOOLS_DFLT/bin
     4803    else
     4804      want_dir=$AUTOTOOLS_DIR/bin
     4805    fi
     4806    if test $autoconf_dir = `cd $want_dir; pwd`; then
     4807      echo "$as_me:$LINENO: result: yes" >&5
     4808echo "${ECHO_T}yes" >&6
     4809    else
     4810      rm -f confauto.out
     4811      echo "$as_me:$LINENO: result: no" >&5
     4812echo "${ECHO_T}no" >&6
     4813      { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
     4814echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
     4815   { (exit 1); exit 1; }; }
     4816    fi
     4817
     4818    # Check if we have automake
     4819    # Extract the first word of "automake", so it can be a program name with args.
     4820set dummy automake; ac_word=$2
     4821echo "$as_me:$LINENO: checking for $ac_word" >&5
     4822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4823if test "${ac_cv_prog_have_automake+set}" = set; then
     4824  echo $ECHO_N "(cached) $ECHO_C" >&6
     4825else
     4826  if test -n "$have_automake"; then
     4827  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
     4828else
     4829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4830for as_dir in $PATH
     4831do
     4832  IFS=$as_save_IFS
     4833  test -z "$as_dir" && as_dir=.
     4834  for ac_exec_ext in '' $ac_executable_extensions; do
     4835  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4836    ac_cv_prog_have_automake="yes"
     4837    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4838    break 2
     4839  fi
     4840done
     4841done
     4842
     4843  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
     4844fi
     4845fi
     4846have_automake=$ac_cv_prog_have_automake
     4847if test -n "$have_automake"; then
     4848  echo "$as_me:$LINENO: result: $have_automake" >&5
     4849echo "${ECHO_T}$have_automake" >&6
     4850else
     4851  echo "$as_me:$LINENO: result: no" >&5
     4852echo "${ECHO_T}no" >&6
     4853fi
     4854
     4855    if test $have_automake = no; then
     4856      { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
     4857echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
     4858   { (exit 1); exit 1; }; }
     4859    fi
     4860
     4861    # Check whether automake is the correct version
     4862    correct_version='1.9.6'
     4863    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
     4864    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
     4865echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
     4866    automake --version > confauto.out 2>&1
     4867    if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
     4868      echo "$as_me:$LINENO: result: yes" >&5
     4869echo "${ECHO_T}yes" >&6
     4870    else
     4871      rm -f confauto.out
     4872      echo "$as_me:$LINENO: result: no" >&5
     4873echo "${ECHO_T}no" >&6
     4874      { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
     4875echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
     4876   { (exit 1); exit 1; }; }
     4877    fi
     4878    rm -f confauto.out
     4879
     4880    # Check if the executable automake is picked up from the correct location
     4881    echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
     4882echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
     4883    automake_dir=`which automake | sed -e 's=/automake=='`
     4884    automake_dir=`cd $automake_dir; pwd`
     4885    if test x$AUTOTOOLS_DIR = x; then
     4886      want_dir=$AUTOTOOLS_DFLT/bin
     4887    else
     4888      want_dir=$AUTOTOOLS_DIR/bin
     4889    fi
     4890    if test $automake_dir = `cd $want_dir; pwd`; then
     4891      echo "$as_me:$LINENO: result: yes" >&5
     4892echo "${ECHO_T}yes" >&6
     4893    else
     4894      rm -f confauto.out
     4895      echo "$as_me:$LINENO: result: no" >&5
     4896echo "${ECHO_T}no" >&6
     4897      { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5
     4898echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;}
     4899   { (exit 1); exit 1; }; }
     4900    fi
     4901
     4902    # Check if this is the correct version of libtool (with escaped dots)
     4903    if test x$AUTOTOOLS_DIR = x; then
     4904      want_dir=$AUTOTOOLS_DFLT/share
     4905    else
     4906      want_dir=$AUTOTOOLS_DIR/share
     4907    fi
     4908    correct_version='1.5.22'
     4909    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
     4910    as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
     4911echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
     4912echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
     4913if eval "test \"\${$as_ac_File+set}\" = set"; then
     4914  echo $ECHO_N "(cached) $ECHO_C" >&6
     4915else
     4916  test "$cross_compiling" = yes &&
     4917  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4918echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4919   { (exit 1); exit 1; }; }
     4920if test -r "$want_dir/libtool/ltmain.sh"; then
     4921  eval "$as_ac_File=yes"
     4922else
     4923  eval "$as_ac_File=no"
     4924fi
     4925fi
     4926echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     4927echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     4928if test `eval echo '${'$as_ac_File'}'` = yes; then
     4929  have_ltmain=yes
     4930else
     4931  have_ltmain=no
     4932fi
     4933
     4934    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
     4935echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
     4936    if test $have_ltmain = yes; then
     4937    if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
     4938        echo "$as_me:$LINENO: result: yes" >&5
     4939echo "${ECHO_T}yes" >&6
     4940      else
     4941        echo "$as_me:$LINENO: result: no" >&5
     4942echo "${ECHO_T}no" >&6
     4943        { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
     4944echo "$as_me: error: You don't have the correct version of libtool." >&2;}
     4945   { (exit 1); exit 1; }; }
     4946      fi
     4947    else
     4948      echo "$as_me:$LINENO: result: no" >&5
     4949echo "${ECHO_T}no" >&6
     4950      { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
     4951echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
     4952   { (exit 1); exit 1; }; }
     4953    fi
     4954  fi
     4955
     4956  # Check if we can find the libtool file
     4957  if test x$AUTOTOOLS_DIR = x; then
     4958    want_dir=$AUTOTOOLS_DFLT/share
     4959  else
     4960    want_dir=$AUTOTOOLS_DIR/share
     4961  fi
     4962  as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
     4963echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
     4964echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
     4965if eval "test \"\${$as_ac_File+set}\" = set"; then
     4966  echo $ECHO_N "(cached) $ECHO_C" >&6
     4967else
     4968  test "$cross_compiling" = yes &&
     4969  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4970echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4971   { (exit 1); exit 1; }; }
     4972if test -r "$want_dir/aclocal/libtool.m4"; then
     4973  eval "$as_ac_File=yes"
     4974else
     4975  eval "$as_ac_File=no"
     4976fi
     4977fi
     4978echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     4979echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     4980if test `eval echo '${'$as_ac_File'}'` = yes; then
     4981  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
     4982else
     4983  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
     4984echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
     4985   { (exit 1); exit 1; }; }
     4986fi
     4987
     4988
     4989  # Check if we have an Externals file
     4990  if test -r $srcdir/Externals; then
     4991    coin_have_externals=yes
     4992  fi
     4993  # Check if subversion is installed and understands https
     4994  # Extract the first word of "svn", so it can be a program name with args.
     4995set dummy svn; ac_word=$2
     4996echo "$as_me:$LINENO: checking for $ac_word" >&5
     4997echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4998if test "${ac_cv_prog_have_svn+set}" = set; then
     4999  echo $ECHO_N "(cached) $ECHO_C" >&6
     5000else
     5001  if test -n "$have_svn"; then
     5002  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
     5003else
     5004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5005for as_dir in $PATH
     5006do
     5007  IFS=$as_save_IFS
     5008  test -z "$as_dir" && as_dir=.
     5009  for ac_exec_ext in '' $ac_executable_extensions; do
     5010  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5011    ac_cv_prog_have_svn="yes"
     5012    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5013    break 2
     5014  fi
     5015done
     5016done
     5017
     5018  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
     5019fi
     5020fi
     5021have_svn=$ac_cv_prog_have_svn
     5022if test -n "$have_svn"; then
     5023  echo "$as_me:$LINENO: result: $have_svn" >&5
     5024echo "${ECHO_T}$have_svn" >&6
     5025else
     5026  echo "$as_me:$LINENO: result: no" >&5
     5027echo "${ECHO_T}no" >&6
     5028fi
     5029
     5030  if test x$have_svn = xyes; then
     5031    echo "$as_me:$LINENO: checking whether svn understands https" >&5
     5032echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
     5033if test "${ac_cv_svn_understands_https+set}" = set; then
     5034  echo $ECHO_N "(cached) $ECHO_C" >&6
     5035else
     5036  svn --version > confauto.out 2>&1
     5037                    if $EGREP https confauto.out >/dev/null 2>&1; then
     5038                      ac_cv_svn_understands_https=yes
     5039                    else
     5040                      ac_cv_svn_understands_https=no
     5041                      have_svn=no
     5042                      ac_cv_prog_have_svn=no
     5043                    fi
     5044                    rm -f confauto.out
     5045fi
     5046echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
     5047echo "${ECHO_T}$ac_cv_svn_understands_https" >&6
     5048  fi
     5049
     5050  # Find the location of the BuildTools directory
     5051  BUILDTOOLSDIR=
     5052  if test -r $srcdir/BuildTools/coin.m4; then
     5053    BUILDTOOLSDIR=$srcdir/BuildTools
     5054  else
     5055    if test -r $srcdir/../BuildTools/coin.m4; then
     5056      BUILDTOOLSDIR=$srcdir/../BuildTools
     5057    else
     5058      if test -r $srcdir/../../BuildTools/coin.m4; then
     5059        BUILDTOOLSDIR=$srcdir/../../BuildTools
     5060      else
     5061        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
     5062echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
     5063   { (exit 1); exit 1; }; }
     5064      fi
     5065    fi
     5066  fi
     5067
     5068
     5069  # The following variable is set to the name of the directory where
     5070  # the autotool scripts are located
     5071
     5072  AUX_DIR=$ac_aux_dir
     5073fi
     5074
     5075# helpful variable for the base directory of this package
     5076abs_source_dir=`cd $srcdir; pwd`
     5077
     5078
     5079# Stuff for example Makefiles
     5080if test x$prefix = xNONE; then
     5081  full_prefix=$ac_default_prefix
     5082else
     5083  full_prefix=$prefix
     5084fi
     5085full_prefix=`cd $full_prefix ; pwd`
     5086
     5087abs_lib_dir=$full_prefix/lib
     5088
     5089abs_include_dir=$full_prefix/include
     5090
     5091abs_bin_dir=$full_prefix/bin
     5092
     5093
     5094
     5095if test $coin_have_externals = yes && test x$have_svn = xyes; then
     5096  HAVE_EXTERNALS_TRUE=
     5097  HAVE_EXTERNALS_FALSE='#'
     5098else
     5099  HAVE_EXTERNALS_TRUE='#'
     5100  HAVE_EXTERNALS_FALSE=
     5101fi
     5102
     5103
     5104# AC_MSG_NOTICE([End automake initialisation.])
     5105
     5106
     5107
     5108unset ac_cv_file__________libtool
     5109unset ac_cv_file_______libtool
     5110unset ac_cv_file____libtool
     5111
     5112LIBTOOL=
     5113echo "$as_me:$LINENO: checking for ../libtool" >&5
     5114echo $ECHO_N "checking for ../libtool... $ECHO_C" >&6
     5115if test "${ac_cv_file____libtool+set}" = set; then
     5116  echo $ECHO_N "(cached) $ECHO_C" >&6
     5117else
     5118  test "$cross_compiling" = yes &&
     5119  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     5120echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     5121   { (exit 1); exit 1; }; }
     5122if test -r "../libtool"; then
     5123  ac_cv_file____libtool=yes
     5124else
     5125  ac_cv_file____libtool=no
     5126fi
     5127fi
     5128echo "$as_me:$LINENO: result: $ac_cv_file____libtool" >&5
     5129echo "${ECHO_T}$ac_cv_file____libtool" >&6
     5130if test $ac_cv_file____libtool = yes; then
     5131  coin_config_dir=..
     5132               LIBTOOL='$(SHELL) $(top_builddir)/../libtool'
     5133fi
     5134
     5135if test "x$LIBTOOL" = x; then
     5136  echo "$as_me:$LINENO: checking for ../../libtool" >&5
     5137echo $ECHO_N "checking for ../../libtool... $ECHO_C" >&6
     5138if test "${ac_cv_file_______libtool+set}" = set; then
     5139  echo $ECHO_N "(cached) $ECHO_C" >&6
     5140else
     5141  test "$cross_compiling" = yes &&
     5142  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     5143echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     5144   { (exit 1); exit 1; }; }
     5145if test -r "../../libtool"; then
     5146  ac_cv_file_______libtool=yes
     5147else
     5148  ac_cv_file_______libtool=no
     5149fi
     5150fi
     5151echo "$as_me:$LINENO: result: $ac_cv_file_______libtool" >&5
     5152echo "${ECHO_T}$ac_cv_file_______libtool" >&6
     5153if test $ac_cv_file_______libtool = yes; then
     5154  coin_config_dir=../..
     5155                 LIBTOOL='$(SHELL) $(top_builddir)/../../libtool'
     5156fi
     5157
     5158fi
     5159# if test "x$LIBTOOL" = x; then
     5160#   AC_CHECK_FILE([../../../libtool],
     5161#                 [coin_config_dir=../../..
     5162#                  LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool'])
     5163# fi
     5164
     5165if test "x$LIBTOOL" = x; then
     5166# AC_MSG_NOTICE([Creating libtool script (calling COIN_PROG_LIBTOOL).])
     5167  # Stuff for libtool
     5168  # Check whether --enable-shared or --disable-shared was given.
    42565169if test "${enable_shared+set}" = set; then
    42575170  enableval="$enable_shared"
     
    48015714*-*-irix6*)
    48025715  # Find out which ABI we are using.
    4803   echo '#line 4803 "configure"' > conftest.$ac_ext
     5716  echo '#line 5716 "configure"' > conftest.$ac_ext
    48045717  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    48055718  (eval $ac_compile) 2>&5
     
    59356848
    59366849# Provide some information about the compiler.
    5937 echo "$as_me:5937:" \
     6850echo "$as_me:6850:" \
    59386851     "checking for Fortran 77 compiler version" >&5
    59396852ac_compiler=`set X $ac_compile; echo $2`
     
    70027915   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70037916   -e 's:$: $lt_compiler_flag:'`
    7004    (eval echo "\"\$as_me:7004: $lt_compile\"" >&5)
     7917   (eval echo "\"\$as_me:7917: $lt_compile\"" >&5)
    70057918   (eval "$lt_compile" 2>conftest.err)
    70067919   ac_status=$?
    70077920   cat conftest.err >&5
    7008    echo "$as_me:7008: \$? = $ac_status" >&5
     7921   echo "$as_me:7921: \$? = $ac_status" >&5
    70097922   if (exit $ac_status) && test -s "$ac_outfile"; then
    70107923     # The compiler can only warn and ignore the option if not recognized
     
    72708183   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    72718184   -e 's:$: $lt_compiler_flag:'`
    7272    (eval echo "\"\$as_me:7272: $lt_compile\"" >&5)
     8185   (eval echo "\"\$as_me:8185: $lt_compile\"" >&5)
    72738186   (eval "$lt_compile" 2>conftest.err)
    72748187   ac_status=$?
    72758188   cat conftest.err >&5
    7276    echo "$as_me:7276: \$? = $ac_status" >&5
     8189   echo "$as_me:8189: \$? = $ac_status" >&5
    72778190   if (exit $ac_status) && test -s "$ac_outfile"; then
    72788191     # The compiler can only warn and ignore the option if not recognized
     
    73748287   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73758288   -e 's:$: $lt_compiler_flag:'`
    7376    (eval echo "\"\$as_me:7376: $lt_compile\"" >&5)
     8289   (eval echo "\"\$as_me:8289: $lt_compile\"" >&5)
    73778290   (eval "$lt_compile" 2>out/conftest.err)
    73788291   ac_status=$?
    73798292   cat out/conftest.err >&5
    7380    echo "$as_me:7380: \$? = $ac_status" >&5
     8293   echo "$as_me:8293: \$? = $ac_status" >&5
    73818294   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    73828295   then
     
    971910632  lt_status=$lt_dlunknown
    972010633  cat > conftest.$ac_ext <<EOF
    9721 #line 9721 "configure"
     10634#line 10634 "configure"
    972210635#include "confdefs.h"
    972310636
     
    981910732  lt_status=$lt_dlunknown
    982010733  cat > conftest.$ac_ext <<EOF
    9821 #line 9821 "configure"
     10734#line 10734 "configure"
    982210735#include "confdefs.h"
    982310736
     
    1216313076   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1216413077   -e 's:$: $lt_compiler_flag:'`
    12165    (eval echo "\"\$as_me:12165: $lt_compile\"" >&5)
     13078   (eval echo "\"\$as_me:13078: $lt_compile\"" >&5)
    1216613079   (eval "$lt_compile" 2>conftest.err)
    1216713080   ac_status=$?
    1216813081   cat conftest.err >&5
    12169    echo "$as_me:12169: \$? = $ac_status" >&5
     13082   echo "$as_me:13082: \$? = $ac_status" >&5
    1217013083   if (exit $ac_status) && test -s "$ac_outfile"; then
    1217113084     # The compiler can only warn and ignore the option if not recognized
     
    1226713180   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1226813181   -e 's:$: $lt_compiler_flag:'`
    12269    (eval echo "\"\$as_me:12269: $lt_compile\"" >&5)
     13182   (eval echo "\"\$as_me:13182: $lt_compile\"" >&5)
    1227013183   (eval "$lt_compile" 2>out/conftest.err)
    1227113184   ac_status=$?
    1227213185   cat out/conftest.err >&5
    12273    echo "$as_me:12273: \$? = $ac_status" >&5
     13186   echo "$as_me:13186: \$? = $ac_status" >&5
    1227413187   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1227513188   then
     
    1383714750   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1383814751   -e 's:$: $lt_compiler_flag:'`
    13839    (eval echo "\"\$as_me:13839: $lt_compile\"" >&5)
     14752   (eval echo "\"\$as_me:14752: $lt_compile\"" >&5)
    1384014753   (eval "$lt_compile" 2>conftest.err)
    1384114754   ac_status=$?
    1384214755   cat conftest.err >&5
    13843    echo "$as_me:13843: \$? = $ac_status" >&5
     14756   echo "$as_me:14756: \$? = $ac_status" >&5
    1384414757   if (exit $ac_status) && test -s "$ac_outfile"; then
    1384514758     # The compiler can only warn and ignore the option if not recognized
     
    1394114854   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1394214855   -e 's:$: $lt_compiler_flag:'`
    13943    (eval echo "\"\$as_me:13943: $lt_compile\"" >&5)
     14856   (eval echo "\"\$as_me:14856: $lt_compile\"" >&5)
    1394414857   (eval "$lt_compile" 2>out/conftest.err)
    1394514858   ac_status=$?
    1394614859   cat out/conftest.err >&5
    13947    echo "$as_me:13947: \$? = $ac_status" >&5
     14860   echo "$as_me:14860: \$? = $ac_status" >&5
    1394814861   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1394914862   then
     
    1614817061   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1614917062   -e 's:$: $lt_compiler_flag:'`
    16150    (eval echo "\"\$as_me:16150: $lt_compile\"" >&5)
     17063   (eval echo "\"\$as_me:17063: $lt_compile\"" >&5)
    1615117064   (eval "$lt_compile" 2>conftest.err)
    1615217065   ac_status=$?
    1615317066   cat conftest.err >&5
    16154    echo "$as_me:16154: \$? = $ac_status" >&5
     17067   echo "$as_me:17067: \$? = $ac_status" >&5
    1615517068   if (exit $ac_status) && test -s "$ac_outfile"; then
    1615617069     # The compiler can only warn and ignore the option if not recognized
     
    1641617329   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1641717330   -e 's:$: $lt_compiler_flag:'`
    16418    (eval echo "\"\$as_me:16418: $lt_compile\"" >&5)
     17331   (eval echo "\"\$as_me:17331: $lt_compile\"" >&5)
    1641917332   (eval "$lt_compile" 2>conftest.err)
    1642017333   ac_status=$?
    1642117334   cat conftest.err >&5
    16422    echo "$as_me:16422: \$? = $ac_status" >&5
     17335   echo "$as_me:17335: \$? = $ac_status" >&5
    1642317336   if (exit $ac_status) && test -s "$ac_outfile"; then
    1642417337     # The compiler can only warn and ignore the option if not recognized
     
    1652017433   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1652117434   -e 's:$: $lt_compiler_flag:'`
    16522    (eval echo "\"\$as_me:16522: $lt_compile\"" >&5)
     17435   (eval echo "\"\$as_me:17435: $lt_compile\"" >&5)
    1652317436   (eval "$lt_compile" 2>out/conftest.err)
    1652417437   ac_status=$?
    1652517438   cat out/conftest.err >&5
    16526    echo "$as_me:16526: \$? = $ac_status" >&5
     17439   echo "$as_me:17439: \$? = $ac_status" >&5
    1652717440   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1652817441   then
     
    1917820091
    1917920092
    19180 
    19181 
    19182 
    19183 
    19184 
    19185 # Initialize automake
    19186 
    19187 # Stuff for automake
    19188 # test to see if srcdir already configured
    19189 if test "`cd $srcdir && pwd`" != "`pwd`" &&
    19190    test -f $srcdir/config.status; then
    19191   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
    19192 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    19193    { (exit 1); exit 1; }; }
    19194 fi
    19195 
    19196 # test whether we have cygpath
    19197 if test -z "$CYGPATH_W"; then
    19198   if (cygpath --version) >/dev/null 2>/dev/null; then
    19199     CYGPATH_W='cygpath -w'
    19200   else
    19201     CYGPATH_W=echo
    19202   fi
    19203 fi
    19204 
    19205 
    19206 # Define the identity of the package.
    19207  PACKAGE='cbc'
    19208  VERSION='0.1'
    19209 
    19210 
    19211 cat >>confdefs.h <<_ACEOF
    19212 #define PACKAGE "$PACKAGE"
    19213 _ACEOF
    19214 
    19215 
    19216 cat >>confdefs.h <<_ACEOF
    19217 #define VERSION "$VERSION"
    19218 _ACEOF
    19219 
    19220 # Some tools Automake needs.
    19221 
    19222 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
    19223 
    19224 
    19225 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
    19226 
    19227 
    19228 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
    19229 
    19230 
    19231 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
    19232 
    19233 
    19234 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    19235 
    19236 install_sh=${install_sh-"$am_aux_dir/install-sh"}
    19237 
    19238 # Installed binaries are usually stripped using `strip' when the user
    19239 # run `make install-strip'.  However `strip' might not be the right
    19240 # tool to use in cross-compilation environments, therefore Automake
    19241 # will honor the `STRIP' environment variable to overrule this program.
    19242 if test "$cross_compiling" != no; then
    19243   if test -n "$ac_tool_prefix"; then
    19244   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    19245 set dummy ${ac_tool_prefix}strip; ac_word=$2
    19246 echo "$as_me:$LINENO: checking for $ac_word" >&5
    19247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19248 if test "${ac_cv_prog_STRIP+set}" = set; then
    19249   echo $ECHO_N "(cached) $ECHO_C" >&6
    19250 else
    19251   if test -n "$STRIP"; then
    19252   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    19253 else
    19254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    19255 for as_dir in $PATH
    19256 do
    19257   IFS=$as_save_IFS
    19258   test -z "$as_dir" && as_dir=.
    19259   for ac_exec_ext in '' $ac_executable_extensions; do
    19260   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19261     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    19262     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19263     break 2
    19264   fi
    19265 done
    19266 done
    19267 
    19268 fi
    19269 fi
    19270 STRIP=$ac_cv_prog_STRIP
    19271 if test -n "$STRIP"; then
    19272   echo "$as_me:$LINENO: result: $STRIP" >&5
    19273 echo "${ECHO_T}$STRIP" >&6
    19274 else
    19275   echo "$as_me:$LINENO: result: no" >&5
    19276 echo "${ECHO_T}no" >&6
    19277 fi
    19278 
    19279 fi
    19280 if test -z "$ac_cv_prog_STRIP"; then
    19281   ac_ct_STRIP=$STRIP
    19282   # Extract the first word of "strip", so it can be a program name with args.
    19283 set dummy strip; ac_word=$2
    19284 echo "$as_me:$LINENO: checking for $ac_word" >&5
    19285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19286 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    19287   echo $ECHO_N "(cached) $ECHO_C" >&6
    19288 else
    19289   if test -n "$ac_ct_STRIP"; then
    19290   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    19291 else
    19292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    19293 for as_dir in $PATH
    19294 do
    19295   IFS=$as_save_IFS
    19296   test -z "$as_dir" && as_dir=.
    19297   for ac_exec_ext in '' $ac_executable_extensions; do
    19298   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19299     ac_cv_prog_ac_ct_STRIP="strip"
    19300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19301     break 2
    19302   fi
    19303 done
    19304 done
    19305 
    19306   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
    19307 fi
    19308 fi
    19309 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    19310 if test -n "$ac_ct_STRIP"; then
    19311   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
    19312 echo "${ECHO_T}$ac_ct_STRIP" >&6
    19313 else
    19314   echo "$as_me:$LINENO: result: no" >&5
    19315 echo "${ECHO_T}no" >&6
    19316 fi
    19317 
    19318   STRIP=$ac_ct_STRIP
    19319 else
    19320   STRIP="$ac_cv_prog_STRIP"
    19321 fi
    19322 
    19323 fi
    19324 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    19325 
    19326 # We need awk for the "check" target.  The system "awk" is bad on
    19327 # some platforms.
    19328 # Always define AMTAR for backward compatibility.
    19329 
    19330 AMTAR=${AMTAR-"${am_missing_run}tar"}
    19331 
    19332 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
    19333 
    19334 
    19335 
    19336 
    19337 depcc="$CC"   am_compiler_list=
    19338 
    19339 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    19340 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    19341 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
    19342   echo $ECHO_N "(cached) $ECHO_C" >&6
    19343 else
    19344   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    19345   # We make a subdir and do the tests there.  Otherwise we can end up
    19346   # making bogus files that we don't know about and never remove.  For
    19347   # instance it was reported that on HP-UX the gcc test will end up
    19348   # making a dummy file named `D' -- because `-MD' means `put the output
    19349   # in D'.
    19350   mkdir conftest.dir
    19351   # Copy depcomp to subdir because otherwise we won't find it if we're
    19352   # using a relative directory.
    19353   cp "$am_depcomp" conftest.dir
    19354   cd conftest.dir
    19355   # We will build objects and dependencies in a subdirectory because
    19356   # it helps to detect inapplicable dependency modes.  For instance
    19357   # both Tru64's cc and ICC support -MD to output dependencies as a
    19358   # side effect of compilation, but ICC will put the dependencies in
    19359   # the current directory while Tru64 will put them in the object
    19360   # directory.
    19361   mkdir sub
    19362 
    19363   am_cv_CC_dependencies_compiler_type=none
    19364   if test "$am_compiler_list" = ""; then
    19365      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    19366   fi
    19367   for depmode in $am_compiler_list; do
    19368     # Setup a source with many dependencies, because some compilers
    19369     # like to wrap large dependency lists on column 80 (with \), and
    19370     # we should not choose a depcomp mode which is confused by this.
    19371     #
    19372     # We need to recreate these files for each test, as the compiler may
    19373     # overwrite some of them when testing with obscure command lines.
    19374     # This happens at least with the AIX C compiler.
    19375     : > sub/conftest.c
    19376     for i in 1 2 3 4 5 6; do
    19377       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    19378       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    19379       # Solaris 8's {/usr,}/bin/sh.
    19380       touch sub/conftst$i.h
    19381     done
    19382     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    19383 
    19384     case $depmode in
    19385     nosideeffect)
    19386       # after this tag, mechanisms are not by side-effect, so they'll
    19387       # only be used when explicitly requested
    19388       if test "x$enable_dependency_tracking" = xyes; then
    19389         continue
    19390       else
    19391         break
    19392       fi
    19393       ;;
    19394     none) break ;;
    19395     esac
    19396     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    19397     # mode.  It turns out that the SunPro C++ compiler does not properly
    19398     # handle `-M -o', and we need to detect this.
    19399     if depmode=$depmode \
    19400        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    19401        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    19402        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    19403          >/dev/null 2>conftest.err &&
    19404        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    19405        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    19406        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    19407       # icc doesn't choke on unknown options, it will just issue warnings
    19408       # or remarks (even with -Werror).  So we grep stderr for any message
    19409       # that says an option was ignored or not supported.
    19410       # When given -MP, icc 7.0 and 7.1 complain thusly:
    19411       #   icc: Command line warning: ignoring option '-M'; no argument required
    19412       # The diagnosis changed in icc 8.0:
    19413       #   icc: Command line remark: option '-MP' not supported
    19414       if (grep 'ignoring option' conftest.err ||
    19415           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    19416         am_cv_CC_dependencies_compiler_type=$depmode
    19417         break
    19418       fi
    19419     fi
    19420   done
    19421 
    19422   cd ..
    19423   rm -rf conftest.dir
    19424 else
    19425   am_cv_CC_dependencies_compiler_type=none
    19426 fi
    19427 
    19428 fi
    19429 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    19430 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    19431 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    19432 
    19433 
    19434 
    19435 if
    19436   test "x$enable_dependency_tracking" != xno \
    19437   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    19438   am__fastdepCC_TRUE=
    19439   am__fastdepCC_FALSE='#'
    19440 else
    19441   am__fastdepCC_TRUE='#'
    19442   am__fastdepCC_FALSE=
    19443 fi
    19444 
    19445 
    19446 depcc="$CXX"  am_compiler_list=
    19447 
    19448 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    19449 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    19450 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
    19451   echo $ECHO_N "(cached) $ECHO_C" >&6
    19452 else
    19453   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    19454   # We make a subdir and do the tests there.  Otherwise we can end up
    19455   # making bogus files that we don't know about and never remove.  For
    19456   # instance it was reported that on HP-UX the gcc test will end up
    19457   # making a dummy file named `D' -- because `-MD' means `put the output
    19458   # in D'.
    19459   mkdir conftest.dir
    19460   # Copy depcomp to subdir because otherwise we won't find it if we're
    19461   # using a relative directory.
    19462   cp "$am_depcomp" conftest.dir
    19463   cd conftest.dir
    19464   # We will build objects and dependencies in a subdirectory because
    19465   # it helps to detect inapplicable dependency modes.  For instance
    19466   # both Tru64's cc and ICC support -MD to output dependencies as a
    19467   # side effect of compilation, but ICC will put the dependencies in
    19468   # the current directory while Tru64 will put them in the object
    19469   # directory.
    19470   mkdir sub
    19471 
    19472   am_cv_CXX_dependencies_compiler_type=none
    19473   if test "$am_compiler_list" = ""; then
    19474      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    19475   fi
    19476   for depmode in $am_compiler_list; do
    19477     # Setup a source with many dependencies, because some compilers
    19478     # like to wrap large dependency lists on column 80 (with \), and
    19479     # we should not choose a depcomp mode which is confused by this.
    19480     #
    19481     # We need to recreate these files for each test, as the compiler may
    19482     # overwrite some of them when testing with obscure command lines.
    19483     # This happens at least with the AIX C compiler.
    19484     : > sub/conftest.c
    19485     for i in 1 2 3 4 5 6; do
    19486       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    19487       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    19488       # Solaris 8's {/usr,}/bin/sh.
    19489       touch sub/conftst$i.h
    19490     done
    19491     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    19492 
    19493     case $depmode in
    19494     nosideeffect)
    19495       # after this tag, mechanisms are not by side-effect, so they'll
    19496       # only be used when explicitly requested
    19497       if test "x$enable_dependency_tracking" = xyes; then
    19498         continue
    19499       else
    19500         break
    19501       fi
    19502       ;;
    19503     none) break ;;
    19504     esac
    19505     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    19506     # mode.  It turns out that the SunPro C++ compiler does not properly
    19507     # handle `-M -o', and we need to detect this.
    19508     if depmode=$depmode \
    19509        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    19510        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    19511        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    19512          >/dev/null 2>conftest.err &&
    19513        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    19514        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    19515        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    19516       # icc doesn't choke on unknown options, it will just issue warnings
    19517       # or remarks (even with -Werror).  So we grep stderr for any message
    19518       # that says an option was ignored or not supported.
    19519       # When given -MP, icc 7.0 and 7.1 complain thusly:
    19520       #   icc: Command line warning: ignoring option '-M'; no argument required
    19521       # The diagnosis changed in icc 8.0:
    19522       #   icc: Command line remark: option '-MP' not supported
    19523       if (grep 'ignoring option' conftest.err ||
    19524           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    19525         am_cv_CXX_dependencies_compiler_type=$depmode
    19526         break
    19527       fi
    19528     fi
    19529   done
    19530 
    19531   cd ..
    19532   rm -rf conftest.dir
    19533 else
    19534   am_cv_CXX_dependencies_compiler_type=none
    19535 fi
    19536 
    19537 fi
    19538 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
    19539 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
    19540 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
    19541 
    19542 
    19543 
    19544 if
    19545   test "x$enable_dependency_tracking" != xno \
    19546   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
    19547   am__fastdepCXX_TRUE=
    19548   am__fastdepCXX_FALSE='#'
    19549 else
    19550   am__fastdepCXX_TRUE='#'
    19551   am__fastdepCXX_FALSE=
    19552 fi
    19553 
    19554 
    19555 
    19556 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
    19557 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
    19558     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    19559 if test "${enable_maintainer_mode+set}" = set; then
    19560   enableval="$enable_maintainer_mode"
    19561   USE_MAINTAINER_MODE=$enableval
    19562 else
    19563   USE_MAINTAINER_MODE=no
    19564 fi;
    19565   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
    19566 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
    19567 
    19568 
    19569 if test $USE_MAINTAINER_MODE = yes; then
    19570   MAINTAINER_MODE_TRUE=
    19571   MAINTAINER_MODE_FALSE='#'
    19572 else
    19573   MAINTAINER_MODE_TRUE='#'
    19574   MAINTAINER_MODE_FALSE=
    19575 fi
    19576 
    19577   MAINT=$MAINTAINER_MODE_TRUE
    19578 
    19579 
    19580 
    19581 coin_have_externals=no
    19582 if test "$enable_maintainer_mode" = yes; then
    19583 
    19584   # If maintainer mode is chosen, we make sure that the correct versions
    19585   # of the tools are used, and that we know where libtoo.m4 is (to
    19586   # recreate acinclude.m4)
    19587 
    19588 
    19589   LIBTOOLM4=
    19590 
    19591   # Check if we have autoconf
    19592   # Extract the first word of "autoconf", so it can be a program name with args.
    19593 set dummy autoconf; ac_word=$2
    19594 echo "$as_me:$LINENO: checking for $ac_word" >&5
    19595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19596 if test "${ac_cv_prog_have_autoconf+set}" = set; then
    19597   echo $ECHO_N "(cached) $ECHO_C" >&6
    19598 else
    19599   if test -n "$have_autoconf"; then
    19600   ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
    19601 else
    19602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    19603 for as_dir in $PATH
    19604 do
    19605   IFS=$as_save_IFS
    19606   test -z "$as_dir" && as_dir=.
    19607   for ac_exec_ext in '' $ac_executable_extensions; do
    19608   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19609     ac_cv_prog_have_autoconf="yes"
    19610     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19611     break 2
    19612   fi
    19613 done
    19614 done
    19615 
    19616   test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
    19617 fi
    19618 fi
    19619 have_autoconf=$ac_cv_prog_have_autoconf
    19620 if test -n "$have_autoconf"; then
    19621   echo "$as_me:$LINENO: result: $have_autoconf" >&5
    19622 echo "${ECHO_T}$have_autoconf" >&6
    19623 else
    19624   echo "$as_me:$LINENO: result: no" >&5
    19625 echo "${ECHO_T}no" >&6
    19626 fi
    19627 
    19628   if test $have_autoconf = no; then
    19629     { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5
    19630 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;}
    19631    { (exit 1); exit 1; }; }
    19632   fi
    19633 
    19634   # Check whether autoconf is the correct version
    19635   correct_version='2.59'
    19636   grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    19637   echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5
    19638 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6
    19639   autoconf --version > confauto.out 2>&1
    19640   if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
    19641     echo "$as_me:$LINENO: result: yes" >&5
    19642 echo "${ECHO_T}yes" >&6
    19643   else
    19644     rm -f confauto.out
    19645     echo "$as_me:$LINENO: result: no" >&5
    19646 echo "${ECHO_T}no" >&6
    19647     { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5
    19648 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;}
    19649    { (exit 1); exit 1; }; }
    19650   fi
    19651   rm -f confauto.out
    19652 
    19653   # Check if the executable autoconf is picked up from the correct location
    19654   echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5
    19655 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6
    19656   autoconf_dir=`which autoconf | sed -e 's=/autoconf=='`
    19657   autoconf_dir=`cd $autoconf_dir; pwd`
    19658   if test x$AUTOTOOLS_DIR = x; then
    19659     want_dir=$HOME/bin
    19660   else
    19661     want_dir=$AUTOTOOLS_DIR/bin
    19662   fi
    19663   if test $autoconf_dir = `cd $want_dir; pwd`; then
    19664     echo "$as_me:$LINENO: result: yes" >&5
    19665 echo "${ECHO_T}yes" >&6
    19666   else
    19667     rm -f confauto.out
    19668     echo "$as_me:$LINENO: result: no" >&5
    19669 echo "${ECHO_T}no" >&6
    19670     { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
    19671 echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
    19672    { (exit 1); exit 1; }; }
    19673   fi
    19674 
    19675   # Check if we have automake
    19676   # Extract the first word of "automake", so it can be a program name with args.
    19677 set dummy automake; ac_word=$2
    19678 echo "$as_me:$LINENO: checking for $ac_word" >&5
    19679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19680 if test "${ac_cv_prog_have_automake+set}" = set; then
    19681   echo $ECHO_N "(cached) $ECHO_C" >&6
    19682 else
    19683   if test -n "$have_automake"; then
    19684   ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
    19685 else
    19686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    19687 for as_dir in $PATH
    19688 do
    19689   IFS=$as_save_IFS
    19690   test -z "$as_dir" && as_dir=.
    19691   for ac_exec_ext in '' $ac_executable_extensions; do
    19692   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19693     ac_cv_prog_have_automake="yes"
    19694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19695     break 2
    19696   fi
    19697 done
    19698 done
    19699 
    19700   test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
    19701 fi
    19702 fi
    19703 have_automake=$ac_cv_prog_have_automake
    19704 if test -n "$have_automake"; then
    19705   echo "$as_me:$LINENO: result: $have_automake" >&5
    19706 echo "${ECHO_T}$have_automake" >&6
    19707 else
    19708   echo "$as_me:$LINENO: result: no" >&5
    19709 echo "${ECHO_T}no" >&6
    19710 fi
    19711 
    19712   if test $have_automake = no; then
    19713     { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5
    19714 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;}
    19715    { (exit 1); exit 1; }; }
    19716   fi
    19717 
    19718   # Check whether automake is the correct version
    19719   correct_version='1.9.6'
    19720   grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    19721   echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5
    19722 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6
    19723   automake --version > confauto.out 2>&1
    19724   if $EGREP $grep_version confauto.out >/dev/null 2>&1; then
    19725     echo "$as_me:$LINENO: result: yes" >&5
    19726 echo "${ECHO_T}yes" >&6
    19727   else
    19728     rm -f confauto.out
    19729     echo "$as_me:$LINENO: result: no" >&5
    19730 echo "${ECHO_T}no" >&6
    19731     { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5
    19732 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;}
    19733    { (exit 1); exit 1; }; }
    19734   fi
    19735   rm -f confauto.out
    19736 
    19737   # Check if the executable automake is picked up from the correct location
    19738   echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5
    19739 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6
    19740   automake_dir=`which automake | sed -e 's=/automake=='`
    19741   automake_dir=`cd $automake_dir; pwd`
    19742   if test x$AUTOTOOLS_DIR = x; then
    19743     want_dir=$HOME/bin
    19744   else
    19745     want_dir=$AUTOTOOLS_DIR/bin
    19746   fi
    19747   if test $automake_dir = `cd $want_dir; pwd`; then
    19748     echo "$as_me:$LINENO: result: yes" >&5
    19749 echo "${ECHO_T}yes" >&6
    19750   else
    19751     rm -f confauto.out
    19752     echo "$as_me:$LINENO: result: no" >&5
    19753 echo "${ECHO_T}no" >&6
    19754     { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5
    19755 echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;}
    19756    { (exit 1); exit 1; }; }
    19757   fi
    19758 
    19759   # Check if we can find the libtool file
    19760   if test x$AUTOTOOLS_DIR = x; then
    19761     want_dir=$HOME/share
    19762   else
    19763     want_dir=$AUTOTOOLS_DIR/share
    19764   fi
    19765   as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
    19766 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
    19767 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
    19768 if eval "test \"\${$as_ac_File+set}\" = set"; then
    19769   echo $ECHO_N "(cached) $ECHO_C" >&6
    19770 else
    19771   test "$cross_compiling" = yes &&
    19772   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    19773 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    19774    { (exit 1); exit 1; }; }
    19775 if test -r "$want_dir/aclocal/libtool.m4"; then
    19776   eval "$as_ac_File=yes"
    19777 else
    19778   eval "$as_ac_File=no"
    19779 fi
    19780 fi
    19781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    19782 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    19783 if test `eval echo '${'$as_ac_File'}'` = yes; then
    19784   LIBTOOLM4="$want_dir/aclocal/libtool.m4"
    19785 else
    19786   { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
    19787 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
    19788    { (exit 1); exit 1; }; }
    19789 fi
    19790 
    19791 
    19792   # Check if this is the correct version of libtool (with escaped dots)
    19793   correct_version='1.5.22'
    19794   grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    19795   as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
    19796 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
    19797 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
    19798 if eval "test \"\${$as_ac_File+set}\" = set"; then
    19799   echo $ECHO_N "(cached) $ECHO_C" >&6
    19800 else
    19801   test "$cross_compiling" = yes &&
    19802   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    19803 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    19804    { (exit 1); exit 1; }; }
    19805 if test -r "$want_dir/libtool/ltmain.sh"; then
    19806   eval "$as_ac_File=yes"
    19807 else
    19808   eval "$as_ac_File=no"
    19809 fi
    19810 fi
    19811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    19812 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    19813 if test `eval echo '${'$as_ac_File'}'` = yes; then
    19814   have_ltmain=yes
    19815 else
    19816   have_ltmain=no
    19817 fi
    19818 
    19819   echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
    19820 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6
    19821   if test $have_ltmain = yes; then
    19822     if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then
    19823       echo "$as_me:$LINENO: result: yes" >&5
    19824 echo "${ECHO_T}yes" >&6
    19825     else
    19826       echo "$as_me:$LINENO: result: no" >&5
    19827 echo "${ECHO_T}no" >&6
    19828       { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
    19829 echo "$as_me: error: You don't have the correct version of libtool." >&2;}
    19830    { (exit 1); exit 1; }; }
    19831     fi
    19832   else
    19833     echo "$as_me:$LINENO: result: no" >&5
    19834 echo "${ECHO_T}no" >&6
    19835     { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
    19836 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;}
    19837    { (exit 1); exit 1; }; }
    19838   fi
    19839 
    19840   # Check if we have an Externals file
    19841   if test -r $srcdir/Externals; then
    19842     coin_have_externals=yes
    19843   fi
    19844   # Check if subversion is installed and understands https
    19845   # Extract the first word of "svn", so it can be a program name with args.
    19846 set dummy svn; ac_word=$2
    19847 echo "$as_me:$LINENO: checking for $ac_word" >&5
    19848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19849 if test "${ac_cv_prog_have_svn+set}" = set; then
    19850   echo $ECHO_N "(cached) $ECHO_C" >&6
    19851 else
    19852   if test -n "$have_svn"; then
    19853   ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
    19854 else
    19855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    19856 for as_dir in $PATH
    19857 do
    19858   IFS=$as_save_IFS
    19859   test -z "$as_dir" && as_dir=.
    19860   for ac_exec_ext in '' $ac_executable_extensions; do
    19861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19862     ac_cv_prog_have_svn="yes"
    19863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19864     break 2
    19865   fi
    19866 done
    19867 done
    19868 
    19869   test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
    19870 fi
    19871 fi
    19872 have_svn=$ac_cv_prog_have_svn
    19873 if test -n "$have_svn"; then
    19874   echo "$as_me:$LINENO: result: $have_svn" >&5
    19875 echo "${ECHO_T}$have_svn" >&6
    19876 else
    19877   echo "$as_me:$LINENO: result: no" >&5
    19878 echo "${ECHO_T}no" >&6
    19879 fi
    19880 
    19881   if test x$have_svn = xyes; then
    19882     echo "$as_me:$LINENO: checking svn understands https" >&5
    19883 echo $ECHO_N "checking svn understands https... $ECHO_C" >&6
    19884     svn --version > confauto.out 2>&1
    19885     if $EGREP https confauto.out >/dev/null 2>&1; then
    19886       echo "$as_me:$LINENO: result: yes" >&5
    19887 echo "${ECHO_T}yes" >&6
    19888     else
    19889       echo "$as_me:$LINENO: result: no" >&5
    19890 echo "${ECHO_T}no" >&6
    19891       have_svn=no
    19892     fi
    19893     rm -f confauto.out
    19894   fi
    19895 
    19896   # Find the location of the BuildTools directory
    19897   BUILDTOOLSDIR=
    19898   if test -r $srcdir/BuildTools/coin.m4; then
    19899     BUILDTOOLSDIR=$srcdir/BuildTools
    19900   else
    19901     if test -r $srcdir/../BuildTools/coin.m4; then
    19902       BUILDTOOLSDIR=$srcdir/../BuildTools
    19903     else
    19904       if test -r $srcdir/../../BuildTools/coin.m4; then
    19905         BUILDTOOLSDIR=$srcdir/../../BuildTools
    19906       else
    19907         { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    19908 echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    19909    { (exit 1); exit 1; }; }
    19910       fi
    19911     fi
    19912   fi
    19913 
    19914 
    19915   # The following variable is set to the name of the directory where
    19916   # the autotool scripts are located
    19917 
    19918   AUX_DIR=$ac_aux_dir
    19919 fi
    19920 
    19921 # helpful variable for the base directory of this package
    19922 abs_source_dir=`cd $srcdir; pwd`
    19923 
    19924 
    19925 # Stuff for example Makefiles
    19926 if test x$prefix = xNONE; then
    19927   full_prefix=$ac_default_prefix
    19928 else
    19929   full_prefix=$prefix
    19930 fi
    19931 full_prefix=`cd $full_prefix ; pwd`
    19932 
    19933 abs_lib_dir=$full_prefix/lib
    19934 
    19935 abs_include_dir=$full_prefix/include
    19936 
    19937 abs_bin_dir=$full_prefix/bin
    19938 
    19939 
    19940 
    19941 if test $coin_have_externals = yes && test x$have_svn = xyes; then
    19942   HAVE_EXTERNALS_TRUE=
    19943   HAVE_EXTERNALS_FALSE='#'
    19944 else
    19945   HAVE_EXTERNALS_TRUE='#'
    19946   HAVE_EXTERNALS_FALSE=
    19947 fi
    19948 
    19949 
    19950 
    19951 # Stuff for libtool
    19952 
    19953 
    19954 # We check for this header here in a non-standard way to avoid warning
    19955 # messages
    19956 
    19957 
    19958 
    19959 
    19960 
    19961 
    19962 
     20093# No longer needed now that CPPFLAGS is correctly set -- lh, 061214 --
     20094 # AC_REQUIRE([AC_COIN_DLFCN_H])
     20095
     20096# NEW: If libtool exists in the directory higher up, we use that one
     20097#      instead of creating a new one
     20098
     20099# It turns out that the code for AC_PROG_LIBTOOL is somehow AC_REQUIRED
     20100# out in front of this macro body. You'll notice that LIBTOOL is already
     20101# defined here.  We'll have to count on this macro not being called if libtool
     20102# already exists, or at least move the libtool fixes outside the conditional.
     20103# AC_MSG_NOTICE([Entering coin_prog_libtool, LIBTOOL = "$LIBTOOL".])
     20104# This test is therefore removed.  -- lh, 061214 --
     20105# if test "x$LIBTOOL" = x; then
     20106
     20107# AC_MSG_NOTICE([Calling PROG_LIBTOOL.])
     20108
     20109
     20110
     20111
     20112
     20113
     20114
     20115
     20116
     20117# AC_MSG_NOTICE([Finished PROG_LIBTOOL.])
    1996320118
    1996420119
     
    1998220137#          -e 'sYcompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"'`Ycompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"' | \$Xsed -e '"'"'s%@BACKSLASH@%\\\\\\\\\\\\\\\\%g'"'"'`Y' \
    1998320138
    19984 # Correct cygpath for minGW (ToDo!)
    19985 case $build in
    19986   *-mingw*)
    19987     CYGPATH_W=echo
    19988     ;;
    19989 esac
    19990 
    19991 case $build in
    19992   *-cygwin* | *-mingw*)
    19993   case "$CXX" in
    19994     cl* | */cl*)
    19995       { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
     20139  # Correct cygpath for minGW (ToDo!)
     20140  { echo "$as_me:$LINENO: Build is \"$build\"." >&5
     20141echo "$as_me: Build is \"$build\"." >&6;}
     20142  case $build in
     20143    *-mingw*)
     20144      CYGPATH_W=echo
     20145      ;;
     20146  esac
     20147
     20148  case $build in
     20149    *-cygwin* | *-mingw*)
     20150    case "$CXX" in
     20151      cl* | */cl* | CL* | */CL*)
     20152        { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
    1999620153echo "$as_me: Applying patches to libtool for cl compiler" >&6;}
    19997       sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
    19998           -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
    19999           -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \
    20000           -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \
    20001           -e 's%lib /OUT:%lib -OUT:%' \
    20002           -e "s%cygpath -w%$CYGPATH_W%" \
    20003           -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \
    20004           -e 's/$AR t/lib -nologo -list/' \
    20005           -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
    20006           -e  's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \
    20007       libtool > conftest.bla
    20008 
    20009       mv conftest.bla libtool
    20010       chmod 755 libtool
    20011       ;;
    20012     *)
    20013       { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5
     20154        sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
     20155            -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
     20156            -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \
     20157            -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \
     20158            -e 's%lib /OUT:%lib -OUT:%' \
     20159            -e "s%cygpath -w%$CYGPATH_W%" \
     20160            -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \
     20161            -e 's/$AR t/lib -nologo -list/' \
     20162            -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
     20163            -e  's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \
     20164        libtool > conftest.bla
     20165
     20166        mv conftest.bla libtool
     20167        chmod 755 libtool
     20168        ;;
     20169      *)
     20170        { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5
    2001420171echo "$as_me: Applying patches to libtool for GNU compiler" >&6;}
    20015       sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
    20016           -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \
    20017           -e 's|libext="lib"|libext="a"|' \
    20018       libtool > conftest.bla
    20019 
    20020       mv conftest.bla libtool
    20021       chmod 755 libtool
    20022       ;;
     20172        sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
     20173            -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \
     20174            -e 's|libext="lib"|libext="a"|' \
     20175        libtool > conftest.bla
     20176
     20177        mv conftest.bla libtool
     20178        chmod 755 libtool
     20179        ;;
     20180    esac
    2002320181  esac
    20024 esac
    20025 
    20026 # ToDo
    20027 # For now, don't use the -no-undefined flag, since the Makefiles are
    20028 # not yet set up that way.  But we need to fix this, when we want
    20029 # to comile DLLs under Windows.
    20030 LT_LDFLAGS=
    20031 
    20032 
    20033 
    20034 # set RPATH_FLAGS to the compiler link flags required to hardcode location
    20035 # of the shared objects
    20036 RPATH_FLAGS=
     20182# This fi matches the commented `if test "x$LIBTOOL" = x;' up at the head of
     20183# the macro. -- lh, 061214 --
     20184# fi
     20185
     20186# AC_MSG_NOTICE([End libtool initialisation.])
     20187
     20188# AC_MSG_NOTICE([Finished COIN_PROG_LIBTOOL.])
     20189  # set RPATH_FLAGS to the compiler link flags required to hardcode location
     20190  # of the shared objects
     20191  RPATH_FLAGS=
    2003720192
    2003820193if test $enable_shared = yes; then
     
    2007520230
    2007620231
     20232else
     20233
     20234  { echo "$as_me:$LINENO: Using libtool script in directory $coin_config_dir" >&5
     20235echo "$as_me: Using libtool script in directory $coin_config_dir" >&6;}
     20236  # get all missing information from the config.log file
     20237
     20238  # output variables and defines
     20239  as_save_IFS=$IFS
     20240  IFS='
     20241'
     20242  for oneline in `cat $coin_config_dir/config.status`; do
     20243    case "$oneline" in
     20244         # First some automake conditionals
     20245      s,@am__fastdep* | s,@AR@* | s,@CPP@*  | s,@CPPFLAGS@* | s,@CXXCPP@*  | \
     20246      s,@RANLIB@* | s,@STRIP@* | s,@ac_ct_AR@* | s,@ac_ct_RANLIB@* | \
     20247      s,@ac_ct_STRIP@* | s,@host* | s,@LN_S@* | s,@RPATH_FLAGS@* | \
     20248      s,@ac_c_preproc_warn_flag@* |  s,@ac_cxx_preproc_warn_flag@* )
     20249        command=`echo $oneline | sed -e 's/^s,@//' -e 's/@,/="/' -e 's/,;t t/"/'`
     20250#        echo "$command"
     20251        eval "$command"
     20252        ;;
     20253      s,@DEFS@* )
     20254        command=`echo $oneline | sed -e 's/^s,@DEFS@,/defsline="/' -e 's/,;t t/"/'`
     20255#        echo "$command"
     20256        eval "$command"
     20257        ;;
     20258    esac
     20259  done
     20260  IFS=$as_save_IFS
     20261
     20262  # And some defines (assuming here that the packages base dir
     20263  # doesn't have a config.h file
     20264  for word in $defsline; do
     20265#    echo word $word
     20266    case $word in
     20267      -DHAVE_[A-Z_]*_H=1 | -DSTDC_HEADERS=1 )
     20268        i=`echo $word | sed -e 's/-D/#define /' -e 's/=/ /'`
     20269#        echo dd $i
     20270        echo $i >>confdefs.h
     20271        ;;
     20272    esac
     20273  done
     20274fi
     20275
     20276# AC_MSG_NOTICE([End of INIT_AUTO_TOOLS.])
     20277
     20278# ToDo
     20279# For now, don't use the -no-undefined flag, since the Makefiles are
     20280# not yet set up that way.  But we need to fix this, when we want
     20281# to comile DLLs under Windows.
     20282LT_LDFLAGS=
     20283
     20284
     20285#END
     20286}
    2007720287
    2007820288#############################################################################
     
    2065820868                    echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5
    2065920869echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6
     20870                    ac_ext=c
     20871ac_cpp='$CPP $CPPFLAGS'
     20872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20874ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20875
    2066020876# ToDo find out what to do about extern "C"
    2066120877#                    AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()],
     
    2071120927rm -f conftest.err conftest.$ac_objext \
    2071220928      conftest$ac_exeext conftest.$ac_ext
     20929                    ac_ext=c
     20930ac_cpp='$CPP $CPPFLAGS'
     20931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20933ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20934
    2071320935                    LIBS="$coin_save_LIBS"
    2071420936                  fi
     
    2081521037                    echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5
    2081621038echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6
     21039                    ac_ext=c
     21040ac_cpp='$CPP $CPPFLAGS'
     21041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21043ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21044
    2081721045# ToDo find out what to do about extern "C"
    2081821046#                    AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()],
     
    2086821096rm -f conftest.err conftest.$ac_objext \
    2086921097      conftest$ac_exeext conftest.$ac_ext
     21098                    ac_ext=c
     21099ac_cpp='$CPP $CPPFLAGS'
     21100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21102ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21103
    2087021104                    LIBS="$coin_save_LIBS"
    2087121105                  fi
     
    2104321277                    echo "$as_me:$LINENO: checking whether symbol MSK_openmosek is available with MSK" >&5
    2104421278echo $ECHO_N "checking whether symbol MSK_openmosek is available with MSK... $ECHO_C" >&6
     21279                    ac_ext=c
     21280ac_cpp='$CPP $CPPFLAGS'
     21281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21283ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21284
    2104521285# ToDo find out what to do about extern "C"
    2104621286#                    AC_TRY_LINK([extern "C" {void MSK_openmosek();}],[MSK_openmosek()],
     
    2109621336rm -f conftest.err conftest.$ac_objext \
    2109721337      conftest$ac_exeext conftest.$ac_ext
     21338                    ac_ext=c
     21339ac_cpp='$CPP $CPPFLAGS'
     21340ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21341ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21342ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21343
    2109821344                    LIBS="$coin_save_LIBS"
    2109921345                  fi
     
    2120021446                    echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5
    2120121447echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6
     21448                    ac_ext=c
     21449ac_cpp='$CPP $CPPFLAGS'
     21450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21452ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21453
    2120221454# ToDo find out what to do about extern "C"
    2120321455#                    AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()],
     
    2125321505rm -f conftest.err conftest.$ac_objext \
    2125421506      conftest$ac_exeext conftest.$ac_ext
     21507                    ac_ext=c
     21508ac_cpp='$CPP $CPPFLAGS'
     21509ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21510ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21511ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21512
    2125521513                    LIBS="$coin_save_LIBS"
    2125621514                  fi
     
    2145421712                    echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5
    2145521713echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6
     21714                    ac_ext=c
     21715ac_cpp='$CPP $CPPFLAGS'
     21716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21718ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21719
    2145621720# ToDo find out what to do about extern "C"
    2145721721#                    AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()],
     
    2150721771rm -f conftest.err conftest.$ac_objext \
    2150821772      conftest$ac_exeext conftest.$ac_ext
     21773                    ac_ext=c
     21774ac_cpp='$CPP $CPPFLAGS'
     21775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21777ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21778
    2150921779                    LIBS="$coin_save_LIBS"
    2151021780                  fi
     
    2154521815# Determine the name of the ASL library
    2154621816case "$CXX" in
    21547   cl* | */cl*)
     21817  cl* | */cl* | CL* | */CL*)
    2154821818    ampllib=amplsolv.lib ;;
    2154921819  *)
     
    2168821958
    2168921959if test "$use_asldir" != no; then
     21960  ac_ext=c
     21961ac_cpp='$CPP $CPPFLAGS'
     21962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21964ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21965
    2169021966  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    2169121967echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     
    2176222038_ACEOF
    2176322039
     22040  ac_ext=c
     22041ac_cpp='$CPP $CPPFLAGS'
     22042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22044ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22045
    2176422046else
    2176522047  coin_has_asl=no
     
    2183322115
    2183422116case "$CC" in
    21835   cl*) LIBEXT=lib ;;
     22117  cl* | */cl* | CL* | */CL*)
     22118       LIBEXT=lib ;;
    2183622119    *) LIBEXT=a ;;
    2183722120esac
     
    2272323006s,@ac_ct_F77@,$ac_ct_F77,;t t
    2272423007s,@LIBTOOL@,$LIBTOOL,;t t
     23008s,@ac_c_preproc_warn_flag@,$ac_c_preproc_warn_flag,;t t
     23009s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t
     23010s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2272523011s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    22726 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2272723012s,@CBCSRCDIR@,$CBCSRCDIR,;t t
    2272823013s,@CBCOBJDIR@,$CBCOBJDIR,;t t
     
    2365323938  fi
    2365423939  case "$CC" in
    23655     cl* | */cl*)
    23656       lnkcmd=cp ;;
    23657   esac
    23658   case "$CXX" in
    23659     cl* | */cl*)
     23940    cl* | */cl* | CL* | */CL*)
    2366023941      lnkcmd=cp ;;
    2366123942  esac
    2366223943  if test "$lnkcmd" = cp; then
    23663     { echo "$as_me:$LINENO: Creating VPATH copies for data files" >&5
    23664 echo "$as_me: Creating VPATH copies for data files" >&6;}
     23944    { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
     23945echo "$as_me: Copying data files for VPATH configuration" >&6;}
    2366523946  else
    2366623947    echo "$as_me:$LINENO: checking whether ln -s works" >&5
     
    2368023961  fi
    2368123962  for file in $coin_vpath_link_files; do
     23963    dir=`(dirname "./$file") 2>/dev/null ||
     23964$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     23965         X"./$file" : 'X\(//\)[^/]' \| \
     23966         X"./$file" : 'X\(//\)$' \| \
     23967         X"./$file" : 'X\(/\)' \| \
     23968         .     : '\(.\)' 2>/dev/null ||
     23969echo X"./$file" |
     23970    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     23971          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     23972          /^X\(\/\/\)$/{ s//\1/; q; }
     23973          /^X\(\/\).*/{ s//\1/; q; }
     23974          s/.*/./; q'`
     23975    if test -d $dir; then : ; else
     23976      { if $as_mkdir_p; then
     23977    mkdir -p $dir
     23978  else
     23979    as_dir=$dir
     23980    as_dirs=
     23981    while test ! -d "$as_dir"; do
     23982      as_dirs="$as_dir $as_dirs"
     23983      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     23984$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     23985         X"$as_dir" : 'X\(//\)[^/]' \| \
     23986         X"$as_dir" : 'X\(//\)$' \| \
     23987         X"$as_dir" : 'X\(/\)' \| \
     23988         .     : '\(.\)' 2>/dev/null ||
     23989echo X"$as_dir" |
     23990    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     23991          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     23992          /^X\(\/\/\)$/{ s//\1/; q; }
     23993          /^X\(\/\).*/{ s//\1/; q; }
     23994          s/.*/./; q'`
     23995    done
     23996    test ! -n "$as_dirs" || mkdir $as_dirs
     23997  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
     23998echo "$as_me: error: cannot create directory $dir" >&2;}
     23999   { (exit 1); exit 1; }; }; }
     24000
     24001    fi
    2368224002    rm -f $file
    2368324003    $lnkcmd $abs_source_dir/$file $file
Note: See TracChangeset for help on using the changeset viewer.