~ubuntu-branches/ubuntu/karmic/libgnuinet-java/karmic

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-04-14 12:42:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040414124210-osc3q0wzthgme27p
Tags: upstream-0.0.cvs20031116
ImportĀ upstreamĀ versionĀ 0.0.cvs20031116

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Process this file with autoconf to produce a configure script.
 
2
 
 
3
 
4
# $Id: configure.ac,v 1.1 2003/10/25 08:52:10 dog Exp $
 
5
# Copyright (C) 2003 The Free Software Foundation
 
6
 
7
# This file is part of GNU classpath inetlib.
 
8
 
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
 
12
# later version.
 
13
#  
 
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.
 
18
 
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
 
22
# 02111-1307 USA. 
 
23
#
 
24
 
 
25
AC_INIT(inetlib, 0.1)
 
26
AC_CONFIG_SRCDIR(source/gnu/inet/util/LineInputStream.java)
 
27
AM_INIT_AUTOMAKE
 
28
 
 
29
PACKAGE="inetlib"
 
30
VERSION="0.1"
 
31
AC_SUBST(PACKAGE)
 
32
AC_SUBST(VERSION)
 
33
 
 
34
AC_ARG_ENABLE(smtp, AC_HELP_STRING([--enable-smtp],
 
35
        [Enable the SMTP client (default=yes).]),
 
36
        [case "$enableval" in
 
37
                no) enable_smtp=no ;;
 
38
                *) enable_smtp=yes ;;
 
39
        esac], [enable_smtp=yes])
 
40
AM_CONDITIONAL(ENABLE_SMTP, test "x$enable_smtp" = "xyes")
 
41
 
 
42
AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap],
 
43
        [Enable the IMAP client (default=yes).]),
 
44
        [case "$enableval" in
 
45
                no) enable_imap=no ;;
 
46
                *) enable_imap=yes ;;
 
47
        esac], [enable_imap=yes])
 
48
AM_CONDITIONAL(ENABLE_IMAP, test "x$enable_imap" = "xyes")
 
49
 
 
50
AC_ARG_ENABLE(pop3, AC_HELP_STRING([--enable-pop3],
 
51
        [Enable the POP3 client (default=yes).]),
 
52
        [case "$enableval" in
 
53
                no) enable_pop3=no ;;
 
54
                *) enable_pop3=yes ;;
 
55
        esac], [enable_pop3=yes])
 
56
AM_CONDITIONAL(ENABLE_POP3, test "x$enable_pop3" = "xyes")
 
57
 
 
58
AC_ARG_ENABLE(nntp, AC_HELP_STRING([--enable-nntp],
 
59
        [Enable the NNTP client (default=yes).]),
 
60
        [case "$enableval" in
 
61
                no) enable_nntp=no ;;
 
62
                *) enable_nntp=yes ;;
 
63
        esac], [enable_nntp=yes])
 
64
AM_CONDITIONAL(ENABLE_NNTP, test "x$enable_nntp" = "xyes")
 
65
 
 
66
AC_ARG_ENABLE(ftp, AC_HELP_STRING([--enable-ftp],
 
67
        [Enable the FTP client (default=yes).]),
 
68
        [case "$enableval" in
 
69
                no) enable_ftp=no ;;
 
70
                *) enable_ftp=yes ;;
 
71
        esac], [enable_ftp=yes])
 
72
AM_CONDITIONAL(ENABLE_FTP, test "x$enable_ftp" = "xyes")
 
73
 
 
74
AC_ARG_ENABLE(gopher, AC_HELP_STRING([--enable-gopher],
 
75
        [Enable the Gopher client (default=yes).]),
 
76
        [case "$enableval" in
 
77
                no) enable_gopher=no ;;
 
78
                *) enable_gopher=yes ;;
 
79
        esac], [enable_gopher=yes])
 
80
AM_CONDITIONAL(ENABLE_GOPHER, test "x$enable_gopher" = "xyes")
 
81
 
 
82
AC_PROG_JAVAC
 
83
AC_PROG_JAR
 
84
AC_CHECK_CLASSPATH
 
85
 
 
86
AC_CONFIG_FILES(Makefile)
 
87
 
 
88
AC_OUTPUT
 
89