Skip to content

Commit 93cf244

Browse files
authored
Fix autoreconf error due to m4 CRLF issue (#1717)
Trying to run `autoreconf -fiv` on a Windows system using wsl causes the following error: ``` autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' .ibtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4 autoreconf: libtoolize failed with exit status: 1 ``` This is likely due to a CRLF error in the makefile. This commit applies the following fix: https://pete.akeo.ie/2010/12/that-darn-libtoolize-acconfigmacrodirm4.html
1 parent 68491c5 commit 93cf244

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://pete.akeo.ie/2010/12/that-darn-libtoolize-acconfigmacrodirm4.html
2+
*.sh text eol=lf
3+
*.ac text eol=lf
4+
*.am text eol=lf

0 commit comments

Comments
 (0)