/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.260 by jmc, Thu Aug 22 01:10:53 2013 UTC revision 1.262 by jmc, Thu Aug 22 20:49:59 2013 UTC
# Line 1576  for ac_option in "$@" ; do Line 1576  for ac_option in "$@" ; do
1576    
1577  done  done
1578    
1579  TMP=./genmk_$$  #TMP=./genmk_$$
1580  #- try to put temporary files in system-local /tmp dir  #- try to put temporary files in system-local /tmp dir
1581  #TMP=/tmp/genmk_$$  TMP=/tmp/genmk_$$
1582  #touch $TMP ; retVal=$?  touch $TMP ; retVal=$?
1583  #if [ $retVal -eq 0 ] ; then  if [ $retVal -eq 0 ] ; then
1584  #  if test ! -r $TMP ; then TMP=./genmk_$$ ; fi    if test ! -r $TMP ; then TMP=./genmk_$$ ; fi
1585  #else  else
1586  #  TMP=./genmk_$$    TMP=./genmk_$$
1587  #fi  fi
1588  #rm -f $TMP  rm -f $TMP
1589  ##echo "  temp files: $TMP.*"  #echo "  temp files: $TMP.*"
1590    
1591  printf "  getting local config information:  "  printf "  getting local config information:  "
1592  if test -f $gm_local ; then  if test -f $gm_local ; then
# Line 2377  EOF Line 2377  EOF
2377      fi      fi
2378  fi  fi
2379    
2380    #  Make sure the openad package is enabled if using OpenAD
2381    if test "x$OPENAD" != x ; then
2382        echo " $PACKAGES " | grep ' openad ' > /dev/null 2>&1
2383        RETVAL=$?
2384        if test "x$RETVAL" != x0 ; then
2385            cat <<EOF
2386    
2387    *********************************************************************
2388    ERROR: when generating an adjoint with OpenAD, the openad package
2389      must be enabled.  Please add it to packages.conf.
2390    *********************************************************************
2391    
2392    EOF
2393            exit 1
2394        fi
2395    fi
2396    
2397  if  test "x${PKG_DEPEND}" != x ; then  if  test "x${PKG_DEPEND}" != x ; then
2398    echo "  applying package dependency rules"    echo "  applying package dependency rules"
2399    ck=    ck=

Legend:
Removed from v.1.260  
changed lines
  Added in v.1.262

  ViewVC Help
Powered by ViewVC 1.1.22