* configure.in: Remove useless references to 'pic' makefile fragments.

This commit is contained in:
DJ Delorie 2002-04-30 02:28:43 +00:00
parent 112db3b05a
commit 7d803b4ea8
2 changed files with 2 additions and 71 deletions

View File

@ -1,5 +1,7 @@
2002-04-29 Nathanael Nerode <neroden@doctormoo.dyndns.org> 2002-04-29 Nathanael Nerode <neroden@doctormoo.dyndns.org>
* configure.in: remove useless references to 'pic' makefile fragments.
* configure.in: (*-*-windows*) Finish removing. * configure.in: (*-*-windows*) Finish removing.
* configure.in: Eliminate redundant test for libgui. * configure.in: Eliminate redundant test for libgui.

View File

@ -343,49 +343,6 @@ case "${enable_shared}" in
*) shared=yes ;; *) shared=yes ;;
esac esac
if [ x${shared} = xyes ]; then
case "${host}" in
alpha*-*-linux*)
host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
;;
arm*-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-armpic"
;;
parisc*-*-* | hppa*-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-papic"
;;
i[3456]86-*-cygwin*)
# We don't want -fPIC on Cygwin.
;;
i[3456]86-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-x86pic"
;;
i370-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-i370pic"
;;
ia64-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-ia64pic"
;;
sparc64-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-sparcpic"
;;
powerpc*-*-aix*)
# We don't want -fPIC on AIX.
;;
powerpc*-*-*)
host_makefile_frag="${host_makefile_frag} config/mh-ppcpic"
;;
s390-* | s390x-*)
host_makefile_frag="${host_makefile_frag} config/mh-s390pic"
;;
*-*-*)
if test -f ${srcdir}/config/mh-${host_cpu}pic; then
host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
fi
;;
esac
fi
rm -f mh-frag rm -f mh-frag
if [ -n "${host_makefile_frag}" ] ; then if [ -n "${host_makefile_frag}" ] ; then
for f in ${host_makefile_frag} for f in ${host_makefile_frag}
@ -1326,34 +1283,6 @@ if [ x${with_newlib} != xno ] && echo " ${target_configdirs} " | grep " target-n
withoptions="$withoptions --with-newlib" withoptions="$withoptions --with-newlib"
fi fi
if [ x${shared} = xyes ]; then
case "${target}" in
hppa* | parisc*)
target_makefile_frag="${target_makefile_frag} config/mt-papic"
;;
i[3456]86-*)
target_makefile_frag="${target_makefile_frag} config/mt-x86pic"
;;
ia64-*)
target_makefile_frag="${target_makefile_frag} config/mt-ia64pic"
;;
powerpc*-*-aix*)
# We don't want -fPIC on AIX.
;;
powerpc*-*)
target_makefile_frag="${target_makefile_frag} config/mt-ppcpic"
;;
alpha*-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
;;
*)
if test -f ${srcdir}/config/mt-${target_cpu}pic; then
target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
fi
;;
esac
fi
rm -f mt-frag rm -f mt-frag
if [ -n "${target_makefile_frag}" ] ; then if [ -n "${target_makefile_frag}" ] ; then
for f in ${target_makefile_frag} for f in ${target_makefile_frag}