From 2d29f3a1c523bb1bc1ba8f7b63ca9b0214b42f9a Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 27 Jul 2003 23:52:57 +0000 Subject: [PATCH] Fix USE_LDTL configury. From-SVN: r69864 --- libjava/ChangeLog | 5 +++++ libjava/configure | 2 +- libjava/configure.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 76e330cf380..f7d6e0de322 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2003-07-27 Anthony Green + + * configure.in: Fix newlib check. + * configure: Rebuilt. + 2003-07-27 Thomas Fitzsimmons * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: diff --git a/libjava/configure b/libjava/configure index 157944e1636..baa3b268300 100755 --- a/libjava/configure +++ b/libjava/configure @@ -1707,7 +1707,7 @@ LIBGCJ_JAVAFLAGS="${libgcj_javaflags}" # Only use libltdl for non-newlib builds. -if test "x${with_newlib}" = "xno"; then +if test "x${with_newlib}" = "x" || test "x${with_newlib}" = "xno"; then case $enable_ltdl_convenience in no) { echo "configure: error: this package needs a convenience libltdl" 1>&2; exit 1; } ;; "") enable_ltdl_convenience=yes diff --git a/libjava/configure.in b/libjava/configure.in index d7eaf769246..d57b77953bc 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -24,7 +24,7 @@ LIBGCJ_CONFIGURE(.) AM_CONFIG_HEADER(include/config.h gcj/libgcj-config.h) # Only use libltdl for non-newlib builds. -if test "x${with_newlib}" = "xno"; then +if test "x${with_newlib}" = "x" || test "x${with_newlib}" = "xno"; then AC_LIBLTDL_CONVENIENCE AC_LIBTOOL_DLOPEN DIRLTDL=libltdl