]> gcc.gnu.org Git - gcc.git/commitdiff
configure.in (gcc_tooldir): When not making a relative gcc_tooldir...
authorJeffrey A Law <law@cygnus.com>
Sat, 23 Jan 1999 00:43:38 +0000 (00:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 23 Jan 1999 00:43:38 +0000 (17:43 -0700)
        * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
        use $exec_prefix/$target_alias for gcc_tooldir.

From-SVN: r24824

gcc/ChangeLog
gcc/configure
gcc/configure.in

index a53af56b572bde28801845d9197edd4e1eec36d4..65f2ac92356abaf601981a13eb43822d8439f142 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jan 23 01:37:36 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
+       use $exec_prefix/$target_alias for gcc_tooldir.
+
 Fri Jan 22 11:48:56 1999  Richard Henderson  <rth@cygnus.com>
 
        * cppp.c (xrealloc): Fix typo last change.
index 92c3b4f78172d03d64fcfb9a7dfe5799b599aa17..8da69e3feeeb32f66c7071257bc5228cd37c5b93 100755 (executable)
@@ -6279,16 +6279,19 @@ fi
 
 # if $(exec_prefix) is not the same as $(prefix), then do not use a relative
 # directory to get to $gcc_tooldir.
+# Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel
+# make and thus we'd get different behavior depending on where we built the
+# sources.
 if test x$exec_prefix = x$prefix; then
     gcc_tooldir='$(libsubdir)/$(unlibsubdir)/../$(target_alias)'
 else
-    gcc_tooldir='$(tooldir)'
+    gcc_tooldir='$(exec_prefix)'/${target_alias}
 fi
 
 
 # Warn if using init_priority.
 echo $ac_n "checking whether to enable init_priority by default""... $ac_c" 1>&6
-echo "configure:6292: checking whether to enable init_priority by default" >&5
+echo "configure:6295: checking whether to enable init_priority by default" >&5
 if test x$enable_init_priority != xyes; then
   enable_init_priority=no
 fi
index 942031f89b3df90aca8506eaf356cee39aaa43c5..dd6acd6192cb1e050d85cf166fdc6787650c8df2 100644 (file)
@@ -4099,10 +4099,13 @@ fi
 
 # if $(exec_prefix) is not the same as $(prefix), then do not use a relative
 # directory to get to $gcc_tooldir.
+# Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel
+# make and thus we'd get different behavior depending on where we built the
+# sources.
 if test x$exec_prefix = x$prefix; then
     gcc_tooldir='$(libsubdir)/$(unlibsubdir)/../$(target_alias)'
 else
-    gcc_tooldir='$(tooldir)'
+    gcc_tooldir='$(exec_prefix)'/${target_alias}
 fi
 AC_SUBST(gcc_tooldir)
 
This page took 0.084613 seconds and 5 git commands to generate.