summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-07-03 18:39:36 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-07-03 18:39:36 +0000
commit76104a251c834ab98ec75a4850ffc682e42ce04f (patch)
tree07db56ef8b9b95587eff006f17c3924d3db9fa5d /configure
parent1130f59602f2d8b3ee1763e29d8a41b70150f572 (diff)
downloadocaml-76104a251c834ab98ec75a4850ffc682e42ce04f.tar.gz
Suite du portage PowerPC/MkLinux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@917 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index b783deeaee..624ee1492f 100755
--- a/configure
+++ b/configure
@@ -193,6 +193,7 @@ case "$host" in
hppa1.1-*-nextstep*) arch=hppa; system=nextstep;;
rs6000-*-aix*) arch=power; model=rs6000; system=aix;;
powerpc-*-aix*) arch=power; model=ppc; system=aix;;
+ powerpc-*-linux*) arch=power; model=ppc; system=elf;;
esac
case "$arch" in
@@ -222,9 +223,10 @@ case "$arch" in
i386) asflags='-DSYS_$(SYSTEM)';;
hppa) as="$cc"; asflags='-c -DSYS_$(SYSTEM)';;
power)
- case "$model" in
- rs6000) asflags='-u -m pwr -w';;
- ppc) asflags='-u -m ppc -w';;
+ case "$model,$system" in
+ rs6000,aix) asflags='-u -m pwr -w';;
+ ppc,aix) asflags='-u -m ppc -w';;
+ *,elf) asflags='';;
esac;;
esac