bug-gnu-utils
[Top][All Lists]
Advanced

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

autoconf 2.13 (probably applies to later versions too)


From: Reuben Thomas
Subject: autoconf 2.13 (probably applies to later versions too)
Date: Tue, 10 Oct 2000 11:59:36 +0100 (BST)

On Cygwin, when running tests to find the sizeof various types, the test
programs write out a string of the form "%d\n", sizeof(foo), and then cat
the resulting file into a shell variable.

The problem is that the Cygwin cat always operates in binary mode, so if
the file is written on a partition mounted in text mode, then the
environment variable ends up getting a value which has a CR (^M) appended
to the end. This then confuses the configure script.

Removing the \n from the string seems to cure the problem.

-- 
http://sc3d.org/rrt/
L'art des vers est de transformer en beautés les faiblesses (Aragon)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]