Patch: FYI: configure.ac cleanup
Bryce McKinlay
mckinlay@redhat.com
Fri Sep 10 08:25:00 GMT 2004
Since we now use automake's dependency tracking, we don't use the .d
files, so there is no point creating them during "configure". This
should improve bootstrap time slightly and reduce the amount of junk in
the build directory.
2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
* configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
.d files.
* configure: Rebuilt.
--- configure.ac 4 Sep 2004 00:22:12 -0000 1.6
+++ configure.ac 8 Sep 2004 19:52:59 -0000
@@ -1382,25 +1382,6 @@
ac_file=Makefile . ${libgcj_basedir}/../config-ml.in
;;
esac
-
-# Make subdirectories and `.d' files. Look in both srcdir and
-# builddir for the .java files.
-h=`${PWDCMD-pwd}`
-: > deps.mk
-( (cd $srcdir && find . \( -name '*.java' -o -name '*.cc' -o -name
'*.c' \) -print) ;
- find . \( -name '*.java' -o -name '*.cc' -o -name '*.c' \) -print) | \
- fgrep -v testsuite | \
- sed -e 's/\.java/.d/'\;'s/\.cc/.d/'\;'s/\.c/.d/' | \
- while read f; do
- echo "include $f" >> deps.mk
- test -f $f || {
- d=`echo $f | sed -e 's,/[[^/]]*$,,'`
- if test ! -d $d; then
- $libgcj_basedir/../mkinstalldirs $d
- fi;
- echo > $f
- }
- done
],
srcdir=${srcdir}
host=${host}
More information about the Java-patches
mailing list