diff --git a/config/java.m4 b/config/java.m4
new file mode 100644
index 0000000000000000000000000000000000000000..e32fb6094821a88b67f6edce31931c9e5ca55ad9
--- /dev/null
+++ b/config/java.m4
@@ -0,0 +1,16 @@
+#
+# Autoconf macros for configuring the build of Java JDBC Tools
+#
+# $Header: /cvsroot/pgsql/config/Attic/java.m4,v 1.1 2001/03/05 10:02:35 peter Exp $
+#
+
+# PGAC_PROG_ANT
+# -------------
+# Look for the ANT tool and set the output variable 'ANT' to 'ant'
+# if found, empty otherwise
+AC_DEFUN([PGAC_PROG_ANT],
+         [AC_PATH_PROGS(ANT, [ant ant.sh ant.bat])])
+AC_SUBST(ANT)
+#AC_DEFUN([PGAC_PROG_ANT],[AC_CHECK_PROG(ANT, ant, ant)
+#])
+