From: "Lan Yixun (dlan)" <[email protected]> with changes AM_INIT_AUTOMAKE, dnl trucate the end of trailing newline thus make next macro append to same line, result in weird error
--- ./configure: line 2816: syntax error near unexpected token `ac_config_headers="$ac_config_headers config.h"' ./configure: line 2816: `fi ac_config_headers="$ac_config_headers config.h"' here `fi ac_config_headers="$ac_config_headers config.h"' fi -> expand from AM_INIT_AUTOMAKE ac_config_headers="$ac_config_headers config.h" -> expand next macro also downstream bugs here: https://bugs.gentoo.org/show_bug.cgi?id=493050 https://bugs.gentoo.org/show_bug.cgi?id=494844 Signed-off-by: Lan Yixun (dlan) <[email protected]> --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7ea3ec8..80ac034 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,8 @@ orig_CFLAGS="$CFLAGS" AC_CONFIG_SRCDIR([ev_epoll.c]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE(libev,4.15) dnl also update ev.h! +dnl also update ev.h! +AM_INIT_AUTOMAKE(libev,4.15) AC_CONFIG_HEADERS([config.h]) AM_MAINTAINER_MODE -- 1.8.2.1 _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
