2 # PLEASE DO NOT MODIFY configure.in FILE
4 # ALL CHANGES WILL BE DISCARDED BY THE NEXT
5 # build_configure COMMAND
7 # CHANGES MUST BE MADE IN configure.in.base FILE
10 # Author : Marc Tajchman (CEA)
12 # Modified by : Patrick GOLDBRONN (CEA)
13 # Modified by : Marc Tajchman (CEA)
15 # Created from configure.in.base
18 AC_INIT([Salome2 Project PYHELLO module], [4.1.1], [webmaster.salome@opencascade.com], [salome])
19 AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
24 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
27 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
32 dnl Initialize source and build root directories
36 ROOT_SRCDIR=`echo $0 | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
42 AC_SUBST(ROOT_BUILDDIR)
45 echo Source root directory : $ROOT_SRCDIR
46 echo Build root directory : $ROOT_BUILDDIR
50 AC_CHECK_PROG(SHELL,sh)
53 if test -z "$AR"; then
54 AC_CHECK_PROGS(AR,ar xar,:,$PATH)
58 dnl Export the AR macro so that it will be placed in the libtool file
63 echo ---------------------------------------------
65 echo ---------------------------------------------
71 dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + for shared libraries
76 echo ---------------------------------------------
78 echo ---------------------------------------------
80 dnl first, we set static to no!
81 dnl if we want it, use --enable-static
87 dnl Fix up the INSTALL macro if it s a relative path. We want the
88 dnl full-path to the binary instead.
91 INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
96 echo ---------------------------------------------
98 echo ---------------------------------------------
106 echo ---------------------------------------------
108 echo ---------------------------------------------
114 echo ---------------------------------------------
115 echo default ORB : omniORB
116 echo ---------------------------------------------
124 CORBA=adm_local/unix/$corba
127 echo ---------------------------------------------
129 echo ---------------------------------------------
135 echo ---------------------------------------------
137 echo ---------------------------------------------
143 echo ---------------------------------------------
145 echo ---------------------------------------------
151 echo ---------------------------------------------
152 echo Testing full GUI
153 echo ---------------------------------------------
157 if test "x${CORBA_IN_GUI}" != "xyes"; then
158 echo "failed : For configure PYHELLO1 module necessary full GUI !"
165 echo ---------------------------------------------
167 echo ---------------------------------------------
171 variables="python_ok omniORB_ok qt_ok Kernel_ok"
173 for var in $variables
175 printf " %10s : " `echo \$var | sed -e "s,_ok,,"`
180 echo "Default ORB : $DEFAULT_ORB"
183 dnl We don t need to say when we re entering directories if we re using
184 dnl GNU make becuase make does it for us.
185 if test "X$GMAKE" = "Xyes"; then
186 AC_SUBST(SETX) SETX=":"
188 AC_SUBST(SETX) SETX="set -x"
191 echo ---------------------------------------------
192 echo generating Makefiles and configure files
193 echo ---------------------------------------------
196 AC_OUTPUT_COMMANDS([ \
200 # This list is initiated using autoscan and must be updated manually
201 # when adding a new file <filename>.in to manage. When you execute
202 # autoscan, the Makefile list is generated in the output file configure.scan.
203 # This could be helpfull to update de configuration.
205 ./salome_adm/unix/SALOMEconfig.h \
206 ./adm_local/Makefile \
207 ./adm_local/unix/Makefile \
208 ./adm_local/unix/config_files/Makefile \
213 ./src/PYHELLO/Makefile \
214 ./src/PYHELLOGUI/Makefile \
215 ./resources/Makefile \
216 ./resources/PYHELLOCatalog.xml \