summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-03-11 11:24:59 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-03-11 11:24:59 +0000
commit0d5407e6e031836361053caec33381eff17a883e (patch)
tree586a96abc0a749b19027153494233286389bd94a /config
parent671be61916e7438c9d7ed46a3d14e15c195bb02f (diff)
downloadpostgresql-0d5407e6e031836361053caec33381eff17a883e.tar.gz
Throw error if Ant is not found and Java is requested. Remove redundant
AC_SUBST that messed up the diversions and thus the configure output.
Diffstat (limited to 'config')
-rw-r--r--config/java.m410
1 files changed, 3 insertions, 7 deletions
diff --git a/config/java.m4 b/config/java.m4
index e32fb60948..61555e2cb3 100644
--- a/config/java.m4
+++ b/config/java.m4
@@ -1,16 +1,12 @@
#
# 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 $
+# $Header: /cvsroot/pgsql/config/Attic/java.m4,v 1.2 2001/03/11 11:24:59 petere Exp $
#
-# PGAC_PROG_ANT
+# PGAC_PATH_ANT
# -------------
# Look for the ANT tool and set the output variable 'ANT' to 'ant'
# if found, empty otherwise
-AC_DEFUN([PGAC_PROG_ANT],
+AC_DEFUN([PGAC_PATH_ANT],
[AC_PATH_PROGS(ANT, [ant ant.sh ant.bat])])
-AC_SUBST(ANT)
-#AC_DEFUN([PGAC_PROG_ANT],[AC_CHECK_PROG(ANT, ant, ant)
-#])
-