summaryrefslogtreecommitdiff
path: root/libjava/configure
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-30 03:04:01 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-30 03:04:01 +0000
commit1a5eacbb53db655b3b1e82d9597cdd623aeacebe (patch)
treeb845b5f8598159d1f6cd6db3de0039e1819bb74d /libjava/configure
parent3e14aa3804d3ea58f84b646cde8b85c4ec391185 (diff)
downloadgcc-1a5eacbb53db655b3b1e82d9597cdd623aeacebe.tar.gz
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
libgcj.jar. (nat_files, x_nat_files): Build native files in subdirectories using the same dependency options as the java files. (gnu/gcj/runtime/FirstThread.h): Remove explicit rule and friend declarations. * configure.in: Put dependencies for .cc files in deps.mak. * Makefile.in: Rebuilt. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure12
1 files changed, 7 insertions, 5 deletions
diff --git a/libjava/configure b/libjava/configure
index 06c782ff37d..6e8a44b32fa 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -1636,7 +1636,7 @@ else
if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
- *.c | *.C | *.o | *.obj) ;;
+ *.c | *.o | *.obj) ;;
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
esac
done
@@ -7564,17 +7564,19 @@ esac
# builddir for the .java files.
h=`pwd`
: > deps.mk
-( (cd $srcdir && find . -name '*.java' -print) ;
- find . -name '*.java' -print) | \
+( (cd $srcdir && find . \( -name '*.java' -o -name '*.cc' \) -print) ;
+ find . \( -name '*.java' -o -name '*.cc' \) -print) | \
fgrep -v testsuite | \
- sed -e 's/\.java/.d/' | \
+ sed -e 's/\.java/.d/'\;'s/\.cc/.d/' | \
while read f; do
echo "include $f" >> deps.mk
test -f $f || {
d=`echo $f | sed -e 's,/[^/]*$,,'`
- $libgcj_basedir/../mkinstalldirs $d
+ if test ! -d $d; then
+ $libgcj_basedir/../mkinstalldirs $d
+ fi;
echo > $f
}
done