From a261ea4f13ee441604b4dcfa06466ad0c5602788 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 11 Feb 2010 10:10:14 +0000 Subject: [PATCH] Issue 0020692: Duplicate check_*.m4 between modules. --- salome_adm/unix/config_files/check_libxml.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/salome_adm/unix/config_files/check_libxml.m4 b/salome_adm/unix/config_files/check_libxml.m4 index a9bba03a3..a791b8017 100644 --- a/salome_adm/unix/config_files/check_libxml.m4 +++ b/salome_adm/unix/config_files/check_libxml.m4 @@ -23,12 +23,23 @@ AC_DEFUN([CHECK_LIBXML],[ AC_CHECKING(for libxml library) +AC_LANG_SAVE +AC_LANG_C + AC_SUBST(LIBXML_INCLUDES) AC_SUBST(LIBXML_LIBS) LIBXML_INCLUDES="" LIBXML_LIBS="" +AC_CHECKING(for libxml location) +AC_ARG_WITH(libxml, + [ --with-libxml=DIR root directory path to LIBXML library installation ], + [LIBXML_DIR="$withval" + AC_MSG_RESULT("select $withval as path to LIBXML library")]) + +AC_MSG_RESULT(\$LIBXML_DIR = ${LIBXML_DIR}) + libxml_ok=no LOCAL_INCLUDES="" @@ -77,6 +88,8 @@ fi AC_MSG_RESULT(for libxml: $libxml_ok) +AC_LANG_RESTORE + ])dnl dnl -- 2.39.2