Ignore:
Timestamp:
Feb 15, 2007, 10:36:50 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/sh/check_foreigns

    r137 r244  
    9797obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
    9898if [ ${obuild_platform_result} = yes ] ; then
     99HDF5_home="/usr/local/HDF5/1.6.5"
     100fi
     101unset obuild_platform_result
     102if [ "${obuild_platform_exe}" = "" ] ; then
     103  echo "Variable obuild_platform_exe not defined."
     104  exit
     105fi
     106obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     107if [ ${obuild_platform_result} = yes ] ; then
     108OSC_home="/usr/local/OpenScientist/v16r0"
     109fi
     110unset obuild_platform_result
     111if [ "${obuild_platform_exe}" = "" ] ; then
     112  echo "Variable obuild_platform_exe not defined."
     113  exit
     114fi
     115obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     116if [ ${obuild_platform_result} = yes ] ; then
    99117if [ "${obuild_check_what}" = "CLHEP" ] ; then
    100118  if [ ! -d "${CLHEP_home}" ] ; then
     
    119137fi
    120138unset obuild_platform_result
     139if [ "${obuild_platform_exe}" = "" ] ; then
     140  echo "Variable obuild_platform_exe not defined."
     141  exit
     142fi
     143obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     144if [ ${obuild_platform_result} = yes ] ; then
     145if [ "${obuild_check_what}" = "HDF5" ] ; then
     146  if [ ! -d "${HDF5_home}" ] ; then
     147    echo "WARNING : HDF5 not found under ${HDF5_home}"
     148    exit 1
     149  fi
     150fi
     151fi
     152unset obuild_platform_result
     153if [ "${obuild_platform_exe}" = "" ] ; then
     154  echo "Variable obuild_platform_exe not defined."
     155  exit
     156fi
     157obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`
     158if [ ${obuild_platform_result} = yes ] ; then
     159if [ "${obuild_check_what}" = "OpenScientist" ] ; then
     160  if [ ! -d "${OSC_home}" ] ; then
     161    echo "WARNING : OpenScientist not found under ${OSC_home}"
     162    exit 1
     163  fi
     164fi
     165fi
     166unset obuild_platform_result
    121167
Note: See TracChangeset for help on using the changeset viewer.