/[ascend]/trunk/base/unixAC213/reconfig
ViewVC logotype

Diff of /trunk/base/unixAC213/reconfig

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

revision 67 by ben.allan, Wed Jan 19 05:47:44 2005 UTC revision 68 by johnpye, Thu Dec 1 08:19:18 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/bash
2  tkroot=/home/aw0a/tk  
3  tkroot=/home/baallan/tk83  # Added some new stuff here to allow reconfig to be
4  ./configure  \  # used without tweaking. Art, you should be able to use
5    # it unmodified. Likewise Ben.
6    
7    # I tweaked it to install to ~/ascroot/bin/ascend4
8    # instead of the default /usr/local/bin
9    # so that you can test without having to log in as root.
10    
11    if [ $TKVERSION ]; then
12        tkver=$TKVERSION
13    else
14        tkver=8.3
15    fi
16    
17    if [ $TKTABLEVERSION ]; then
18        tktablever=$TKTABLEVERSION
19    else
20        tktablever=2.8
21    fi
22    
23    if [ $TKROOT ]; then
24        tkroot=$TKROOT
25    elif [ -d ~/tk ]; then
26        tkroot=~/tk
27    elif [ -d ~/tk83 ]; then
28        tkroot=~/tk83
29    else
30        tkroot=/usr
31    fi
32    
33    if [ $ASCROOT ]; then
34        ascroot=$ASCROOT;
35    else
36        ascroot=~/ascroot
37    fi
38    
39    cmd="./configure  \
40    --prefix=$ascroot \
41  --with-fortran=g77 \  --with-fortran=g77 \
42  --with-tcl="$tkroot/lib/libtcl8.3.so,$tkroot/include/tcl.h" \  --with-gcc \
43  --with-tk="$tkroot/lib/libtk8.3.so,$tkroot/include/tk.h" \  --with-tcl="$tkroot/lib/libtcl$tkver.so,$tkroot/include/tcl.h" \
44    --with-tk="$tkroot/lib/libtk$tkver.so,$tkroot/include/tk.h" \
45  --with-wish="$tkroot/bin/wish" \  --with-wish="$tkroot/bin/wish" \
46  --with-tktable=$tkroot/lib/Tktable2.8/libTktable2.8.so  --with-tktable=$tkroot/lib/Tktable$tktablever/libTktable$tktablever.so"
47    
48    echo "RUNNING CONFIGURE WITH"
49    echo $cmd
50    echo ""
51    
52    $cmd
53    

Legend:
Removed from v.67  
changed lines
  Added in v.68

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