configure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cross_host} for newlib.
2002-06-04 H.J. Lu (hjl@gnu.org) * configure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cross_host} for newlib. (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to Linux. * configure: Regenerated. From-SVN: r54262
This commit is contained in:
parent
c02ebb1834
commit
9e7823ccbe
|
@ -1,3 +1,11 @@
|
|||
2002-06-04 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* configure.in (--with-newlib): New option:
|
||||
Check ${with_newlib} instead of ${with_cross_host} for newlib.
|
||||
(HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
|
||||
Linux.
|
||||
* configure: Regenerated.
|
||||
|
||||
2002-06-04 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/util/natTimeZone.cc: Include <stdio.h>.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -16,6 +16,9 @@ AC_ARG_WITH(target-subdir,
|
|||
AC_ARG_WITH(cross-host,
|
||||
[ --with-cross-host=HOST configuring with a cross compiler])
|
||||
|
||||
AC_ARG_WITH(newlib,
|
||||
[ --with-newlib Configuring with newlib])
|
||||
|
||||
LIBGCJ_CONFIGURE(.)
|
||||
|
||||
AM_CONFIG_HEADER(include/config.h gcj/libgcj-config.h)
|
||||
|
@ -465,7 +468,7 @@ changequote([,])dnl
|
|||
AC_SUBST(tool_include_dir)
|
||||
AC_SUBST(gcc_version)
|
||||
|
||||
if test -n "${with_cross_host}"; then
|
||||
if test "x${with_newlib}" = "xyes"; then
|
||||
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
|
||||
# may not work correctly, because the compiler may not be able to
|
||||
# link executables.
|
||||
|
@ -519,8 +522,16 @@ else
|
|||
|
||||
AC_CHECK_LIB(dl, dladdr, [
|
||||
AC_DEFINE(HAVE_DLADDR)])
|
||||
AC_CHECK_FILES(/proc/self/exe, [
|
||||
AC_DEFINE(HAVE_PROC_SELF_EXE)])
|
||||
if test x"$build" = x"$host"; then
|
||||
AC_CHECK_FILES(/proc/self/exe, [
|
||||
AC_DEFINE(HAVE_PROC_SELF_EXE)])
|
||||
else
|
||||
case $host in
|
||||
*-linux*)
|
||||
AC_DEFINE(HAVE_PROC_SELF_EXE)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AM_ICONV
|
||||
AM_LC_MESSAGES
|
||||
|
|
Loading…
Reference in New Issue