From 2970fbd30da7941103cefd2895129656d1e9aaac Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Thu, 15 Jul 2010 17:11:52 -0400
Subject: [PATCH] [#3174] Send error message oif libyaml or yaml.h not present
 in configuration

---
 sflphone-common/configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sflphone-common/configure.ac b/sflphone-common/configure.ac
index 0157615570..e7abe149da 100644
--- a/sflphone-common/configure.ac
+++ b/sflphone-common/configure.ac
@@ -269,11 +269,11 @@ AC_SUBST(xml_CFLAGS)
 AC_SUBST(xml_LIBS)
 
 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)
 
 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/])
 fi
 
-- 
GitLab