fi
chmod u-w configure.in.base
-#############################################
-echo '' >> configure.in_tmp1
-echo 'export TEMPO=${KERNEL_ROOT_DIR}' >> configure.in_tmp1
-echo 'export KERNEL_ROOT_DIR=${ROOT_SRCDIR}' >> configure.in_tmp1
-#############################################
echo "" >> configure.in_tmp1
echo "AC_OUTPUT([ \\" >> configure.in_tmp1
# put them "manually"
#
-echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_omniorb \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_commence \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
-echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
-echo " ./salome_adm/Makefile \\" >> configure.in_tmp1
+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
\rm -f configure.in_tmp2 configure.in_tmp3
touch configure.in_tmp2
find_in . configure.in_tmp2
-sed '/^...salome_adm/d' configure.in_tmp2 > configure.in_tmp3
+sed '/^...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
echo "])" >> configure.in_tmp1
-
-#############################################
-echo 'export KERNEL_ROOT_DIR=${TEMPO}' >> configure.in_tmp1
-#############################################
-
\mv configure.in_tmp1 configure.in_new
\rm -f configure.in_tmp2 configure.in_tmp3
echo -n "Creating 'configure' script ... "
fi
-aclocal --acdir=salome_adm/unix/config_files
+aclocal --acdir=adm/unix/config_files
if autoconf
then
echo "done"
# Created from configure.in.base
#
-AC_INIT(src)
-AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
+AC_INIT(SALOME)
+AC_CONFIG_AUX_DIR(adm/unix/config_files)
AC_CANONICAL_HOST
PACKAGE=salome
AC_SUBST(ROOT_SRCDIR)
AC_SUBST(ROOT_BUILDDIR)
-dnl ##########################################################
-AC_SUBST(KERNEL_ROOT_DIR)
-dnl ##########################################################
echo
echo Source root directory : $ROOT_SRCDIR
dnl full-path to the binary instead.
case "$INSTALL" in
*install-sh*)
- INSTALL='\${top_srcdir}'/salome_adm/unix/config_files/install-sh
+ INSTALL='\${top_srcdir}'/adm/unix/config_files/install-sh
;;
esac
AC_SUBST_FILE(CORBA)
corba=make_$ORB
-CORBA=salome_adm/unix/$corba
+CORBA=adm/unix/$corba
echo
echo ---------------------------------------------
dnl generals files which could be included in every makefile
-AC_SUBST_FILE(COMMENCE) COMMENCE=salome_adm/unix/make_commence
-AC_SUBST_FILE(CONCLUDE) CONCLUDE=salome_adm/unix/make_conclude
-AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module
+AC_SUBST_FILE(COMMENCE) COMMENCE=adm/unix/make_commence
+AC_SUBST_FILE(CONCLUDE) CONCLUDE=adm/unix/make_conclude
+AC_SUBST_FILE(MODULE) MODULE=adm/unix/make_module
dnl les dependences
-AC_SUBST_FILE(DEPEND) DEPEND=salome_adm/unix/depend
+AC_SUBST_FILE(DEPEND) DEPEND=adm/unix/depend
dnl We don t need to say when we re entering directories if we re using
dnl GNU make becuase make does it for us.
fi
# make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources share/salome/doc idl
+for rep in adm bin include lib share/salome/resources share/salome/idl
do
# if test ! -d $rep ; then
# eval mkdir $rep
done
cd $ROOT_BUILDDIR
-AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=salome_adm/unix/envScript
+AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=adm/unix/envScript
dnl copy xml files to the build tree (lib directory)
dnl pourquoi ????