1
# Process this file with autoconf to produce a configure script.
4
# $Id: configure.ac,v 1.1 2003/10/25 08:52:10 dog Exp $
5
# Copyright (C) 2003 The Free Software Foundation
7
# This file is part of GNU classpath inetlib.
9
# GNU classpath is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by the
11
# Free Software Foundation; either version 2, or (at your option) any
14
# GNU classpath is distributed in the hope that it will be useful, but
15
# WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
# General Public License for more details.
19
# You should have received a copy of the GNU General Public License
20
# along with GNU JavaMail; see the file COPYING. If not, write to the
21
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26
AC_CONFIG_SRCDIR(source/gnu/inet/util/LineInputStream.java)
34
AC_ARG_ENABLE(smtp, AC_HELP_STRING([--enable-smtp],
35
[Enable the SMTP client (default=yes).]),
39
esac], [enable_smtp=yes])
40
AM_CONDITIONAL(ENABLE_SMTP, test "x$enable_smtp" = "xyes")
42
AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap],
43
[Enable the IMAP client (default=yes).]),
47
esac], [enable_imap=yes])
48
AM_CONDITIONAL(ENABLE_IMAP, test "x$enable_imap" = "xyes")
50
AC_ARG_ENABLE(pop3, AC_HELP_STRING([--enable-pop3],
51
[Enable the POP3 client (default=yes).]),
55
esac], [enable_pop3=yes])
56
AM_CONDITIONAL(ENABLE_POP3, test "x$enable_pop3" = "xyes")
58
AC_ARG_ENABLE(nntp, AC_HELP_STRING([--enable-nntp],
59
[Enable the NNTP client (default=yes).]),
63
esac], [enable_nntp=yes])
64
AM_CONDITIONAL(ENABLE_NNTP, test "x$enable_nntp" = "xyes")
66
AC_ARG_ENABLE(ftp, AC_HELP_STRING([--enable-ftp],
67
[Enable the FTP client (default=yes).]),
71
esac], [enable_ftp=yes])
72
AM_CONDITIONAL(ENABLE_FTP, test "x$enable_ftp" = "xyes")
74
AC_ARG_ENABLE(gopher, AC_HELP_STRING([--enable-gopher],
75
[Enable the Gopher client (default=yes).]),
77
no) enable_gopher=no ;;
78
*) enable_gopher=yes ;;
79
esac], [enable_gopher=yes])
80
AM_CONDITIONAL(ENABLE_GOPHER, test "x$enable_gopher" = "xyes")
86
AC_CONFIG_FILES(Makefile)