From: prascle Date: Sun, 3 Feb 2008 21:27:16 +0000 (+0000) Subject: PR: always the same bug... X-Git-Tag: for_M2008_07022008~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=42ac8ac4dafc60d97135abb4855f14a096dfd209;p=modules%2Fkernel.git PR: always the same bug... --- 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"