From: ouv Date: Thu, 11 Feb 2010 15:30:29 +0000 (+0000) Subject: Additional fix for issue 0020692: Duplicate check_*.m4 between modules. X-Git-Tag: V5_1_4a1~93 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2d2603289a9c97539556070528c4dc3784f88e74;p=modules%2Fsmesh.git Additional fix for issue 0020692: Duplicate check_*.m4 between modules. --- diff --git a/build_configure b/build_configure index 6c5331b6a..b8ae5440a 100755 --- a/build_configure +++ b/build_configure @@ -77,10 +77,19 @@ ABS_CONF_DIR=`pwd` # autom4te.cache (directory) echo "====================================================== aclocal" -aclocal -I adm_local/unix/config_files \ - -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \ - -I ${MED_ROOT_DIR}/adm_local/unix/config_files \ - -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1 +if test -d "${GUI_ROOT_DIR}"; then + aclocal -I adm_local/unix/config_files \ + -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \ + -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \ + -I ${MED_ROOT_DIR}/adm_local/unix/config_files \ + -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1 +else + aclocal -I adm_local/unix/config_files \ + -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \ + -I ${MED_ROOT_DIR}/adm_local/unix/config_files \ + -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1 +fi + # ____________________________________________________________________ # libtoolize creates some configuration files (ltmain.sh,