#!/bin/csh # +-======-+ # Copyright (c) 2003-2007 United States Government as represented by # the Admistrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE, # REPRODUCTION, DISTRIBUTION, MODIFICATION AND REDISTRIBUTION OF CERTAIN # COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE UNITED STATES GOVERNMENT AS # REPRESENTED BY THE GOVERNMENT AGENCY LISTED BELOW ("GOVERNMENT AGENCY"). # THE UNITED STATES GOVERNMENT, AS REPRESENTED BY GOVERNMENT AGENCY, IS AN # INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT DISTRIBUTIONS OR # REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO USES, REPRODUCES, # DISTRIBUTES, MODIFIES OR REDISTRIBUTES THE SUBJECT SOFTWARE, AS DEFINED # HEREIN, OR ANY PART THEREOF, IS, BY THAT ACTION, ACCEPTING IN FULL THE # RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS AGREEMENT. # # Government Agency: National Aeronautics and Space Administration # Government Agency Original Software Designation: GSC-15354-1 # Government Agency Original Software Title: GEOS-5 GCM Modeling Software # User Registration Requested. Please Visit http://opensource.gsfc.nasa.gov # Government Agency Point of Contact for Original Software: # Dale Hithon, SRA Assistant, (301) 286-2691 # # +-======-+ # # Creates configuration Makefile. Before attempting to make anything # in this directory, enter # # ./configure # # !REVISION HISTORY # # 14mar02 Sawyer Initial code (adapted from gfio/configure) # #..................................................................... if ( $#argv >= 1 ) then cd ../include if($status) exit 1 echo "Usage: " echo " configure " echo " " exit 1 endif # First try a site specific Makefile.conf # --------------------------------------- set makeconf = Makefile.conf.`uname -n` # If there is no such a thing, try an Architecture dependent # ---------------------------------------------------------- if ( ! (-e $makeconf) ) set makeconf = Makefile.conf.`uname -s` # Just make the symlink() # ----------------------- if ( -e $makeconf ) then rm -f Makefile.conf ln -s $makeconf Makefile.conf echo " " echo "configure: successful configuration - Makefile.conf is $makeconf" echo " " else echo " " echo error: cannot find site or arch dependent Makefile.conf echo " " exit 1 endif # All done # -------- exit 0