From ffaac3a634c0ef753153dca8a13e1aa84c6f333a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 5 Feb 2020 12:52:14 +0100 Subject: [PATCH] build: enforce Unix line endings for autotools files. --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 84a96003..08bbcae7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,6 +15,11 @@ # Vim doesn't like CRLF, even on Windows. *.vim text eol=lf +# This allows autoconf/automake to work with the Linux subsystem +*.m4 text eol=lf +*.ac text eol=lf +*.am text eol=lf + # This is Windows-specific and should always have CRLF, or # Visual Studio may misbehave. *.sln text eol=crlf