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
This commit is contained in:
parent
9124bc53e9
commit
db720d9a74
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* configure.in: Check for <memcheck.h>.
|
||||
|
2
gcc/configure
vendored
2
gcc/configure
vendored
@ -2376,7 +2376,7 @@ if test "${with_sysroot+set}" = set; then
|
||||
else
|
||||
|
||||
TARGET_SYSTEM_ROOT=
|
||||
TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=0'
|
||||
TARGET_SYSTEM_ROOT_DEFINE=
|
||||
CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'
|
||||
|
||||
fi
|
||||
|
@ -574,7 +574,7 @@ AC_ARG_WITH(sysroot,
|
||||
esac
|
||||
], [
|
||||
TARGET_SYSTEM_ROOT=
|
||||
TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=0'
|
||||
TARGET_SYSTEM_ROOT_DEFINE=
|
||||
CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'
|
||||
])
|
||||
AC_SUBST(TARGET_SYSTEM_ROOT)
|
||||
|
@ -202,7 +202,11 @@ static int report_times;
|
||||
/* Nonzero means place this string before uses of /, so that include
|
||||
and library files can be found in an alternate location. */
|
||||
|
||||
#ifdef 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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user