Mercurial > noffle
annotate configure.in @ 500:614a3177b15c noffle tip
Add mail-from option.
Some modern mail systems will try and ensure the sender email is a legitimate
address. Which will fail if there isn't such an address.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 14 Aug 2013 12:04:39 +0100 |
parents | d33568bb18ab |
children |
rev | line source |
---|---|
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
1 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
2 dnl Process this file with autoconf to produce a configure script. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
3 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
4 |
278
a0497ffac49b
[svn] I'm not very good at automake. Redo with automake2.13.
bears
parents:
277
diff
changeset
|
5 AC_INIT(src/noffle.c) |
a0497ffac49b
[svn] I'm not very good at automake. Redo with automake2.13.
bears
parents:
277
diff
changeset
|
6 AC_PREREQ(2.13) |
a0497ffac49b
[svn] I'm not very good at automake. Redo with automake2.13.
bears
parents:
277
diff
changeset
|
7 |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
8 PACKAGE=noffle |
484
d33568bb18ab
[svn] * Makefile.in,NEWS,README,aclocal.m4,configure,configure.in,
bears
parents:
437
diff
changeset
|
9 VERSION=1.2.0rc1 |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
10 |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
11 AM_CONFIG_HEADER(config.h) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
12 AM_INIT_AUTOMAKE($PACKAGE,$VERSION) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
13 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
14 dnl AM_MAINTAINER_MODE |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
15 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
16 AC_DEFINE(_GNU_SOURCE) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
17 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
18 AC_LANG_C |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
19 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
20 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
21 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
22 dnl Checks for programs. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
23 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
24 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
25 AC_PROG_CC |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
26 AC_PROG_GCC_TRADITIONAL |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
27 AC_PROG_INSTALL |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
28 AC_PROG_MAKE_SET |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
29 |
146
fd821441f016
[svn] Applied patch by Paul Slootman: using the mail program is
enz
parents:
133
diff
changeset
|
30 AC_PATH_PROG(SENDMAILPROG, sendmail, 'notfound', |
fd821441f016
[svn] Applied patch by Paul Slootman: using the mail program is
enz
parents:
133
diff
changeset
|
31 /usr/sbin:/usr/lib:$PATH) |
fd821441f016
[svn] Applied patch by Paul Slootman: using the mail program is
enz
parents:
133
diff
changeset
|
32 if test "x$SENDMAILPROG" = "xnotfound"; then |
fd821441f016
[svn] Applied patch by Paul Slootman: using the mail program is
enz
parents:
133
diff
changeset
|
33 AC_MSG_ERROR(sendmail program not found in /usr/lib:/usr/sbin:$PATH .) |
45
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
43
diff
changeset
|
34 fi |
32ba1198c6fa
[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents:
43
diff
changeset
|
35 |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
36 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
37 dnl System checks. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
38 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
39 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
40 AC_AIX |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
41 AC_ISC_POSIX |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
42 AC_MINIX |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
43 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
44 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
45 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
46 dnl Checks for libraries. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
47 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
48 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
49 # Whenever both -lsocket and -lnsl are needed, it seems to be always the |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
50 # case that gethostbyname requires -lnsl. So, check -lnsl first, for it |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
51 # to be in LIBS before the setsockopt checks are performed. *However*, |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
52 # on SINIX-N 5.43, this is false, and gethostent seems to be a better |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
53 # candidate. So, let's use it below instead of gethostbyname, and see. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
54 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
55 # [ This is ripped from GNU tar. ] |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
56 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
57 AC_CHECK_FUNC(gethostent) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
58 if test $ac_cv_func_gethostent = no; then |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
59 AC_CHECK_LIB(nsl, gethostent) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
60 fi |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
61 AC_CHECK_FUNC(setsockopt) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
62 if test $ac_cv_func_setsockopt = no; then |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
63 AC_CHECK_LIB(socket, setsockopt) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
64 fi |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
65 |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
66 AC_ARG_WITH(gdbm-include, |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
67 [ --with-gdbm-include=DIR GDBM header files are in DIR], |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
68 [CPPFLAGS="$CFLAGS -I$withval"] |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
69 ) |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
70 AC_ARG_WITH(gdbm-libdir, |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
71 [ --with-gdbm-libdir=DIR GDBM library files are in DIR], |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
72 [LIBS="$LIBS -L$withval"] |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
73 ) |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
74 AC_CHECK_LIB(gdbm, gdbm_open, |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
75 AC_CHECK_HEADER(gdbm.h,,AC_MSG_ERROR([cannot find gdbm.h])), |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
76 AC_MSG_ERROR([cannot find libgdbm])) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
77 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
78 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
79 dnl Checks for header files. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
80 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
81 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
82 AC_HEADER_STDC |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
83 AC_HEADER_DIRENT |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
84 AC_CHECK_HEADERS(syslog.h sys/resource.h sys/utsname.h) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
85 AC_CHECK_HEADERS(fnmatch.h errno.h getopt.h time.h sys/time.h signal.h) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
86 AC_CHECK_HEADERS(netdb.h sys/socket.h fcntl.h limits.h unistd.h) |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
87 AC_CHECK_HEADERS(sys/types.h regex.h pwd.h) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
88 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
89 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
90 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
91 dnl Checks for typedefs, structures, and compiler characteristics. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
92 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
93 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
94 AC_C_CONST |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
95 AC_TYPE_SIZE_T |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
96 AC_HEADER_TIME |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
97 AC_STRUCT_TM |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
98 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
99 AC_CACHE_CHECK(socklen_t, noffle_cv_type_socklen_t, |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
100 AC_TRY_COMPILE([ |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
101 #include <sys/types.h> |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
102 #include <sys/socket.h> |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
103 ], [ socklen_t s; ], |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
104 noffle_cv_type_socklen_t=yes, noffle_cv_type_socklen_t=no) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
105 ) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
106 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
107 if test "x$noffle_cv_type_socklen_t" = "xno" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
108 then |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
109 AC_DEFINE_UNQUOTED(socklen_t, unsigned int) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
110 fi |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
111 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
112 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
113 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
114 dnl Checks for library functions. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
115 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
116 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
117 AC_TYPE_SIGNAL |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
118 AC_FUNC_STRFTIME |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
119 AC_FUNC_FNMATCH |
258
ebd9c98bbc7f
[svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents:
254
diff
changeset
|
120 AC_CHECK_FUNCS(fdopen mkdir select socket) |
ebd9c98bbc7f
[svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents:
254
diff
changeset
|
121 AC_CHECK_FUNCS(gethostname uname) |
ebd9c98bbc7f
[svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents:
254
diff
changeset
|
122 AC_CHECK_FUNCS(snprintf vsnprintf __vsnprintf __snprintf) |
ebd9c98bbc7f
[svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents:
254
diff
changeset
|
123 AC_CHECK_FUNCS(strerror strstr) |
ebd9c98bbc7f
[svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents:
254
diff
changeset
|
124 AC_CHECK_FUNCS(mktime timegm) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
125 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
126 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
127 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
128 dnl Checks for system services. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
129 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
130 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
131 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
132 dnl --------------------------------------------------------------------------- |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
133 dnl Authentication options |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
134 dnl --------------------------------------------------------------------------- |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
135 |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
136 AC_ARG_ENABLE(auth, |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
137 [ --enable-auth=[no/file/pam] enable authentication [default=no]], , |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
138 enable_auth=no) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
139 |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
140 if test "x$enable_auth" = "xfile"; then |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
141 AC_DEFINE(USE_AUTH) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
142 fi |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
143 if test "x$enable_auth" = "xpam"; then |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
144 AC_SUBST(LIBPAM) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
145 AC_CHECK_LIB(pam, pam_start, |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
146 AC_CHECK_HEADER(security/pam_appl.h,, |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
147 AC_MSG_ERROR([cannot find security/pam_appl.h])), |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
148 AC_MSG_ERROR([cannot find libpam])) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
149 LIBPAM="-lpam" |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
150 AC_DEFINE(USE_PAM) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
151 AC_DEFINE(USE_AUTH) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
152 fi |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
153 |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
154 dnl check where to put the users file |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
155 AC_MSG_CHECKING(usersfile) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
156 AC_ARG_WITH(usersfile, |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
157 [ --with-usersfile=FILE users file [/etc/noffle.users]], |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
158 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
159 AC_MSG_ERROR(you must give an absolute path) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
160 fi |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
161 withval=`echo "$withval" | sed 'sx/*$xx;'`, |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
162 withval="/etc/$PACKAGE.users" |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
163 ) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
164 USERSFILE=$withval |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
165 AC_MSG_RESULT($USERSFILE) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
166 AC_DEFINE_UNQUOTED(USERSFILE,"$USERSFILE") |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
167 AC_SUBST(USERSFILE) |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
168 |
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
169 dnl --------------------------------------------------------------------------- |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
170 dnl Handle user-specified configure options |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
171 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
172 |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
173 AC_ARG_ENABLE(debug, |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
174 [ --enable-debug=[no/yes] build with debugging [default=no]], , |
185
fed1334d766b
[svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents:
177
diff
changeset
|
175 enable_debug=no) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
176 |
265
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
177 if test "x$enable_debug" = "xyes"; then |
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
178 if test "x$GCC" = "xyes"; then |
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
179 CFLAGS="$CFLAGS \ |
272
f3b44be9e4ab
[svn] * configure.in: Remove '-ansi' and '-Wtraditional'. We use functions
bears
parents:
265
diff
changeset
|
180 -Wall -pedantic -W -Wshadow -Wpointer-arith \ |
265
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
181 -Wcast-align -Wwrite-strings \ |
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
182 -Wstrict-prototypes -Wmissing-prototypes \ |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
183 -Wmissing-declarations -Wnested-externs -Winline " |
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
184 CPPFLAGS="$CPPFLAGS \ |
265
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
185 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" |
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
186 else |
277
1fdde6512033
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents:
272
diff
changeset
|
187 CPPFLAGS="$CPPFLAGS -DDEBUG" |
265
1cafe0f3f0ec
[svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents:
258
diff
changeset
|
188 fi |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
189 fi |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
190 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
191 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
192 # [ This is adapted from mutt. ] |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
193 AC_ARG_WITH(docdir, |
246
6f3a55d18659
[svn] * aclocal.m4,configure.in,configure: Bump version to 1.1.2 & re-run
bears
parents:
225
diff
changeset
|
194 [ --with-docdir=DIR other documentation [PREFIX/share/doc/noffle]], |
198
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
195 [noffle_cv_docdir=$withval], |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
196 [ AC_CACHE_CHECK(other documentation directory, noffle_cv_docdir, |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
197 [if test x$prefix = xNONE; then |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
198 noffle_cv_prefix=$ac_default_prefix |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
199 else |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
200 noffle_cv_prefix=$prefix |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
201 fi |
246
6f3a55d18659
[svn] * aclocal.m4,configure.in,configure: Bump version to 1.1.2 & re-run
bears
parents:
225
diff
changeset
|
202 noffle_cv_docdir=$noffle_cv_prefix/share/doc/noffle |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
203 ]) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
204 ]) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
205 |
198
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
206 dnl check where to put the spooldir - taken from leafnode 2.0beta. |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
207 AC_MSG_CHECKING(spooldir) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
208 AC_ARG_WITH(spooldir, |
217
b4f1731a6470
[svn] * Makefile.in,aclocal.m4,config.h.in,configure,configure.in
bears
parents:
198
diff
changeset
|
209 [ --with-spooldir=DIR news spool directory [/var/spool/noffle]], |
198
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
210 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
211 AC_MSG_ERROR(you must give an absolute path) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
212 fi |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
213 withval=`echo "$withval" | sed 'sx/*$xx;'` |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
214 , |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
215 withval="/var/spool/$PACKAGE" |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
216 ) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
217 SPOOLDIR=$withval |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
218 AC_MSG_RESULT($SPOOLDIR) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
219 AC_DEFINE_UNQUOTED(SPOOLDIR, "$SPOOLDIR") |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
220 AC_SUBST(SPOOLDIR) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
221 |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
222 dnl check where to put the config file |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
223 AC_MSG_CHECKING(configfile) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
224 AC_ARG_WITH(configfile, |
217
b4f1731a6470
[svn] * Makefile.in,aclocal.m4,config.h.in,configure,configure.in
bears
parents:
198
diff
changeset
|
225 [ --with-configfile=FILE configuration file [/etc/noffle.conf]], |
198
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
226 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
227 AC_MSG_ERROR(you must give an absolute path) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
228 fi |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
229 withval=`echo "$withval" | sed 'sx/*$xx;'` |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
230 , |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
231 withval="/etc/$PACKAGE.conf" |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
232 ) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
233 CONFIGFILE=$withval |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
234 AC_MSG_RESULT($CONFIGFILE) |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
235 AC_DEFINE_UNQUOTED(CONFIGFILE,"$CONFIGFILE") |
79e324213734
[svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents:
185
diff
changeset
|
236 AC_SUBST(CONFIGFILE) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
237 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
238 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
239 dnl Unquoted defines and substituted variables. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
240 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
241 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
242 dnl NOFFLE_EXPAND_DIR(VARNAME, DIR) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
243 dnl expands occurrences of ${prefix} and ${exec_prefix} in the given DIR, |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
244 dnl and assigns the resulting string to VARNAME |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
245 dnl example: NOFFLE_EXPAND_DIR(LOCALEDIR, "$datadir/locale") |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
246 dnl eg, then: AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR") |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
247 dnl by Alexandre Oliva |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
248 dnl from http://www.cygnus.com/ml/automake/1998-Aug/0040.html |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
249 AC_DEFUN(NOFFLE_EXPAND_DIR, [ |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
250 $1=$2 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
251 $1=`( |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
252 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
253 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
254 eval echo \""[$]$1"\" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
255 )` |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
256 ]) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
257 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
258 DOCDIR=$noffle_cv_docdir |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
259 AC_SUBST(DOCDIR) |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
260 |
146
fd821441f016
[svn] Applied patch by Paul Slootman: using the mail program is
enz
parents:
133
diff
changeset
|
261 AC_DEFINE_UNQUOTED(SENDMAILPROG, "$SENDMAILPROG") |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
262 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
263 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
264 dnl Output files. |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
265 dnl --------------------------------------------------------------------------- |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
266 |
225
9fb4b7d7e64b
[svn] * docs/Makefile.in: Add testing.txt to documents.
bears
parents:
217
diff
changeset
|
267 AC_OUTPUT(Makefile src/Makefile docs/Makefile packages/Makefile packages/redhat/Makefile) |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
268 |