Hi Yaakov,

  There's a glitch in cygautoreconf().  It calls check_prog_req() to ensure
that autoconf and autoreconf can be found anywhere on $PATH, and it invokes
autoconf without any path to check the version, but it specifies an explicit
path to autoreconf - which might not match the chosen autoconf.  I think it
should let the same PATH search apply to both, like so:

trunk/ChangeLog

        * lib/autotools.cygclass (cygautoreconf):  PATH-search for autoreconf.

branches/cygwin-1.5/ChangeLog

        * bin/cygport.in (cygautoreconf):  PATH-search for autoreconf.


Index: trunk/lib/autotools.cygclass
===================================================================
--- trunk/lib/autotools.cygclass        (revision 5468)
+++ trunk/lib/autotools.cygclass        (working copy)
@@ -167,7 +167,7 @@ cygautoreconf() {
                ;;
        esac

-       /usr/bin/autoreconf --force -i --verbose || error "autoreconf failed"
+       autoreconf --force -i --verbose || error "autoreconf failed"

        for d in . ${ac_subdirs}
        do
Index: branches/cygwin-1.5/bin/cygport.in
===================================================================
--- branches/cygwin-1.5/bin/cygport.in  (revision 5468)
+++ branches/cygwin-1.5/bin/cygport.in  (working copy)
@@ -1039,7 +1039,7 @@ cygautoreconf() {
                fi
        fi

-       /usr/bin/autoreconf --force -i --verbose || error "autoreconf failed"
+       autoreconf --force -i --verbose || error "autoreconf failed"

        for d in . ${ac_subdirs}
        do


    cheers,
      DaveK

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to