### Tcl/Tk settings
#
# TEMPORARILY DISABLE TCL WRAPPINGS DUE TO BUG IN PARAVIEW WRAPPER UTILITY!
-#
-if [ false ] && [ "${tcl_version}" != "" ] && [ "${tcl_includes}" != "" ] && [ "${tcl_libs}" != "" ] ; then
+#--->
+if false ; then
+#<---
+if [ "${tcl_version}" != "" ] && [ "${tcl_includes}" != "" ] && [ "${tcl_libs}" != "" ] ; then
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=ON"
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${tcl_includes}"
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${tcl_libs}/libtcl${tcl_version}.so"
else
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=OFF"
fi
+#--->
+fi
+#<---
### HDF5 settings
if [ "${HDF5HOME}" != "" ]; then
la_files=`find . -name "*.la"`
for la_file in ${la_files} XXX ; do
if [ "${la_file}" = "XXX" ] ; then continue; fi
- grep -e "libGL.la" ${la_file} >& /dev/null || grep -e "-lGL\b" ${la_file} >& /dev/null &&
+ grep -e "libGL.la" ${la_file} >& /dev/null || grep -e "-lGL\b" ${la_file} >& /dev/null && \
sed -e "s%-lGL\b%%g" \
-e "s%[^[:space:]']*libGL.la[[:space:]]%%g" \
-e "s%^dependency_libs='\(.*\)%dependency_libs='${str_to_replace} \1%" \