NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/39737: the build attempts to run autoconf/automake/autoheader



On Sun, 12 Oct 2008, apb%cequrux.com@localhost wrote:
>         Some makefiles contain rules that attempt to run autoconf,
>         automake, autoheader, and similar tools, depending on the time
>         stamps of various files.  If the source tree is read-only, this
>         will fail.  If the source tree is writable, it will cause files
>         to be overwritten, or unwanted files to be created.
 [...]
>       For a workaround, run the following script and commit the results.

At present I am using the following workaround to ensure that all
"configure" and "Makefile" files are newer than the *.in files from
which they are generated, and similarly to ensuer that *.in files are
newer than *.ac or *.am files.

for pattern in '*.ac' '*.am' '*.in' 'configure' 'Makefile' ; do
    echo "$pattern"
    find . -name "$pattern" -exec touch \{\} \+
    sleep 1
done

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index