From 237a968d353d6d3135a0a1d5042d95ad548a649a Mon Sep 17 00:00:00 2001 From: jroy Date: Wed, 9 Apr 2003 14:17:13 +0000 Subject: [PATCH] =?utf8?q?Adaptation=20du=20buid=5Fconfigure=20pour=20le?= =?utf8?q?=20module=20MED=20de=20l'architecture=20d=C3=A9coup=C3=A9e=20de?= =?utf8?q?=20SALOME.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build_configure | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) 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" -- 2.39.2