summaryrefslogtreecommitdiffstats
path: root/libjava/configure
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-31 17:38:55 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-31 17:38:55 +0000
commitf250df0850b353c9c6108d7ebffc3b046a15c355 (patch)
tree015dab5fb146548d9880e6e3a2a888e288f7a5c1 /libjava/configure
parentcc48d30287e97bdf88ff3d7ac0672f82a22dc7ea (diff)
downloadppe42-gcc-f250df0850b353c9c6108d7ebffc3b046a15c355.tar.gz
ppe42-gcc-f250df0850b353c9c6108d7ebffc3b046a15c355.zip
* configure, Makefile.in: Rebuilt.
* configure.ac (JAR): Check for -@ feature. * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure16
1 files changed, 14 insertions, 2 deletions
diff --git a/libjava/configure b/libjava/configure
index 0e87e5c2483..31c43db600f 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -4198,6 +4198,18 @@ else
echo "${ECHO_T}no" >&6
fi
+
+# We need a jar that supports -@. This is a GNU extension.
+if test "$JAR" != no; then
+ rm -f config-test.jar
+ echo $srcdir/configure.ac | $JAR -cf@ config-test.jar
+ if test -f config-test.jar; then
+ rm -f config-test.jar
+ else
+ JAR=no
+ fi
+fi
+
# Prefer the jar we found, but fall back to our jar script.
if test "$JAR" = no; then
if test "$ZIP" = no; then
@@ -6012,7 +6024,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 6015 "configure"' > conftest.$ac_ext
+ echo '#line 6027 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7054,7 +7066,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then
:
else
cat > conftest.$ac_ext << EOF
-#line 7057 "configure"
+#line 7069 "configure"
struct S { ~S(); };
void bar();
void foo()
OpenPOWER on IntegriCloud