install_source
# build sources
-HDF_CONFIGURE_OPTIONS="--disable-debug --enable-production --enable-threadsafe --enable-hdf5v1_4 --enable-stream-vfd --disable-hsizet --with-pthread=/usr/include,/usr/lib"
+HDF_CONFIGURE_OPTIONS="--disable-debug --enable-production --enable-threadsafe --with-pthread=/usr/include,/usr/lib"
+
+if test "$V16_COMPATIBILITY" == "yes" ; then
+ HDF_CONFIGURE_OPTIONS="${HDF_CONFIGURE_OPTIONS} --with-default-api-version=v16"
+fi
+
if test `uname -m` == "x86_64" ; then
HDF_CONFIGURE_OPTIONS="${HDF_CONFIGURE_OPTIONS} CFLAGS=-m64 CXXFLAGS=-m64"
fi
examples/xmlpatterns/trafficinfo/mainwindow.cpp > examples/xmlpatterns/trafficinfo/mainwindow.cpp.1
mv -f examples/xmlpatterns/trafficinfo/mainwindow.cpp.1 examples/xmlpatterns/trafficinfo/mainwindow.cpp
+is_mandriva2006=0
+
+if [ -e /etc/issue ] ; then
+ grep -e "Mandriva Linux release 2006.0" /etc/issue > /dev/null
+if [ $? == 0 ] ; then is_mandriva2006=1 ; fi
+fi
+
+if [ $is_mandriva2006 == 1 ] ; then
+ if test `uname -m` = "x86_64" ; then
+ sed -e "s/-O2/-O1/g" mkspecs/common/g++.conf > mkspecs/common/g++.conf.1
+ mv -f mkspecs/common/g++.conf.1 mkspecs/common/g++.conf
+ fi
+fi
+
# configure
check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure -prefix ${PRODUCT_DIR} -no-separate-debug-info -release -opensource -confirm-license