Changes between Version 5 and Version 6 of devel-pre-1.0


Ignore:
Timestamp:
Dec 12, 2006 12:29:36 PM (15 years ago)
Author:
andreasw
Comment:

update

Legend:

Unmodified
Added
Removed
Modified
  • devel-pre-1.0

    v5 v6  
    3131LH: Some care is required. We need to get our compilers and compilation flags set correctly before calling COIN_INIT_AUTOTOOLS, else various macros down in the guts of autotools will 'help' us by providing defaults which are often incorrect (particularly in non-GCC environments).
    3232
     33AW: I did a first attempt of this - it is now in BuildTools/trunk (not yet in devel-pre-1.0).  We using it with Bonmin, and it seems to work Ok, also on Cygwin.  What I did when the libtool script is NOT created (and the tests are skipped), I still read the values of come autoconf output variables and a few #define's from the config.status file in the directory where the libtool script is.
     34
    3335=== Avoiding aclocal.m4 creation ===
    3436
     
    4446
    4547LH: I've attached versions of [attachment:coin.m4 BuildTools/coin.m4] and [attachment:configure.ac CoinUtils/configure.ac] which implement the --enable-doscompile idea for msvc (cl/link) and mingw (gcc/g++/ld with -mno-cygwin). If you omit --enable-doscompile, you'll get a standard cygwin build. Msys is missing; I don't have that environment to play with. The files also cope with absence of a Fortran compiler, as mentioned in the mailing list. These files expect to see autoconf 2.61.
     48
     49AW: I saw in the proposed implementation that --enable-discompile can be given different arguments.  But I think we need to use a --with- configure argument for that?  (--enable- is only yes or no...?)