Description of problem: When running libtoolize, fails as: libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' /usr/bin/libtoolize: eval: line 3772: unexpected EOF while looking for matching `"' /usr/bin/libtoolize: eval: line 3773: syntax error: unexpected end of file Version-Release number of selected component (if applicable): libtool-2.4.6-8.fc23.x86_64 How reproducible: always Steps to Reproduce: 1.run libtoolize 2. 3. Actual results: fails Expected results: should be done without any errors Additional info:
Hm, okay. tracked this down. it happens when Makefile.am has: ACLOCAL_AMFLAGS = \ ... if it is one liner, works fine. I think it worked before. dunno what version it is. at least on f22.
Thanks for the report, reproduced. It probably did not work correctly before either (the ACLOCAL_AMFLAGS did not parse '-I' option correctly). Previously libtoolize just did not complain. So as a workaround, please specify only one-line ACLOCAL_AMFLAGS.
As there is AC_CONFIG_MACRO_DIR[S] in autoconf, the ACLOCAL_AMFLAGS should be less needed in future. It is still needed nowadays, but it is not much useful to hack on it right now. So please let me close this as WONTFIX with workaround discussed before -- kee ACLOCAL_AMFLAGS on single line. It is already documented in auto(re)conf's manual [1]: If you want autoreconf to pass flags that are not listed here on to aclocal, set ACLOCAL_AMFLAGS in your Makefile.am. Due to a limitation in the Autoconf implementation these flags currently must be set on a single line in Makefile.am, without any backslash-newlines. [1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/autoreconf-Invocation.html#autoreconf-Invocation