This commit is contained in:
foobar 2001-10-30 23:27:27 +00:00
parent 43825a76bb
commit 8ea8ebd2de

View File

@ -3,9 +3,9 @@
AC_MSG_CHECKING(for Servlet support)
AC_ARG_WITH(servlet,
[ --with-servlet[=DIR] Include servlet support. DIR is the base install
directory for the JSDK. This SAPI prereqs the
java extension must be built as a shared dl.],
[ --with-servlet[=DIR] Include servlet support. DIR is the base install
directory for the JSDK. This SAPI prereqs the
java extension must be built as a shared dl.],
[
if test "$withval" != "no"; then
@ -13,20 +13,20 @@ AC_ARG_WITH(servlet,
SERVLET_CLASSPATH=.
else
if test -f $withval/lib/servlet.jar; then
SERVLET_CLASSPATH=$withval/lib/servlet.jar
SERVLET_CLASSPATH=$withval/lib/servlet.jar
fi
if test -f $withval/lib/jsdk.jar; then
SERVLET_CLASSPATH=$withval/lib/jsdk.jar
SERVLET_CLASSPATH=$withval/lib/jsdk.jar
fi
if test -d $withval/javax; then
SERVLET_CLASSPATH=$withval
SERVLET_CLASSPATH=$withval
fi
if test -z "$SERVLET_CLASSPATH"; then
AC_MSG_RESULT(no)
AC_MSG_ERROR(unable to find servlet libraries)
AC_MSG_RESULT(no)
AC_MSG_ERROR(unable to find servlet libraries)
fi
fi