]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: always the same bug...
authorprascle <prascle>
Sun, 3 Feb 2008 21:27:16 +0000 (21:27 +0000)
committerprascle <prascle>
Sun, 3 Feb 2008 21:27:16 +0000 (21:27 +0000)
salome_adm/unix/config_files/check_libxml.m4

index ad4841c008d8720d40c14850ab2f17e5dd74ebbd..c34f8e796cd80b7b59fd2cd81f2ec05a0f4981cc 100644 (file)
@@ -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"