Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218413

make reconfigure ignores configure-time AUTOCONF environment variable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      Suppose PATH points to an out-of date autoconf.
      We can use the AUTOCONF environment variable with configure to override finding autoconf on PATH, but that variable is not remembered, so
      make reconfigure fails.

      # Recipe:
      rm -rf build
      AUTOCONF=/usr/bin/autoconf PATH="$MOLDY/bin:$PATH" bash configure ...
      # configure + make succeed

      make reconfigure
      # Fails with:
      Using autoconf at $MOLDY/bin/autoconf [autoconf (GNU Autoconf) 2.62]
      stdin:33: error: Autoconf version 2.69 or higher is required

        Attachments

          Activity

            People

            Assignee:
            ihse Magnus Ihse Bursie
            Reporter:
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: