diff options
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 76c70c8b9e..25eec8b8de 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.207 2002/09/06 14:31:16 momjian Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.208 2002/09/11 04:27:48 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -371,12 +371,10 @@ AC_SUBST(with_python) AC_MSG_CHECKING([whether to build Java/JDBC tools]) PGAC_ARG_BOOL(with, java, no, [ --with-java build JDBC interface and Java tools], [AC_MSG_RESULT(yes) -if test ! "$JAVA_HOME" -o ! -d "$JAVA_HOME" ; then - AC_MSG_ERROR([Set the JAVA_HOME environment variable to build Java components]) -fi PGAC_PATH_ANT if test -z "$ANT"; then - AC_MSG_ERROR([Ant is required to build Java components]) + AC_MSG_ERROR([Ant is required to build Java components +If you have Ant already installed, see config.log for details on the failure.]) fi if "$ANT" -version | sed q | egrep -v ' 1\.[[5-9]]| [[2-9]]\.' >/dev/null ; then AC_MSG_ERROR([Ant version >= 1.5 is required to build Java components]) @@ -624,6 +622,8 @@ if test "$with_readline" = yes; then PGAC_CHECK_READLINE if test x"$pgac_cv_check_readline" = x"no"; then AC_MSG_ERROR([readline library not found +If you have readline already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support.]) fi fi @@ -631,6 +631,8 @@ fi if test "$with_zlib" = yes; then AC_CHECK_LIB(z, inflate, [], [AC_MSG_ERROR([zlib library not found +If you have zlib already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. Use --without-zlib to disable zlib support.])]) fi @@ -680,15 +682,21 @@ if test "$with_readline" = yes; then AC_CHECK_HEADERS([readline/readline.h], [], [AC_CHECK_HEADERS([readline.h], [], [AC_MSG_ERROR([readline header not found +If you have readline already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support.])])]) AC_CHECK_HEADERS([readline/history.h], [], [AC_CHECK_HEADERS([history.h], [], [AC_MSG_ERROR([history header not found +If you have readline already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support.])])]) fi if test "$with_zlib" = yes; then AC_CHECK_HEADER(zlib.h, [], [AC_MSG_ERROR([zlib header not found +If you have readline already installed, see config.log for details on the +failure. It is possible the compiler isn't looking in the proper directory. Use --without-zlib to disable zlib support.])]) fi |
