# configure
echo " +++++++++++ configure"
if test `uname -m` = "x86_64" ; then
- flags="$flags CFLAGS=-m64 -D_OCC64"
- flags="$flags CXXFLAGS=-m64 -D_OCC64"
flags="$flags --with-xmu-include=/usr/X11R6/include/X11"
flags="$flags --with-xmu-library=/usr/X11R6/lib64"
else
if [ $? -eq 0 ] ; then flags="$flags --with-tk=$tkdir"; fi
dpsdir="`where_dps`"
if [ $? -eq 0 ] ; then flags="$flags --with-dps-include=$dpsdir/include --with-dps-library=$dpsdir/lib"; fi
-flags="$flags --disable-debug --enable-production"
+flags="$flags --disable-jcas --disable-debug --enable-production"
export CASROOT=${PRODUCT_DIR}_SRC
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure $flags --prefix=${PRODUCT_DIR}
+
+if test `uname -m` = "x86_64" ; then
+echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} $flags CFLAGS="-m64 -D_OCC64" CXXFLAGS="-m64 -D_OCC64" >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+./configure --prefix=${PRODUCT_DIR} $flags CFLAGS="-m64 -D_OCC64" CXXFLAGS="-m64 -D_OCC64" >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${INSTALL_WORK}/errlog
+else
+echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} $flags >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+./configure --prefix=${PRODUCT_DIR} $flags >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${INSTALL_WORK}/errlog
+fi
# make
echo " +++++++++++ make"