make reconfigure ignores configure-time AUTOCONF environment variable

XMLWordPrintable

    • b08

        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

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

                Created:
                Updated:
                Resolved: