1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
# Process this file with autoconf to produce a configure script.
#
# $Id: configure.ac,v 1.8 2004/08/25 20:08:23 dog Exp $
# Copyright (C) 2003 The Free Software Foundation
#
# This file is part of GNU classpath inetlib.
#
# GNU classpath is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.
#
# GNU classpath is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU JavaMail; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.
#
AC_INIT(inetlib, 1.1)
AC_CONFIG_SRCDIR(source/gnu/inet/util/LineInputStream.java)
AM_INIT_AUTOMAKE
PACKAGE="inetlib"
VERSION="1.1"
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_ARG_ENABLE(smtp, AC_HELP_STRING([--enable-smtp],
[Enable the SMTP client (default=yes).]),
[case "$enableval" in
no) enable_smtp=no ;;
*) enable_smtp=yes ;;
esac], [enable_smtp=yes])
AM_CONDITIONAL(ENABLE_SMTP, test "x$enable_smtp" = "xyes")
AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap],
[Enable the IMAP client (default=yes).]),
[case "$enableval" in
no) enable_imap=no ;;
*) enable_imap=yes ;;
esac], [enable_imap=yes])
AM_CONDITIONAL(ENABLE_IMAP, test "x$enable_imap" = "xyes")
AC_ARG_ENABLE(pop3, AC_HELP_STRING([--enable-pop3],
[Enable the POP3 client (default=yes).]),
[case "$enableval" in
no) enable_pop3=no ;;
*) enable_pop3=yes ;;
esac], [enable_pop3=yes])
AM_CONDITIONAL(ENABLE_POP3, test "x$enable_pop3" = "xyes")
AC_ARG_ENABLE(nntp, AC_HELP_STRING([--enable-nntp],
[Enable the NNTP client (default=yes).]),
[case "$enableval" in
no) enable_nntp=no ;;
*) enable_nntp=yes ;;
esac], [enable_nntp=yes])
AM_CONDITIONAL(ENABLE_NNTP, test "x$enable_nntp" = "xyes")
AC_ARG_ENABLE(ftp, AC_HELP_STRING([--enable-ftp],
[Enable the FTP client (default=yes).]),
[case "$enableval" in
no) enable_ftp=no ;;
*) enable_ftp=yes ;;
esac], [enable_ftp=yes])
AM_CONDITIONAL(ENABLE_FTP, test "x$enable_ftp" = "xyes")
AC_ARG_ENABLE(gopher, AC_HELP_STRING([--enable-gopher],
[Enable the Gopher client (default=yes).]),
[case "$enableval" in
no) enable_gopher=no ;;
*) enable_gopher=yes ;;
esac], [enable_gopher=yes])
AM_CONDITIONAL(ENABLE_GOPHER, test "x$enable_gopher" = "xyes")
AC_ARG_ENABLE(finger, AC_HELP_STRING([--enable-finger],
[Enable the finger client (default=yes).]),
[case "$enableval" in
no) enable_finger=no ;;
*) enable_finger=yes ;;
esac], [enable_finger=yes])
AM_CONDITIONAL(ENABLE_FINGER, test "x$enable_finger" = "xyes")
AC_ARG_ENABLE(http, AC_HELP_STRING([--enable-http],
[Enable the HTTP client (default=yes).]),
[case "$enableval" in
no) enable_http=no ;;
*) enable_http=yes ;;
esac], [enable_http=yes])
AM_CONDITIONAL(ENABLE_HTTP, test "x$enable_http" = "xyes")
AC_ARG_ENABLE(ldap, AC_HELP_STRING([--enable-ldap],
[Enable the experimental LDAP client (default=yes).]),
[case "$enableval" in
no) enable_ldap=no ;;
*) enable_ldap=yes ;;
esac], [enable_ldap=yes])
AM_CONDITIONAL(ENABLE_LDAP, test "x$enable_ldap" = "xyes")
AC_PROG_JAVAC
AC_PROG_JAR
#AC_PROG_JAVADOC
AC_CHECK_CLASSPATH
INETLIB_WITH_JSSE_JAR
INETLIB_WITH_JAVAX_SECURITY_JAR
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
|