Changeset 43375 for trunk/base/configure


Ignore:
Timestamp:
Dec 10, 2008, 4:49:53 AM (9 years ago)
Author:
jmpp@…
Message:

Finally move trunk away from floating point version numbers and instead use the more common x.y.z format, by:

  • Moving base/macports1.0/macports_autoconf.tcl.in to the @MACPORTS_VERSION@ autoconf variable;
  • Introducing a temporary special-case hack to force the selfupdate run in case the $macports::autoconf::macports_version variable is in the old format and smaller or equal to 1.800 (cf. my comment in the selfupdate proc in base/macports1.0/macports.tcl);
  • Removing the now unnecessary base/config/mp_version file, as everything is now determined from the base/config/macports_version file;
  • Removing the @MP_VERSION@ autoconf macro;
  • Regenerating the configure script;

All in all, we should have standard x.y.z version numbers starting from current trunk + 1 (e.g. 1.8.1), since
current trunk will only serve to introduce this code into users' hands first.

PS: I chose to force the upgrade as the special-case hack, since otherwise I'd have to reset the $macports::autoconf::macports_version
variable to achieve the same result, and that seems like it might make some babies out there cry...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r42842 r43375  
    753753CC
    754754SW_VERS
    755 MP_VERSION
    756755MACPORTS_VERSION
    757756target_os
     
    21692168$as_echo "$MACPORTS_VERSION" >&6; }
    21702169
    2171 # Read the old, floating point format version, which we still use internally, and export it for the $macports::autoconf::macports_version variable
    2172 MP_VERSION=$(cat config/mp_version | tr -d '\n')
    2173 
    21742170
    21752171# Check user PATH for MP paths, and remove as necessary.
Note: See TracChangeset for help on using the changeset viewer.