/[ascend]/trunk/base/unixAC213/configure.in
ViewVC logotype

Diff of /trunk/base/unixAC213/configure.in

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

revision 30 by aw0a, Thu Dec 9 02:03:34 2004 UTC revision 31 by aw0a, Thu Dec 16 15:21:59 2004 UTC
# Line 62  fi Line 62  fi
62  #--------------------------------------------------------------------  #--------------------------------------------------------------------
63    
64  #--------------------------------------------------------------------  #--------------------------------------------------------------------
 #   The asc_include variable is (directory) path to the ascend4  
 #   SOURCE directory relative to the immediate subdirectories of  
 #   the ascend4 OBJECT directory.  
65  ##AWW  ##AWW
66  ##AWW   We put the .o files when compiling into a tree structure  ##AWW   We put the .o files when compiling into a tree structure
67  ##AWW   relative to the directory in which we currently reside,  ##AWW   relative to the directory in which we currently reside,
# Line 74  fi Line 71  fi
71  ##AWW   compiling for different operating systems.  ##AWW   compiling for different operating systems.
72  ##AWW  ##AWW
73  ##AWW   Example 1 (same directories)  ##AWW   Example 1 (same directories)
74  ##AWW   Current directory one is in:    /home/me/a4/asc4  ##AWW   Current directory one is in:    /home/me/trunk/base/unixAC213
75  ##AWW   Directory containing configure: /home/me/a4/asc4  ##AWW   Directory containing configure: /home/me/trunk/base/unixAC213
76  ##AWW   Command to invoke configure:    ./configure  ##AWW   Command to invoke configure:    ./configure
77  ##AWW       $ascpwd will be: /home/me/a4/asc4  ##AWW       $ascpwd will be: /home/me/trunk/base/unixAC213
78  ##AWW       $srcdir will be: .  ##AWW       $srcdir will be: .
79  ##AWW  ##AWW
80  ##AWW   Example 2 (different directories, abs path for command)  ##AWW   Example 2 (different directories, abs path for command)
81  ##AWW   Current directory one is in:    /home/me/a4/tmp  ##AWW   Current directory one is in:    /home/me/trunk/base/newTree
82  ##AWW   Directory containing configure: /home/me/a4/asc4  ##AWW   Directory containing configure: /home/me/trunk/base/unixAC213
83  ##AWW   Command to invoke configure:    /home/me/a4/asc4/configure  ##AWW   Command to invoke configure:    /home/me/trunk/base/unixAC213/configure
84  ##AWW       $ascpwd will be: /home/me/a4/tmp  ##AWW       $ascpwd will be: /home/me/trunk/base/newTree
85  ##AWW       $srcdir will be: /home/me/a4/asc4  ##AWW       $srcdir will be: /home/me/trunk/base/unixAC213
86  ##AWW  ##AWW
87  ##AWW   Example 3 (different directories, rel path for command)  ##AWW   Example 3 (different directories, rel path for command)
88  ##AWW   Same as Example 2  ##AWW   Same as Example 2
89  ##AWW   Command to invoke configure:    ../asc4/configure  ##AWW   Command to invoke configure:    ../unixAC213/configure
90  ##AWW       $ascpwd will be: /home/me/a4/tmp (same as in Example 2)  ##AWW       $ascpwd will be: /home/me/trunk/base/newTree (same as in Example 2)
91  ##AWW       $srcdir will be: ../asc4  ##AWW       $srcdir will be: ../unixAC213
92  ##AWW  ##AWW
93  ##AWW   Key elements of the source tree are:  ##AWW   Key elements of the source tree are:
94  ##AWW       base/unixAC213/configure  ##AWW       code/trunk/trunk/base/unixAC213/configure
95  ##AWW       base/generic  ##AWW       code/trunk/trunk/base/generic
96  ##AWW       tcltk98  ##AWW       code/trunk/tcltk98
97  ##AWW   where $ascdir is pointing to base/unixAC213, the folder  ##AWW   where $srcdir is pointing to /home/me/trunk/base/unixAC213, the folder
98  ##AWW   containing "configure"  ##AWW   containing "configure"
99  ##AWW  ##AWW
100  ##AWW   Configure is located at:  ##AWW   Configure is located at:
# Line 121  fi Line 118  fi
118  ##AWW   any other of them.  The following paths should do it.    ##AWW   any other of them.  The following paths should do it.  
119  ##AWW    ##AWW  
120  ##AWW   If in compiler, general, packages, solver, utilities  ##AWW   If in compiler, general, packages, solver, utilities
121  ##AWW       ..             for general, packages, etc  ##AWW       ..                        for general, packages, etc
122  ##AWW       ../../../tcltk98  for interface  ##AWW       ../../../tcltk98/generic  for interface
123  ##AWW   If in interface  ##AWW   If in interface
124  ##AWW       ..             for interface  ##AWW       ..                        for interface
125  ##AWW       ../../base/generic  for compiler, general, packages, ...  ##AWW       ../../../base/generic        for compiler, general, ..
126  ##AWW  ##AWW
127  #--------------------------------------------------------------------  #--------------------------------------------------------------------
128    #   The asc_include variable is (directory) path to the ascend4
129    #   SOURCE directory relative to the immediate subdirectories of
130    #   the ascend4 OBJECT directory. --rewrite - not clear.
131    #AWW    To compile a new ASCEND executable, one should move into the
132    #AWW    directory in which one wants the ASCEND object/executable
133    #AWW    to reside (call this objTree) and from there run
134    #AWW    ../base/unixAC213/configure.
135    #AWW    In the following code asc_include is set to the path from
136    
137  ascpwd=`pwd`  ascpwd=`pwd`
138  fullpathsrcdir=`cd $srcdir ; pwd`  fullpathsrcdir=`cd $srcdir ; pwd`
# Line 142  case "$srcdir" in Line 147  case "$srcdir" in
147          ;;          ;;
148      *)      *)
149  #AWW20041113:        asc_include="../../$srcdir/ascend4"  #AWW20041113:        asc_include="../../$srcdir/ascend4"
150          asc_include="../../$srcdir/../generic"          asc_include="$srcdir/../generic"
151          ;;          ;;
152  esac  esac
153    

Legend:
Removed from v.30  
changed lines
  Added in v.31

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22