Skip to content
Snippets Groups Projects
Commit f815c2d5 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Merge branch 'configure_summary' of /git/repositories/labs/knot

parents 031aafdf a9737548
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,8 @@ AS_IF([test "x$YACC_BISON" != "xbison"],
AC_PROG_INSTALL
# Check for Ragel
AC_PATH_PROG([RAGEL], [ragel], [true])
AM_CONDITIONAL([HAVE_RAGEL], test "$RAGEL" != "true")
AC_PATH_PROG([RAGEL], [ragel], [false])
AM_CONDITIONAL([HAVE_RAGEL], test "$RAGEL" != "false")
# Set FSM type for Ragel
AC_ARG_ENABLE([fastparser],
......@@ -78,7 +78,7 @@ AS_CASE([$enable_fastparser],
[no], [AC_SUBST([FSM_TYPE], [-T0])],
[yes], [AC_SUBST([FSM_TYPE], [-G2])],
[*], [
AS_IF([test "$RAGEL" = "true"],
AS_IF([test "$RAGEL" = "false"],
[AC_MSG_ERROR([Ragel is needed to generate different parsers])])
AC_SUBST([FSM_TYPE], [$enable_fastparser])
])
......@@ -355,3 +355,18 @@ AC_CONFIG_FILES([Makefile
])
AC_OUTPUT
echo "
Version: ${PACKAGE_VERSION}
Prefix: ${prefix}
Run dir: ${run_dir}
Storage dir: ${storage_dir}
Config dir: ${config_dir}
Compiler: ${CC}
CFlags: ${CFLAGS} ${CPPFLAGS}
LDFlags: ${LDFLAGS}
Libs: ${LIBS}
Ragel: ${RAGEL} ${FSM_TYPE}
Utils with IDN: ${libidn}
Continue with 'make' command"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment