Commit db720d9a by Daniel Jacobowitz Committed by Daniel Jacobowitz

configure.in: Don't always define TARGET_SYSTEM_ROOT.

	* configure.in: Don't always define TARGET_SYSTEM_ROOT.
	* configure: Regenerated.
	* gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.

From-SVN: r63793
parent 9124bc53
2003-03-04 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Don't always define TARGET_SYSTEM_ROOT.
* configure: Regenerated.
* gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
2003-03-04 Andreas Jaeger <aj@suse.de> 2003-03-04 Andreas Jaeger <aj@suse.de>
* configure.in: Check for <memcheck.h>. * configure.in: Check for <memcheck.h>.
......
...@@ -2376,7 +2376,7 @@ if test "${with_sysroot+set}" = set; then ...@@ -2376,7 +2376,7 @@ if test "${with_sysroot+set}" = set; then
else else
TARGET_SYSTEM_ROOT= TARGET_SYSTEM_ROOT=
TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=0' TARGET_SYSTEM_ROOT_DEFINE=
CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include' CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'
fi fi
......
...@@ -574,7 +574,7 @@ AC_ARG_WITH(sysroot, ...@@ -574,7 +574,7 @@ AC_ARG_WITH(sysroot,
esac esac
], [ ], [
TARGET_SYSTEM_ROOT= TARGET_SYSTEM_ROOT=
TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=0' TARGET_SYSTEM_ROOT_DEFINE=
CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include' CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'
]) ])
AC_SUBST(TARGET_SYSTEM_ROOT) AC_SUBST(TARGET_SYSTEM_ROOT)
......
...@@ -202,7 +202,11 @@ static int report_times; ...@@ -202,7 +202,11 @@ static int report_times;
/* Nonzero means place this string before uses of /, so that include /* Nonzero means place this string before uses of /, so that include
and library files can be found in an alternate location. */ and library files can be found in an alternate location. */
#ifdef TARGET_SYSTEM_ROOT
static const char *target_system_root = TARGET_SYSTEM_ROOT; static const char *target_system_root = TARGET_SYSTEM_ROOT;
#else
static const char *target_system_root = 0;
#endif
/* Nonzero means pass the updated target_system_root to the compiler. */ /* Nonzero means pass the updated target_system_root to the compiler. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment