Skip to content
Snippets Groups Projects
Commit 2970fbd3 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3174] Send error message oif libyaml or yaml.h not present in configuration

parent ccac7e73
Branches
No related tags found
No related merge requests found
...@@ -269,11 +269,11 @@ AC_SUBST(xml_CFLAGS) ...@@ -269,11 +269,11 @@ AC_SUBST(xml_CFLAGS)
AC_SUBST(xml_LIBS) AC_SUBST(xml_LIBS)
AC_CHECK_LIB([yaml], yaml_parser_initialize, AC_CHECK_LIB([yaml], yaml_parser_initialize,
[AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false)], [AC_CHECK_HEADERS(yaml.h, have_yaml=true, have_yaml=false)],
have_yaml = false) have_yaml = false)
if ! $have_yaml; then if ! $have_yaml; then
AC_MSG_ERROR([You need the eXpat xml parser] AC_MSG_ERROR([You need the libyaml yaml parser]
[http://expat.sourceforge.net/]) [http://expat.sourceforge.net/])
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment