diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-15 05:01:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-15 05:01:17 +0000 |
commit | e54be5dee0d548d1c1f0990145c98a721e66ede8 (patch) | |
tree | f389d5adef64ead31fe63f41eb979ed5d37d9e78 /configure | |
parent | 776f222f590998bc0da95990b9d113b63103c6a6 (diff) | |
download | ruby-e54be5dee0d548d1c1f0990145c98a721e66ede8.tar.gz ruby-e54be5dee0d548d1c1f0990145c98a721e66ede8.tar.xz ruby-e54be5dee0d548d1c1f0990145c98a721e66ede8.zip |
2000-03-15
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure')
-rw-r--r-- | configure | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -4933,6 +4933,25 @@ case "$target_os" in rhasody*) CFLAGS="$CFLAGS -pipe -no-precomp" ;; + osf*) + if $without_gcc = "yes" ; then + CFLAGS="$CFLAGS -ansi" + else + # compile something small: taint.c is fine for this. + # the main point is the '-v' flag of 'cc'. + case "`cc -v -I. -c main.c -o /tmp/main.o 2>&1`" in + */gemc_cc*) # we have the new DEC GEM CC + CFLAGS="$CFLAGS -frpm d -ieee" + ;; + *) # we have the old MIPS CC + CFLAGS="$CFLAGS -oldc" + ;; + esac + # cleanup + rm -f /tmp/main.o + CFLAGS="$CFLAGS -std" + fi + ;; *) ;; esac |