Effecting MKDIR_TAKES_ONE_ARG for fastjar

Ranjit Mathew rmathew@hotmail.com
Tue Oct 15 11:11:00 GMT 2002


Hi,

     Recently Tom checked in a few changes that allow GCJ to
be built properly on systems (e.g. MinGW) that take only
a single argument in a call to mkdir( ).

I believe the following changes are still necessary for
the MKDIR_TAKES_ONE_ARG change to take effect in the fastjar
codebase:
--------------------------- 8< ------------------------------
--- configure.in.orig	2002-10-15 13:11:55.000000000 +0530
+++ configure.in	2002-10-15 13:12:54.000000000 +0530
@@ -31,4 +31,7 @@
  AC_STRUCT_TM

+# mkdir takes a single argument on some systems.
+gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG
+
  dnl Check for type-widths
  gcc_AC_COMPILE_CHECK_SIZEOF(char)
--- config.h.in.orig	2002-10-15 13:03:03.000000000 +0530
+++ config.h.in	2002-10-15 13:03:06.000000000 +0530
@@ -59,2 +59,5 @@
  #undef WORDS_BIG_ENDIAN

+/* Define if host mkdir takes a single argument. */
+#undef MKDIR_TAKES_ONE_ARG
+
--------------------------- 8< ------------------------------

Of course, "configure" needs to be regenerated.

Cheers!
Ranjit.

-- 
Ranjit Mathew        Email: rmathew AT hotmail DOT com
Bangalore,
INDIA.               Web: http://ranjitmathew.tripod.com/





More information about the Java-patches mailing list