From: ouv Date: Thu, 11 Feb 2010 10:10:14 +0000 (+0000) Subject: Issue 0020692: Duplicate check_*.m4 between modules. X-Git-Tag: V5_1_4a1~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a261ea4f13ee441604b4dcfa06466ad0c5602788;p=modules%2Fkernel.git Issue 0020692: Duplicate check_*.m4 between modules. --- 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