Hi Stefan,

Stefan Bidigaray wrote:
The issue is with the test command, not necessarily sh. All borne shells I've ever used provide a built-in for test, though.

I looked this command up... Both dash and Ash provide the -nt command to compare the date of two files. Can you do a 'man sh' to double check that the Solaris sh also have this command for the test built-in?

By the way, this would be a GNU autoconf bug.

Ok, first let's see, on Linux I have "man test":

       FILE1 -nt FILE2
              FILE1 is newer (modification date) than FILE2

So this is I suppose the test intended.

However I do not find this in "man test" in solaris... and inside "sh" is there a specific section for it?


with --trace  was able to see the culprit:
Makefile.postamble:105: update target 'base.make' due to: config.status Version if [ Version -nt base.make ]; then ./configure; else ./config.status base.make; fi

so this code is actually in our Makefile.postamble, it is not a GNU autoconf bug, but a check we add to rerun configure.

I wonder how it can be made more portable. Or, having bash, if I can run

Riccardo

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to