From 42ac8ac4dafc60d97135abb4855f14a096dfd209 Mon Sep 17 00:00:00 2001 From: prascle Date: Sun, 3 Feb 2008 21:27:16 +0000 Subject: [PATCH] PR: always the same bug... --- salome_adm/unix/config_files/check_libxml.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/salome_adm/unix/config_files/check_libxml.m4 b/salome_adm/unix/config_files/check_libxml.m4 index ad4841c00..c34f8e796 100644 --- a/salome_adm/unix/config_files/check_libxml.m4 +++ b/salome_adm/unix/config_files/check_libxml.m4 @@ -16,7 +16,12 @@ LOCAL_LIBS="" if test "x$LIBXML_DIR" != "x" then LOCAL_INCLUDES="-I$LIBXML_DIR/include/libxml2" - LOCAL_LIBS="-L$LIBXML_DIR/lib -lxml2" + if test "x$LIBXML_DIR" = "x/usr" + then + LOCAL_LIBS="-lxml2" + else + LOCALLIBS="-L$LIBXML_DIR/lib -lxml2" + fi else LOCAL_INCLUDES="-I/usr/include/libxml2" LOCAL_LIBS="-lxml2" -- 2.39.2