diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-01 17:39:09 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-01 17:39:09 +0000 |
commit | 8af9c1775790f7473f9fff230b12151f1e016ba5 (patch) | |
tree | 1dba39e012e0409a326fc1f85f97926ee6be6a5c /lib/make/known-architectures/solaris | |
parent | 391aec6ae5efd144d1625c227632fc9e16fd8c6e (diff) |
Make a better job of finding compiler libs.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3880 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/solaris')
-rw-r--r-- | lib/make/known-architectures/solaris | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/make/known-architectures/solaris b/lib/make/known-architectures/solaris index 25a6b6f5..3f614a8d 100644 --- a/lib/make/known-architectures/solaris +++ b/lib/make/known-architectures/solaris @@ -6,7 +6,7 @@ # @desc # General architecture options for Solaris machines # @enddesc -# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/solaris,v 1.12 2004-07-05 16:11:50 tradke Exp $ +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/solaris,v 1.13 2004-11-01 17:39:09 goodale Exp $ # @@*/ if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then @@ -16,13 +16,13 @@ if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then else - if test "x$F90" = 'xf90'; then - f90_path="`which f90 | sed -e 's:/bin/f90::'`" - SOLARIS_F90_LIBDIR="`find $f90_path -name libfsu.a -follow -print | grep lib/libfsu.a | sed -e 's:/libfsu.a::'`" +# if test "x$F90" = 'xf90'; then + f90_path="`which $F90 | sed -e 's:/bin/f90::'`" + SOLARIS_F90_LIBDIR="`find $f90_path -name 'libfsu.*' -follow -print | tail -1 | grep lib/libfsu | sed -e 's:/libfsu.*::'`" if test -n "$SOLARIS_F90_LIBDIR"; then SOLARIS_F90_LIBS='fsu fsumai fminvai fmaxvai fai sunmath mvec' fi - fi +# fi : ${LIBS="socket nsl $SOLARIS_F90_LIBS m ucb"} if test -d /usr/ucblib ; then |