spielwiese
Last change
on this file since cfbb34 was
cfbb34,
checked in by Hans Schönemann <hannes@…>, 20 years ago
|
*hannes: CXXFLAGS
git-svn-id: file:///usr/local/Singular/svn/trunk@7004 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100755
|
File size:
978 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | for i in $* |
---|
3 | do |
---|
4 | case $i in |
---|
5 | --prefix=*) prefix=`echo $i|sed 's/--prefix=//'` ;; |
---|
6 | --libdir=*) libdir=`echo $i|sed 's/--libdir=//'` ;; |
---|
7 | --includedir=*) includedir=`echo $i|sed 's/--includedir=//'` ;; |
---|
8 | esac |
---|
9 | done |
---|
10 | |
---|
11 | if test -r ../config.cache; then |
---|
12 | . ../config.cache |
---|
13 | fi |
---|
14 | |
---|
15 | if test set${ac_cv_singuname} = set; then |
---|
16 | : |
---|
17 | else |
---|
18 | ac_cv_singuname="unknown" |
---|
19 | if test -r "../singuname.sh"; then |
---|
20 | if (/bin/sh ../singuname.sh >/dev/null 2>&1) then |
---|
21 | ac_cv_singuname=`/bin/sh ../singuname.sh` |
---|
22 | fi |
---|
23 | fi |
---|
24 | fi |
---|
25 | |
---|
26 | echo "#!/bin/sh" >config.status |
---|
27 | echo "cd src" >>config.status |
---|
28 | echo ./configure LIBDIR=$libdir INCLUDEDIR=$includedir PREFIX=$prefix NTL_GMP_LIP=on GMP_PREFIX=$prefix/${ac_cv_singuname} CFLAGS="-O3 -fomit-frame-pointer" CXXFLAGS="-O3 -fomit-frame-pointer -fno-rtti -fno-exceptions" >>config.status |
---|
29 | echo "cd .." >>config.status |
---|
30 | |
---|
31 | cd src |
---|
32 | |
---|
33 | ./configure LIBDIR=$libdir INCLUDEDIR=$includedir PREFIX=$prefix NTL_GMP_LIP=on GMP_PREFIX=$prefix/${ac_cv_singuname} |
---|
34 | |
---|
35 | cd .. |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.