summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 00:09:24 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 00:09:24 +0000
commitfea0107e2e4af04767a30bbc962a666fdd837c9c (patch)
treebee438c14b2c698e30e7100e7ff7a82843f1cc2b /configure.in
parent37e264110cd45c2b60395f112b34e8fd7a2dbf4e (diff)
downloadgcc-fea0107e2e4af04767a30bbc962a666fdd837c9c.tar.gz
* configure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix* git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25687 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 14 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index f1181a30c76..2fb19bf3cd1 100644
--- a/configure.in
+++ b/configure.in
@@ -283,25 +283,31 @@ esac
if [ x${shared} = xyes ]; then
case "${host}" in
- hppa*)
+ alpha*-*-linux*)
+ host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
+ ;;
+ arm*-*-*)
+ host_makefile_frag="${host_makefile_frag} config/mh-armpic"
+ ;;
+ hppa*-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-papic"
;;
i[3456]86-*-cygwin32*)
# We don't want -fPIC on cygwin32.
;;
- i[3456]86-*)
+ i[3456]86-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-x86pic"
;;
- sparc64-*)
+ sparc64-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-sparcpic"
;;
- powerpc*-*)
- host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
+ powerpc*-*-aix*)
+ # We don't want -fPIC on AIX.
;;
- alpha*-*-linux*)
- host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
+ powerpc*-*-*)
+ host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
;;
- *)
+ *-*-*)
if test -f ${srcdir}/config/mh-${host_cpu}pic; then
host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
fi