testing consistency
Jim Wilson
wilson@cygnus.com
Thu Sep 11 19:01:00 GMT 1997
OK, everyone has agreed now that requiring people to use --prefix=/usr instead
of defaulting it is OK for linux.
I have checked in the following patch to eliminate places that were already
doing this.
Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
* configure.in (native_prefix): Delete.
(mips-dec-netbsd): Don't set prefix.
(*linux*): Don't set prefix.
Index: configure.in
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/configure.in,v
retrieving revision 1.18
diff -p -r1.18 configure.in
*** configure.in 1997/09/12 00:39:08 1.18
--- configure.in 1997/09/12 00:45:33
***************
*** 24,30 ****
AC_INIT(tree.c)
AC_CONFIG_HEADER(config.h:config.in)
- native_prefix=/usr
remove=rm
hard_link=ln
symbolic_link='ln -s'
--- 24,29 ----
*************** for machine in $build $host $target; do
*** 1767,1776 ****
# On NetBSD, the headers are already okay.
fixincludes=Makefile.in
tmake_file=t-netbsd
- if [[ x$prefix = xNONE ]]; then
- prefix=$native_prefix
- fi
- prefix=$native_prefix
;;
mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
tm_file=mips/news4.h
--- 1766,1771 ----
*************** fi
*** 2768,2782 ****
# Get the version number from the toplevel
version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/version.c`
-
- # Are we using gcc as the native compiler?
- case $host in
- *linux*) # All Linux's use gcc as the native compiler.
- if [[ x$prefix = xNONE ]]; then
- prefix=$native_prefix
- fi
- ;;
- esac
# Get an absolute path to the GCC top-level source directory
holddir=`pwd`
--- 2763,2768 ----
More information about the Gcc
mailing list