This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] avoid warning when running configure
- From: Matthias Klose <doko at ubuntu dot com>
- To: GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: Sat, 25 Apr 2009 03:32:43 +0200
- Subject: [patch] avoid warning when running configure
when building with srcdir != builddir, the configure prints a warning:
mkdir: cannot create directory `gnu/java/security/jce/prng': No such file or
directory
the build succeeds, apparently AC_CONFIG_LINKS now handles creating the missing
dirs. The patch just creates the directories as done for the other directories
in the lines before to avoid the error in the script. No rework to use any of
the A*_MKDIR_P macros.
Ok for the trunk and the branch?
Matthias
2009-04-24 Matthias Klose <doko@ubuntu.com>
* configure.ac: Create missing directory gnu/java/security/jce/prng.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 146639)
+++ configure.ac (working copy)
@@ -834,6 +834,8 @@
AC_CONFIG_LINKS(gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc)
# Likewise for natVMSecureRandom.cc
+test -d gnu/java/security || mkdir gnu/java/security
+test -d gnu/java/security/jce || mkdir gnu/java/security/jce
test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
AC_CONFIG_LINKS(gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc)