diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-17 14:48:11 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-17 14:48:11 +0000 |
commit | 9c12f1e5a87cce227357eea4b0780c0323f952f0 (patch) | |
tree | 8783f5876aa090d78ce738e4fe2e959420d75dc4 /hints/linux.sh | |
parent | d1a15766ff5cdfaf84d91442a68bc2a05880bf12 (diff) | |
download | perl-9c12f1e5a87cce227357eea4b0780c0323f952f0.tar.gz |
Patches to compile perl on Cray XT4 Catamount/Qk, by Jarkko
p4raw-id: //depot/perl@31404
Diffstat (limited to 'hints/linux.sh')
-rw-r--r-- | hints/linux.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index fea63e0671..af73cc8411 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -32,7 +32,15 @@ d_suidsafe='undef' # libgdbmg1-dev (development version of GNU libc 2-linked GDBM library) # So make sure that for any libraries you wish to link Perl with under # Debian or Red Hat you have the -dev packages installed. -# + +# SuSE Linux can be used as cross-compilation host for Cray XT4 Catamount/Qk. +if test -d /opt/xt-pe +then + case "`cc -V 2>&1`" in + *catamount*) . hints/catamount.sh; return ;; + esac +fi + # Some operating systems (e.g., Solaris 2.6) will link to a versioned shared # library implicitly. For example, on Solaris, `ld foo.o -lgdbm' will find an # appropriate version of libgdbm, if one is available; Linux, however, doesn't |