Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AC_CONFIG_MACRO_DIRS([build-aux/m4]) conflicts with ACLOCAL.AMFLAGS=-I build-aux/m4

Tags:

cygwin

On Windows Cygwin make of some program gives

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize:   error: AC_CONFIG_MACRO_DIRS([build-aux/m4]) conflicts with ACLOCAL.AMFLAGS=-I build-aux/m4
like image 827
57ar7up Avatar asked Nov 30 '17 21:11

57ar7up


3 Answers

Look here:

http://pete.akeo.ie/2010/12/that-darn-libtoolize-acconfigmacrodirm4.html

Maybe u can do like this:

find . -name \*.m4|xargs dos2unix
find . -name \*.ac|xargs dos2unix
find . -name \*.am|xargs dos2unix
like image 178
Hui Wang Avatar answered Nov 01 '22 18:11

Hui Wang


Convert using the below command:

dos2unix Makefile.am
like image 3
Ramya Avatar answered Nov 01 '22 17:11

Ramya


Try commenting out the line ACLOCAL_MFLAGS = -I m4 in Makefile.am. You can open the file by typing cygstart Makefile.am and choosing an editor. Notepad is fine. Now, I don't know what this does and the consequences it will bring but what's the worst thing that can happen, right?.. I'm fairly certain that we both followed the same tutorial and for e-mailing purposes I'd reckon that it's fine. I'll post new solutions or delete this as soon as I get more information.

like image 1
Berkay Avatar answered Nov 01 '22 18:11

Berkay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!