Hi,

the symptom :
I can't recompile xorg-server without a "prep" stage

$ cygport xorg-server prep compile
# it works fine
$ cygport xorg-server compile
# it failed, the error is :
# touch: cannot touch `./include/do-not-use-config.h': No such file or directory


IMHO, the variable config_h_in in cygautoreconf is invalid

line 308 of autools.cygclass
        *) config_h_in="${config_h}.in"

the ".in" suffix is append to the *last* (and only the last) file in config_h

for example, if config_h is
        config_h="a.h b.h"

as the result, config_h_in will be :
        config_h="a.h b.h.in"
(a.h.in is not set)

my patch is to remplace

        *) config_h_in="${config_h}.in"

with

        *)      config_h_in=
                for f in ${config_h}
                do
                        config_h_in="${config_h_in} ${f}.in"
                done
                ;;

with this patch, config_h_in now will contain

        config_h="a.h.in b.h.in"

as expected

Best regards and many thanks for cygport

Attachment: config_h_in.patch
Description: Binary data

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to