From: jroy Date: Wed, 9 Apr 2003 14:17:13 +0000 (+0000) Subject: Adaptation du buid_configure pour le module MED de l'architecture découpée de SALOME. X-Git-Tag: Start-v1_1a~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=237a968d353d6d3135a0a1d5042d95ad548a649a;p=modules%2Fmed.git Adaptation du buid_configure pour le module MED de l'architecture découpée de SALOME. --- diff --git a/build_configure b/build_configure index 259f89c54..835af30d2 100755 --- a/build_configure +++ b/build_configure @@ -12,6 +12,14 @@ ORIG_DIR=`pwd` CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"` +######################################################################## +# Test if the KERNEL_ROOT_DIR is set + +if test ! -d "${KERNEL_ROOT_DIR}"; then + echo "failed : KERNEL_ROOT_DIR variable is not correct !" + exit +fi + ######################################################################## # find_in - utility function # @@ -99,20 +107,20 @@ echo "AC_OUTPUT([ \\" >> configure.in_tmp1 # put them "manually" # -echo " ./adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1 -echo " ./adm/unix/F77config.h \\" >> configure.in_tmp1 -echo " ./adm/unix/sstream \\" >> configure.in_tmp1 -echo " ./adm/unix/depend \\" >> configure.in_tmp1 -echo " ./adm/unix/make_omniorb \\" >> configure.in_tmp1 -echo " ./adm/unix/envScript \\" >> configure.in_tmp1 -echo " ./adm/unix/make_commence \\" >> configure.in_tmp1 -echo " ./adm/unix/make_conclude \\" >> configure.in_tmp1 -echo " ./adm/unix/make_module \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/F77config.h \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/sstream \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/depend \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/make_omniorb \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/envScript \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/make_commence \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/make_conclude \\" >> configure.in_tmp1 +echo " ${KERNEL_ROOT_DIR}/salome_adm/unix/make_module \\" >> configure.in_tmp1 \rm -f configure.in_tmp2 configure.in_tmp3 touch configure.in_tmp2 find_in . configure.in_tmp2 -sed '/^...adm/d' configure.in_tmp2 > configure.in_tmp3 +sed '/^.*salome_adm/d' configure.in_tmp2 > configure.in_tmp3 sed '/configure.in/d' configure.in_tmp3 > configure.in_tmp2 sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1 @@ -172,7 +180,7 @@ else echo -n "Creating 'configure' script ... " fi -aclocal --acdir=adm/unix/config_files +aclocal --acdir=${KERNEL_ROOT_DIR}/salome_adm/unix/config_files if autoconf then echo "done"