Changeset 27313


Ignore:
Timestamp:
Jul 28, 2007, 9:08:46 PM (13 years ago)
Author:
jmpp@…
Message:

Read the version number into the autoconf system through the esyscmd command,
finally eliminating the need to define the same thing in two places (and the
unavoidable discrepancy when one of them is forgotten).

Now that this is in place I hope eridius will finally implement a new MacPorts
versioning system for 'port version' and 'port selfupdate' using rpm-vercomp
and standard x.y.z version numbers, since he said back in 'them days, iirc,
that reading this number into autoconf was necessary (or was that just an
added bonus? ;-).

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r27296 r27313  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for MacPorts 1.6.0.
     3# Generated by GNU Autoconf 2.61 for MacPorts 1.600.
    44#
    55# Report bugs to <macports-dev@lists.macosforge.org>.
     
    575575PACKAGE_NAME='MacPorts'
    576576PACKAGE_TARNAME='macports'
    577 PACKAGE_VERSION='1.6.0'
    578 PACKAGE_STRING='MacPorts 1.6.0'
     577PACKAGE_VERSION='1.600'
     578PACKAGE_STRING='MacPorts 1.600'
    579579PACKAGE_BUGREPORT='macports-dev@lists.macosforge.org'
    580580
     
    12911291  # This message is too long to be a string in the A/UX 3.1 sh.
    12921292  cat <<_ACEOF
    1293 \`configure' configures MacPorts 1.6.0 to adapt to many kinds of systems.
     1293\`configure' configures MacPorts 1.600 to adapt to many kinds of systems.
    12941294
    12951295Usage: $0 [OPTION]... [VAR=VALUE]...
     
    13611361if test -n "$ac_init_help"; then
    13621362  case $ac_init_help in
    1363      short | recursive ) echo "Configuration of MacPorts 1.6.0:";;
     1363     short | recursive ) echo "Configuration of MacPorts 1.600:";;
    13641364   esac
    13651365  cat <<\_ACEOF
     
    14801480if $ac_init_version; then
    14811481  cat <<\_ACEOF
    1482 MacPorts configure 1.6.0
     1482MacPorts configure 1.600
    14831483generated by GNU Autoconf 2.61
    14841484
     
    14941494running configure, to aid debugging if configure makes a mistake.
    14951495
    1496 It was created by MacPorts $as_me 1.6.0, which was
     1496It was created by MacPorts $as_me 1.600, which was
    14971497generated by GNU Autoconf 2.61.  Invocation command line was
    14981498
     
    1209212092# values after options handling.
    1209312093ac_log="
    12094 This file was extended by MacPorts $as_me 1.6.0, which was
     12094This file was extended by MacPorts $as_me 1.600, which was
    1209512095generated by GNU Autoconf 2.61.  Invocation command line was
    1209612096
     
    1214112141cat >>$CONFIG_STATUS <<_ACEOF
    1214212142ac_cs_version="\\
    12143 MacPorts config.status 1.6.0
     12143MacPorts config.status 1.600
    1214412144configured by $0, generated by GNU Autoconf 2.61,
    1214512145  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  • trunk/base/configure.ac

    r27296 r27313  
    11dnl Process this file with autoconf to produce a configure script.
    22AC_PREREQ(2.52)
    3 AC_INIT([MacPorts], [1.6.0], [macports-dev@lists.macosforge.org], [macports])
     3AC_INIT([MacPorts], [esyscmd(cat config/mp_version | tr -d '\n')], [macports-dev@lists.macosforge.org], [macports])
    44AC_CONFIG_SRCDIR([src/pextlib1.0/Pextlib.c])
    55AC_CONFIG_HEADERS([src/config.h])
Note: See TracChangeset for help on using the changeset viewer.