1
by
This commit was manufactured by cvs2svn to create branch |
1 |
#! /bin/sh
|
991
by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not |
2 |
# From configure.in Revision: 8122 .
|
1
by
This commit was manufactured by cvs2svn to create branch |
3 |
# Guess values for system-dependent variables and create Makefiles.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4 |
# Generated by GNU Autoconf 2.69.
|
5 |
#
|
|
6 |
#
|
|
7 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
8 |
#
|
|
9 |
#
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
10 |
# This configure script is free software; the Free Software Foundation
|
11 |
# gives unlimited permission to copy, distribute and modify it.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
12 |
## -------------------- ##
|
13 |
## M4sh Initialization. ##
|
|
14 |
## -------------------- ##
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
15 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
16 |
# Be more Bourne compatible
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
17 |
DUALCASE=1; export DUALCASE # for MKS sh |
1469
by Mark Sapiro
Made configure check for dnspython. |
18 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
19 |
emulate sh |
20 |
NULLCMD=: |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
21 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
22 |
# is contrary to our usage. Disable this feature.
|
23 |
alias -g '${1+"$@"}'='"$@"' |
|
24 |
setopt NO_GLOB_SUBST |
|
25 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
26 |
case `(set -o) 2>/dev/null` in #( |
27 |
*posix*) :
|
|
28 |
set -o posix ;; #( |
|
29 |
*) :
|
|
30 |
;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
31 |
esac
|
32 |
fi
|
|
33 |
||
34 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
35 |
as_nl=' |
36 |
'
|
|
37 |
export as_nl
|
|
38 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
39 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
42 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
43 |
# but without wasting forks for bash or zsh.
|
|
44 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
45 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
46 |
as_echo='print -r --' |
|
47 |
as_echo_n='print -rn --' |
|
48 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
49 |
as_echo='printf %s\n' |
50 |
as_echo_n='printf %s' |
|
51 |
else
|
|
52 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
53 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
54 |
as_echo_n='/usr/ucb/echo -n' |
|
55 |
else
|
|
56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
57 |
as_echo_n_body='eval |
|
58 |
arg=$1;
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
59 |
case $arg in #(
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
60 |
*"$as_nl"*)
|
61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
63 |
esac;
|
|
64 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
65 |
'
|
|
66 |
export as_echo_n_body
|
|
67 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
68 |
fi
|
|
69 |
export as_echo_body
|
|
70 |
as_echo='sh -c $as_echo_body as_echo' |
|
71 |
fi
|
|
72 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
73 |
# The user is always right.
|
74 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
75 |
PATH_SEPARATOR=: |
76 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
77 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
78 |
PATH_SEPARATOR=';' |
|
79 |
}
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
80 |
fi
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
81 |
|
82 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
83 |
# IFS
|
84 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
85 |
# there to prevent editors from complaining about space-tab.
|
|
86 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
87 |
# splitting by setting IFS to empty value.)
|
|
88 |
IFS=" "" $as_nl" |
|
89 |
||
90 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
91 |
as_myself= |
92 |
case $0 in #(( |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
93 |
*[\\/]* ) as_myself=$0 ;; |
94 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
95 |
for as_dir in $PATH |
|
96 |
do
|
|
97 |
IFS=$as_save_IFS |
|
98 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
99 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
100 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
101 |
IFS=$as_save_IFS |
102 |
||
103 |
;;
|
|
104 |
esac
|
|
105 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
106 |
# in which case we are not to be found in the path.
|
|
107 |
if test "x$as_myself" = x; then |
|
108 |
as_myself=$0 |
|
109 |
fi
|
|
110 |
if test ! -f "$as_myself"; then |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
111 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1469
by Mark Sapiro
Made configure check for dnspython. |
112 |
exit 1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
113 |
fi
|
114 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
115 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
116 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
117 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
118 |
# trigger a bug in pdksh 5.2.14.
|
|
119 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
120 |
do eval test x\${$as_var+set} = xset \ |
|
121 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
122 |
done
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
123 |
PS1='$ ' |
124 |
PS2='> ' |
|
125 |
PS4='+ ' |
|
126 |
||
127 |
# NLS nuisances.
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
128 |
LC_ALL=C |
129 |
export LC_ALL
|
|
130 |
LANGUAGE=C |
|
131 |
export LANGUAGE
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
132 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
133 |
# CDPATH.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
134 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 |
||
136 |
# Use a proper internal environment variable to ensure we don't fall
|
|
137 |
# into an infinite loop, continuously re-executing ourselves.
|
|
138 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
139 |
_as_can_reexec=no; export _as_can_reexec; |
|
140 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
141 |
# neutralization value for shells without unset; and this also
|
|
142 |
# works around shells that cannot unset nonexistent variables.
|
|
143 |
# Preserve -v and -x to the replacement shell.
|
|
144 |
BASH_ENV=/dev/null |
|
145 |
ENV=/dev/null |
|
146 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
147 |
case $- in # (((( |
|
148 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
149 |
*v* ) as_opts=-v ;; |
|
150 |
*x* ) as_opts=-x ;; |
|
151 |
* ) as_opts= ;; |
|
152 |
esac
|
|
153 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
154 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
155 |
# out after a failed `exec'.
|
|
156 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
157 |
as_fn_exit 255
|
|
158 |
fi
|
|
159 |
# We don't want this to propagate to other subprocesses.
|
|
160 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
161 |
if test "x$CONFIG_SHELL" = x; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
162 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
163 |
emulate sh
|
|
164 |
NULLCMD=:
|
|
165 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
166 |
# is contrary to our usage. Disable this feature.
|
|
167 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
168 |
setopt NO_GLOB_SUBST
|
|
169 |
else
|
|
170 |
case \`(set -o) 2>/dev/null\` in #(
|
|
171 |
*posix*) :
|
|
172 |
set -o posix ;; #(
|
|
173 |
*) :
|
|
174 |
;;
|
|
175 |
esac
|
|
176 |
fi
|
|
177 |
"
|
|
178 |
as_required="as_fn_return () { (exit \$1); } |
|
179 |
as_fn_success () { as_fn_return 0; }
|
|
180 |
as_fn_failure () { as_fn_return 1; }
|
|
181 |
as_fn_ret_success () { return 0; }
|
|
182 |
as_fn_ret_failure () { return 1; }
|
|
183 |
||
184 |
exitcode=0
|
|
185 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
186 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
187 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
188 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
189 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
190 |
||
191 |
else
|
|
192 |
exitcode=1; echo positional parameters were not saved.
|
|
193 |
fi
|
|
194 |
test x\$exitcode = x0 || exit 1
|
|
195 |
test -x / || exit 1"
|
|
196 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
197 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
198 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
199 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
200 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
201 |
if (eval "$as_required") 2>/dev/null; then : |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
202 |
as_have_required=yes |
203 |
else
|
|
204 |
as_have_required=no |
|
205 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
206 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
207 |
||
208 |
else
|
|
209 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
210 |
as_found=false |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
211 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
212 |
do
|
|
213 |
IFS=$as_save_IFS |
|
214 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
215 |
as_found=: |
216 |
case $as_dir in #( |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
217 |
/*)
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
218 |
for as_base in sh bash ksh sh5; do |
1469
by Mark Sapiro
Made configure check for dnspython. |
219 |
# Try only shells that exist, to save several forks.
|
220 |
as_shell=$as_dir/$as_base |
|
221 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
222 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
223 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
224 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
225 |
break 2 |
|
226 |
fi
|
|
227 |
fi
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
228 |
done;; |
229 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
230 |
as_found=false |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
231 |
done
|
1469
by Mark Sapiro
Made configure check for dnspython. |
232 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
233 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
234 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
235 |
fi; } |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
236 |
IFS=$as_save_IFS |
237 |
||
238 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
239 |
if test "x$CONFIG_SHELL" != x; then : |
240 |
export CONFIG_SHELL
|
|
241 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
242 |
# neutralization value for shells without unset; and this also
|
|
243 |
# works around shells that cannot unset nonexistent variables.
|
|
244 |
# Preserve -v and -x to the replacement shell.
|
|
245 |
BASH_ENV=/dev/null |
|
246 |
ENV=/dev/null |
|
247 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
248 |
case $- in # (((( |
|
249 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
250 |
*v* ) as_opts=-v ;; |
|
251 |
*x* ) as_opts=-x ;; |
|
252 |
* ) as_opts= ;; |
|
253 |
esac
|
|
254 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
255 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
256 |
# out after a failed `exec'.
|
|
257 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
258 |
exit 255 |
|
259 |
fi
|
|
260 |
||
261 |
if test x$as_have_required = xno; then : |
|
262 |
$as_echo "$0: This script requires a shell more modern than all" |
|
263 |
$as_echo "$0: the shells that I found on your system." |
|
264 |
if test x${ZSH_VERSION+set} = xset ; then |
|
265 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
266 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
267 |
else
|
|
268 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
|
269 |
$0: including any error possibly output before this |
|
270 |
$0: message. Then install a modern shell, or manually run |
|
271 |
$0: the script under such a shell if you do have one." |
|
272 |
fi
|
|
273 |
exit 1 |
|
274 |
fi
|
|
275 |
fi
|
|
276 |
fi
|
|
277 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
278 |
export SHELL
|
|
279 |
# Unset more variables known to interfere with behavior of common tools.
|
|
280 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
281 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
282 |
||
283 |
## --------------------- ##
|
|
284 |
## M4sh Shell Functions. ##
|
|
285 |
## --------------------- ##
|
|
286 |
# as_fn_unset VAR
|
|
287 |
# ---------------
|
|
288 |
# Portably unset VAR.
|
|
289 |
as_fn_unset ()
|
|
290 |
{
|
|
291 |
{ eval $1=; unset $1;} |
|
292 |
}
|
|
293 |
as_unset=as_fn_unset |
|
294 |
||
295 |
# as_fn_set_status STATUS
|
|
296 |
# -----------------------
|
|
297 |
# Set $? to STATUS, without forking.
|
|
298 |
as_fn_set_status ()
|
|
299 |
{
|
|
300 |
return $1 |
|
301 |
} # as_fn_set_status |
|
302 |
||
303 |
# as_fn_exit STATUS
|
|
304 |
# -----------------
|
|
305 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
306 |
as_fn_exit ()
|
|
307 |
{
|
|
308 |
set +e
|
|
309 |
as_fn_set_status $1
|
|
310 |
exit $1 |
|
311 |
} # as_fn_exit |
|
312 |
||
313 |
# as_fn_mkdir_p
|
|
314 |
# -------------
|
|
315 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
316 |
as_fn_mkdir_p ()
|
|
317 |
{
|
|
318 |
||
319 |
case $as_dir in #( |
|
320 |
-*) as_dir=./$as_dir;; |
|
321 |
esac
|
|
322 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
323 |
as_dirs= |
|
324 |
while :; do |
|
325 |
case $as_dir in #( |
|
326 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
327 |
*) as_qdir=$as_dir;; |
|
328 |
esac
|
|
329 |
as_dirs="'$as_qdir' $as_dirs" |
|
330 |
as_dir=`$as_dirname -- "$as_dir" || |
|
331 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
332 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
333 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
334 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
335 |
$as_echo X"$as_dir" | |
|
336 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
337 |
s//\1/
|
|
338 |
q
|
|
339 |
}
|
|
340 |
/^X\(\/\/\)[^/].*/{
|
|
341 |
s//\1/
|
|
342 |
q
|
|
343 |
}
|
|
344 |
/^X\(\/\/\)$/{
|
|
345 |
s//\1/
|
|
346 |
q
|
|
347 |
}
|
|
348 |
/^X\(\/\).*/{
|
|
349 |
s//\1/
|
|
350 |
q
|
|
351 |
}
|
|
352 |
s/.*/./; q'` |
|
353 |
test -d "$as_dir" && break |
|
354 |
done
|
|
355 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
356 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
357 |
||
358 |
||
359 |
} # as_fn_mkdir_p |
|
360 |
||
361 |
# as_fn_executable_p FILE
|
|
362 |
# -----------------------
|
|
363 |
# Test if FILE is an executable regular file.
|
|
364 |
as_fn_executable_p ()
|
|
365 |
{
|
|
366 |
test -f "$1" && test -x "$1" |
|
367 |
} # as_fn_executable_p |
|
368 |
# as_fn_append VAR VALUE
|
|
369 |
# ----------------------
|
|
370 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
371 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
372 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
373 |
# implementations.
|
|
374 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
375 |
eval 'as_fn_append () |
|
376 |
{
|
|
377 |
eval $1+=\$2
|
|
378 |
}'
|
|
379 |
else
|
|
380 |
as_fn_append ()
|
|
381 |
{
|
|
382 |
eval $1=\$$1\$2 |
|
383 |
}
|
|
384 |
fi # as_fn_append |
|
385 |
||
386 |
# as_fn_arith ARG...
|
|
387 |
# ------------------
|
|
388 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
389 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
390 |
# must be portable across $(()) and expr.
|
|
391 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
392 |
eval 'as_fn_arith () |
|
393 |
{
|
|
394 |
as_val=$(( $* ))
|
|
395 |
}'
|
|
396 |
else
|
|
397 |
as_fn_arith ()
|
|
398 |
{
|
|
399 |
as_val=`expr "$@" || test $? -eq 1` |
|
400 |
}
|
|
401 |
fi # as_fn_arith |
|
402 |
||
403 |
||
404 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
405 |
# ----------------------------------------
|
|
406 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
407 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
408 |
# script with STATUS, using 1 if that was 0.
|
|
409 |
as_fn_error ()
|
|
410 |
{
|
|
411 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
412 |
if test "$4"; then |
|
413 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
414 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
415 |
fi
|
|
416 |
$as_echo "$as_me: error: $2" >&2 |
|
417 |
as_fn_exit $as_status
|
|
418 |
} # as_fn_error |
|
419 |
||
420 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
421 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
422 |
as_expr=expr |
|
423 |
else
|
|
424 |
as_expr=false |
|
425 |
fi
|
|
426 |
||
427 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
428 |
as_basename=basename |
|
429 |
else
|
|
430 |
as_basename=false |
|
431 |
fi
|
|
432 |
||
433 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
434 |
as_dirname=dirname |
|
435 |
else
|
|
436 |
as_dirname=false |
|
437 |
fi
|
|
438 |
||
439 |
as_me=`$as_basename -- "$0" || |
|
440 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
441 |
X"$0" : 'X\(//\)$' \| \ |
|
442 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
443 |
$as_echo X/"$0" | |
|
444 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
445 |
s//\1/
|
|
446 |
q
|
|
447 |
}
|
|
448 |
/^X\/\(\/\/\)$/{
|
|
449 |
s//\1/
|
|
450 |
q
|
|
451 |
}
|
|
452 |
/^X\/\(\/\).*/{
|
|
453 |
s//\1/
|
|
454 |
q
|
|
455 |
}
|
|
456 |
s/.*/./; q'` |
|
457 |
||
458 |
# Avoid depending upon Character Ranges.
|
|
459 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
460 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
461 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
462 |
as_cr_digits='0123456789' |
|
463 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
464 |
||
465 |
||
466 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
467 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
468 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
469 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
470 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
471 |
sed -n '
|
472 |
p
|
|
473 |
/[$]LINENO/=
|
|
474 |
' <$as_myself | |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
475 |
sed '
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
476 |
s/[$]LINENO.*/&-/
|
477 |
t lineno
|
|
478 |
b
|
|
479 |
:lineno
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
480 |
N
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
481 |
:loop
|
482 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
483 |
t loop
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
484 |
s/-\n.*//
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
485 |
' >$as_me.lineno && |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
486 |
chmod +x "$as_me.lineno" || |
1469
by Mark Sapiro
Made configure check for dnspython. |
487 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
488 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
489 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
490 |
# already done that, so ensure we don't try to do so again and fall
|
|
491 |
# in an infinite loop. This has already happened in practice.
|
|
492 |
_as_can_reexec=no; export _as_can_reexec |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
493 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
494 |
# (the dirname of $[0] is not the place where we might find the
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
495 |
# original and so on. Autoconf is especially sensitive to this).
|
496 |
. "./$as_me.lineno" |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
497 |
# Exit status is that of the last command.
|
498 |
exit
|
|
499 |
}
|
|
500 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
501 |
ECHO_C= ECHO_N= ECHO_T= |
1469
by Mark Sapiro
Made configure check for dnspython. |
502 |
case `echo -n x` in #((((( |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
503 |
-n*)
|
1469
by Mark Sapiro
Made configure check for dnspython. |
504 |
case `echo 'xy\c'` in |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
505 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
1469
by Mark Sapiro
Made configure check for dnspython. |
506 |
xy) ECHO_C='\c';; |
507 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
508 |
ECHO_T=' ';; |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
509 |
esac;; |
510 |
*)
|
|
511 |
ECHO_N='-n';; |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
512 |
esac
|
513 |
||
514 |
rm -f conf$$ conf$$.exe conf$$.file |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
515 |
if test -d conf$$.dir; then |
516 |
rm -f conf$$.dir/conf$$.file |
|
517 |
else
|
|
518 |
rm -f conf$$.dir
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
519 |
mkdir conf$$.dir 2>/dev/null |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
520 |
fi
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
521 |
if (echo >conf$$.file) 2>/dev/null; then |
522 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
523 |
as_ln_s='ln -s' |
|
524 |
# ... but there are two gotchas:
|
|
525 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
526 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
527 |
# In both cases, we have to default to `cp -pR'.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
528 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
1469
by Mark Sapiro
Made configure check for dnspython. |
529 |
as_ln_s='cp -pR' |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
530 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
531 |
as_ln_s=ln |
|
532 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
533 |
as_ln_s='cp -pR' |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
534 |
fi
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
535 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
536 |
as_ln_s='cp -pR' |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
537 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
538 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
539 |
rmdir conf$$.dir 2>/dev/null |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
540 |
|
541 |
if mkdir -p . 2>/dev/null; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
542 |
as_mkdir_p='mkdir -p "$as_dir"' |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
543 |
else
|
544 |
test -d ./-p && rmdir ./-p |
|
545 |
as_mkdir_p=false |
|
546 |
fi
|
|
547 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
548 |
as_test_x='test -x' |
549 |
as_executable_p=as_fn_executable_p |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
550 |
|
551 |
# Sed expression to map a string onto a valid CPP name.
|
|
552 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
553 |
||
554 |
# Sed expression to map a string onto a valid variable name.
|
|
555 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
556 |
||
557 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
558 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
559 |
exec 6>&1 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
560 |
|
561 |
# Name of the host.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
562 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
563 |
# so uname gets run too.
|
564 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
565 |
||
566 |
#
|
|
567 |
# Initializations.
|
|
568 |
#
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
569 |
ac_default_prefix=/usr/local |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
570 |
ac_clean_files= |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
571 |
ac_config_libobj_dir=. |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
572 |
LIBOBJS= |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
573 |
cross_compiling=no |
574 |
subdirs= |
|
575 |
MFLAGS= |
|
576 |
MAKEFLAGS= |
|
577 |
||
578 |
# Identity of this package.
|
|
579 |
PACKAGE_NAME= |
|
580 |
PACKAGE_TARNAME= |
|
581 |
PACKAGE_VERSION= |
|
582 |
PACKAGE_STRING= |
|
583 |
PACKAGE_BUGREPORT= |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
584 |
PACKAGE_URL= |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
585 |
|
586 |
ac_unique_file="src/common.h" |
|
1
by
This commit was manufactured by cvs2svn to create branch |
587 |
ac_default_prefix=/usr/local/mailman |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
588 |
# Factoring default headers for most tests.
|
589 |
ac_includes_default="\ |
|
590 |
#include <stdio.h>
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
591 |
#ifdef HAVE_SYS_TYPES_H
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
592 |
# include <sys/types.h>
|
593 |
#endif
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
594 |
#ifdef HAVE_SYS_STAT_H
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
595 |
# include <sys/stat.h>
|
596 |
#endif
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
597 |
#ifdef STDC_HEADERS
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
598 |
# include <stdlib.h>
|
599 |
# include <stddef.h>
|
|
600 |
#else
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
601 |
# ifdef HAVE_STDLIB_H
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
602 |
# include <stdlib.h>
|
603 |
# endif
|
|
604 |
#endif
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
605 |
#ifdef HAVE_STRING_H
|
606 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
607 |
# include <memory.h>
|
608 |
# endif
|
|
609 |
# include <string.h>
|
|
610 |
#endif
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
611 |
#ifdef HAVE_STRINGS_H
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
612 |
# include <strings.h>
|
613 |
#endif
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
614 |
#ifdef HAVE_INTTYPES_H
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
615 |
# include <inttypes.h>
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
616 |
#endif
|
617 |
#ifdef HAVE_STDINT_H
|
|
618 |
# include <stdint.h>
|
|
619 |
#endif
|
|
620 |
#ifdef HAVE_UNISTD_H
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
621 |
# include <unistd.h>
|
622 |
#endif"
|
|
623 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
624 |
ac_subst_vars='LTLIBOBJS |
625 |
LIBOBJS
|
|
626 |
SCRIPTS
|
|
627 |
EGREP
|
|
628 |
GREP
|
|
629 |
CPP
|
|
630 |
URLHOST
|
|
631 |
MAILHOST
|
|
632 |
CGIEXT
|
|
633 |
CGI_GROUP
|
|
634 |
MAIL_GROUP
|
|
635 |
MAILMAN_GROUP
|
|
636 |
MAILMAN_USER
|
|
637 |
VAR_PREFIX
|
|
638 |
OPT
|
|
639 |
OBJEXT
|
|
640 |
EXEEXT
|
|
641 |
ac_ct_CC
|
|
642 |
CPPFLAGS
|
|
643 |
LDFLAGS
|
|
644 |
CFLAGS
|
|
645 |
CC
|
|
646 |
TRUE
|
|
647 |
SET_MAKE
|
|
648 |
INSTALL_DATA
|
|
649 |
INSTALL_SCRIPT
|
|
650 |
INSTALL_PROGRAM
|
|
651 |
KOCODECSPKG
|
|
652 |
JACODECSPKG
|
|
653 |
EMAILPKG
|
|
1731.2.1
by Lindsay
Added contrib/mailman-config.py and changes to configure.in and |
654 |
MM_VERSION
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
655 |
PYTHON
|
656 |
with_python
|
|
1731.2.1
by Lindsay
Added contrib/mailman-config.py and changes to configure.in and |
657 |
BUILD_DATE
|
658 |
CONFIGURE_OPTS
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
659 |
target_alias
|
660 |
host_alias
|
|
661 |
build_alias
|
|
662 |
LIBS
|
|
663 |
ECHO_T
|
|
664 |
ECHO_N
|
|
665 |
ECHO_C
|
|
666 |
DEFS
|
|
667 |
mandir
|
|
668 |
localedir
|
|
669 |
libdir
|
|
670 |
psdir
|
|
671 |
pdfdir
|
|
672 |
dvidir
|
|
673 |
htmldir
|
|
674 |
infodir
|
|
675 |
docdir
|
|
676 |
oldincludedir
|
|
677 |
includedir
|
|
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
678 |
runstatedir
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
679 |
localstatedir
|
680 |
sharedstatedir
|
|
681 |
sysconfdir
|
|
682 |
datadir
|
|
683 |
datarootdir
|
|
684 |
libexecdir
|
|
685 |
sbindir
|
|
686 |
bindir
|
|
687 |
program_transform_name
|
|
688 |
prefix
|
|
689 |
exec_prefix
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
690 |
PACKAGE_URL
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
691 |
PACKAGE_BUGREPORT
|
692 |
PACKAGE_STRING
|
|
693 |
PACKAGE_VERSION
|
|
694 |
PACKAGE_TARNAME
|
|
695 |
PACKAGE_NAME
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
696 |
PATH_SEPARATOR
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
697 |
SHELL'
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
698 |
ac_subst_files='' |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
699 |
ac_user_opts=' |
700 |
enable_option_checking
|
|
701 |
with_python
|
|
702 |
with_gcc
|
|
703 |
with_var_prefix
|
|
704 |
with_permcheck
|
|
705 |
with_username
|
|
706 |
with_groupname
|
|
707 |
with_mail_gid
|
|
708 |
with_cgi_gid
|
|
709 |
with_cgi_ext
|
|
710 |
with_mailhost
|
|
711 |
with_urlhost
|
|
712 |
'
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
713 |
ac_precious_vars='build_alias |
714 |
host_alias
|
|
715 |
target_alias
|
|
716 |
CC
|
|
717 |
CFLAGS
|
|
718 |
LDFLAGS
|
|
719 |
LIBS
|
|
720 |
CPPFLAGS
|
|
721 |
CPP'
|
|
722 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
723 |
|
724 |
# Initialize some variables set by options.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
725 |
ac_init_help= |
726 |
ac_init_version=false |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
727 |
ac_unrecognized_opts= |
728 |
ac_unrecognized_sep= |
|
1
by
This commit was manufactured by cvs2svn to create branch |
729 |
# The variables have the same names as the options, with
|
730 |
# dashes changed to underlines.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
731 |
cache_file=/dev/null |
1
by
This commit was manufactured by cvs2svn to create branch |
732 |
exec_prefix=NONE |
733 |
no_create= |
|
734 |
no_recursion= |
|
735 |
prefix=NONE |
|
736 |
program_prefix=NONE |
|
737 |
program_suffix=NONE |
|
738 |
program_transform_name=s,x,x, |
|
739 |
silent= |
|
740 |
site= |
|
741 |
srcdir= |
|
742 |
verbose= |
|
743 |
x_includes=NONE |
|
744 |
x_libraries=NONE |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
745 |
|
746 |
# Installation directory options.
|
|
747 |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
748 |
# and all the variables that are supposed to be based on exec_prefix
|
|
749 |
# by default will actually change.
|
|
750 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
751 |
# (The list follows the same order as the GNU Coding Standards.)
|
1
by
This commit was manufactured by cvs2svn to create branch |
752 |
bindir='${exec_prefix}/bin' |
753 |
sbindir='${exec_prefix}/sbin' |
|
754 |
libexecdir='${exec_prefix}/libexec' |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
755 |
datarootdir='${prefix}/share' |
756 |
datadir='${datarootdir}' |
|
1
by
This commit was manufactured by cvs2svn to create branch |
757 |
sysconfdir='${prefix}/etc' |
758 |
sharedstatedir='${prefix}/com' |
|
759 |
localstatedir='${prefix}/var' |
|
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
760 |
runstatedir='${localstatedir}/run' |
1
by
This commit was manufactured by cvs2svn to create branch |
761 |
includedir='${prefix}/include' |
762 |
oldincludedir='/usr/include' |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
763 |
docdir='${datarootdir}/doc/${PACKAGE}' |
764 |
infodir='${datarootdir}/info' |
|
765 |
htmldir='${docdir}' |
|
766 |
dvidir='${docdir}' |
|
767 |
pdfdir='${docdir}' |
|
768 |
psdir='${docdir}' |
|
769 |
libdir='${exec_prefix}/lib' |
|
770 |
localedir='${datarootdir}/locale' |
|
771 |
mandir='${datarootdir}/man' |
|
1
by
This commit was manufactured by cvs2svn to create branch |
772 |
|
773 |
ac_prev= |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
774 |
ac_dashdash= |
1
by
This commit was manufactured by cvs2svn to create branch |
775 |
for ac_option
|
776 |
do
|
|
777 |
# If the previous option needs an argument, assign it.
|
|
778 |
if test -n "$ac_prev"; then |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
779 |
eval $ac_prev=\$ac_option |
1
by
This commit was manufactured by cvs2svn to create branch |
780 |
ac_prev= |
781 |
continue
|
|
782 |
fi
|
|
783 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
784 |
case $ac_option in |
1469
by Mark Sapiro
Made configure check for dnspython. |
785 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
786 |
*=) ac_optarg= ;; |
|
787 |
*) ac_optarg=yes ;; |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
788 |
esac
|
1
by
This commit was manufactured by cvs2svn to create branch |
789 |
|
790 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
791 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
792 |
case $ac_dashdash$ac_option in |
793 |
--)
|
|
794 |
ac_dashdash=yes ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
795 |
|
796 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
797 |
ac_prev=bindir ;; |
|
798 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
799 |
bindir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
800 |
|
801 |
-build | --build | --buil | --bui | --bu) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
802 |
ac_prev=build_alias ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
803 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
804 |
build_alias=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
805 |
|
806 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
807 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
808 |
ac_prev=cache_file ;; |
|
809 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
810 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
811 |
cache_file=$ac_optarg ;; |
812 |
||
813 |
--config-cache | -C) |
|
814 |
cache_file=config.cache ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
815 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
816 |
-datadir | --datadir | --datadi | --datad) |
1
by
This commit was manufactured by cvs2svn to create branch |
817 |
ac_prev=datadir ;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
818 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
819 |
datadir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
820 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
821 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
822 |
| --dataroo | --dataro | --datar) |
|
823 |
ac_prev=datarootdir ;; |
|
824 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
825 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
826 |
datarootdir=$ac_optarg ;; |
|
827 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
828 |
-disable-* | --disable-*) |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
829 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1
by
This commit was manufactured by cvs2svn to create branch |
830 |
# Reject names that are not valid shell variable names.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
831 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1469
by Mark Sapiro
Made configure check for dnspython. |
832 |
as_fn_error $? "invalid feature name: $ac_useropt" |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
833 |
ac_useropt_orig=$ac_useropt |
834 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
835 |
case $ac_user_opts in |
|
836 |
*"
|
|
837 |
"enable_$ac_useropt" |
|
838 |
"*) ;; |
|
839 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
840 |
ac_unrecognized_sep=', ';; |
|
841 |
esac
|
|
842 |
eval enable_$ac_useropt=no ;; |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
843 |
|
844 |
-docdir | --docdir | --docdi | --doc | --do) |
|
845 |
ac_prev=docdir ;; |
|
846 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
847 |
docdir=$ac_optarg ;; |
|
848 |
||
849 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
850 |
ac_prev=dvidir ;; |
|
851 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
852 |
dvidir=$ac_optarg ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
853 |
|
854 |
-enable-* | --enable-*) |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
855 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1
by
This commit was manufactured by cvs2svn to create branch |
856 |
# Reject names that are not valid shell variable names.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
857 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1469
by Mark Sapiro
Made configure check for dnspython. |
858 |
as_fn_error $? "invalid feature name: $ac_useropt" |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
859 |
ac_useropt_orig=$ac_useropt |
860 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
861 |
case $ac_user_opts in |
|
862 |
*"
|
|
863 |
"enable_$ac_useropt" |
|
864 |
"*) ;; |
|
865 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
866 |
ac_unrecognized_sep=', ';; |
|
867 |
esac
|
|
868 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
869 |
|
870 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
871 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
872 |
| --exec | --exe | --ex) |
|
873 |
ac_prev=exec_prefix ;; |
|
874 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
875 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
876 |
| --exec=* | --exe=* | --ex=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
877 |
exec_prefix=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
878 |
|
879 |
-gas | --gas | --ga | --g) |
|
880 |
# Obsolete; use --with-gas.
|
|
881 |
with_gas=yes ;; |
|
882 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
883 |
-help | --help | --hel | --he | -h) |
884 |
ac_init_help=long ;; |
|
885 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
886 |
ac_init_help=recursive ;; |
|
887 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
888 |
ac_init_help=short ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
889 |
|
890 |
-host | --host | --hos | --ho) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
891 |
ac_prev=host_alias ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
892 |
-host=* | --host=* | --hos=* | --ho=*) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
893 |
host_alias=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
894 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
895 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
896 |
ac_prev=htmldir ;; |
|
897 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
898 |
| --ht=*) |
|
899 |
htmldir=$ac_optarg ;; |
|
900 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
901 |
-includedir | --includedir | --includedi | --included | --include \ |
902 |
| --includ | --inclu | --incl | --inc) |
|
903 |
ac_prev=includedir ;; |
|
904 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
905 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
906 |
includedir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
907 |
|
908 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
909 |
ac_prev=infodir ;; |
|
910 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
911 |
infodir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
912 |
|
913 |
-libdir | --libdir | --libdi | --libd) |
|
914 |
ac_prev=libdir ;; |
|
915 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
916 |
libdir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
917 |
|
918 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
919 |
| --libexe | --libex | --libe) |
|
920 |
ac_prev=libexecdir ;; |
|
921 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
922 |
| --libexe=* | --libex=* | --libe=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
923 |
libexecdir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
924 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
925 |
-localedir | --localedir | --localedi | --localed | --locale) |
926 |
ac_prev=localedir ;; |
|
927 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
928 |
localedir=$ac_optarg ;; |
|
929 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
930 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
931 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1
by
This commit was manufactured by cvs2svn to create branch |
932 |
ac_prev=localstatedir ;; |
933 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
934 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
935 |
localstatedir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
936 |
|
937 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
938 |
ac_prev=mandir ;; |
|
939 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
940 |
mandir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
941 |
|
942 |
-nfp | --nfp | --nf) |
|
943 |
# Obsolete; use --without-fp.
|
|
944 |
with_fp=no ;; |
|
945 |
||
946 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
947 |
| --no-cr | --no-c | -n) |
1
by
This commit was manufactured by cvs2svn to create branch |
948 |
no_create=yes ;; |
949 |
||
950 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
951 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
952 |
no_recursion=yes ;; |
|
953 |
||
954 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
955 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
956 |
| --oldin | --oldi | --old | --ol | --o) |
|
957 |
ac_prev=oldincludedir ;; |
|
958 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
959 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
960 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
961 |
oldincludedir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
962 |
|
963 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
964 |
ac_prev=prefix ;; |
|
965 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
966 |
prefix=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
967 |
|
968 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
969 |
| --program-pre | --program-pr | --program-p) |
|
970 |
ac_prev=program_prefix ;; |
|
971 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
972 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
973 |
program_prefix=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
974 |
|
975 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
976 |
| --program-suf | --program-su | --program-s) |
|
977 |
ac_prev=program_suffix ;; |
|
978 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
979 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
980 |
program_suffix=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
981 |
|
982 |
-program-transform-name | --program-transform-name \ |
|
983 |
| --program-transform-nam | --program-transform-na \ |
|
984 |
| --program-transform-n | --program-transform- \ |
|
985 |
| --program-transform | --program-transfor \ |
|
986 |
| --program-transfo | --program-transf \ |
|
987 |
| --program-trans | --program-tran \ |
|
988 |
| --progr-tra | --program-tr | --program-t) |
|
989 |
ac_prev=program_transform_name ;; |
|
990 |
-program-transform-name=* | --program-transform-name=* \ |
|
991 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
992 |
| --program-transform-n=* | --program-transform-=* \ |
|
993 |
| --program-transform=* | --program-transfor=* \ |
|
994 |
| --program-transfo=* | --program-transf=* \ |
|
995 |
| --program-trans=* | --program-tran=* \ |
|
996 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
997 |
program_transform_name=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
998 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
999 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1000 |
ac_prev=pdfdir ;; |
|
1001 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1002 |
pdfdir=$ac_optarg ;; |
|
1003 |
||
1004 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1005 |
ac_prev=psdir ;; |
|
1006 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1007 |
psdir=$ac_optarg ;; |
|
1008 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
1009 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1010 |
| -silent | --silent | --silen | --sile | --sil) |
|
1011 |
silent=yes ;; |
|
1012 |
||
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
1013 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
1014 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
1015 |
| --run | --ru | --r) |
|
1016 |
ac_prev=runstatedir ;; |
|
1017 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
1018 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
1019 |
| --run=* | --ru=* | --r=*) |
|
1020 |
runstatedir=$ac_optarg ;; |
|
1021 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
1022 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1023 |
ac_prev=sbindir ;; |
|
1024 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1025 |
| --sbi=* | --sb=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1026 |
sbindir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1027 |
|
1028 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1029 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1030 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1031 |
| --sha | --sh) |
|
1032 |
ac_prev=sharedstatedir ;; |
|
1033 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1034 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1035 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1036 |
| --sha=* | --sh=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1037 |
sharedstatedir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1038 |
|
1039 |
-site | --site | --sit) |
|
1040 |
ac_prev=site ;; |
|
1041 |
-site=* | --site=* | --sit=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1042 |
site=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1043 |
|
1044 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1045 |
ac_prev=srcdir ;; |
|
1046 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1047 |
srcdir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1048 |
|
1049 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1050 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1051 |
ac_prev=sysconfdir ;; |
|
1052 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1053 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1054 |
sysconfdir=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1055 |
|
1056 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1057 |
ac_prev=target_alias ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1058 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1059 |
target_alias=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1060 |
|
1061 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1062 |
verbose=yes ;; |
|
1063 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1064 |
-version | --version | --versio | --versi | --vers | -V) |
1065 |
ac_init_version=: ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
1066 |
|
1067 |
-with-* | --with-*) |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1068 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1
by
This commit was manufactured by cvs2svn to create branch |
1069 |
# Reject names that are not valid shell variable names.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1070 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1469
by Mark Sapiro
Made configure check for dnspython. |
1071 |
as_fn_error $? "invalid package name: $ac_useropt" |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1072 |
ac_useropt_orig=$ac_useropt |
1073 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1074 |
case $ac_user_opts in |
|
1075 |
*"
|
|
1076 |
"with_$ac_useropt" |
|
1077 |
"*) ;; |
|
1078 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1079 |
ac_unrecognized_sep=', ';; |
|
1080 |
esac
|
|
1081 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
1082 |
|
1083 |
-without-* | --without-*) |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1084 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1
by
This commit was manufactured by cvs2svn to create branch |
1085 |
# Reject names that are not valid shell variable names.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1086 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1469
by Mark Sapiro
Made configure check for dnspython. |
1087 |
as_fn_error $? "invalid package name: $ac_useropt" |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1088 |
ac_useropt_orig=$ac_useropt |
1089 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1090 |
case $ac_user_opts in |
|
1091 |
*"
|
|
1092 |
"with_$ac_useropt" |
|
1093 |
"*) ;; |
|
1094 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1095 |
ac_unrecognized_sep=', ';; |
|
1096 |
esac
|
|
1097 |
eval with_$ac_useropt=no ;; |
|
1
by
This commit was manufactured by cvs2svn to create branch |
1098 |
|
1099 |
--x)
|
|
1100 |
# Obsolete; use --with-x.
|
|
1101 |
with_x=yes ;; |
|
1102 |
||
1103 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1104 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1105 |
ac_prev=x_includes ;; |
|
1106 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1107 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1108 |
x_includes=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1109 |
|
1110 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1111 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1112 |
ac_prev=x_libraries ;; |
|
1113 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1114 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1115 |
x_libraries=$ac_optarg ;; |
1
by
This commit was manufactured by cvs2svn to create branch |
1116 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1117 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1118 |
Try \`$0 --help' for more information" |
|
1
by
This commit was manufactured by cvs2svn to create branch |
1119 |
;;
|
1120 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1121 |
*=*) |
1122 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1123 |
# Reject names that are not valid shell variable names.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1124 |
case $ac_envvar in #( |
1125 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1126 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1127 |
esac
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1128 |
eval $ac_envvar=\$ac_optarg |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1129 |
export $ac_envvar ;; |
1130 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
1131 |
*)
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1132 |
# FIXME: should be removed in autoconf 3.0.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1133 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1134 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1135 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1469
by Mark Sapiro
Made configure check for dnspython. |
1136 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1
by
This commit was manufactured by cvs2svn to create branch |
1137 |
;;
|
1138 |
||
1139 |
esac
|
|
1140 |
done
|
|
1141 |
||
1142 |
if test -n "$ac_prev"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1143 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1469
by Mark Sapiro
Made configure check for dnspython. |
1144 |
as_fn_error $? "missing argument to $ac_option" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1145 |
fi
|
1146 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1147 |
if test -n "$ac_unrecognized_opts"; then |
1148 |
case $enable_option_checking in |
|
1149 |
no) ;; |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1150 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1151 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1152 |
esac
|
|
1153 |
fi
|
|
1154 |
||
1155 |
# Check all directory arguments for consistency.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1156 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1157 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1158 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
1159 |
libdir localedir mandir runstatedir |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1160 |
do
|
1161 |
eval ac_val=\$$ac_var |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1162 |
# Remove trailing slashes.
|
1163 |
case $ac_val in |
|
1164 |
*/ )
|
|
1165 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1166 |
eval $ac_var=\$ac_val;; |
|
1167 |
esac
|
|
1168 |
# Be sure to have absolute directory names.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1169 |
case $ac_val in |
1170 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1171 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1172 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1173 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1174 |
done
|
1175 |
||
1176 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1177 |
# used to hold the argument of --host etc.
|
|
1178 |
# FIXME: To remove some day.
|
|
1179 |
build=$build_alias |
|
1180 |
host=$host_alias |
|
1181 |
target=$target_alias |
|
1182 |
||
1183 |
# FIXME: To remove some day.
|
|
1184 |
if test "x$host_alias" != x; then |
|
1185 |
if test "x$build_alias" = x; then |
|
1186 |
cross_compiling=maybe |
|
1187 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1188 |
cross_compiling=yes |
|
1189 |
fi
|
|
1190 |
fi
|
|
1191 |
||
1192 |
ac_tool_prefix= |
|
1193 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1194 |
||
1195 |
test "$silent" = yes && exec 6>/dev/null |
|
1196 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
1197 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1198 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1199 |
ac_ls_di=`ls -di .` && |
|
1200 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1201 |
as_fn_error $? "working directory cannot be determined" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1202 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1469
by Mark Sapiro
Made configure check for dnspython. |
1203 |
as_fn_error $? "pwd does not report name of working directory" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1204 |
|
1205 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
1206 |
# Find the source files, if location was not specified.
|
1207 |
if test -z "$srcdir"; then |
|
1208 |
ac_srcdir_defaulted=yes |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1209 |
# Try the directory containing this script, then the parent directory.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1210 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1211 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1212 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1213 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1214 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1215 |
$as_echo X"$as_myself" | |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1216 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1217 |
s//\1/
|
|
1218 |
q
|
|
1219 |
}
|
|
1220 |
/^X\(\/\/\)[^/].*/{
|
|
1221 |
s//\1/
|
|
1222 |
q
|
|
1223 |
}
|
|
1224 |
/^X\(\/\/\)$/{
|
|
1225 |
s//\1/
|
|
1226 |
q
|
|
1227 |
}
|
|
1228 |
/^X\(\/\).*/{
|
|
1229 |
s//\1/
|
|
1230 |
q
|
|
1231 |
}
|
|
1232 |
s/.*/./; q'` |
|
1
by
This commit was manufactured by cvs2svn to create branch |
1233 |
srcdir=$ac_confdir |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1234 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1
by
This commit was manufactured by cvs2svn to create branch |
1235 |
srcdir=.. |
1236 |
fi
|
|
1237 |
else
|
|
1238 |
ac_srcdir_defaulted=no |
|
1239 |
fi
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1240 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1241 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1242 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1243 |
fi
|
1244 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1245 |
ac_abs_confdir=`( |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1246 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1247 |
pwd)` |
1248 |
# When building in place, set srcdir=.
|
|
1249 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1250 |
srcdir=. |
|
1251 |
fi
|
|
1252 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1253 |
# Double slashes in file names in object file debugging info
|
|
1254 |
# mess up M-x gdb in Emacs.
|
|
1255 |
case $srcdir in |
|
1256 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1257 |
esac
|
|
1258 |
for ac_var in $ac_precious_vars; do |
|
1259 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1260 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1261 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1262 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1263 |
done
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1264 |
|
1265 |
#
|
|
1266 |
# Report the --help message.
|
|
1267 |
#
|
|
1268 |
if test "$ac_init_help" = "long"; then |
|
1269 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
1270 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
1271 |
cat <<_ACEOF
|
|
1272 |
\`configure' configures this package to adapt to many kinds of systems.
|
|
1273 |
||
1274 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
1275 |
||
1276 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
1277 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
1278 |
||
1279 |
Defaults for the options are specified in brackets.
|
|
1280 |
||
1281 |
Configuration:
|
|
1282 |
-h, --help display this help and exit
|
|
1283 |
--help=short display options specific to this package
|
|
1284 |
--help=recursive display the short help of all the included packages
|
|
1285 |
-V, --version display version information and exit
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1286 |
-q, --quiet, --silent do not print \`checking ...' messages
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1287 |
--cache-file=FILE cache test results in FILE [disabled]
|
1288 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
1289 |
-n, --no-create do not create output files
|
|
1290 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
1291 |
||
1292 |
Installation directories:
|
|
1293 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1294 |
[$ac_default_prefix]
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1295 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1296 |
[PREFIX]
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1297 |
|
1298 |
By default, \`make install' will install all the files in
|
|
1299 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1300 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
1301 |
for instance \`--prefix=\$HOME'.
|
|
1302 |
||
1303 |
For better control, use the options below.
|
|
1304 |
||
1305 |
Fine tuning of the installation directories:
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1306 |
--bindir=DIR user executables [EPREFIX/bin]
|
1307 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1308 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1309 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1310 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1311 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
1312 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1313 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1314 |
--includedir=DIR C header files [PREFIX/include]
|
|
1315 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1316 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1317 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1318 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1319 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1320 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1321 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1322 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1323 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1324 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1325 |
--psdir=DIR ps documentation [DOCDIR]
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1326 |
_ACEOF
|
1327 |
||
1328 |
cat <<\_ACEOF
|
|
1329 |
_ACEOF
|
|
1330 |
fi
|
|
1331 |
||
1332 |
if test -n "$ac_init_help"; then |
|
1333 |
||
1334 |
cat <<\_ACEOF
|
|
1335 |
||
1336 |
Optional Packages:
|
|
1337 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
1338 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
1339 |
--with-python specify path to Python interpreter
|
|
1340 |
--without-gcc never use gcc
|
|
1341 |
--with-var-prefix directory for mutable data /var/mailman
|
|
1342 |
--without-permcheck skip the check for target directory permissions
|
|
1343 |
--with-username specify a user name other than \"mailman\"
|
|
1344 |
--with-groupname specify a group name other than \"mailman\"
|
|
1345 |
--with-mail-gid group name mail programs run as
|
|
1346 |
--with-cgi-gid group name CGI programs run as
|
|
1347 |
--with-cgi-ext specify extension for CGI programs (include dot)
|
|
1348 |
--with-mailhost specify the hostname part for outgoing email
|
|
1349 |
--with-urlhost specify the hostname part of urls
|
|
1350 |
||
1351 |
Some influential environment variables:
|
|
1352 |
CC C compiler command
|
|
1353 |
CFLAGS C compiler flags
|
|
1354 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
1355 |
nonstandard directory <lib dir>
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1356 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1357 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1358 |
you have headers in a nonstandard directory <include dir>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1359 |
CPP C preprocessor
|
1360 |
||
1361 |
Use these variables to override the choices made by `configure' or to help
|
|
1362 |
it to find libraries and programs with nonstandard names/locations.
|
|
1363 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
1364 |
Report bugs to the package provider.
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1365 |
_ACEOF
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1366 |
ac_status=$? |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1367 |
fi
|
1368 |
||
1369 |
if test "$ac_init_help" = "recursive"; then |
|
1370 |
# If there are subdirs, report their specific --help.
|
|
1371 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1372 |
test -d "$ac_dir" || |
1373 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1374 |
continue
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1375 |
ac_builddir=. |
1376 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1377 |
case "$ac_dir" in |
1378 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1379 |
*)
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1380 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1381 |
# A ".." for each directory in $ac_dir_suffix.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1382 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1383 |
case $ac_top_builddir_sub in |
1384 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1385 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1386 |
esac ;; |
|
1387 |
esac
|
|
1388 |
ac_abs_top_builddir=$ac_pwd |
|
1389 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1390 |
# for backward compatibility:
|
|
1391 |
ac_top_builddir=$ac_top_build_prefix |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1392 |
|
1393 |
case $srcdir in |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1394 |
.) # We are building in place. |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1395 |
ac_srcdir=. |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1396 |
ac_top_srcdir=$ac_top_builddir_sub |
1397 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1398 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1399 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1400 |
ac_top_srcdir=$srcdir |
1401 |
ac_abs_top_srcdir=$srcdir ;; |
|
1402 |
*) # Relative name. |
|
1403 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1404 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1405 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1406 |
esac
|
|
1407 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1408 |
||
1409 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1410 |
# Check for guested configure.
|
|
1411 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1412 |
echo && |
|
1413 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1414 |
elif test -f "$ac_srcdir/configure"; then |
|
1415 |
echo && |
|
1416 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1417 |
else
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1418 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1419 |
fi || ac_status=$? |
1420 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1421 |
done
|
1422 |
fi
|
|
1423 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1424 |
test -n "$ac_init_help" && exit $ac_status |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1425 |
if $ac_init_version; then |
1426 |
cat <<\_ACEOF
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1427 |
configure
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1428 |
generated by GNU Autoconf 2.69
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1429 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1430 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1431 |
This configure script is free software; the Free Software Foundation
|
1432 |
gives unlimited permission to copy, distribute and modify it.
|
|
1433 |
_ACEOF
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1434 |
exit
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1435 |
fi
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1436 |
|
1437 |
## ------------------------ ##
|
|
1438 |
## Autoconf initialization. ##
|
|
1439 |
## ------------------------ ##
|
|
1440 |
||
1441 |
# ac_fn_c_try_compile LINENO
|
|
1442 |
# --------------------------
|
|
1443 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1444 |
ac_fn_c_try_compile ()
|
|
1445 |
{
|
|
1446 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1447 |
rm -f conftest.$ac_objext
|
|
1448 |
if { { ac_try="$ac_compile" |
|
1449 |
case "(($ac_try" in |
|
1450 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1451 |
*) ac_try_echo=$ac_try;; |
|
1452 |
esac
|
|
1453 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1454 |
$as_echo "$ac_try_echo"; } >&5 |
|
1455 |
(eval "$ac_compile") 2>conftest.err |
|
1456 |
ac_status=$? |
|
1457 |
if test -s conftest.err; then |
|
1458 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1459 |
cat conftest.er1 >&5 |
|
1460 |
mv -f conftest.er1 conftest.err |
|
1461 |
fi
|
|
1462 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1463 |
test $ac_status = 0; } && { |
|
1464 |
test -z "$ac_c_werror_flag" || |
|
1465 |
test ! -s conftest.err
|
|
1466 |
} && test -s conftest.$ac_objext; then : |
|
1467 |
ac_retval=0 |
|
1468 |
else
|
|
1469 |
$as_echo "$as_me: failed program was:" >&5 |
|
1470 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1471 |
||
1472 |
ac_retval=1 |
|
1473 |
fi
|
|
1474 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1475 |
as_fn_set_status $ac_retval
|
|
1476 |
||
1477 |
} # ac_fn_c_try_compile |
|
1478 |
||
1479 |
# ac_fn_c_try_link LINENO
|
|
1480 |
# -----------------------
|
|
1481 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1482 |
ac_fn_c_try_link ()
|
|
1483 |
{
|
|
1484 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1485 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1486 |
if { { ac_try="$ac_link" |
|
1487 |
case "(($ac_try" in |
|
1488 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1489 |
*) ac_try_echo=$ac_try;; |
|
1490 |
esac
|
|
1491 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1492 |
$as_echo "$ac_try_echo"; } >&5 |
|
1493 |
(eval "$ac_link") 2>conftest.err |
|
1494 |
ac_status=$? |
|
1495 |
if test -s conftest.err; then |
|
1496 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1497 |
cat conftest.er1 >&5 |
|
1498 |
mv -f conftest.er1 conftest.err |
|
1499 |
fi
|
|
1500 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1501 |
test $ac_status = 0; } && { |
|
1502 |
test -z "$ac_c_werror_flag" || |
|
1503 |
test ! -s conftest.err
|
|
1504 |
} && test -s conftest$ac_exeext && { |
|
1505 |
test "$cross_compiling" = yes || |
|
1506 |
test -x conftest$ac_exeext |
|
1507 |
}; then : |
|
1508 |
ac_retval=0 |
|
1509 |
else
|
|
1510 |
$as_echo "$as_me: failed program was:" >&5 |
|
1511 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1512 |
||
1513 |
ac_retval=1 |
|
1514 |
fi
|
|
1515 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1516 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1517 |
# interfere with the next link command; also delete a directory that is
|
|
1518 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1519 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1520 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1521 |
as_fn_set_status $ac_retval
|
|
1522 |
||
1523 |
} # ac_fn_c_try_link |
|
1524 |
||
1525 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1526 |
# ----------------------------------
|
|
1527 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1528 |
ac_fn_c_check_func ()
|
|
1529 |
{
|
|
1530 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1531 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1532 |
$as_echo_n "checking for $2... " >&6; } |
|
1533 |
if eval \${$3+:} false; then : |
|
1534 |
$as_echo_n "(cached) " >&6 |
|
1535 |
else
|
|
1536 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1537 |
/* end confdefs.h. */
|
|
1538 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1539 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1540 |
#define $2 innocuous_$2
|
|
1541 |
||
1542 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1543 |
which can conflict with char $2 (); below.
|
|
1544 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1545 |
<limits.h> exists even on freestanding compilers. */
|
|
1546 |
||
1547 |
#ifdef __STDC__
|
|
1548 |
# include <limits.h>
|
|
1549 |
#else
|
|
1550 |
# include <assert.h>
|
|
1551 |
#endif
|
|
1552 |
||
1553 |
#undef $2
|
|
1554 |
||
1555 |
/* Override any GCC internal prototype to avoid an error.
|
|
1556 |
Use char because int might match the return type of a GCC
|
|
1557 |
builtin and then its argument prototype would still apply. */
|
|
1558 |
#ifdef __cplusplus
|
|
1559 |
extern "C"
|
|
1560 |
#endif
|
|
1561 |
char $2 ();
|
|
1562 |
/* The GNU C library defines this for functions which it implements
|
|
1563 |
to always fail with ENOSYS. Some functions are actually named
|
|
1564 |
something starting with __ and the normal name is an alias. */
|
|
1565 |
#if defined __stub_$2 || defined __stub___$2
|
|
1566 |
choke me
|
|
1567 |
#endif
|
|
1568 |
||
1569 |
int
|
|
1570 |
main ()
|
|
1571 |
{
|
|
1572 |
return $2 ();
|
|
1573 |
;
|
|
1574 |
return 0;
|
|
1575 |
}
|
|
1576 |
_ACEOF
|
|
1577 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1578 |
eval "$3=yes" |
|
1579 |
else
|
|
1580 |
eval "$3=no" |
|
1581 |
fi
|
|
1582 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1583 |
conftest$ac_exeext conftest.$ac_ext |
|
1584 |
fi
|
|
1585 |
eval ac_res=\$$3 |
|
1586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1587 |
$as_echo "$ac_res" >&6; } |
|
1588 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1589 |
||
1590 |
} # ac_fn_c_check_func |
|
1591 |
||
1592 |
# ac_fn_c_try_cpp LINENO
|
|
1593 |
# ----------------------
|
|
1594 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1595 |
ac_fn_c_try_cpp ()
|
|
1596 |
{
|
|
1597 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1598 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1599 |
case "(($ac_try" in |
|
1600 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1601 |
*) ac_try_echo=$ac_try;; |
|
1602 |
esac
|
|
1603 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1604 |
$as_echo "$ac_try_echo"; } >&5 |
|
1605 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1606 |
ac_status=$? |
|
1607 |
if test -s conftest.err; then |
|
1608 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1609 |
cat conftest.er1 >&5 |
|
1610 |
mv -f conftest.er1 conftest.err |
|
1611 |
fi
|
|
1612 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1613 |
test $ac_status = 0; } > conftest.i && { |
|
1614 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1615 |
test ! -s conftest.err
|
|
1616 |
}; then : |
|
1617 |
ac_retval=0 |
|
1618 |
else
|
|
1619 |
$as_echo "$as_me: failed program was:" >&5 |
|
1620 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1621 |
||
1622 |
ac_retval=1 |
|
1623 |
fi
|
|
1624 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1625 |
as_fn_set_status $ac_retval
|
|
1626 |
||
1627 |
} # ac_fn_c_try_cpp |
|
1628 |
||
1629 |
# ac_fn_c_try_run LINENO
|
|
1630 |
# ----------------------
|
|
1631 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1632 |
# that executables *can* be run.
|
|
1633 |
ac_fn_c_try_run ()
|
|
1634 |
{
|
|
1635 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1636 |
if { { ac_try="$ac_link" |
|
1637 |
case "(($ac_try" in |
|
1638 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1639 |
*) ac_try_echo=$ac_try;; |
|
1640 |
esac
|
|
1641 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1642 |
$as_echo "$ac_try_echo"; } >&5 |
|
1643 |
(eval "$ac_link") 2>&5 |
|
1644 |
ac_status=$? |
|
1645 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1646 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1647 |
{ { case "(($ac_try" in |
|
1648 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1649 |
*) ac_try_echo=$ac_try;; |
|
1650 |
esac
|
|
1651 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1652 |
$as_echo "$ac_try_echo"; } >&5 |
|
1653 |
(eval "$ac_try") 2>&5 |
|
1654 |
ac_status=$? |
|
1655 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1656 |
test $ac_status = 0; }; }; then : |
|
1657 |
ac_retval=0 |
|
1658 |
else
|
|
1659 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1660 |
$as_echo "$as_me: failed program was:" >&5 |
|
1661 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1662 |
||
1663 |
ac_retval=$ac_status |
|
1664 |
fi
|
|
1665 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1666 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1667 |
as_fn_set_status $ac_retval
|
|
1668 |
||
1669 |
} # ac_fn_c_try_run |
|
1670 |
||
1671 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1672 |
# -------------------------------------------------------
|
|
1673 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1674 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1675 |
# accordingly.
|
|
1676 |
ac_fn_c_check_header_mongrel ()
|
|
1677 |
{
|
|
1678 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1679 |
if eval \${$3+:} false; then : |
|
1680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1681 |
$as_echo_n "checking for $2... " >&6; } |
|
1682 |
if eval \${$3+:} false; then : |
|
1683 |
$as_echo_n "(cached) " >&6 |
|
1684 |
fi
|
|
1685 |
eval ac_res=\$$3 |
|
1686 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1687 |
$as_echo "$ac_res" >&6; } |
|
1688 |
else
|
|
1689 |
# Is the header compilable?
|
|
1690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1691 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1692 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1693 |
/* end confdefs.h. */
|
|
1694 |
$4
|
|
1695 |
#include <$2>
|
|
1696 |
_ACEOF
|
|
1697 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1698 |
ac_header_compiler=yes |
|
1699 |
else
|
|
1700 |
ac_header_compiler=no |
|
1701 |
fi
|
|
1702 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1704 |
$as_echo "$ac_header_compiler" >&6; } |
|
1705 |
||
1706 |
# Is the header present?
|
|
1707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1708 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1709 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1710 |
/* end confdefs.h. */
|
|
1711 |
#include <$2>
|
|
1712 |
_ACEOF
|
|
1713 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1714 |
ac_header_preproc=yes |
|
1715 |
else
|
|
1716 |
ac_header_preproc=no |
|
1717 |
fi
|
|
1718 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
1719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1720 |
$as_echo "$ac_header_preproc" >&6; } |
|
1721 |
||
1722 |
# So? What about this header?
|
|
1723 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1724 |
yes:no: )
|
|
1725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1726 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1728 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1729 |
;;
|
|
1730 |
no:yes:* )
|
|
1731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1732 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1734 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1735 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1736 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1738 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1740 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1741 |
;;
|
|
1742 |
esac
|
|
1743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1744 |
$as_echo_n "checking for $2... " >&6; } |
|
1745 |
if eval \${$3+:} false; then : |
|
1746 |
$as_echo_n "(cached) " >&6 |
|
1747 |
else
|
|
1748 |
eval "$3=\$ac_header_compiler" |
|
1749 |
fi
|
|
1750 |
eval ac_res=\$$3 |
|
1751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1752 |
$as_echo "$ac_res" >&6; } |
|
1753 |
fi
|
|
1754 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1755 |
||
1756 |
} # ac_fn_c_check_header_mongrel |
|
1757 |
||
1758 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1759 |
# -------------------------------------------------------
|
|
1760 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1761 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1762 |
ac_fn_c_check_header_compile ()
|
|
1763 |
{
|
|
1764 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1766 |
$as_echo_n "checking for $2... " >&6; } |
|
1767 |
if eval \${$3+:} false; then : |
|
1768 |
$as_echo_n "(cached) " >&6 |
|
1769 |
else
|
|
1770 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1771 |
/* end confdefs.h. */
|
|
1772 |
$4
|
|
1773 |
#include <$2>
|
|
1774 |
_ACEOF
|
|
1775 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1776 |
eval "$3=yes" |
|
1777 |
else
|
|
1778 |
eval "$3=no" |
|
1779 |
fi
|
|
1780 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1781 |
fi
|
|
1782 |
eval ac_res=\$$3 |
|
1783 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1784 |
$as_echo "$ac_res" >&6; } |
|
1785 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1786 |
||
1787 |
} # ac_fn_c_check_header_compile |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1788 |
cat >config.log <<_ACEOF
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1789 |
This file contains any messages produced by compilers while
|
1790 |
running configure, to aid debugging if configure makes a mistake.
|
|
1791 |
||
1792 |
It was created by $as_me, which was
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1793 |
generated by GNU Autoconf 2.69. Invocation command line was
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1794 |
|
1795 |
$ $0 $@
|
|
1796 |
||
1797 |
_ACEOF
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1798 |
exec 5>>config.log |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1799 |
{
|
1800 |
cat <<_ASUNAME
|
|
1801 |
## --------- ##
|
|
1802 |
## Platform. ##
|
|
1803 |
## --------- ##
|
|
1804 |
||
1805 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
1806 |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
1807 |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
1808 |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
1809 |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
1810 |
||
1811 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
1812 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
1813 |
||
1814 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
1815 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
1816 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1817 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1818 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1819 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
1820 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1821 |
||
1822 |
_ASUNAME
|
|
1823 |
||
1824 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1825 |
for as_dir in $PATH |
|
1826 |
do
|
|
1827 |
IFS=$as_save_IFS |
|
1828 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1829 |
$as_echo "PATH: $as_dir" |
1830 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1831 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1832 |
|
1833 |
} >&5 |
|
1834 |
||
1835 |
cat >&5 <<_ACEOF |
|
1836 |
||
1837 |
||
1838 |
## ----------- ##
|
|
1839 |
## Core tests. ##
|
|
1840 |
## ----------- ##
|
|
1841 |
||
1842 |
_ACEOF
|
|
1843 |
||
1844 |
||
1845 |
# Keep a trace of the command line.
|
|
1846 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
1847 |
# Strip out --silent because we don't want to record it for future runs.
|
|
1848 |
# Also quote any args containing shell meta-characters.
|
|
1849 |
# Make two passes to allow for proper duplicate-argument suppression.
|
|
1850 |
ac_configure_args= |
|
1851 |
ac_configure_args0= |
|
1852 |
ac_configure_args1= |
|
1853 |
ac_must_keep_next=false |
|
1854 |
for ac_pass in 1 2 |
|
1855 |
do
|
|
1856 |
for ac_arg
|
|
1857 |
do
|
|
1858 |
case $ac_arg in |
|
1859 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1860 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1861 |
| -silent | --silent | --silen | --sile | --sil) |
|
1862 |
continue ;; |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1863 |
*\'*) |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1864 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1865 |
esac
|
1866 |
case $ac_pass in |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1867 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1868 |
2) |
1469
by Mark Sapiro
Made configure check for dnspython. |
1869 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1870 |
if test $ac_must_keep_next = true; then |
1871 |
ac_must_keep_next=false # Got value, back to normal. |
|
1872 |
else
|
|
1873 |
case $ac_arg in |
|
1874 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1875 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1876 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1877 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1878 |
case "$ac_configure_args0 " in |
|
1879 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1880 |
esac
|
|
1881 |
;;
|
|
1882 |
-* ) ac_must_keep_next=true ;; |
|
1883 |
esac
|
|
1884 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1885 |
as_fn_append ac_configure_args " '$ac_arg'" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1886 |
;;
|
1887 |
esac
|
|
1888 |
done
|
|
1889 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1890 |
{ ac_configure_args0=; unset ac_configure_args0;} |
1891 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1892 |
|
1893 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
1894 |
# config.log. We remove comments because anyway the quotes in there
|
|
1895 |
# would cause problems or look ugly.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1896 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
1897 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1898 |
trap 'exit_status=$? |
1899 |
# Save into config.log some information that might help in debugging.
|
|
1900 |
{
|
|
1901 |
echo
|
|
1902 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
1903 |
$as_echo "## ---------------- ##
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1904 |
## Cache variables. ##
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1905 |
## ---------------- ##"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1906 |
echo
|
1907 |
# The following way of writing the cache mishandles newlines in values,
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1908 |
(
|
1909 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1910 |
eval ac_val=\$$ac_var
|
|
1911 |
case $ac_val in #(
|
|
1912 |
*${as_nl}*)
|
|
1913 |
case $ac_var in #(
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1914 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1915 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1916 |
esac
|
1917 |
case $ac_var in #(
|
|
1918 |
_ | IFS | as_nl) ;; #(
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1919 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1920 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1921 |
esac ;;
|
1922 |
esac
|
|
1923 |
done
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1924 |
(set) 2>&1 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1925 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1926 |
*${as_nl}ac_space=\ *)
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1927 |
sed -n \
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1928 |
"s/'\''/'\''\\\\'\'''\''/g; |
1929 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
1930 |
;; #(
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1931 |
*)
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1932 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1933 |
;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1934 |
esac |
|
1935 |
sort
|
|
1936 |
)
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1937 |
echo
|
1938 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
1939 |
$as_echo "## ----------------- ##
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1940 |
## Output variables. ##
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1941 |
## ----------------- ##"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1942 |
echo
|
1943 |
for ac_var in $ac_subst_vars
|
|
1944 |
do
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1945 |
eval ac_val=\$$ac_var
|
1946 |
case $ac_val in
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1947 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1948 |
esac
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1949 |
$as_echo "$ac_var='\''$ac_val'\''" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1950 |
done | sort
|
1951 |
echo
|
|
1952 |
||
1953 |
if test -n "$ac_subst_files"; then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1954 |
$as_echo "## ------------------- ##
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1955 |
## File substitutions. ##
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1956 |
## ------------------- ##"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1957 |
echo
|
1958 |
for ac_var in $ac_subst_files
|
|
1959 |
do
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1960 |
eval ac_val=\$$ac_var
|
1961 |
case $ac_val in
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1962 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1963 |
esac
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1964 |
$as_echo "$ac_var='\''$ac_val'\''" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1965 |
done | sort
|
1966 |
echo
|
|
1967 |
fi
|
|
1968 |
||
1969 |
if test -s confdefs.h; then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1970 |
$as_echo "## ----------- ##
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1971 |
## confdefs.h. ##
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1972 |
## ----------- ##"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1973 |
echo
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1974 |
cat confdefs.h
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1975 |
echo
|
1976 |
fi
|
|
1977 |
test "$ac_signal" != 0 &&
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
1978 |
$as_echo "$as_me: caught signal $ac_signal"
|
1979 |
$as_echo "$as_me: exit $exit_status"
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1980 |
} >&5
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1981 |
rm -f core *.core core.conftest.* &&
|
1982 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1983 |
exit $exit_status
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1984 |
' 0 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1985 |
for ac_signal in 1 2 13 15; do |
1469
by Mark Sapiro
Made configure check for dnspython. |
1986 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1987 |
done
|
1988 |
ac_signal=0 |
|
1989 |
||
1990 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
1991 |
rm -f -r conftest* confdefs.h |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1992 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
1993 |
$as_echo "/* confdefs.h */" > confdefs.h |
1994 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
1995 |
# Predefined preprocessor variables.
|
1996 |
||
1997 |
cat >>confdefs.h <<_ACEOF
|
|
1998 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
|
1999 |
_ACEOF
|
|
2000 |
||
2001 |
cat >>confdefs.h <<_ACEOF
|
|
2002 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
2003 |
_ACEOF
|
|
2004 |
||
2005 |
cat >>confdefs.h <<_ACEOF
|
|
2006 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
2007 |
_ACEOF
|
|
2008 |
||
2009 |
cat >>confdefs.h <<_ACEOF
|
|
2010 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
|
2011 |
_ACEOF
|
|
2012 |
||
2013 |
cat >>confdefs.h <<_ACEOF
|
|
2014 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2015 |
_ACEOF
|
|
2016 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
2017 |
cat >>confdefs.h <<_ACEOF
|
2018 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2019 |
_ACEOF
|
|
2020 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2021 |
|
2022 |
# Let the site file select an alternate cache file if it wants to.
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2023 |
# Prefer an explicitly selected file to automatically selected ones.
|
2024 |
ac_site_file1=NONE |
|
2025 |
ac_site_file2=NONE |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2026 |
if test -n "$CONFIG_SITE"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2027 |
# We do not want a PATH search for config.site.
|
2028 |
case $CONFIG_SITE in #(( |
|
2029 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2030 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2031 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2032 |
esac
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2033 |
elif test "x$prefix" != xNONE; then |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2034 |
ac_site_file1=$prefix/share/config.site |
2035 |
ac_site_file2=$prefix/etc/config.site |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2036 |
else
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2037 |
ac_site_file1=$ac_default_prefix/share/config.site |
2038 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2039 |
fi
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2040 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2041 |
do
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2042 |
test "x$ac_site_file" = xNONE && continue |
1469
by Mark Sapiro
Made configure check for dnspython. |
2043 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2044 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2045 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2046 |
sed 's/^/| /' "$ac_site_file" >&5 |
1469
by Mark Sapiro
Made configure check for dnspython. |
2047 |
. "$ac_site_file" \ |
2048 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2049 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2050 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2051 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2052 |
fi
|
2053 |
done
|
|
2054 |
||
2055 |
if test -r "$cache_file"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2056 |
# Some versions of bash will fail to source /dev/null (special files
|
2057 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2058 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2060 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2061 |
case $cache_file in |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2062 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2063 |
*) . "./$cache_file";; |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2064 |
esac
|
2065 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2066 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2067 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2068 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2069 |
>$cache_file
|
2070 |
fi
|
|
2071 |
||
2072 |
# Check that the precious variables saved in the cache have kept the same
|
|
2073 |
# value.
|
|
2074 |
ac_cache_corrupted=false |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2075 |
for ac_var in $ac_precious_vars; do |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2076 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2077 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2078 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2079 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2080 |
case $ac_old_set,$ac_new_set in |
2081 |
set,)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2083 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2084 |
ac_cache_corrupted=: ;; |
2085 |
,set)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2087 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2088 |
ac_cache_corrupted=: ;; |
2089 |
,);; |
|
2090 |
*)
|
|
2091 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2092 |
# differences in whitespace do not lead to failure.
|
2093 |
ac_old_val_w=`echo x $ac_old_val` |
|
2094 |
ac_new_val_w=`echo x $ac_new_val` |
|
2095 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2097 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2098 |
ac_cache_corrupted=: |
|
2099 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2101 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2102 |
eval $ac_var=\$ac_old_val |
|
2103 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2104 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2105 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
2106 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2107 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2108 |
fi;; |
2109 |
esac
|
|
2110 |
# Pass precious variables to config.status.
|
|
2111 |
if test "$ac_new_set" = set; then |
|
2112 |
case $ac_new_val in |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2113 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2114 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2115 |
esac
|
|
2116 |
case " $ac_configure_args " in |
|
2117 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2118 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2119 |
esac
|
2120 |
fi
|
|
2121 |
done
|
|
2122 |
if $ac_cache_corrupted; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2124 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
2125 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2126 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
2127 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1
by
This commit was manufactured by cvs2svn to create branch |
2128 |
fi
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2129 |
## -------------------- ##
|
2130 |
## Main body of script. ##
|
|
2131 |
## -------------------- ##
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2132 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2133 |
ac_ext=c |
2134 |
ac_cpp='$CPP $CPPFLAGS' |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2135 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2136 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2137 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2138 |
||
2139 |
||
2140 |
||
2141 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
2142 |
# /usr/local/mailman is the default installation directory
|
2143 |
||
2144 |
||
1731.2.1
by Lindsay
Added contrib/mailman-config.py and changes to configure.in and |
2145 |
CONFIGURE_OPTS=`echo $@` |
2146 |
||
2147 |
BUILD_DATE=`date` |
|
2148 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
2149 |
|
2150 |
# Check for Python! Better be found on $PATH
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2152 |
$as_echo_n "checking for --with-python... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2153 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2154 |
# Check whether --with-python was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2155 |
if test "${with_python+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2156 |
withval=$with_python; |
2157 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2158 |
|
2159 |
case "$with_python" in |
|
2160 |
"") ans="no";; |
|
2161 |
*) ans="$with_python" |
|
2162 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2163 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2164 |
$as_echo "$ans" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2165 |
|
2166 |
if test -z "$with_python" |
|
2167 |
then
|
|
2168 |
# Extract the first word of "python", so it can be a program name with args.
|
|
2169 |
set dummy python; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2171 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2172 |
if ${ac_cv_path_with_python+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2173 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2174 |
else
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2175 |
case $with_python in |
2176 |
[\\/]* | ?:[\\/]*) |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2177 |
ac_cv_path_with_python="$with_python" # Let the user override the test with a path. |
2178 |
;;
|
|
2179 |
*)
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2180 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2181 |
for as_dir in $PATH |
|
2182 |
do
|
|
2183 |
IFS=$as_save_IFS |
|
2184 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2185 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2186 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2187 |
ac_cv_path_with_python="$as_dir/$ac_word$ac_exec_ext" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2188 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2189 |
break 2 |
2190 |
fi
|
|
2191 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2192 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2193 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2194 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2195 |
test -z "$ac_cv_path_with_python" && ac_cv_path_with_python="/usr/local/bin/python" |
2196 |
;;
|
|
2197 |
esac
|
|
2198 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2199 |
with_python=$ac_cv_path_with_python |
1
by
This commit was manufactured by cvs2svn to create branch |
2200 |
if test -n "$with_python"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_python" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2202 |
$as_echo "$with_python" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2203 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2205 |
$as_echo "no" >&6; } |
2206 |
fi
|
|
2207 |
||
2208 |
||
2209 |
fi
|
|
2210 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
2211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python interpreter" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2212 |
$as_echo_n "checking Python interpreter... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2213 |
if test ! -x $with_python |
2214 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2215 |
as_fn_error $? " |
2216 |
||
2217 |
***** No Python interpreter found!
|
|
2218 |
***** Try including the configure option
|
|
2219 |
***** --with-python=/path/to/python/interpreter" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2220 |
fi
|
2221 |
||
2222 |
PYTHON=$with_python |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2224 |
$as_echo "$PYTHON" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2225 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2226 |
# See if Python is new enough.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2227 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2228 |
$as_echo_n "checking Python version... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2229 |
|
2230 |
cat > conftest.py <<EOF
|
|
2231 |
import sys
|
|
2232 |
try:
|
|
2233 |
v = sys.hexversion
|
|
2234 |
except AttributeError:
|
|
2235 |
v = 0
|
|
1139
by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove |
2236 |
if v >= 0x2040000:
|
1
by
This commit was manufactured by cvs2svn to create branch |
2237 |
s = sys.version.split()[0]
|
2238 |
else:
|
|
2239 |
s = ""
|
|
2240 |
fp = open("conftest.out", "w")
|
|
2241 |
fp.write("%s\n" % s)
|
|
2242 |
fp.close()
|
|
2243 |
EOF
|
|
2244 |
||
2245 |
$PYTHON conftest.py
|
|
2246 |
version=`cat conftest.out` |
|
2247 |
rm -f conftest.out conftest.py |
|
2248 |
if test -z "$version" |
|
2249 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2250 |
as_fn_error $? " |
2251 |
||
2252 |
***** $PYTHON is too old (or broken) |
|
2253 |
***** Python 2.4 or newer is required" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2254 |
fi
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2256 |
$as_echo "$version" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2257 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2258 |
# See if dnspython is installed.
|
2259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dnspython" >&5 |
|
2260 |
$as_echo_n "checking dnspython... " >&6; } |
|
2261 |
||
2262 |
cat > conftest.py <<EOF
|
|
2263 |
try:
|
|
2264 |
import dns.resolver
|
|
2265 |
res = 'ok'
|
|
2266 |
except ImportError:
|
|
2267 |
res = 'no'
|
|
2268 |
fp = open("conftest.out", "w")
|
|
2269 |
fp.write("%s\n" % res)
|
|
2270 |
fp.close()
|
|
2271 |
EOF
|
|
2272 |
||
2273 |
$PYTHON conftest.py
|
|
2274 |
havednspython=`cat conftest.out` |
|
2275 |
rm -f conftest.out conftest.py |
|
2276 |
if test "$havednspython" = "no" |
|
2277 |
then
|
|
2278 |
as_fn_error $? " |
|
2279 |
||
2280 |
***** dnspython not found. It is required for the new
|
|
2281 |
***** dmarc_moderation_action featurer. Get it from
|
|
2282 |
***** <http://www.dnspython.org/> or
|
|
2283 |
***** <https://pypi.python.org/pypi/dnspython/>" "$LINENO" 5 |
|
2284 |
fi
|
|
2285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havednspython" >&5 |
|
2286 |
$as_echo "$havednspython" >&6; } |
|
2287 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2288 |
# Check the email package version.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's email package" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2290 |
$as_echo_n "checking Python's email package... " >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2291 |
|
2292 |
cat > conftest.py <<EOF
|
|
2293 |
import sys
|
|
2294 |
try:
|
|
2295 |
import email
|
|
2296 |
except ImportError:
|
|
2297 |
res = "not ok"
|
|
2298 |
else:
|
|
2299 |
provided = (2, 5, 8)
|
|
1139
by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove |
2300 |
version = tuple(int(v) for v in email.__version__.split('.'))
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2301 |
if provided > version:
|
2302 |
res = "not ok"
|
|
2303 |
else:
|
|
2304 |
res = "ok"
|
|
2305 |
fp = open("conftest.out", "w")
|
|
2306 |
fp.write("%s\n" % res)
|
|
2307 |
fp.close()
|
|
2308 |
EOF
|
|
2309 |
||
2310 |
$PYTHON conftest.py
|
|
2311 |
needemailpkg=`cat conftest.out` |
|
2312 |
rm -f conftest.out conftest.py |
|
2313 |
||
1731.2.1
by Lindsay
Added contrib/mailman-config.py and changes to configure.in and |
2314 |
cat > getver.py <<EOF
|
2315 |
from Mailman.Version import VERSION
|
|
2316 |
fp = open("getver.out", "w")
|
|
2317 |
fp.write("%s\n" % VERSION)
|
|
2318 |
fp.close()
|
|
2319 |
EOF
|
|
2320 |
$PYTHON getver.py
|
|
2321 |
MM_VERSION=`cat getver.out` |
|
2322 |
rm -f getver.out getver.py |
|
2323 |
||
2324 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2325 |
# Should we rely on Python's own email package or use the pre-packaged version?
|
2326 |
||
2327 |
if test "$needemailpkg" = "ok" |
|
2328 |
then
|
|
2329 |
EMAILPKG="" |
|
2330 |
else
|
|
2331 |
EMAILPKG=email-2.5.8 |
|
2332 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $needemailpkg" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2334 |
$as_echo "$needemailpkg" >&6; } |
2335 |
||
2336 |
# Check Japanese codecs.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Japanese codecs" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2338 |
$as_echo_n "checking Japanese codecs... " >&6; } |
2339 |
||
2340 |
cat > conftest.py <<EOF
|
|
2341 |
try:
|
|
2342 |
unicode('OK', 'iso-2022-jp')
|
|
2343 |
except LookupError:
|
|
2344 |
res = "not ok"
|
|
2345 |
else:
|
|
2346 |
res = "ok"
|
|
2347 |
fp = open("conftest.out", "w")
|
|
2348 |
fp.write("%s\n" % res)
|
|
2349 |
fp.close()
|
|
2350 |
EOF
|
|
2351 |
||
2352 |
$PYTHON conftest.py
|
|
2353 |
needjacodecs=`cat conftest.out` |
|
2354 |
rm -f conftest.out conftest.py |
|
2355 |
||
2356 |
# Does Python have Japanese codecs or do we need the pre-packaged version?
|
|
2357 |
||
2358 |
if test "$needjacodecs" = "ok" |
|
2359 |
then
|
|
2360 |
JACODECSPKG="" |
|
2361 |
else
|
|
2362 |
JACODECSPKG=JapaneseCodecs-1.4.11 |
|
2363 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $needjacodecs" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2365 |
$as_echo "$needjacodecs" >&6; } |
2366 |
||
2367 |
# Check Korean codecs.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Korean codecs" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2369 |
$as_echo_n "checking Korean codecs... " >&6; } |
2370 |
||
2371 |
cat > conftest.py <<EOF
|
|
2372 |
try:
|
|
2373 |
unicode('OK', 'euc-kr')
|
|
2374 |
except LookupError:
|
|
2375 |
res = "not ok"
|
|
2376 |
else:
|
|
2377 |
res = "ok"
|
|
2378 |
fp = open("conftest.out", "w")
|
|
2379 |
fp.write("%s\n" % res)
|
|
2380 |
fp.close()
|
|
2381 |
EOF
|
|
2382 |
||
2383 |
$PYTHON conftest.py
|
|
2384 |
needkocodecs=`cat conftest.out` |
|
2385 |
rm -f conftest.out conftest.py |
|
2386 |
||
2387 |
# Does Python have Korean codecs or do we need the pre-packaged version?
|
|
2388 |
||
2389 |
if test "$needkocodecs" = "ok" |
|
2390 |
then
|
|
2391 |
KOCODECSPKG="" |
|
2392 |
else
|
|
2393 |
KOCODECSPKG=KoreanCodecs-2.0.5 |
|
2394 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $needkocodecs" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2396 |
$as_echo "$needkocodecs" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2397 |
|
2398 |
# Make sure distutils is available. Some Linux Python packages split
|
|
2399 |
# distutils into the "-devel" package, so they need both.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that Python has a working distutils" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2401 |
$as_echo_n "checking that Python has a working distutils... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2402 |
|
2403 |
cat > conftest.py <<EOF
|
|
2404 |
try:
|
|
2405 |
import distutils.errors
|
|
2406 |
import distutils.sysconfig
|
|
2407 |
except ImportError:
|
|
2408 |
res = "no"
|
|
2409 |
else:
|
|
2410 |
try:
|
|
61
by bwarsaw
Backporting once again from the trunk. |
2411 |
distutils.sysconfig.get_config_vars()
|
1
by
This commit was manufactured by cvs2svn to create branch |
2412 |
except distutils.errors.DistutilsPlatformError:
|
61
by bwarsaw
Backporting once again from the trunk. |
2413 |
res = "no"
|
1
by
This commit was manufactured by cvs2svn to create branch |
2414 |
else:
|
991
by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not |
2415 |
# some RedHat packages put distutils in python, but the C headers
|
2416 |
# are in python-devel so check for headers too.
|
|
2417 |
import os.path
|
|
1374
by Mark Sapiro
Changed configure's method for getting Python's include directory from |
2418 |
pdothpath = distutils.sysconfig.get_python_inc()
|
991
by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not |
2419 |
if os.path.isfile(os.path.join(pdothpath, "Python.h")):
|
2420 |
res = "yes"
|
|
2421 |
else:
|
|
2422 |
res = "no"
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2423 |
fp = open("conftest.out", "w")
|
2424 |
fp.write("%s\n" % res)
|
|
2425 |
fp.close()
|
|
2426 |
EOF
|
|
2427 |
||
2428 |
$PYTHON conftest.py
|
|
2429 |
havedistutils=`cat conftest.out` |
|
2430 |
rm -f conftest.out conftest.py |
|
2431 |
if test "$havedistutils" != "yes" |
|
2432 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2433 |
as_fn_error $? " |
2434 |
||
2435 |
***** Distutils is not available or is incomplete for $PYTHON |
|
2436 |
***** If you installed Python from RPM (or other package manager)
|
|
2437 |
***** be sure to install the -devel package, or install Python
|
|
2438 |
***** from source. See sec. 15.1 of the Installation Manual for
|
|
2439 |
***** details" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2440 |
fi
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havedistutils" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2442 |
$as_echo "$havedistutils" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2443 |
|
2444 |
# Checks for programs.
|
|
2445 |
ac_aux_dir= |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2446 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2447 |
if test -f "$ac_dir/install-sh"; then |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2448 |
ac_aux_dir=$ac_dir |
2449 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2450 |
break
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2451 |
elif test -f "$ac_dir/install.sh"; then |
1
by
This commit was manufactured by cvs2svn to create branch |
2452 |
ac_aux_dir=$ac_dir |
2453 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2454 |
break
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2455 |
elif test -f "$ac_dir/shtool"; then |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2456 |
ac_aux_dir=$ac_dir |
2457 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2458 |
break
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2459 |
fi
|
2460 |
done
|
|
2461 |
if test -z "$ac_aux_dir"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2462 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
1
by
This commit was manufactured by cvs2svn to create branch |
2463 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2464 |
|
2465 |
# These three variables are undocumented and unsupported,
|
|
2466 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2467 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2468 |
# whose full name contains unusual characters.
|
|
2469 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2470 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2471 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2472 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
2473 |
|
2474 |
# Find a good install program. We prefer a C program (faster),
|
|
2475 |
# so one script is as good as another. But avoid the broken or
|
|
2476 |
# incompatible versions:
|
|
2477 |
# SysV /etc/install, /usr/sbin/install
|
|
2478 |
# SunOS /usr/etc/install
|
|
2479 |
# IRIX /sbin/install
|
|
2480 |
# AIX /bin/install
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2481 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1
by
This commit was manufactured by cvs2svn to create branch |
2482 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2483 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
2484 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2485 |
# OS/2's system install, which has a completely different semantic
|
1
by
This commit was manufactured by cvs2svn to create branch |
2486 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2487 |
# Reject install programs that cannot install multiple files.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2488 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2489 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2490 |
if test -z "$INSTALL"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2491 |
if ${ac_cv_path_install+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2492 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2493 |
else
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2494 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2495 |
for as_dir in $PATH |
|
2496 |
do
|
|
2497 |
IFS=$as_save_IFS |
|
2498 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2499 |
# Account for people who put trailing slashes in PATH elements.
|
2500 |
case $as_dir/ in #(( |
|
2501 |
./ | .// | /[cC]/* | \ |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2502 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1469
by Mark Sapiro
Made configure check for dnspython. |
2503 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2504 |
/usr/ucb/* ) ;; |
2505 |
*)
|
|
2506 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2507 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
2508 |
# by default.
|
|
2509 |
for ac_prog in ginstall scoinst install; do |
|
2510 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2511 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
567
by bwarsaw
From the NEWS file: |
2512 |
if test $ac_prog = install && |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2513 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
567
by bwarsaw
From the NEWS file: |
2514 |
# AIX install. It has an incompatible calling convention.
|
2515 |
: |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2516 |
elif test $ac_prog = install && |
2517 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2518 |
# program-specific install script used by HP pwplus--don't use.
|
|
2519 |
: |
|
567
by bwarsaw
From the NEWS file: |
2520 |
else
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2521 |
rm -rf conftest.one conftest.two conftest.dir |
2522 |
echo one > conftest.one
|
|
2523 |
echo two > conftest.two
|
|
2524 |
mkdir conftest.dir |
|
2525 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2526 |
test -s conftest.one && test -s conftest.two && |
|
2527 |
test -s conftest.dir/conftest.one && |
|
2528 |
test -s conftest.dir/conftest.two
|
|
2529 |
then
|
|
2530 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2531 |
break 3 |
|
2532 |
fi
|
|
567
by bwarsaw
From the NEWS file: |
2533 |
fi
|
2534 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2535 |
done
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2536 |
done
|
2537 |
;;
|
|
2538 |
esac
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2539 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2540 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2541 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2542 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2543 |
rm -rf conftest.one conftest.two conftest.dir |
1
by
This commit was manufactured by cvs2svn to create branch |
2544 |
|
2545 |
fi
|
|
2546 |
if test "${ac_cv_path_install+set}" = set; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2547 |
INSTALL=$ac_cv_path_install |
1
by
This commit was manufactured by cvs2svn to create branch |
2548 |
else
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2549 |
# As a last resort, use the slow shell script. Don't cache a
|
2550 |
# value for INSTALL within a source directory, because that will
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2551 |
# break other packages using the cache if that directory is
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2552 |
# removed, or if the value is a relative name.
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2553 |
INSTALL=$ac_install_sh |
1
by
This commit was manufactured by cvs2svn to create branch |
2554 |
fi
|
2555 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2556 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2557 |
$as_echo "$INSTALL" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2558 |
|
2559 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2560 |
# It thinks the first close brace ends the variable substitution.
|
|
2561 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2562 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2563 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1
by
This commit was manufactured by cvs2svn to create branch |
2564 |
|
2565 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2566 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
2567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2568 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2569 |
set x ${MAKE-make} |
|
2570 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2571 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2572 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2573 |
else
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2574 |
cat >conftest.make <<\_ACEOF
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2575 |
SHELL = /bin/sh
|
1
by
This commit was manufactured by cvs2svn to create branch |
2576 |
all:
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2577 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2578 |
_ACEOF
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2579 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2580 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2581 |
*@@@%%%=?*=@@@%%%*) |
|
2582 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2583 |
*)
|
|
2584 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2585 |
esac
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2586 |
rm -f conftest.make |
1
by
This commit was manufactured by cvs2svn to create branch |
2587 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2588 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2589 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2590 |
$as_echo "yes" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2591 |
SET_MAKE= |
2592 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2594 |
$as_echo "no" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2595 |
SET_MAKE="MAKE=${MAKE-make}" |
2596 |
fi
|
|
2597 |
||
2598 |
# Extract the first word of "true", so it can be a program name with args.
|
|
2599 |
set dummy true; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2600 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2601 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2602 |
if ${ac_cv_path_TRUE+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2603 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2604 |
else
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2605 |
case $TRUE in |
2606 |
[\\/]* | ?:[\\/]*) |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2607 |
ac_cv_path_TRUE="$TRUE" # Let the user override the test with a path. |
2608 |
;;
|
|
2609 |
*)
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2610 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2611 |
as_dummy="$PATH:/bin:/usr/bin" |
|
2612 |
for as_dir in $as_dummy |
|
2613 |
do
|
|
2614 |
IFS=$as_save_IFS |
|
2615 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2616 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2617 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2618 |
ac_cv_path_TRUE="$as_dir/$ac_word$ac_exec_ext" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2619 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2620 |
break 2 |
2621 |
fi
|
|
2622 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2623 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2624 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2625 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2626 |
test -z "$ac_cv_path_TRUE" && ac_cv_path_TRUE="true" |
2627 |
;;
|
|
2628 |
esac
|
|
2629 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2630 |
TRUE=$ac_cv_path_TRUE |
1
by
This commit was manufactured by cvs2svn to create branch |
2631 |
if test -n "$TRUE"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2633 |
$as_echo "$TRUE" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2634 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2636 |
$as_echo "no" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2637 |
fi
|
2638 |
||
2639 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2640 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2641 |
# Find compiler, allow alternatives to gcc
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --without-gcc" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2643 |
$as_echo_n "checking for --without-gcc... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2644 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2645 |
# Check whether --with-gcc was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2646 |
if test "${with_gcc+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2647 |
withval=$with_gcc; |
1
by
This commit was manufactured by cvs2svn to create branch |
2648 |
case $withval in |
2649 |
no) CC=cc |
|
2650 |
without_gcc=yes;; |
|
2651 |
yes) CC=gcc |
|
2652 |
without_gcc=no;; |
|
2653 |
*) CC=$withval |
|
2654 |
without_gcc=$withval;; |
|
2655 |
esac
|
|
2656 |
else
|
|
2657 |
without_gcc=no; |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2658 |
fi
|
2659 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
2660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $without_gcc" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2661 |
$as_echo "$without_gcc" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2662 |
|
2663 |
# If the user switches compilers, we can't believe the cache
|
|
2664 |
if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC" |
|
2665 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2666 |
as_fn_error $? "cached CC is different -- throw away $cache_file |
2667 |
(it is also a good idea to do 'make clean' before compiling)" "$LINENO" 5 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2668 |
fi
|
2669 |
||
2670 |
ac_ext=c |
|
2671 |
ac_cpp='$CPP $CPPFLAGS' |
|
2672 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2673 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2674 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2675 |
if test -n "$ac_tool_prefix"; then |
|
2676 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
2677 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2679 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2680 |
if ${ac_cv_prog_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2681 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2682 |
else
|
2683 |
if test -n "$CC"; then |
|
2684 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2685 |
else
|
|
2686 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2687 |
for as_dir in $PATH |
|
2688 |
do
|
|
2689 |
IFS=$as_save_IFS |
|
2690 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2691 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2692 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2693 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2694 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2695 |
break 2 |
2696 |
fi
|
|
2697 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2698 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2699 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2700 |
|
2701 |
fi
|
|
2702 |
fi
|
|
2703 |
CC=$ac_cv_prog_CC |
|
2704 |
if test -n "$CC"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2706 |
$as_echo "$CC" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2707 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2709 |
$as_echo "no" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2710 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2711 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2712 |
|
2713 |
fi
|
|
2714 |
if test -z "$ac_cv_prog_CC"; then |
|
2715 |
ac_ct_CC=$CC |
|
2716 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2717 |
set dummy gcc; ac_word=$2 |
1469
by Mark Sapiro
Made configure check for dnspython. |
2718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2719 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2720 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2721 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2722 |
else
|
2723 |
if test -n "$ac_ct_CC"; then |
|
2724 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2725 |
else
|
|
2726 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2727 |
for as_dir in $PATH |
|
2728 |
do
|
|
2729 |
IFS=$as_save_IFS |
|
2730 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2731 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2732 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2733 |
ac_cv_prog_ac_ct_CC="gcc" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2734 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2735 |
break 2 |
2736 |
fi
|
|
2737 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2738 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2739 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2740 |
|
2741 |
fi
|
|
2742 |
fi
|
|
2743 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2744 |
if test -n "$ac_ct_CC"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2746 |
$as_echo "$ac_ct_CC" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2747 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2749 |
$as_echo "no" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2750 |
fi
|
2751 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2752 |
if test "x$ac_ct_CC" = x; then |
2753 |
CC="" |
|
2754 |
else
|
|
2755 |
case $cross_compiling:$ac_tool_warned in |
|
2756 |
yes:)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2758 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2759 |
ac_tool_warned=yes ;; |
2760 |
esac
|
|
2761 |
CC=$ac_ct_CC |
|
2762 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2763 |
else
|
2764 |
CC="$ac_cv_prog_CC" |
|
2765 |
fi
|
|
2766 |
||
2767 |
if test -z "$CC"; then |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2768 |
if test -n "$ac_tool_prefix"; then |
2769 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2770 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1469
by Mark Sapiro
Made configure check for dnspython. |
2771 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2772 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2773 |
if ${ac_cv_prog_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2774 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2775 |
else
|
2776 |
if test -n "$CC"; then |
|
2777 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2778 |
else
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2779 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2780 |
for as_dir in $PATH |
|
2781 |
do
|
|
2782 |
IFS=$as_save_IFS |
|
2783 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2784 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2785 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2786 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2787 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2788 |
break 2 |
2789 |
fi
|
|
2790 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2791 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2792 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2793 |
|
2794 |
fi
|
|
2795 |
fi
|
|
2796 |
CC=$ac_cv_prog_CC |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2797 |
if test -n "$CC"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2799 |
$as_echo "$CC" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2800 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2802 |
$as_echo "no" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2803 |
fi
|
2804 |
||
2805 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2806 |
fi
|
2807 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
2808 |
if test -z "$CC"; then |
2809 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
2810 |
set dummy cc; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2812 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2813 |
if ${ac_cv_prog_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2814 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2815 |
else
|
2816 |
if test -n "$CC"; then |
|
2817 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2818 |
else
|
|
2819 |
ac_prog_rejected=no |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2820 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2821 |
for as_dir in $PATH |
|
2822 |
do
|
|
2823 |
IFS=$as_save_IFS |
|
2824 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2825 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2826 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2827 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2828 |
ac_prog_rejected=yes |
|
2829 |
continue
|
|
2830 |
fi
|
|
2831 |
ac_cv_prog_CC="cc" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2832 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2833 |
break 2 |
2834 |
fi
|
|
2835 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2836 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2837 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2838 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2839 |
if test $ac_prog_rejected = yes; then |
2840 |
# We found a bogon in the path, so make sure we never use it.
|
|
2841 |
set dummy $ac_cv_prog_CC |
|
2842 |
shift
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2843 |
if test $# != 0; then |
1
by
This commit was manufactured by cvs2svn to create branch |
2844 |
# We chose a different compiler from the bogus one.
|
2845 |
# However, it has the same basename, so the bogon will be chosen
|
|
2846 |
# first if we set CC to just the basename; use the full file name.
|
|
2847 |
shift
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2848 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1
by
This commit was manufactured by cvs2svn to create branch |
2849 |
fi
|
2850 |
fi
|
|
2851 |
fi
|
|
2852 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2853 |
CC=$ac_cv_prog_CC |
1
by
This commit was manufactured by cvs2svn to create branch |
2854 |
if test -n "$CC"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
2855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2856 |
$as_echo "$CC" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2857 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2858 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2859 |
$as_echo "no" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
2860 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2861 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
2862 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2863 |
fi
|
2864 |
if test -z "$CC"; then |
|
2865 |
if test -n "$ac_tool_prefix"; then |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2866 |
for ac_prog in cl.exe
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2867 |
do
|
2868 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
2869 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2871 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2872 |
if ${ac_cv_prog_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2873 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
2874 |
else
|
2875 |
if test -n "$CC"; then |
|
2876 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2877 |
else
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2878 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2879 |
for as_dir in $PATH |
|
2880 |
do
|
|
2881 |
IFS=$as_save_IFS |
|
2882 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2883 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2884 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2885 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2886 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2887 |
break 2 |
2888 |
fi
|
|
2889 |
done
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2890 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2891 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2892 |
|
2893 |
fi
|
|
2894 |
fi
|
|
2895 |
CC=$ac_cv_prog_CC |
|
2896 |
if test -n "$CC"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2898 |
$as_echo "$CC" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2899 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2901 |
$as_echo "no" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2902 |
fi
|
2903 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2904 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2905 |
test -n "$CC" && break |
1
by
This commit was manufactured by cvs2svn to create branch |
2906 |
done
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2907 |
fi
|
2908 |
if test -z "$CC"; then |
|
2909 |
ac_ct_CC=$CC |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2910 |
for ac_prog in cl.exe
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2911 |
do
|
2912 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2913 |
set dummy $ac_prog; ac_word=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2915 |
$as_echo_n "checking for $ac_word... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
2916 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2917 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2918 |
else
|
2919 |
if test -n "$ac_ct_CC"; then |
|
2920 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2921 |
else
|
|
2922 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2923 |
for as_dir in $PATH |
|
2924 |
do
|
|
2925 |
IFS=$as_save_IFS |
|
2926 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2927 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2928 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2929 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1469
by Mark Sapiro
Made configure check for dnspython. |
2930 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2931 |
break 2 |
1
by
This commit was manufactured by cvs2svn to create branch |
2932 |
fi
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2933 |
done
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2934 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2935 |
IFS=$as_save_IFS |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2936 |
|
2937 |
fi
|
|
2938 |
fi
|
|
2939 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2940 |
if test -n "$ac_ct_CC"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2942 |
$as_echo "$ac_ct_CC" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2943 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2945 |
$as_echo "no" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2946 |
fi
|
2947 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2948 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2949 |
test -n "$ac_ct_CC" && break |
2950 |
done
|
|
2951 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2952 |
if test "x$ac_ct_CC" = x; then |
2953 |
CC="" |
|
2954 |
else
|
|
2955 |
case $cross_compiling:$ac_tool_warned in |
|
2956 |
yes:)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2957 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2958 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
2959 |
ac_tool_warned=yes ;; |
2960 |
esac
|
|
2961 |
CC=$ac_ct_CC |
|
2962 |
fi
|
|
2963 |
fi
|
|
2964 |
||
2965 |
fi
|
|
2966 |
||
2967 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
2968 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2969 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
2970 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
2971 |
See \`config.log' for more details" "$LINENO" 5; } |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2972 |
|
2973 |
# Provide some information about the compiler.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2974 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
2975 |
set X $ac_compile |
2976 |
ac_compiler=$2 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2977 |
for ac_option in --version -v -V -qversion; do |
2978 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
2979 |
case "(($ac_try" in |
|
2980 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
2981 |
*) ac_try_echo=$ac_try;; |
|
2982 |
esac
|
|
2983 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
2984 |
$as_echo "$ac_try_echo"; } >&5 |
|
2985 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
2986 |
ac_status=$? |
|
2987 |
if test -s conftest.err; then |
|
2988 |
sed '10a\
|
|
2989 |
... rest of stderr output deleted ...
|
|
2990 |
10q' conftest.err >conftest.er1
|
|
2991 |
cat conftest.er1 >&5 |
|
2992 |
fi
|
|
2993 |
rm -f conftest.er1 conftest.err |
|
2994 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
2995 |
test $ac_status = 0; } |
|
2996 |
done
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2997 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
2998 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
2999 |
/* end confdefs.h. */
|
3000 |
||
3001 |
int
|
|
3002 |
main ()
|
|
3003 |
{
|
|
3004 |
||
3005 |
;
|
|
3006 |
return 0;
|
|
3007 |
}
|
|
3008 |
_ACEOF
|
|
3009 |
ac_clean_files_save=$ac_clean_files |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3010 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3011 |
# Try to create an executable without -o first, disregard a.out.
|
3012 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3013 |
# of exeext.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3015 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3016 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3017 |
||
3018 |
# The possible output files:
|
|
3019 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3020 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3021 |
ac_rmfiles= |
3022 |
for ac_file in $ac_files |
|
3023 |
do
|
|
3024 |
case $ac_file in |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3025 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3026 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3027 |
esac
|
|
3028 |
done
|
|
3029 |
rm -f $ac_rmfiles
|
|
3030 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3031 |
if { { ac_try="$ac_link_default" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3032 |
case "(($ac_try" in |
3033 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3034 |
*) ac_try_echo=$ac_try;; |
|
3035 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3036 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3037 |
$as_echo "$ac_try_echo"; } >&5 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3038 |
(eval "$ac_link_default") 2>&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3039 |
ac_status=$? |
1469
by Mark Sapiro
Made configure check for dnspython. |
3040 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3041 |
test $ac_status = 0; }; then : |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3042 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3043 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
3044 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3045 |
# so that the user can short-circuit this test for compilers unknown to
|
|
3046 |
# Autoconf.
|
|
3047 |
for ac_file in $ac_files '' |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3048 |
do
|
3049 |
test -f "$ac_file" || continue |
|
3050 |
case $ac_file in |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3051 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3052 |
;;
|
3053 |
[ab].out ) |
|
3054 |
# We found the default executable, but exeext='' is most
|
|
3055 |
# certainly right.
|
|
3056 |
break;;
|
|
3057 |
*.* )
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3058 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3059 |
then :; else |
3060 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3061 |
fi
|
|
3062 |
# We set ac_cv_exeext here because the later test for it is not
|
|
3063 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
3064 |
# argument, so we may need to know it at that point already.
|
|
3065 |
# Even if this section looks crufty: it has the advantage of
|
|
3066 |
# actually working.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3067 |
break;;
|
3068 |
* )
|
|
3069 |
break;;
|
|
3070 |
esac
|
|
3071 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3072 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3073 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3074 |
else
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3075 |
ac_file='' |
3076 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3077 |
if test -z "$ac_file"; then : |
3078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3079 |
$as_echo "no" >&6; } |
|
3080 |
$as_echo "$as_me: failed program was:" >&5 |
|
3081 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3082 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3083 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3084 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3085 |
as_fn_error 77 "C compiler cannot create executables |
|
3086 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3087 |
else
|
|
3088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3089 |
$as_echo "yes" >&6; } |
|
3090 |
fi
|
|
3091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3092 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3094 |
$as_echo "$ac_file" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3095 |
ac_exeext=$ac_cv_exeext |
3096 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3097 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3098 |
ac_clean_files=$ac_clean_files_save |
1469
by Mark Sapiro
Made configure check for dnspython. |
3099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3100 |
$as_echo_n "checking for suffix of executables... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3101 |
if { { ac_try="$ac_link" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3102 |
case "(($ac_try" in |
3103 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3104 |
*) ac_try_echo=$ac_try;; |
|
3105 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3106 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3107 |
$as_echo "$ac_try_echo"; } >&5 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3108 |
(eval "$ac_link") 2>&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3109 |
ac_status=$? |
1469
by Mark Sapiro
Made configure check for dnspython. |
3110 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3111 |
test $ac_status = 0; }; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3112 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3113 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
3114 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3115 |
# `rm'.
|
|
3116 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3117 |
test -f "$ac_file" || continue |
|
3118 |
case $ac_file in |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3119 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3120 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3121 |
break;;
|
|
3122 |
* ) break;; |
|
3123 |
esac
|
|
3124 |
done
|
|
3125 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3126 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3127 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
3128 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3129 |
See \`config.log' for more details" "$LINENO" 5; } |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3130 |
fi
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3131 |
rm -f conftest conftest$ac_cv_exeext
|
3132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3133 |
$as_echo "$ac_cv_exeext" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3134 |
|
3135 |
rm -f conftest.$ac_ext
|
|
3136 |
EXEEXT=$ac_cv_exeext |
|
3137 |
ac_exeext=$EXEEXT |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3138 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3139 |
/* end confdefs.h. */
|
|
3140 |
#include <stdio.h>
|
|
3141 |
int
|
|
3142 |
main ()
|
|
3143 |
{
|
|
3144 |
FILE *f = fopen ("conftest.out", "w");
|
|
3145 |
return ferror (f) || fclose (f) != 0;
|
|
3146 |
||
3147 |
;
|
|
3148 |
return 0;
|
|
3149 |
}
|
|
3150 |
_ACEOF
|
|
3151 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3152 |
# Check that the compiler produces executables we can run. If not, either
|
|
3153 |
# the compiler is broken, or we cross compile.
|
|
3154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3155 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3156 |
if test "$cross_compiling" != yes; then |
|
3157 |
{ { ac_try="$ac_link" |
|
3158 |
case "(($ac_try" in |
|
3159 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3160 |
*) ac_try_echo=$ac_try;; |
|
3161 |
esac
|
|
3162 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3163 |
$as_echo "$ac_try_echo"; } >&5 |
|
3164 |
(eval "$ac_link") 2>&5 |
|
3165 |
ac_status=$? |
|
3166 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3167 |
test $ac_status = 0; } |
|
3168 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3169 |
{ { case "(($ac_try" in |
|
3170 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3171 |
*) ac_try_echo=$ac_try;; |
|
3172 |
esac
|
|
3173 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3174 |
$as_echo "$ac_try_echo"; } >&5 |
|
3175 |
(eval "$ac_try") 2>&5 |
|
3176 |
ac_status=$? |
|
3177 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3178 |
test $ac_status = 0; }; }; then |
|
3179 |
cross_compiling=no |
|
3180 |
else
|
|
3181 |
if test "$cross_compiling" = maybe; then |
|
3182 |
cross_compiling=yes |
|
3183 |
else
|
|
3184 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3185 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3186 |
as_fn_error $? "cannot run C compiled programs. |
|
3187 |
If you meant to cross compile, use \`--host'.
|
|
3188 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3189 |
fi
|
|
3190 |
fi
|
|
3191 |
fi
|
|
3192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3193 |
$as_echo "$cross_compiling" >&6; } |
|
3194 |
||
3195 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3196 |
ac_clean_files=$ac_clean_files_save |
|
3197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3198 |
$as_echo_n "checking for suffix of object files... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3199 |
if ${ac_cv_objext+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3200 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3201 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3202 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3203 |
/* end confdefs.h. */
|
3204 |
||
3205 |
int
|
|
3206 |
main ()
|
|
3207 |
{
|
|
3208 |
||
3209 |
;
|
|
3210 |
return 0;
|
|
3211 |
}
|
|
3212 |
_ACEOF
|
|
3213 |
rm -f conftest.o conftest.obj |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3214 |
if { { ac_try="$ac_compile" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3215 |
case "(($ac_try" in |
3216 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3217 |
*) ac_try_echo=$ac_try;; |
|
3218 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3219 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3220 |
$as_echo "$ac_try_echo"; } >&5 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3221 |
(eval "$ac_compile") 2>&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3222 |
ac_status=$? |
1469
by Mark Sapiro
Made configure check for dnspython. |
3223 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3224 |
test $ac_status = 0; }; then : |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3225 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3226 |
test -f "$ac_file" || continue; |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3227 |
case $ac_file in |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3228 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3229 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3230 |
break;;
|
|
3231 |
esac
|
|
3232 |
done
|
|
3233 |
else
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3234 |
$as_echo "$as_me: failed program was:" >&5 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3235 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3236 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3237 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3238 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
3239 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3240 |
See \`config.log' for more details" "$LINENO" 5; } |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3241 |
fi
|
3242 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3243 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3245 |
$as_echo "$ac_cv_objext" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3246 |
OBJEXT=$ac_cv_objext |
3247 |
ac_objext=$OBJEXT |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3249 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3250 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3251 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3252 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3253 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3254 |
/* end confdefs.h. */
|
3255 |
||
3256 |
int
|
|
3257 |
main ()
|
|
3258 |
{
|
|
3259 |
#ifndef __GNUC__
|
|
3260 |
choke me
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3261 |
#endif
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3262 |
|
3263 |
;
|
|
3264 |
return 0;
|
|
3265 |
}
|
|
3266 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3267 |
if ac_fn_c_try_compile "$LINENO"; then : |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3268 |
ac_compiler_gnu=yes |
3269 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3270 |
ac_compiler_gnu=no |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3271 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3272 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3273 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3274 |
||
3275 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3277 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3278 |
if test $ac_compiler_gnu = yes; then |
|
3279 |
GCC=yes |
|
3280 |
else
|
|
3281 |
GCC= |
|
3282 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3283 |
ac_test_CFLAGS=${CFLAGS+set} |
3284 |
ac_save_CFLAGS=$CFLAGS |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3286 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3287 |
if ${ac_cv_prog_cc_g+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3288 |
$as_echo_n "(cached) " >&6 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3289 |
else
|
3290 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
3291 |
ac_c_werror_flag=yes |
|
3292 |
ac_cv_prog_cc_g=no |
|
3293 |
CFLAGS="-g" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3294 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3295 |
/* end confdefs.h. */
|
3296 |
||
3297 |
int
|
|
3298 |
main ()
|
|
3299 |
{
|
|
3300 |
||
3301 |
;
|
|
3302 |
return 0;
|
|
3303 |
}
|
|
3304 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3305 |
if ac_fn_c_try_compile "$LINENO"; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3306 |
ac_cv_prog_cc_g=yes |
3307 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3308 |
CFLAGS="" |
3309 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3310 |
/* end confdefs.h. */
|
3311 |
||
3312 |
int
|
|
3313 |
main ()
|
|
3314 |
{
|
|
3315 |
||
3316 |
;
|
|
3317 |
return 0;
|
|
3318 |
}
|
|
3319 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3320 |
if ac_fn_c_try_compile "$LINENO"; then : |
3321 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3322 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3323 |
ac_c_werror_flag=$ac_save_c_werror_flag |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3324 |
CFLAGS="-g" |
1469
by Mark Sapiro
Made configure check for dnspython. |
3325 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3326 |
/* end confdefs.h. */
|
3327 |
||
3328 |
int
|
|
3329 |
main ()
|
|
3330 |
{
|
|
3331 |
||
3332 |
;
|
|
3333 |
return 0;
|
|
3334 |
}
|
|
3335 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3336 |
if ac_fn_c_try_compile "$LINENO"; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3337 |
ac_cv_prog_cc_g=yes |
1469
by Mark Sapiro
Made configure check for dnspython. |
3338 |
fi
|
3339 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3340 |
fi
|
|
3341 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3342 |
fi
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3343 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3344 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3345 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3347 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3348 |
if test "$ac_test_CFLAGS" = set; then |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3349 |
CFLAGS=$ac_save_CFLAGS |
1
by
This commit was manufactured by cvs2svn to create branch |
3350 |
elif test $ac_cv_prog_cc_g = yes; then |
3351 |
if test "$GCC" = yes; then |
|
3352 |
CFLAGS="-g -O2" |
|
3353 |
else
|
|
3354 |
CFLAGS="-g" |
|
3355 |
fi
|
|
3356 |
else
|
|
3357 |
if test "$GCC" = yes; then |
|
3358 |
CFLAGS="-O2" |
|
3359 |
else
|
|
3360 |
CFLAGS= |
|
3361 |
fi
|
|
3362 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3364 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3365 |
if ${ac_cv_prog_cc_c89+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3366 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3367 |
else
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3368 |
ac_cv_prog_cc_c89=no |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3369 |
ac_save_CC=$CC |
1469
by Mark Sapiro
Made configure check for dnspython. |
3370 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3371 |
/* end confdefs.h. */
|
3372 |
#include <stdarg.h>
|
|
3373 |
#include <stdio.h>
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3374 |
struct stat;
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3375 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3376 |
struct buf { int x; };
|
|
3377 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3378 |
static char *e (p, i)
|
|
3379 |
char **p;
|
|
3380 |
int i;
|
|
3381 |
{
|
|
3382 |
return p[i];
|
|
3383 |
}
|
|
3384 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
3385 |
{
|
|
3386 |
char *s;
|
|
3387 |
va_list v;
|
|
3388 |
va_start (v,p);
|
|
3389 |
s = g (p, va_arg (v,int));
|
|
3390 |
va_end (v);
|
|
3391 |
return s;
|
|
3392 |
}
|
|
3393 |
||
3394 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
3395 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
3396 |
These don't provoke an error unfortunately, instead are silently treated
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3397 |
as 'x'. The following induces an error, until -std is added to get
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3398 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
3399 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3400 |
that's true only with -std. */
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3401 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
3402 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3403 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
3404 |
inside strings and character constants. */
|
|
3405 |
#define FOO(x) 'x'
|
|
3406 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
3407 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3408 |
int test (int i, double x);
|
3409 |
struct s1 {int (*f) (int a);};
|
|
3410 |
struct s2 {int (*f) (double a);};
|
|
3411 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
3412 |
int argc;
|
|
3413 |
char **argv;
|
|
3414 |
int
|
|
3415 |
main ()
|
|
3416 |
{
|
|
3417 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
3418 |
;
|
|
3419 |
return 0;
|
|
3420 |
}
|
|
3421 |
_ACEOF
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3422 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3423 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3424 |
do
|
3425 |
CC="$ac_save_CC $ac_arg" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3426 |
if ac_fn_c_try_compile "$LINENO"; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3427 |
ac_cv_prog_cc_c89=$ac_arg |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3428 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3429 |
rm -f core conftest.err conftest.$ac_objext
|
3430 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3431 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3432 |
rm -f conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3433 |
CC=$ac_save_CC |
3434 |
||
3435 |
fi
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3436 |
# AC_CACHE_VAL
|
3437 |
case "x$ac_cv_prog_cc_c89" in |
|
3438 |
x)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3440 |
$as_echo "none needed" >&6; } ;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3441 |
xno)
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3443 |
$as_echo "unsupported" >&6; } ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3444 |
*)
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3445 |
CC="$CC $ac_cv_prog_cc_c89" |
1469
by Mark Sapiro
Made configure check for dnspython. |
3446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3447 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3448 |
esac
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3449 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3450 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3451 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3452 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3453 |
ac_ext=c |
3454 |
ac_cpp='$CPP $CPPFLAGS' |
|
3455 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3456 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3457 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3458 |
|
3459 |
||
3460 |
||
3461 |
# Optimizer/debugger flags passed between Makefiles
|
|
3462 |
||
3463 |
if test -z "$OPT" |
|
3464 |
then
|
|
3465 |
case $GCC in |
|
3466 |
yes)
|
|
3467 |
case $ac_cv_prog_cc_g in |
|
3468 |
yes) OPT="-g -O2";; |
|
3469 |
*) OPT="-O2";; |
|
3470 |
esac
|
|
3471 |
;;
|
|
3472 |
*) OPT="-O";; |
|
3473 |
esac
|
|
3474 |
fi
|
|
3475 |
||
3476 |
# We better be able to execute interpreters
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3477 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3478 |
$as_echo_n "checking whether #! works in shell scripts... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3479 |
if ${ac_cv_sys_interpreter+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3480 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
3481 |
else
|
3482 |
echo '#! /bin/cat |
|
3483 |
exit 69
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3484 |
' >conftest
|
1
by
This commit was manufactured by cvs2svn to create branch |
3485 |
chmod u+x conftest |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3486 |
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1) |
1
by
This commit was manufactured by cvs2svn to create branch |
3487 |
if test $? -ne 69; then |
3488 |
ac_cv_sys_interpreter=yes |
|
3489 |
else
|
|
3490 |
ac_cv_sys_interpreter=no |
|
3491 |
fi
|
|
3492 |
rm -f conftest |
|
3493 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3495 |
$as_echo "$ac_cv_sys_interpreter" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3496 |
interpval=$ac_cv_sys_interpreter |
1
by
This commit was manufactured by cvs2svn to create branch |
3497 |
|
3498 |
if test "$ac_cv_sys_interpreter" != "yes" |
|
3499 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3500 |
as_fn_error $? " |
3501 |
||
3502 |
***** Cannot execute interpreter scripts?
|
|
3503 |
***** Are you sure you system doesn't support this?" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3504 |
fi
|
3505 |
||
3506 |
||
3507 |
# Check for an alternate data directory, separate from installation dir.
|
|
3508 |
default_var_prefix="/var/mailman" |
|
3509 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-var-prefix" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3511 |
$as_echo_n "checking for --with-var-prefix... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3512 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3513 |
# Check whether --with-var-prefix was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3514 |
if test "${with_var_prefix+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3515 |
withval=$with_var_prefix; |
3516 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3517 |
|
3518 |
case "$with_var_prefix" in |
|
3519 |
yes) VAR_PREFIX="$default_var_prefix"; ans=$VAR_PREFIX;; |
|
3520 |
""|no) VAR_PREFIX="$prefix"; ans="no";; |
|
3521 |
*) VAR_PREFIX="$with_var_prefix"; ans=$VAR_PREFIX; |
|
3522 |
esac
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3523 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3524 |
$as_echo "$ans" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3525 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3526 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-permcheck" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3527 |
$as_echo_n "checking for --with-permcheck... " >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3528 |
|
3529 |
# Check whether --with-permcheck was given.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3530 |
if test "${with_permcheck+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3531 |
withval=$with_permcheck; |
3532 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3533 |
|
3534 |
if test -z "$with_permcheck" |
|
3535 |
then
|
|
3536 |
with_permcheck="yes" |
|
3537 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_permcheck" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3539 |
$as_echo "$with_permcheck" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3540 |
# Now make sure that $prefix is set up correctly. It must be group
|
3541 |
# owned by the target group, it must have the group sticky bit set, and
|
|
3542 |
# it must be a+rx
|
|
3543 |
if test "$VAR_PREFIX" = "NONE" |
|
3544 |
then
|
|
3545 |
VAR_PREFIX=$ac_default_prefix |
|
3546 |
prefixcheck=$ac_default_prefix |
|
3547 |
else
|
|
3548 |
prefixcheck=$VAR_PREFIX |
|
3549 |
fi
|
|
3550 |
||
3551 |
# new macro for finding group names
|
|
3552 |
||
3553 |
||
3554 |
||
3555 |
# new macro for finding UIDs
|
|
3556 |
||
3557 |
||
3558 |
# Check for some other uid to use than `mailman'
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3559 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-username" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3560 |
$as_echo_n "checking for --with-username... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3561 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3562 |
# Check whether --with-username was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3563 |
if test "${with_username+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3564 |
withval=$with_username; |
3565 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3566 |
|
3567 |
||
3568 |
if test -z "$with_username" |
|
3569 |
then
|
|
3570 |
with_username="mailman" |
|
3571 |
fi
|
|
3572 |
USERNAME=$with_username |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USERNAME" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3574 |
$as_echo "$USERNAME" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3575 |
|
3576 |
# User `mailman' must exist
|
|
3577 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for user name \"$USERNAME\"" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3579 |
$as_echo_n "checking for user name \"$USERNAME\"... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3580 |
|
3581 |
# MAILMAN_USER == variable name
|
|
3582 |
# $USERNAME == user id to check for
|
|
3583 |
||
3584 |
||
3585 |
if test -z "$MAILMAN_USER" |
|
3586 |
then
|
|
3587 |
cat > conftest.py <<EOF
|
|
3588 |
import pwd
|
|
3589 |
uid = ''
|
|
3590 |
for user in "$USERNAME".split():
|
|
3591 |
try:
|
|
3592 |
try:
|
|
3593 |
uname = pwd.getpwuid(int(user))[0]
|
|
3594 |
break
|
|
3595 |
except ValueError:
|
|
3596 |
uname = pwd.getpwnam(user)[0]
|
|
3597 |
break
|
|
3598 |
except KeyError:
|
|
3599 |
uname = ''
|
|
3600 |
fp = open("conftest.out", "w")
|
|
3601 |
fp.write("%s\n" % uname)
|
|
3602 |
fp.close()
|
|
3603 |
EOF
|
|
3604 |
$PYTHON conftest.py
|
|
3605 |
MAILMAN_USER=`cat conftest.out` |
|
3606 |
fi
|
|
3607 |
||
3608 |
rm -f conftest.out conftest.py |
|
3609 |
if test -z "$MAILMAN_USER" |
|
3610 |
then
|
|
3611 |
if test "$with_permcheck" = "yes" |
|
3612 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3613 |
as_fn_error $? " |
3614 |
***** No \"$USERNAME\" user found! |
|
3615 |
***** Your system must have a \"$USERNAME\" user defined |
|
3616 |
***** (usually in your /etc/passwd file). Please see the INSTALL
|
|
3617 |
***** file for details." "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3618 |
fi
|
3619 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3621 |
$as_echo "okay" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3622 |
|
3623 |
||
3624 |
# Check for some other gid to use than `mailman'
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-groupname" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3626 |
$as_echo_n "checking for --with-groupname... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3627 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3628 |
# Check whether --with-groupname was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3629 |
if test "${with_groupname+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3630 |
withval=$with_groupname; |
3631 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3632 |
|
3633 |
||
3634 |
if test -z "$with_groupname" |
|
3635 |
then
|
|
3636 |
with_groupname="mailman" |
|
3637 |
fi
|
|
3638 |
GROUPNAME=$with_groupname |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROUPNAME" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3640 |
$as_echo "$GROUPNAME" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3641 |
|
3642 |
||
3643 |
# Target group must exist
|
|
3644 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3645 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for group name \"$GROUPNAME\"" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3646 |
$as_echo_n "checking for group name \"$GROUPNAME\"... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3647 |
|
3648 |
# MAILMAN_GROUP == variable name
|
|
3649 |
# $GROUPNAME == user id to check for
|
|
3650 |
||
3651 |
||
3652 |
if test -z "$MAILMAN_GROUP" |
|
3653 |
then
|
|
3654 |
cat > conftest.py <<EOF
|
|
3655 |
import grp
|
|
3656 |
gid = ''
|
|
3657 |
for group in "$GROUPNAME".split():
|
|
3658 |
try:
|
|
3659 |
try:
|
|
3660 |
gname = grp.getgrgid(int(group))[0]
|
|
3661 |
break
|
|
3662 |
except ValueError:
|
|
3663 |
gname = grp.getgrnam(group)[0]
|
|
3664 |
break
|
|
3665 |
except KeyError:
|
|
3666 |
gname = ''
|
|
3667 |
fp = open("conftest.out", "w")
|
|
3668 |
fp.write("%s\n" % gname)
|
|
3669 |
fp.close()
|
|
3670 |
EOF
|
|
3671 |
$PYTHON conftest.py
|
|
3672 |
MAILMAN_GROUP=`cat conftest.out` |
|
3673 |
fi
|
|
3674 |
||
3675 |
rm -f conftest.out conftest.py |
|
3676 |
if test -z "$MAILMAN_GROUP" |
|
3677 |
then
|
|
3678 |
if test "$with_permcheck" = "yes" |
|
3679 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3680 |
as_fn_error $? " |
3681 |
***** No \"$GROUPNAME\" group found! |
|
3682 |
***** Your system must have a \"$GROUPNAME\" group defined |
|
3683 |
***** (usually in your /etc/group file). Please see the INSTALL
|
|
3684 |
***** file for details." "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3685 |
fi
|
3686 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3687 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3688 |
$as_echo "okay" >&6; } |
3689 |
||
3690 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3691 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking permissions on $prefixcheck" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3692 |
$as_echo_n "checking permissions on $prefixcheck... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3693 |
|
3694 |
cat > conftest.py <<EOF
|
|
3695 |
import os, grp
|
|
3696 |
from stat import *
|
|
3697 |
prefix = "$prefixcheck"
|
|
3698 |
groupname = "$GROUPNAME"
|
|
3699 |
mailmangroup = "$MAILMAN_GROUP"
|
|
49
by bwarsaw
Backport from the trunk, and catalog regeneration. |
3700 |
try:
|
3701 |
mailmangid = grp.getgrnam(mailmangroup)[2]
|
|
3702 |
except KeyError:
|
|
3703 |
mailmangid = -1
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3704 |
problems = []
|
3705 |
try: statdata = os.stat(prefix)
|
|
3706 |
except OSError:
|
|
3707 |
problems.append("Directory doesn't exist: " + prefix)
|
|
3708 |
else:
|
|
3709 |
mode = statdata[ST_MODE]
|
|
3710 |
gid = statdata[ST_GID]
|
|
3711 |
if mailmangid <> gid:
|
|
3712 |
problems.append("Directory must be owned by group " +
|
|
3713 |
groupname + ": " + prefix)
|
|
3714 |
if (mode & S_ISGID) <> S_ISGID:
|
|
3715 |
problems.append("Set-gid bit must be set for directory: " + prefix)
|
|
3716 |
perms = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH
|
|
3717 |
if (mode & perms) <> perms:
|
|
3718 |
problems.append("Permissions should be at least 02775: " + prefix)
|
|
3719 |
if not problems:
|
|
3720 |
msg = "okay\n"
|
|
3721 |
else:
|
|
3722 |
msg = '***** ' + '\n***** '.join(problems) + '\n'
|
|
3723 |
fp = open("conftest.out", "w")
|
|
3724 |
fp.write(msg)
|
|
3725 |
fp.close()
|
|
3726 |
EOF
|
|
3727 |
||
3728 |
$PYTHON conftest.py
|
|
3729 |
status=`cat conftest.out` |
|
3730 |
rm -f conftest.out conftest.py |
|
3731 |
if test "$with_permcheck" = "yes" |
|
3732 |
then
|
|
3733 |
if test "$status" != "okay" |
|
3734 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3735 |
as_fn_error $? " |
3736 |
***** Installation directory $prefixcheck is not configured properly! |
|
3737 |
$status" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3738 |
fi
|
3739 |
else
|
|
3740 |
status="skipped" |
|
3741 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $status" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3743 |
$as_echo "$status" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3744 |
|
3745 |
||
3746 |
# Now find the UIDs and GIDs
|
|
3747 |
# Support --with-mail-gid and --with-cgi-gid
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail wrapper group; i.e. --with-mail-gid" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3749 |
$as_echo_n "checking for mail wrapper group; i.e. --with-mail-gid... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3750 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3751 |
# Check whether --with-mail-gid was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3752 |
if test "${with_mail_gid+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3753 |
withval=$with_mail_gid; |
3754 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3755 |
|
3756 |
if test -z "$with_mail_gid" |
|
3757 |
then
|
|
3758 |
with_mail_gid="mailman other mail daemon" |
|
3759 |
fi
|
|
3760 |
||
3761 |
# MAIL_GROUP == variable name
|
|
3762 |
# $with_mail_gid == user id to check for
|
|
3763 |
||
3764 |
||
3765 |
if test -z "$MAIL_GROUP" |
|
3766 |
then
|
|
3767 |
cat > conftest.py <<EOF
|
|
3768 |
import grp
|
|
3769 |
gid = ''
|
|
3770 |
for group in "$with_mail_gid".split():
|
|
3771 |
try:
|
|
3772 |
try:
|
|
3773 |
gname = grp.getgrgid(int(group))[0]
|
|
3774 |
break
|
|
3775 |
except ValueError:
|
|
3776 |
gname = grp.getgrnam(group)[0]
|
|
3777 |
break
|
|
3778 |
except KeyError:
|
|
3779 |
gname = ''
|
|
3780 |
fp = open("conftest.out", "w")
|
|
3781 |
fp.write("%s\n" % gname)
|
|
3782 |
fp.close()
|
|
3783 |
EOF
|
|
3784 |
$PYTHON conftest.py
|
|
3785 |
MAIL_GROUP=`cat conftest.out` |
|
3786 |
fi
|
|
3787 |
||
3788 |
rm -f conftest.out conftest.py |
|
3789 |
if test -z "$MAIL_GROUP" |
|
3790 |
then
|
|
3791 |
if test "$with_permcheck" = "yes" |
|
3792 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3793 |
as_fn_error $? " |
3794 |
***** No group name \"$with_mail_gid\" found for the mail wrapper program. |
|
3795 |
***** This is the group that your mail server will use to run Mailman's
|
|
3796 |
***** programs. You should specify an existing group with the
|
|
3797 |
***** --with-mail-gid configure option, or use --without-permcheck to
|
|
3798 |
***** skip this verification step. See also your mail server's documentation,
|
|
3799 |
***** and Mailman's INSTALL file for details" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3800 |
else
|
3801 |
MAIL_GROUP=$with_mail_gid |
|
3802 |
fi
|
|
3803 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAIL_GROUP" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3805 |
$as_echo "$MAIL_GROUP" >&6; } |
3806 |
||
3807 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CGI wrapper group; i.e. --with-cgi-gid" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3809 |
$as_echo_n "checking for CGI wrapper group; i.e. --with-cgi-gid... " >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3810 |
|
3811 |
# Check whether --with-cgi-gid was given.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3812 |
if test "${with_cgi_gid+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3813 |
withval=$with_cgi_gid; |
3814 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3815 |
|
3816 |
if test -z "$with_cgi_gid" |
|
3817 |
then
|
|
3818 |
with_cgi_gid="www www-data nobody" |
|
3819 |
fi
|
|
3820 |
||
3821 |
||
3822 |
# CGI_GROUP == variable name
|
|
3823 |
# $with_cgi_gid == user id to check for
|
|
3824 |
||
3825 |
||
3826 |
if test -z "$CGI_GROUP" |
|
3827 |
then
|
|
3828 |
cat > conftest.py <<EOF
|
|
3829 |
import grp
|
|
3830 |
gid = ''
|
|
3831 |
for group in "$with_cgi_gid".split():
|
|
3832 |
try:
|
|
3833 |
try:
|
|
3834 |
gname = grp.getgrgid(int(group))[0]
|
|
3835 |
break
|
|
3836 |
except ValueError:
|
|
3837 |
gname = grp.getgrnam(group)[0]
|
|
3838 |
break
|
|
3839 |
except KeyError:
|
|
3840 |
gname = ''
|
|
3841 |
fp = open("conftest.out", "w")
|
|
3842 |
fp.write("%s\n" % gname)
|
|
3843 |
fp.close()
|
|
3844 |
EOF
|
|
3845 |
$PYTHON conftest.py
|
|
3846 |
CGI_GROUP=`cat conftest.out` |
|
3847 |
fi
|
|
3848 |
||
3849 |
rm -f conftest.out conftest.py |
|
3850 |
if test -z "$CGI_GROUP" |
|
3851 |
then
|
|
3852 |
if test "$with_permcheck" = "yes" |
|
3853 |
then
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3854 |
as_fn_error $? " |
3855 |
***** No group name \"$with_cgi_gid\" found for the CGI wrapper program. |
|
3856 |
***** This is the group that your web server will use to run Mailman's
|
|
3857 |
***** programs. You should specify an existing group with the
|
|
3858 |
***** --with-cgi-gid configure option, or use --without-permcheck to
|
|
3859 |
***** skip this verification step. See also your web server's documentation,
|
|
3860 |
***** and Mailman's INSTALL file for details" "$LINENO" 5 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3861 |
else
|
3862 |
CGI_GROUP=$with_cgi_gid |
|
3863 |
fi
|
|
3864 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CGI_GROUP" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3866 |
$as_echo "$CGI_GROUP" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3867 |
|
3868 |
||
3869 |
# Check for CGI extensions, required by some Web servers
|
|
3870 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3871 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CGI extensions" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3872 |
$as_echo_n "checking for CGI extensions... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3873 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3874 |
# Check whether --with-cgi-ext was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3875 |
if test "${with_cgi_ext+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3876 |
withval=$with_cgi_ext; |
3877 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3878 |
|
3879 |
if test -z "$with_cgi_ext" |
|
3880 |
then
|
|
3881 |
CGIEXT='' |
|
3882 |
with_cgi_ext='no' |
|
3883 |
else
|
|
3884 |
CGIEXT=$with_cgi_ext |
|
3885 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3886 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cgi_ext" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3887 |
$as_echo "$with_cgi_ext" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3888 |
|
3889 |
||
3890 |
# figure out the default mail hostname and url host component
|
|
3891 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-mailhost" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3893 |
$as_echo_n "checking for --with-mailhost... " >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3894 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3895 |
# Check whether --with-mailhost was given.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3896 |
if test "${with_mailhost+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3897 |
withval=$with_mailhost; |
3898 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3899 |
|
3900 |
if test -z "$with_mailhost" |
|
3901 |
then
|
|
3902 |
MAILHOST='' |
|
3903 |
with_mailhost='no' |
|
3904 |
else
|
|
3905 |
MAILHOST=$with_mailhost |
|
3906 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mailhost" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3908 |
$as_echo "$with_mailhost" >&6; } |
3909 |
||
3910 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3911 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-urlhost" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3912 |
$as_echo_n "checking for --with-urlhost... " >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3913 |
|
3914 |
# Check whether --with-urlhost was given.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3915 |
if test "${with_urlhost+set}" = set; then : |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3916 |
withval=$with_urlhost; |
3917 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3918 |
|
3919 |
if test -z "$with_urlhost" |
|
3920 |
then
|
|
3921 |
URLHOST='' |
|
3922 |
with_urlhost='no' |
|
3923 |
else
|
|
3924 |
URLHOST=$with_urlhost |
|
3925 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_urlhost" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3927 |
$as_echo "$with_urlhost" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
3928 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3929 |
|
3930 |
||
3931 |
cat > conftest.py <<EOF
|
|
3932 |
# python
|
|
3933 |
from socket import *
|
|
3934 |
fqdn = getfqdn()
|
|
3935 |
fp = open('conftest.out', 'w')
|
|
3936 |
print >> fp, fqdn
|
|
3937 |
print >> fp, fqdn
|
|
3938 |
fp.close()
|
|
3939 |
EOF
|
|
3940 |
$PYTHON conftest.py
|
|
3941 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
3942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default mail host name" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3943 |
$as_echo_n "checking for default mail host name... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3944 |
if test -z "$MAILHOST" |
3945 |
then
|
|
3946 |
MAILHOST=`sed q conftest.out` |
|
3947 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAILHOST" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3949 |
$as_echo "$MAILHOST" >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default URL host component" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3951 |
$as_echo_n "checking for default URL host component... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3952 |
if test -z "$URLHOST" |
3953 |
then
|
|
3954 |
URLHOST=`sed -n '$p' conftest.out` |
|
3955 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $URLHOST" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3957 |
$as_echo "$URLHOST" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3958 |
rm -f conftest.out conftest.py |
3959 |
||
3960 |
# Checks for libraries.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3961 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
3962 |
for ac_func in strerror setregid syslog
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3963 |
do :
|
3964 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
3965 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
3966 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3967 |
cat >>confdefs.h <<_ACEOF
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3968 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3969 |
_ACEOF
|
3970 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
3971 |
fi
|
3972 |
done
|
|
3973 |
||
3974 |
if test $ac_cv_func_syslog = no; then |
|
3975 |
# syslog is not in the default libraries. See if it's in some other.
|
|
3976 |
# Additionally, for at least SCO OpenServer, syslog() is #defined to
|
|
3977 |
# one of several _real_ functions in syslog.h, so we need to do the test
|
|
3978 |
# with the appropriate include.
|
|
3979 |
for lib in bsd socket inet; do |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -l$lib" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3981 |
$as_echo_n "checking for syslog in -l$lib... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
3982 |
Mailman_LIBS_save="$LIBS"; LIBS="$LIBS -l$lib" |
1469
by Mark Sapiro
Made configure check for dnspython. |
3983 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3984 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
3985 |
#include <syslog.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3986 |
int
|
3987 |
main ()
|
|
3988 |
{
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
3989 |
syslog(LOG_DEBUG, "Just a test...");
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
3990 |
;
|
3991 |
return 0;
|
|
3992 |
}
|
|
3993 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
3994 |
if ac_fn_c_try_link "$LINENO"; then : |
3995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
3996 |
$as_echo "yes" >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
3997 |
$as_echo "#define HAVE_SYSLOG 1" >>confdefs.h |
1
by
This commit was manufactured by cvs2svn to create branch |
3998 |
|
3999 |
break
|
|
4000 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4001 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4002 |
$as_echo "no" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
4003 |
LIBS="$Mailman_LIBS_save" |
4004 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4005 |
rm -f core conftest.err conftest.$ac_objext \ |
4006 |
conftest$ac_exeext conftest.$ac_ext |
|
1
by
This commit was manufactured by cvs2svn to create branch |
4007 |
unset Mailman_LIBS_save
|
4008 |
done
|
|
4009 |
fi
|
|
4010 |
||
4011 |
# Checks for header files.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4012 |
ac_ext=c |
4013 |
ac_cpp='$CPP $CPPFLAGS' |
|
4014 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4015 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4016 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4018 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
4019 |
# On Suns, sometimes $CPP names a directory.
|
4020 |
if test -n "$CPP" && test -d "$CPP"; then |
|
4021 |
CPP= |
|
4022 |
fi
|
|
4023 |
if test -z "$CPP"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4024 |
if ${ac_cv_prog_CPP+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4025 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4026 |
else
|
4027 |
# Double quotes because CPP needs to be expanded
|
|
4028 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4029 |
do
|
|
4030 |
ac_preproc_ok=false |
|
4031 |
for ac_c_preproc_warn_flag in '' yes |
|
4032 |
do
|
|
4033 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4034 |
# with a fresh cross-compiler works.
|
|
4035 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4036 |
# <limits.h> exists even on freestanding compilers.
|
|
4037 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4038 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4039 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4040 |
/* end confdefs.h. */
|
4041 |
#ifdef __STDC__
|
|
4042 |
# include <limits.h>
|
|
4043 |
#else
|
|
4044 |
# include <assert.h>
|
|
4045 |
#endif
|
|
4046 |
Syntax error
|
|
4047 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4048 |
if ac_fn_c_try_cpp "$LINENO"; then : |
4049 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4050 |
else
|
4051 |
# Broken: fails on valid input.
|
|
4052 |
continue
|
|
4053 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4054 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4055 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4056 |
# OK, works on sane cases. Now check whether nonexistent headers
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4057 |
# can be detected and how.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4058 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4059 |
/* end confdefs.h. */
|
4060 |
#include <ac_nonexistent.h>
|
|
4061 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4062 |
if ac_fn_c_try_cpp "$LINENO"; then : |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4063 |
# Broken: success on invalid input.
|
4064 |
continue
|
|
4065 |
else
|
|
4066 |
# Passes both tests.
|
|
4067 |
ac_preproc_ok=: |
|
4068 |
break
|
|
4069 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4070 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4071 |
|
4072 |
done
|
|
4073 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4074 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
4075 |
if $ac_preproc_ok; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4076 |
break
|
4077 |
fi
|
|
4078 |
||
4079 |
done
|
|
4080 |
ac_cv_prog_CPP=$CPP |
|
4081 |
||
4082 |
fi
|
|
4083 |
CPP=$ac_cv_prog_CPP |
|
4084 |
else
|
|
4085 |
ac_cv_prog_CPP=$CPP |
|
4086 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4088 |
$as_echo "$CPP" >&6; } |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4089 |
ac_preproc_ok=false |
4090 |
for ac_c_preproc_warn_flag in '' yes |
|
4091 |
do
|
|
4092 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4093 |
# with a fresh cross-compiler works.
|
|
4094 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4095 |
# <limits.h> exists even on freestanding compilers.
|
|
4096 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4097 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4098 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4099 |
/* end confdefs.h. */
|
4100 |
#ifdef __STDC__
|
|
4101 |
# include <limits.h>
|
|
4102 |
#else
|
|
4103 |
# include <assert.h>
|
|
4104 |
#endif
|
|
4105 |
Syntax error
|
|
4106 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4107 |
if ac_fn_c_try_cpp "$LINENO"; then : |
4108 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4109 |
else
|
4110 |
# Broken: fails on valid input.
|
|
4111 |
continue
|
|
4112 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4113 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4114 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4115 |
# OK, works on sane cases. Now check whether nonexistent headers
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4116 |
# can be detected and how.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4117 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4118 |
/* end confdefs.h. */
|
4119 |
#include <ac_nonexistent.h>
|
|
4120 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4121 |
if ac_fn_c_try_cpp "$LINENO"; then : |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4122 |
# Broken: success on invalid input.
|
4123 |
continue
|
|
4124 |
else
|
|
4125 |
# Passes both tests.
|
|
4126 |
ac_preproc_ok=: |
|
4127 |
break
|
|
4128 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4129 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4130 |
|
4131 |
done
|
|
4132 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4133 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
4134 |
if $ac_preproc_ok; then : |
|
4135 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4136 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4137 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4138 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
4139 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4140 |
See \`config.log' for more details" "$LINENO" 5; } |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4141 |
fi
|
4142 |
||
4143 |
ac_ext=c |
|
4144 |
ac_cpp='$CPP $CPPFLAGS' |
|
4145 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4146 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4147 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4148 |
||
4149 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4151 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
4152 |
if ${ac_cv_path_GREP+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4153 |
$as_echo_n "(cached) " >&6 |
4154 |
else
|
|
4155 |
if test -z "$GREP"; then |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4156 |
ac_path_GREP_found=false |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4157 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4158 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4159 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4160 |
do
|
|
4161 |
IFS=$as_save_IFS |
|
4162 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4163 |
for ac_prog in grep ggrep; do |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4164 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4165 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4166 |
as_fn_executable_p "$ac_path_GREP" || continue |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4167 |
# Check for GNU ac_path_GREP and select it if it is found.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4168 |
# Check for GNU $ac_path_GREP
|
4169 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4170 |
*GNU*)
|
|
4171 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4172 |
*)
|
|
4173 |
ac_count=0 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4174 |
$as_echo_n 0123456789 >"conftest.in" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4175 |
while :
|
4176 |
do
|
|
4177 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4178 |
mv "conftest.tmp" "conftest.in" |
|
4179 |
cp "conftest.in" "conftest.nl" |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4180 |
$as_echo 'GREP' >> "conftest.nl" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4181 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4182 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4183 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4184 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4185 |
# Best one so far, save it but keep looking for a better one
|
|
4186 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4187 |
ac_path_GREP_max=$ac_count |
|
4188 |
fi
|
|
4189 |
# 10*(2^10) chars as input seems more than enough
|
|
4190 |
test $ac_count -gt 10 && break |
|
4191 |
done
|
|
4192 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4193 |
esac
|
|
4194 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4195 |
$ac_path_GREP_found && break 3 |
4196 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4197 |
done
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4198 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4199 |
IFS=$as_save_IFS |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4200 |
if test -z "$ac_cv_path_GREP"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
4201 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4202 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4203 |
else
|
4204 |
ac_cv_path_GREP=$GREP |
|
4205 |
fi
|
|
4206 |
||
4207 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4209 |
$as_echo "$ac_cv_path_GREP" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4210 |
GREP="$ac_cv_path_GREP" |
4211 |
||
4212 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4214 |
$as_echo_n "checking for egrep... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
4215 |
if ${ac_cv_path_EGREP+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4216 |
$as_echo_n "(cached) " >&6 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4217 |
else
|
4218 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4219 |
then ac_cv_path_EGREP="$GREP -E" |
|
4220 |
else
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4221 |
if test -z "$EGREP"; then |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4222 |
ac_path_EGREP_found=false |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4223 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4224 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4225 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4226 |
do
|
|
4227 |
IFS=$as_save_IFS |
|
4228 |
test -z "$as_dir" && as_dir=. |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4229 |
for ac_prog in egrep; do |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4230 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4231 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4232 |
as_fn_executable_p "$ac_path_EGREP" || continue |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4233 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4234 |
# Check for GNU $ac_path_EGREP
|
4235 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4236 |
*GNU*)
|
|
4237 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4238 |
*)
|
|
4239 |
ac_count=0 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4240 |
$as_echo_n 0123456789 >"conftest.in" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4241 |
while :
|
4242 |
do
|
|
4243 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4244 |
mv "conftest.tmp" "conftest.in" |
|
4245 |
cp "conftest.in" "conftest.nl" |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4246 |
$as_echo 'EGREP' >> "conftest.nl" |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4247 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4248 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4249 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4250 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4251 |
# Best one so far, save it but keep looking for a better one
|
|
4252 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4253 |
ac_path_EGREP_max=$ac_count |
|
4254 |
fi
|
|
4255 |
# 10*(2^10) chars as input seems more than enough
|
|
4256 |
test $ac_count -gt 10 && break |
|
4257 |
done
|
|
4258 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4259 |
esac
|
|
4260 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4261 |
$ac_path_EGREP_found && break 3 |
4262 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4263 |
done
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4264 |
done
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4265 |
IFS=$as_save_IFS |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4266 |
if test -z "$ac_cv_path_EGREP"; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
4267 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4268 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4269 |
else
|
4270 |
ac_cv_path_EGREP=$EGREP |
|
4271 |
fi
|
|
4272 |
||
4273 |
fi
|
|
4274 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4276 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4277 |
EGREP="$ac_cv_path_EGREP" |
4278 |
||
4279 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4281 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
4282 |
if ${ac_cv_header_stdc+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4283 |
$as_echo_n "(cached) " >&6 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4284 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4285 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4286 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4287 |
#include <stdlib.h>
|
4288 |
#include <stdarg.h>
|
|
4289 |
#include <string.h>
|
|
4290 |
#include <float.h>
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4291 |
|
4292 |
int
|
|
4293 |
main ()
|
|
4294 |
{
|
|
4295 |
||
4296 |
;
|
|
4297 |
return 0;
|
|
4298 |
}
|
|
4299 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4300 |
if ac_fn_c_try_compile "$LINENO"; then : |
1
by
This commit was manufactured by cvs2svn to create branch |
4301 |
ac_cv_header_stdc=yes |
4302 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4303 |
ac_cv_header_stdc=no |
1
by
This commit was manufactured by cvs2svn to create branch |
4304 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4305 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1
by
This commit was manufactured by cvs2svn to create branch |
4306 |
|
4307 |
if test $ac_cv_header_stdc = yes; then |
|
4308 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4309 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4310 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4311 |
#include <string.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4312 |
|
4313 |
_ACEOF
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4314 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1469
by Mark Sapiro
Made configure check for dnspython. |
4315 |
$EGREP "memchr" >/dev/null 2>&1; then : |
4316 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4317 |
else
|
4318 |
ac_cv_header_stdc=no |
|
4319 |
fi
|
|
4320 |
rm -f conftest* |
|
4321 |
||
4322 |
fi
|
|
4323 |
||
4324 |
if test $ac_cv_header_stdc = yes; then |
|
4325 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4326 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4327 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4328 |
#include <stdlib.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4329 |
|
4330 |
_ACEOF
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4331 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1469
by Mark Sapiro
Made configure check for dnspython. |
4332 |
$EGREP "free" >/dev/null 2>&1; then : |
4333 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4334 |
else
|
4335 |
ac_cv_header_stdc=no |
|
4336 |
fi
|
|
4337 |
rm -f conftest* |
|
4338 |
||
4339 |
fi
|
|
4340 |
||
4341 |
if test $ac_cv_header_stdc = yes; then |
|
4342 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4343 |
if test "$cross_compiling" = yes; then : |
1
by
This commit was manufactured by cvs2svn to create branch |
4344 |
: |
4345 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4346 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4347 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4348 |
#include <ctype.h>
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4349 |
#include <stdlib.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4350 |
#if ((' ' & 0x0FF) == 0x020)
|
4351 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4352 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4353 |
#else
|
|
4354 |
# define ISLOWER(c) \
|
|
4355 |
(('a' <= (c) && (c) <= 'i') \
|
|
4356 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
4357 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
4358 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4359 |
#endif
|
|
4360 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4361 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4362 |
int
|
4363 |
main ()
|
|
4364 |
{
|
|
4365 |
int i;
|
|
4366 |
for (i = 0; i < 256; i++)
|
|
4367 |
if (XOR (islower (i), ISLOWER (i))
|
|
4368 |
|| toupper (i) != TOUPPER (i))
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4369 |
return 2;
|
4370 |
return 0;
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4371 |
}
|
4372 |
_ACEOF
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4373 |
if ac_fn_c_try_run "$LINENO"; then : |
4374 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4375 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4376 |
ac_cv_header_stdc=no |
4377 |
fi
|
|
4378 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4379 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4380 |
fi
|
|
4381 |
||
4382 |
fi
|
|
4383 |
fi
|
|
4384 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4385 |
$as_echo "$ac_cv_header_stdc" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
4386 |
if test $ac_cv_header_stdc = yes; then |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4387 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4388 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4389 |
|
4390 |
fi
|
|
4391 |
||
4392 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4393 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4394 |
inttypes.h stdint.h unistd.h |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4395 |
do :
|
4396 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4397 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4398 |
"
|
|
4399 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4400 |
cat >>confdefs.h <<_ACEOF
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4401 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4402 |
_ACEOF
|
4403 |
||
4404 |
fi
|
|
4405 |
||
4406 |
done
|
|
4407 |
||
4408 |
||
4409 |
for ac_header in syslog.h
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4410 |
do :
|
4411 |
ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" |
|
4412 |
if test "x$ac_cv_header_syslog_h" = xyes; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4413 |
cat >>confdefs.h <<_ACEOF
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4414 |
#define HAVE_SYSLOG_H 1
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4415 |
_ACEOF
|
4416 |
||
4417 |
fi
|
|
4418 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4419 |
done
|
4420 |
||
4421 |
||
4422 |
# Checks for typedefs, structures, and compiler characteristics.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4424 |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
4425 |
if ${ac_cv_type_uid_t+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4426 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
4427 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4428 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4429 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4430 |
#include <sys/types.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4431 |
|
4432 |
_ACEOF
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4433 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1469
by Mark Sapiro
Made configure check for dnspython. |
4434 |
$EGREP "uid_t" >/dev/null 2>&1; then : |
1
by
This commit was manufactured by cvs2svn to create branch |
4435 |
ac_cv_type_uid_t=yes |
4436 |
else
|
|
4437 |
ac_cv_type_uid_t=no |
|
4438 |
fi
|
|
4439 |
rm -f conftest* |
|
4440 |
||
4441 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4443 |
$as_echo "$ac_cv_type_uid_t" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
4444 |
if test $ac_cv_type_uid_t = no; then |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4445 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4446 |
$as_echo "#define uid_t int" >>confdefs.h |
4447 |
||
4448 |
||
4449 |
$as_echo "#define gid_t int" >>confdefs.h |
|
1
by
This commit was manufactured by cvs2svn to create branch |
4450 |
|
4451 |
fi
|
|
4452 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4454 |
$as_echo_n "checking type of array argument to getgroups... " >&6; } |
1469
by Mark Sapiro
Made configure check for dnspython. |
4455 |
if ${ac_cv_type_getgroups+:} false; then : |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4456 |
$as_echo_n "(cached) " >&6 |
1
by
This commit was manufactured by cvs2svn to create branch |
4457 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4458 |
if test "$cross_compiling" = yes; then : |
1
by
This commit was manufactured by cvs2svn to create branch |
4459 |
ac_cv_type_getgroups=cross |
4460 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4461 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4462 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4463 |
/* Thanks to Mike Rendell for this test. */
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4464 |
$ac_includes_default
|
1
by
This commit was manufactured by cvs2svn to create branch |
4465 |
#define NGID 256
|
4466 |
#undef MAX
|
|
4467 |
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4468 |
|
4469 |
int
|
|
4470 |
main ()
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4471 |
{
|
4472 |
gid_t gidset[NGID];
|
|
4473 |
int i, n;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4474 |
union { gid_t gval; long int lval; } val;
|
1
by
This commit was manufactured by cvs2svn to create branch |
4475 |
|
4476 |
val.lval = -1;
|
|
4477 |
for (i = 0; i < NGID; i++)
|
|
4478 |
gidset[i] = val.gval;
|
|
4479 |
n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4480 |
gidset);
|
1
by
This commit was manufactured by cvs2svn to create branch |
4481 |
/* Exit non-zero if getgroups seems to require an array of ints. This
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4482 |
happens when gid_t is short int but getgroups modifies an array
|
4483 |
of ints. */
|
|
4484 |
return n > 0 && gidset[n] != val.gval;
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4485 |
}
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4486 |
_ACEOF
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4487 |
if ac_fn_c_try_run "$LINENO"; then : |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4488 |
ac_cv_type_getgroups=gid_t |
1
by
This commit was manufactured by cvs2svn to create branch |
4489 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4490 |
ac_cv_type_getgroups=int |
4491 |
fi
|
|
4492 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4493 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4494 |
fi
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4495 |
|
1
by
This commit was manufactured by cvs2svn to create branch |
4496 |
if test $ac_cv_type_getgroups = cross; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
4497 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4498 |
/* end confdefs.h. */
|
1
by
This commit was manufactured by cvs2svn to create branch |
4499 |
#include <unistd.h>
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4500 |
|
4501 |
_ACEOF
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4502 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1469
by Mark Sapiro
Made configure check for dnspython. |
4503 |
$EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then : |
1
by
This commit was manufactured by cvs2svn to create branch |
4504 |
ac_cv_type_getgroups=gid_t |
4505 |
else
|
|
4506 |
ac_cv_type_getgroups=int |
|
4507 |
fi
|
|
4508 |
rm -f conftest* |
|
4509 |
||
4510 |
fi
|
|
4511 |
fi
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4513 |
$as_echo "$ac_cv_type_getgroups" >&6; } |
1
by
This commit was manufactured by cvs2svn to create branch |
4514 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4515 |
cat >>confdefs.h <<_ACEOF
|
1
by
This commit was manufactured by cvs2svn to create branch |
4516 |
#define GETGROUPS_T $ac_cv_type_getgroups
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4517 |
_ACEOF
|
1
by
This commit was manufactured by cvs2svn to create branch |
4518 |
|
4519 |
||
4520 |
||
4521 |
# Checks for library functions.
|
|
4522 |
for ac_func in vsnprintf
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4523 |
do :
|
4524 |
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" |
|
4525 |
if test "x$ac_cv_func_vsnprintf" = xyes; then : |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4526 |
cat >>confdefs.h <<_ACEOF
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4527 |
#define HAVE_VSNPRINTF 1
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4528 |
_ACEOF
|
4529 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4530 |
fi
|
4531 |
done
|
|
4532 |
||
4533 |
||
4534 |
||
4535 |
||
4536 |
||
4537 |
||
4538 |
||
4539 |
SCRIPTS="build/bin/add_members:bin/add_members \ |
|
4540 |
build/bin/arch:bin/arch \
|
|
4541 |
build/bin/change_pw:bin/change_pw \
|
|
4542 |
build/bin/check_db:bin/check_db \
|
|
4543 |
build/bin/check_perms:bin/check_perms \
|
|
4544 |
build/bin/cleanarch:bin/cleanarch \
|
|
4545 |
build/bin/clone_member:bin/clone_member \
|
|
4546 |
build/bin/config_list:bin/config_list \
|
|
4547 |
build/bin/convert.py:bin/convert.py \
|
|
89
by bwarsaw
Backporting from the HEAD -- top level files |
4548 |
build/bin/discard:bin/discard \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4549 |
build/bin/dumpdb:bin/dumpdb \
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4550 |
build/bin/export.py:bin/export.py \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4551 |
build/bin/find_member:bin/find_member \
|
4552 |
build/bin/fix_url.py:bin/fix_url.py \
|
|
4553 |
build/bin/genaliases:bin/genaliases \
|
|
4554 |
build/bin/inject:bin/inject \
|
|
4555 |
build/bin/list_admins:bin/list_admins \
|
|
4556 |
build/bin/list_lists:bin/list_lists \
|
|
4557 |
build/bin/list_members:bin/list_members \
|
|
4558 |
build/bin/list_owners:bin/list_owners \
|
|
4559 |
build/bin/mailmanctl:bin/mailmanctl \
|
|
4560 |
build/bin/mmsitepass:bin/mmsitepass \
|
|
61
by bwarsaw
Backporting once again from the trunk. |
4561 |
build/bin/msgfmt.py:bin/msgfmt.py \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4562 |
build/bin/newlist:bin/newlist \
|
4563 |
build/bin/pygettext.py:bin/pygettext.py \
|
|
4564 |
build/bin/qrunner:bin/qrunner \
|
|
4565 |
build/bin/remove_members:bin/remove_members \
|
|
569
by bwarsaw
Renamed reset_pw to reset_pw.py so that the file looks like a Python module. |
4566 |
build/bin/reset_pw.py:bin/reset_pw.py \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4567 |
build/bin/rmlist:bin/rmlist \
|
89
by bwarsaw
Backporting from the HEAD -- top level files |
4568 |
build/bin/show_qfiles:bin/show_qfiles \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4569 |
build/bin/sync_members:bin/sync_members \
|
4570 |
build/bin/transcheck:bin/transcheck \
|
|
4571 |
build/bin/unshunt:bin/unshunt \
|
|
4572 |
build/bin/update:bin/update \
|
|
4573 |
build/bin/version:bin/version \
|
|
4574 |
build/bin/withlist:bin/withlist \
|
|
1731.2.3
by Lindsay
Configured source to put mailman-config in bin rather than contrib. Changed |
4575 |
build/bin/mailman-config:bin/mailman-config \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4576 |
build/bin/b4b5-archfix:bin/b4b5-archfix \
|
244
by bwarsaw
Added Richard Barrett's bin/rb-archfix script to reduce Pipermail |
4577 |
build/bin/rb-archfix:bin/rb-archfix \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4578 |
build/contrib/check_perms_grsecurity.py:contrib/check_perms_grsecurity.py \
|
4579 |
build/contrib/qmail-to-mailman.py:contrib/qmail-to-mailman.py \
|
|
1341
by Mark Sapiro
A configured version of contrib/courier-to-mailman.py is now created in |
4580 |
build/contrib/courier-to-mailman.py:contrib/courier-to-mailman.py \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4581 |
build/contrib/rotatelogs.py:contrib/rotatelogs.py \
|
4582 |
build/cron/bumpdigests:cron/bumpdigests \
|
|
4583 |
build/cron/checkdbs:cron/checkdbs \
|
|
1073.1.1
by Mark Sapiro
Added new cron/cull_bad_shunt and supporting Defaults.py.in settings. |
4584 |
build/cron/cull_bad_shunt:cron/cull_bad_shunt \
|
1
by
This commit was manufactured by cvs2svn to create branch |
4585 |
build/cron/disabled:cron/disabled \
|
4586 |
build/cron/gate_news:cron/gate_news \
|
|
4587 |
build/cron/mailpasswds:cron/mailpasswds \
|
|
4588 |
build/cron/nightly_gzip:cron/nightly_gzip \
|
|
4589 |
build/cron/senddigests:cron/senddigests \
|
|
4590 |
"
|
|
4591 |
||
4592 |
||
4593 |
||
4594 |
# These directories are temporary directories to store macro-expanded
|
|
4595 |
# scripts. They're removed on a make distclean, so we make them here.
|
|
4596 |
mkdir -p build/bin build/contrib build/cron |
|
4597 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4598 |
ac_config_files="$ac_config_files misc/paths.py Mailman/Defaults.py Mailman/mm_cfg.py.dist src/Makefile misc/Makefile bin/Makefile Mailman/Makefile Mailman/Cgi/Makefile Mailman/Logging/Makefile Mailman/Archiver/Makefile Mailman/Commands/Makefile Mailman/Handlers/Makefile Mailman/Bouncers/Makefile Mailman/Queue/Makefile Mailman/MTA/Makefile Mailman/Gui/Makefile templates/Makefile cron/Makefile scripts/Makefile messages/Makefile cron/crontab.in misc/mailman Makefile tests/Makefile tests/bounces/Makefile tests/msgs/Makefile $SCRIPTS" |
4599 |
||
4600 |
ac_config_commands="$ac_config_commands default" |
|
4601 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4602 |
cat >confcache <<\_ACEOF
|
1
by
This commit was manufactured by cvs2svn to create branch |
4603 |
# This file is a shell script that caches the results of configure
|
4604 |
# tests run on this system so they can be shared between configure
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4605 |
# scripts and configure runs, see configure's option --config-cache.
|
4606 |
# It is not useful on other systems. If it contains results you don't
|
|
4607 |
# want to keep, you may remove or edit it.
|
|
4608 |
#
|
|
4609 |
# config.status only pays attention to the cache file if you give it
|
|
4610 |
# the --recheck option to rerun configure.
|
|
4611 |
#
|
|
4612 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
4613 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
4614 |
# following values.
|
|
4615 |
||
4616 |
_ACEOF
|
|
4617 |
||
1
by
This commit was manufactured by cvs2svn to create branch |
4618 |
# The following way of writing the cache mishandles newlines in values,
|
4619 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4620 |
# So, we kill variables containing newlines.
|
1
by
This commit was manufactured by cvs2svn to create branch |
4621 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
4622 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4623 |
(
|
4624 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
4625 |
eval ac_val=\$$ac_var |
|
4626 |
case $ac_val in #( |
|
4627 |
*${as_nl}*) |
|
4628 |
case $ac_var in #( |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4629 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4630 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4631 |
esac
|
4632 |
case $ac_var in #( |
|
4633 |
_ | IFS | as_nl) ;; #( |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4634 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1469
by Mark Sapiro
Made configure check for dnspython. |
4635 |
*) { eval $ac_var=; unset $ac_var;} ;; |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4636 |
esac ;; |
4637 |
esac
|
|
4638 |
done
|
|
4639 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4640 |
(set) 2>&1 | |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4641 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
4642 |
*${as_nl}ac_space=\ *) |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4643 |
# `set' does not quote correctly, so add quotes: double-quote
|
4644 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4645 |
sed -n \
|
4646 |
"s/'/'\\\\''/g;
|
|
4647 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4648 |
;; #( |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4649 |
*)
|
4650 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4651 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4652 |
;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4653 |
esac | |
4654 |
sort |
|
4655 |
) | |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4656 |
sed '
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4657 |
/^ac_cv_env_/b end
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4658 |
t clear
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4659 |
:clear
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4660 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
4661 |
t end
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4662 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
4663 |
:end' >>confcache
|
|
4664 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
4665 |
if test -w "$cache_file"; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4666 |
if test "x$cache_file" != "x/dev/null"; then |
4667 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4668 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
4669 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
4670 |
cat confcache >"$cache_file" |
|
4671 |
else
|
|
4672 |
case $cache_file in #( |
|
4673 |
*/* | ?:*) |
|
4674 |
mv -f confcache "$cache_file"$$ && |
|
4675 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
4676 |
*)
|
|
4677 |
mv -f confcache "$cache_file" ;; |
|
4678 |
esac
|
|
4679 |
fi
|
|
4680 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4681 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4683 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
1
by
This commit was manufactured by cvs2svn to create branch |
4684 |
fi
|
4685 |
fi
|
|
4686 |
rm -f confcache |
|
4687 |
||
4688 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
4689 |
# Let make expand exec_prefix.
|
|
4690 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
4691 |
||
4692 |
# Transform confdefs.h into DEFS.
|
|
4693 |
# Protect against shell expansion while executing Makefile rules.
|
|
4694 |
# Protect against Makefile macro expansion.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4695 |
#
|
4696 |
# If the first sed substitution is executed (which looks for macros that
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4697 |
# take arguments), then branch to the quote section. Otherwise,
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4698 |
# look for a macro that doesn't take arguments.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4699 |
ac_script=' |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4700 |
:mline
|
4701 |
/\\$/{
|
|
4702 |
N
|
|
4703 |
s,\\\n,,
|
|
4704 |
b mline
|
|
4705 |
}
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4706 |
t clear
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4707 |
:clear
|
4708 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
|
4709 |
t quote
|
|
4710 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
|
4711 |
t quote
|
|
4712 |
b any
|
|
4713 |
:quote
|
|
4714 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
|
4715 |
s/\[/\\&/g
|
|
4716 |
s/\]/\\&/g
|
|
4717 |
s/\$/$$/g
|
|
4718 |
H
|
|
4719 |
:any
|
|
4720 |
${
|
|
4721 |
g
|
|
4722 |
s/^\n//
|
|
4723 |
s/\n/ /g
|
|
4724 |
p
|
|
4725 |
}
|
|
4726 |
'
|
|
4727 |
DEFS=`sed -n "$ac_script" confdefs.h` |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4728 |
|
4729 |
||
4730 |
ac_libobjs= |
|
4731 |
ac_ltlibobjs= |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4732 |
U= |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4733 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4734 |
# 1. Remove the extension, and $U if already installed.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4735 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4736 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
991
by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not |
4737 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
4738 |
# will be set to the directory where LIBOBJS objects are built.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4739 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
4740 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4741 |
done
|
4742 |
LIBOBJS=$ac_libobjs |
|
4743 |
||
4744 |
LTLIBOBJS=$ac_ltlibobjs |
|
4745 |
||
4746 |
||
4747 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4748 |
: "${CONFIG_STATUS=./config.status}" |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4749 |
ac_write_fail=0 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4750 |
ac_clean_files_save=$ac_clean_files |
4751 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4752 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4753 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
1469
by Mark Sapiro
Made configure check for dnspython. |
4754 |
as_write_fail=0 |
4755 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4756 |
#! $SHELL
|
4757 |
# Generated by $as_me.
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
4758 |
# Run this file to recreate the current configuration.
|
4759 |
# Compiler output produced by configure, useful for debugging
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4760 |
# configure, is in config.log if it exists.
|
4761 |
||
4762 |
debug=false
|
|
4763 |
ac_cs_recheck=false
|
|
4764 |
ac_cs_silent=false
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4765 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4766 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4767 |
export SHELL
|
4768 |
_ASEOF
|
|
4769 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
4770 |
## -------------------- ##
|
|
4771 |
## M4sh Initialization. ##
|
|
4772 |
## -------------------- ##
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4773 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4774 |
# Be more Bourne compatible
|
4775 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4776 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4777 |
emulate sh
|
4778 |
NULLCMD=:
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4779 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4780 |
# is contrary to our usage. Disable this feature.
|
4781 |
alias -g '${1+"$@"}'='"$@"'
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4782 |
setopt NO_GLOB_SUBST
|
4783 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4784 |
case `(set -o) 2>/dev/null` in #(
|
4785 |
*posix*) :
|
|
4786 |
set -o posix ;; #(
|
|
4787 |
*) :
|
|
4788 |
;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4789 |
esac
|
4790 |
fi
|
|
4791 |
||
4792 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4793 |
as_nl='
|
4794 |
'
|
|
4795 |
export as_nl
|
|
4796 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
4797 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
4798 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
4799 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4800 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
4801 |
# but without wasting forks for bash or zsh.
|
|
4802 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
4803 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
4804 |
as_echo='print -r --'
|
|
4805 |
as_echo_n='print -rn --'
|
|
4806 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4807 |
as_echo='printf %s\n'
|
4808 |
as_echo_n='printf %s'
|
|
4809 |
else
|
|
4810 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
4811 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
4812 |
as_echo_n='/usr/ucb/echo -n'
|
|
4813 |
else
|
|
4814 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
4815 |
as_echo_n_body='eval
|
|
4816 |
arg=$1;
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4817 |
case $arg in #(
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4818 |
*"$as_nl"*)
|
4819 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
4820 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
4821 |
esac;
|
|
4822 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
4823 |
'
|
|
4824 |
export as_echo_n_body
|
|
4825 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
4826 |
fi
|
|
4827 |
export as_echo_body
|
|
4828 |
as_echo='sh -c $as_echo_body as_echo'
|
|
4829 |
fi
|
|
4830 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4831 |
# The user is always right.
|
4832 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4833 |
PATH_SEPARATOR=:
|
4834 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
4835 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
4836 |
PATH_SEPARATOR=';'
|
|
4837 |
}
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4838 |
fi
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4839 |
|
4840 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4841 |
# IFS
|
4842 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
4843 |
# there to prevent editors from complaining about space-tab.
|
|
4844 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
4845 |
# splitting by setting IFS to empty value.)
|
|
4846 |
IFS=" "" $as_nl"
|
|
4847 |
||
4848 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4849 |
as_myself=
|
4850 |
case $0 in #((
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4851 |
*[\\/]* ) as_myself=$0 ;;
|
4852 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4853 |
for as_dir in $PATH
|
|
4854 |
do
|
|
4855 |
IFS=$as_save_IFS
|
|
4856 |
test -z "$as_dir" && as_dir=.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4857 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
4858 |
done
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4859 |
IFS=$as_save_IFS
|
4860 |
||
4861 |
;;
|
|
4862 |
esac
|
|
4863 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
4864 |
# in which case we are not to be found in the path.
|
|
4865 |
if test "x$as_myself" = x; then
|
|
4866 |
as_myself=$0
|
|
4867 |
fi
|
|
4868 |
if test ! -f "$as_myself"; then
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4869 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4870 |
exit 1
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4871 |
fi
|
4872 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4873 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
4874 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
4875 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
4876 |
# trigger a bug in pdksh 5.2.14.
|
|
4877 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
4878 |
do eval test x\${$as_var+set} = xset \
|
|
4879 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4880 |
done
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4881 |
PS1='$ '
|
4882 |
PS2='> '
|
|
4883 |
PS4='+ '
|
|
4884 |
||
4885 |
# NLS nuisances.
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4886 |
LC_ALL=C
|
4887 |
export LC_ALL
|
|
4888 |
LANGUAGE=C
|
|
4889 |
export LANGUAGE
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4890 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
4891 |
# CDPATH.
|
4892 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
4893 |
||
4894 |
||
4895 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
4896 |
# ----------------------------------------
|
|
4897 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
4898 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
4899 |
# script with STATUS, using 1 if that was 0.
|
|
4900 |
as_fn_error ()
|
|
4901 |
{
|
|
4902 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
4903 |
if test "$4"; then
|
|
4904 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
4905 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
4906 |
fi
|
|
4907 |
$as_echo "$as_me: error: $2" >&2
|
|
4908 |
as_fn_exit $as_status
|
|
4909 |
} # as_fn_error
|
|
4910 |
||
4911 |
||
4912 |
# as_fn_set_status STATUS
|
|
4913 |
# -----------------------
|
|
4914 |
# Set $? to STATUS, without forking.
|
|
4915 |
as_fn_set_status ()
|
|
4916 |
{
|
|
4917 |
return $1
|
|
4918 |
} # as_fn_set_status
|
|
4919 |
||
4920 |
# as_fn_exit STATUS
|
|
4921 |
# -----------------
|
|
4922 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
4923 |
as_fn_exit ()
|
|
4924 |
{
|
|
4925 |
set +e
|
|
4926 |
as_fn_set_status $1
|
|
4927 |
exit $1
|
|
4928 |
} # as_fn_exit
|
|
4929 |
||
4930 |
# as_fn_unset VAR
|
|
4931 |
# ---------------
|
|
4932 |
# Portably unset VAR.
|
|
4933 |
as_fn_unset ()
|
|
4934 |
{
|
|
4935 |
{ eval $1=; unset $1;}
|
|
4936 |
}
|
|
4937 |
as_unset=as_fn_unset
|
|
4938 |
# as_fn_append VAR VALUE
|
|
4939 |
# ----------------------
|
|
4940 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
4941 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
4942 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
4943 |
# implementations.
|
|
4944 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
4945 |
eval 'as_fn_append ()
|
|
4946 |
{
|
|
4947 |
eval $1+=\$2
|
|
4948 |
}'
|
|
4949 |
else
|
|
4950 |
as_fn_append ()
|
|
4951 |
{
|
|
4952 |
eval $1=\$$1\$2
|
|
4953 |
}
|
|
4954 |
fi # as_fn_append
|
|
4955 |
||
4956 |
# as_fn_arith ARG...
|
|
4957 |
# ------------------
|
|
4958 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
4959 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
4960 |
# must be portable across $(()) and expr.
|
|
4961 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
4962 |
eval 'as_fn_arith ()
|
|
4963 |
{
|
|
4964 |
as_val=$(( $* ))
|
|
4965 |
}'
|
|
4966 |
else
|
|
4967 |
as_fn_arith ()
|
|
4968 |
{
|
|
4969 |
as_val=`expr "$@" || test $? -eq 1`
|
|
4970 |
}
|
|
4971 |
fi # as_fn_arith
|
|
4972 |
||
4973 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4974 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
4975 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4976 |
as_expr=expr
|
4977 |
else
|
|
4978 |
as_expr=false
|
|
4979 |
fi
|
|
4980 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4981 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4982 |
as_basename=basename
|
4983 |
else
|
|
4984 |
as_basename=false
|
|
4985 |
fi
|
|
4986 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
4987 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
4988 |
as_dirname=dirname
|
|
4989 |
else
|
|
4990 |
as_dirname=false
|
|
4991 |
fi
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4992 |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4993 |
as_me=`$as_basename -- "$0" ||
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
4994 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
4995 |
X"$0" : 'X\(//\)$' \| \
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4996 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
4997 |
$as_echo X/"$0" |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
4998 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
4999 |
s//\1/
|
|
5000 |
q
|
|
5001 |
}
|
|
5002 |
/^X\/\(\/\/\)$/{
|
|
5003 |
s//\1/
|
|
5004 |
q
|
|
5005 |
}
|
|
5006 |
/^X\/\(\/\).*/{
|
|
5007 |
s//\1/
|
|
5008 |
q
|
|
5009 |
}
|
|
5010 |
s/.*/./; q'`
|
|
5011 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5012 |
# Avoid depending upon Character Ranges.
|
5013 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
5014 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
5015 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
5016 |
as_cr_digits='0123456789'
|
|
5017 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5018 |
|
5019 |
ECHO_C= ECHO_N= ECHO_T=
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5020 |
case `echo -n x` in #(((((
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5021 |
-n*)
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5022 |
case `echo 'xy\c'` in
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5023 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5024 |
xy) ECHO_C='\c';;
|
5025 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
5026 |
ECHO_T=' ';;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5027 |
esac;;
|
5028 |
*)
|
|
5029 |
ECHO_N='-n';;
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5030 |
esac
|
5031 |
||
5032 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5033 |
if test -d conf$$.dir; then
|
5034 |
rm -f conf$$.dir/conf$$.file
|
|
5035 |
else
|
|
5036 |
rm -f conf$$.dir
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5037 |
mkdir conf$$.dir 2>/dev/null
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5038 |
fi
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5039 |
if (echo >conf$$.file) 2>/dev/null; then
|
5040 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
5041 |
as_ln_s='ln -s'
|
|
5042 |
# ... but there are two gotchas:
|
|
5043 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
5044 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5045 |
# In both cases, we have to default to `cp -pR'.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5046 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5047 |
as_ln_s='cp -pR'
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5048 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
5049 |
as_ln_s=ln
|
|
5050 |
else
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5051 |
as_ln_s='cp -pR'
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5052 |
fi
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5053 |
else
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5054 |
as_ln_s='cp -pR'
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5055 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5056 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
5057 |
rmdir conf$$.dir 2>/dev/null
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5058 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5059 |
|
5060 |
# as_fn_mkdir_p
|
|
5061 |
# -------------
|
|
5062 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
5063 |
as_fn_mkdir_p ()
|
|
5064 |
{
|
|
5065 |
||
5066 |
case $as_dir in #(
|
|
5067 |
-*) as_dir=./$as_dir;;
|
|
5068 |
esac
|
|
5069 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
5070 |
as_dirs=
|
|
5071 |
while :; do
|
|
5072 |
case $as_dir in #(
|
|
5073 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
5074 |
*) as_qdir=$as_dir;;
|
|
5075 |
esac
|
|
5076 |
as_dirs="'$as_qdir' $as_dirs"
|
|
5077 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
5078 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
5079 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
5080 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
5081 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
5082 |
$as_echo X"$as_dir" |
|
|
5083 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
5084 |
s//\1/
|
|
5085 |
q
|
|
5086 |
}
|
|
5087 |
/^X\(\/\/\)[^/].*/{
|
|
5088 |
s//\1/
|
|
5089 |
q
|
|
5090 |
}
|
|
5091 |
/^X\(\/\/\)$/{
|
|
5092 |
s//\1/
|
|
5093 |
q
|
|
5094 |
}
|
|
5095 |
/^X\(\/\).*/{
|
|
5096 |
s//\1/
|
|
5097 |
q
|
|
5098 |
}
|
|
5099 |
s/.*/./; q'`
|
|
5100 |
test -d "$as_dir" && break
|
|
5101 |
done
|
|
5102 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
5103 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
5104 |
||
5105 |
||
5106 |
} # as_fn_mkdir_p
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5107 |
if mkdir -p . 2>/dev/null; then
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5108 |
as_mkdir_p='mkdir -p "$as_dir"'
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5109 |
else
|
5110 |
test -d ./-p && rmdir ./-p
|
|
5111 |
as_mkdir_p=false
|
|
5112 |
fi
|
|
5113 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5114 |
|
5115 |
# as_fn_executable_p FILE
|
|
5116 |
# -----------------------
|
|
5117 |
# Test if FILE is an executable regular file.
|
|
5118 |
as_fn_executable_p ()
|
|
5119 |
{
|
|
5120 |
test -f "$1" && test -x "$1"
|
|
5121 |
} # as_fn_executable_p
|
|
5122 |
as_test_x='test -x'
|
|
5123 |
as_executable_p=as_fn_executable_p
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5124 |
|
5125 |
# Sed expression to map a string onto a valid CPP name.
|
|
5126 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
5127 |
||
5128 |
# Sed expression to map a string onto a valid variable name.
|
|
5129 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
5130 |
||
5131 |
||
5132 |
exec 6>&1
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5133 |
## ----------------------------------- ##
|
5134 |
## Main body of $CONFIG_STATUS script. ##
|
|
5135 |
## ----------------------------------- ##
|
|
5136 |
_ASEOF
|
|
5137 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5138 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5139 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5140 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5141 |
# report actual input values of CONFIG_FILES etc. instead of their
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5142 |
# values after options handling.
|
5143 |
ac_log="
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5144 |
This file was extended by $as_me, which was
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5145 |
generated by GNU Autoconf 2.69. Invocation command line was
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5146 |
|
5147 |
CONFIG_FILES = $CONFIG_FILES
|
|
5148 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
5149 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
5150 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
5151 |
$ $0 $@
|
|
5152 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5153 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
5154 |
"
|
|
5155 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5156 |
_ACEOF
|
5157 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5158 |
case $ac_config_files in *" |
5159 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
5160 |
esac
|
|
5161 |
||
5162 |
||
5163 |
||
5164 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5165 |
# Files that config.status was made for.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5166 |
config_files="$ac_config_files"
|
5167 |
config_commands="$ac_config_commands"
|
|
5168 |
||
5169 |
_ACEOF
|
|
5170 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5171 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5172 |
ac_cs_usage="\
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5173 |
\`$as_me' instantiates files and other configuration actions
|
5174 |
from templates according to the current configuration. Unless the files
|
|
5175 |
and actions are specified as TAGs, all are instantiated by default.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5176 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5177 |
Usage: $0 [OPTION]... [TAG]...
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5178 |
|
5179 |
-h, --help print this help, then exit
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5180 |
-V, --version print version number and configuration settings, then exit
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5181 |
--config print configuration, then exit
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5182 |
-q, --quiet, --silent
|
5183 |
do not print progress messages
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5184 |
-d, --debug don't remove temporary files
|
5185 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5186 |
--file=FILE[:TEMPLATE]
|
5187 |
instantiate the configuration file FILE
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5188 |
|
5189 |
Configuration files:
|
|
5190 |
$config_files
|
|
5191 |
||
5192 |
Configuration commands:
|
|
5193 |
$config_commands
|
|
5194 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5195 |
Report bugs to the package provider."
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5196 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5197 |
_ACEOF
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5198 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1469
by Mark Sapiro
Made configure check for dnspython. |
5199 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5200 |
ac_cs_version="\\
|
5201 |
config.status
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5202 |
configured by $0, generated by GNU Autoconf 2.69,
|
5203 |
with options \\"\$ac_cs_config\\"
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5204 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5205 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5206 |
This config.status script is free software; the Free Software Foundation
|
5207 |
gives unlimited permission to copy, distribute and modify it."
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5208 |
|
5209 |
ac_pwd='$ac_pwd'
|
|
5210 |
srcdir='$srcdir'
|
|
5211 |
INSTALL='$INSTALL'
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5212 |
test -n "\$AWK" || AWK=awk
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5213 |
_ACEOF
|
5214 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5215 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5216 |
# The default lists apply if the user does not specify any file.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5217 |
ac_need_defaults=:
|
5218 |
while test $# != 0
|
|
5219 |
do
|
|
5220 |
case $1 in
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5221 |
--*=?*)
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5222 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
5223 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5224 |
ac_shift=:
|
5225 |
;;
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5226 |
--*=)
|
5227 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
5228 |
ac_optarg=
|
|
5229 |
ac_shift=:
|
|
5230 |
;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5231 |
*)
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5232 |
ac_option=$1
|
5233 |
ac_optarg=$2
|
|
5234 |
ac_shift=shift
|
|
5235 |
;;
|
|
5236 |
esac
|
|
5237 |
||
5238 |
case $ac_option in
|
|
5239 |
# Handling of the options.
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
5240 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5241 |
ac_cs_recheck=: ;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5242 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5243 |
$as_echo "$ac_cs_version"; exit ;;
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5244 |
--config | --confi | --conf | --con | --co | --c )
|
5245 |
$as_echo "$ac_cs_config"; exit ;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5246 |
--debug | --debu | --deb | --de | --d | -d )
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5247 |
debug=: ;;
|
5248 |
--file | --fil | --fi | --f )
|
|
5249 |
$ac_shift
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5250 |
case $ac_optarg in
|
5251 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5252 |
'') as_fn_error $? "missing file argument" ;;
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5253 |
esac
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5254 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5255 |
ac_need_defaults=false;;
|
5256 |
--he | --h | --help | --hel | -h )
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5257 |
$as_echo "$ac_cs_usage"; exit ;;
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5258 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
5259 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
5260 |
ac_cs_silent=: ;;
|
|
5261 |
||
5262 |
# This is an error.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5263 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
5264 |
Try \`$0 --help' for more information." ;;
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5265 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5266 |
*) as_fn_append ac_config_targets " $1"
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5267 |
ac_need_defaults=false ;;
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5268 |
|
5269 |
esac
|
|
5270 |
shift
|
|
5271 |
done
|
|
5272 |
||
5273 |
ac_configure_extra_args=
|
|
5274 |
||
5275 |
if $ac_cs_silent; then
|
|
5276 |
exec 6>/dev/null
|
|
5277 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
5278 |
fi
|
|
5279 |
||
5280 |
_ACEOF
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5281 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5282 |
if \$ac_cs_recheck; then
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5283 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5284 |
shift
|
5285 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
5286 |
CONFIG_SHELL='$SHELL'
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5287 |
export CONFIG_SHELL
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5288 |
exec "\$@"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5289 |
fi
|
5290 |
||
5291 |
_ACEOF
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5292 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5293 |
exec 5>>config.log
|
5294 |
{
|
|
5295 |
echo
|
|
5296 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
5297 |
## Running $as_me. ##
|
|
5298 |
_ASBOX
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5299 |
$as_echo "$ac_log"
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5300 |
} >&5
|
5301 |
||
5302 |
_ACEOF
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5303 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5304 |
_ACEOF
|
5305 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5306 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5307 |
|
5308 |
# Handling of arguments.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5309 |
for ac_config_target in $ac_config_targets
|
5310 |
do
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5311 |
case $ac_config_target in
|
5312 |
"misc/paths.py") CONFIG_FILES="$CONFIG_FILES misc/paths.py" ;;
|
|
5313 |
"Mailman/Defaults.py") CONFIG_FILES="$CONFIG_FILES Mailman/Defaults.py" ;;
|
|
5314 |
"Mailman/mm_cfg.py.dist") CONFIG_FILES="$CONFIG_FILES Mailman/mm_cfg.py.dist" ;;
|
|
5315 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
5316 |
"misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
|
|
5317 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
|
|
5318 |
"Mailman/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Makefile" ;;
|
|
5319 |
"Mailman/Cgi/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Cgi/Makefile" ;;
|
|
5320 |
"Mailman/Logging/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Logging/Makefile" ;;
|
|
5321 |
"Mailman/Archiver/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Archiver/Makefile" ;;
|
|
5322 |
"Mailman/Commands/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Commands/Makefile" ;;
|
|
5323 |
"Mailman/Handlers/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Handlers/Makefile" ;;
|
|
5324 |
"Mailman/Bouncers/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Bouncers/Makefile" ;;
|
|
5325 |
"Mailman/Queue/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Queue/Makefile" ;;
|
|
5326 |
"Mailman/MTA/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/MTA/Makefile" ;;
|
|
5327 |
"Mailman/Gui/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Gui/Makefile" ;;
|
|
5328 |
"templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
|
|
5329 |
"cron/Makefile") CONFIG_FILES="$CONFIG_FILES cron/Makefile" ;;
|
|
5330 |
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
|
|
5331 |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
|
|
5332 |
"cron/crontab.in") CONFIG_FILES="$CONFIG_FILES cron/crontab.in" ;;
|
|
5333 |
"misc/mailman") CONFIG_FILES="$CONFIG_FILES misc/mailman" ;;
|
|
5334 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
5335 |
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
|
|
5336 |
"tests/bounces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bounces/Makefile" ;;
|
|
5337 |
"tests/msgs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/msgs/Makefile" ;;
|
|
5338 |
"$SCRIPTS") CONFIG_FILES="$CONFIG_FILES $SCRIPTS" ;;
|
|
5339 |
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
|
5340 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5341 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5342 |
esac
|
5343 |
done
|
|
5344 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5345 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5346 |
# If the user did not use the arguments to specify the items to instantiate,
|
5347 |
# then the envvar interface is used. Set only those that are not.
|
|
5348 |
# We use the long form for the default assignment because of an extremely
|
|
5349 |
# bizarre bug on SunOS 4.1.3.
|
|
5350 |
if $ac_need_defaults; then
|
|
5351 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
5352 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
5353 |
fi
|
|
5354 |
||
5355 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5356 |
# simply because there is no reason against having it here, and in addition,
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5357 |
# creating and moving files from /tmp can sometimes cause problems.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5358 |
# Hook for its removal unless debugging.
|
5359 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
5360 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5361 |
$debug ||
|
5362 |
{
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5363 |
tmp= ac_tmp=
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5364 |
trap 'exit_status=$?
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5365 |
: "${ac_tmp:=$tmp}"
|
5366 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5367 |
' 0
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5368 |
trap 'as_fn_exit 1' 1 2 13 15
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5369 |
}
|
5370 |
# Create a (secure) tmp directory for tmp files.
|
|
5371 |
||
5372 |
{
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5373 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5374 |
test -d "$tmp"
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5375 |
} ||
|
5376 |
{
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5377 |
tmp=./conf$$-$RANDOM
|
5378 |
(umask 077 && mkdir "$tmp")
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5379 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
5380 |
ac_tmp=$tmp
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5381 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5382 |
# Set up the scripts for CONFIG_FILES section.
|
5383 |
# No need to generate them if there are no CONFIG_FILES.
|
|
5384 |
# This happens for instance with `./config.status config.h'.
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5385 |
if test -n "$CONFIG_FILES"; then
|
5386 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5387 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5388 |
ac_cr=`echo X | tr X '\015'`
|
5389 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
5390 |
# But we know of no other shell where ac_cr would be empty at this
|
|
5391 |
# point, so we can use a bashism as a fallback.
|
|
5392 |
if test "x$ac_cr" = x; then
|
|
5393 |
eval ac_cr=\$\'\\r\'
|
|
5394 |
fi
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5395 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
5396 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
5397 |
ac_cs_awk_cr='\\r'
|
|
5398 |
else
|
|
5399 |
ac_cs_awk_cr=$ac_cr
|
|
5400 |
fi
|
|
5401 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5402 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5403 |
_ACEOF
|
5404 |
||
5405 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5406 |
{
|
5407 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
5408 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
5409 |
echo "_ACEOF" |
|
5410 |
} >conf$$subs.sh || |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5411 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
5412 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5413 |
ac_delim='%!_!# ' |
5414 |
for ac_last_try in false false false false false :; do |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5415 |
. ./conf$$subs.sh || |
1469
by Mark Sapiro
Made configure check for dnspython. |
5416 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5417 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5418 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
5419 |
if test $ac_delim_n = $ac_delim_num; then |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5420 |
break
|
5421 |
elif $ac_last_try; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5422 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5423 |
else
|
5424 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5425 |
fi
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5426 |
done
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5427 |
rm -f conf$$subs.sh
|
5428 |
||
5429 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5430 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5431 |
_ACEOF
|
5432 |
sed -n '
|
|
5433 |
h
|
|
5434 |
s/^/S["/; s/!.*/"]=/
|
|
5435 |
p
|
|
5436 |
g
|
|
5437 |
s/^[^!]*!//
|
|
5438 |
:repl
|
|
5439 |
t repl
|
|
5440 |
s/'"$ac_delim"'$// |
|
5441 |
t delim
|
|
5442 |
:nl
|
|
5443 |
h
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5444 |
s/\(.\{148\}\)..*/\1/
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5445 |
t more1
|
5446 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
5447 |
p
|
|
5448 |
n
|
|
5449 |
b repl
|
|
5450 |
:more1
|
|
5451 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
5452 |
p
|
|
5453 |
g
|
|
5454 |
s/.\{148\}//
|
|
5455 |
t nl
|
|
5456 |
:delim
|
|
5457 |
h
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5458 |
s/\(.\{148\}\)..*/\1/
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5459 |
t more2
|
5460 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
5461 |
p
|
|
5462 |
b
|
|
5463 |
:more2
|
|
5464 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
5465 |
p
|
|
5466 |
g
|
|
5467 |
s/.\{148\}//
|
|
5468 |
t delim
|
|
5469 |
' <conf$$subs.awk | sed ' |
|
5470 |
/^[^""]/{
|
|
5471 |
N
|
|
5472 |
s/\n//
|
|
5473 |
}
|
|
5474 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
5475 |
rm -f conf$$subs.awk
|
|
5476 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
5477 |
_ACAWK
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5478 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5479 |
for (key in S) S_is_set[key] = 1
|
5480 |
FS = ""
|
|
5481 |
||
5482 |
}
|
|
5483 |
{
|
|
5484 |
line = $ 0
|
|
5485 |
nfields = split(line, field, "@")
|
|
5486 |
substed = 0
|
|
5487 |
len = length(field[1])
|
|
5488 |
for (i = 2; i < nfields; i++) {
|
|
5489 |
key = field[i]
|
|
5490 |
keylen = length(key)
|
|
5491 |
if (S_is_set[key]) {
|
|
5492 |
value = S[key]
|
|
5493 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
5494 |
len += length(value) + length(field[++i])
|
|
5495 |
substed = 1
|
|
5496 |
} else
|
|
5497 |
len += 1 + keylen
|
|
5498 |
}
|
|
5499 |
||
5500 |
print line
|
|
5501 |
}
|
|
5502 |
||
5503 |
_ACAWK
|
|
5504 |
_ACEOF
|
|
5505 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
5506 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
5507 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
5508 |
else
|
|
5509 |
cat
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5510 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
5511 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5512 |
_ACEOF
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5513 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5514 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
5515 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5516 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
5517 |
# (actually we leave an empty line to preserve line numbers).
|
|
5518 |
if test "x$srcdir" = x.; then |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5519 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
5520 |
h
|
|
5521 |
s///
|
|
5522 |
s/^/:/
|
|
5523 |
s/[ ]*$/:/
|
|
5524 |
s/:\$(srcdir):/:/g
|
|
5525 |
s/:\${srcdir}:/:/g
|
|
5526 |
s/:@srcdir@:/:/g
|
|
5527 |
s/^:*//
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5528 |
s/:*$//
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5529 |
x
|
5530 |
s/\(=[ ]*\).*/\1/
|
|
5531 |
G
|
|
5532 |
s/\n//
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5533 |
s/^[^=]*=[ ]*$//
|
5534 |
}'
|
|
5535 |
fi
|
|
5536 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5537 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5538 |
fi # test -n "$CONFIG_FILES"
|
5539 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5540 |
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5541 |
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
5542 |
shift
|
|
5543 |
for ac_tag
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5544 |
do
|
5545 |
case $ac_tag in
|
|
5546 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
5547 |
esac
|
|
5548 |
case $ac_mode$ac_tag in
|
|
5549 |
:[FHL]*:*);;
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5550 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5551 |
:[FH]-) ac_tag=-:-;;
|
5552 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
5553 |
esac
|
|
5554 |
ac_save_IFS=$IFS
|
|
5555 |
IFS=:
|
|
5556 |
set x $ac_tag
|
|
5557 |
IFS=$ac_save_IFS
|
|
5558 |
shift
|
|
5559 |
ac_file=$1
|
|
5560 |
shift
|
|
5561 |
||
5562 |
case $ac_mode in
|
|
5563 |
:L) ac_source=$1;;
|
|
5564 |
:[FH])
|
|
5565 |
ac_file_inputs=
|
|
5566 |
for ac_f
|
|
5567 |
do
|
|
5568 |
case $ac_f in
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5569 |
-) ac_f="$ac_tmp/stdin";;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5570 |
*) # Look for the file first in the build tree, then in the source tree
|
5571 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
5572 |
# because $ac_f cannot contain `:'.
|
|
5573 |
test -f "$ac_f" ||
|
|
5574 |
case $ac_f in
|
|
5575 |
[\\/$]*) false;;
|
|
5576 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
5577 |
esac ||
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5578 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5579 |
esac
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5580 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5581 |
as_fn_append ac_file_inputs " '$ac_f'"
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5582 |
done
|
5583 |
||
5584 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
5585 |
# use $as_me), people would be surprised to read:
|
|
5586 |
# /* config.h. Generated by config.status. */
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5587 |
configure_input='Generated from '`
|
5588 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
5589 |
`' by configure.'
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5590 |
if test x"$ac_file" != x-; then
|
5591 |
configure_input="$ac_file. $configure_input"
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5593 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5594 |
fi
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5595 |
# Neutralize special characters interpreted by sed in replacement strings.
|
5596 |
case $configure_input in #(
|
|
5597 |
*\&* | *\|* | *\\* )
|
|
5598 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
5599 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
5600 |
*) ac_sed_conf_input=$configure_input;;
|
|
5601 |
esac
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5602 |
|
5603 |
case $ac_tag in
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5604 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
5605 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5606 |
esac
|
5607 |
;;
|
|
5608 |
esac
|
|
5609 |
||
5610 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5611 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5612 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
5613 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5614 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5615 |
$as_echo X"$ac_file" |
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5616 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
5617 |
s//\1/
|
|
5618 |
q
|
|
5619 |
}
|
|
5620 |
/^X\(\/\/\)[^/].*/{
|
|
5621 |
s//\1/
|
|
5622 |
q
|
|
5623 |
}
|
|
5624 |
/^X\(\/\/\)$/{
|
|
5625 |
s//\1/
|
|
5626 |
q
|
|
5627 |
}
|
|
5628 |
/^X\(\/\).*/{
|
|
5629 |
s//\1/
|
|
5630 |
q
|
|
5631 |
}
|
|
5632 |
s/.*/./; q'`
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5633 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5634 |
ac_builddir=.
|
5635 |
||
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5636 |
case "$ac_dir" in
|
5637 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
5638 |
*)
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5639 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5640 |
# A ".." for each directory in $ac_dir_suffix.
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5641 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5642 |
case $ac_top_builddir_sub in
|
5643 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
5644 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
5645 |
esac ;;
|
|
5646 |
esac
|
|
5647 |
ac_abs_top_builddir=$ac_pwd
|
|
5648 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
5649 |
# for backward compatibility:
|
|
5650 |
ac_top_builddir=$ac_top_build_prefix
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5651 |
|
5652 |
case $srcdir in
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5653 |
.) # We are building in place.
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5654 |
ac_srcdir=.
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5655 |
ac_top_srcdir=$ac_top_builddir_sub
|
5656 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
5657 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5658 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5659 |
ac_top_srcdir=$srcdir
|
5660 |
ac_abs_top_srcdir=$srcdir ;;
|
|
5661 |
*) # Relative name.
|
|
5662 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
5663 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
5664 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
5665 |
esac
|
|
5666 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
5667 |
||
5668 |
||
5669 |
case $ac_mode in
|
|
5670 |
:F)
|
|
5671 |
#
|
|
5672 |
# CONFIG_FILE
|
|
5673 |
#
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5674 |
|
5675 |
case $INSTALL in
|
|
5676 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5677 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5678 |
esac
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5679 |
_ACEOF
|
5680 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5681 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5682 |
# If the template does not know about datarootdir, expand it.
|
5683 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
5684 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5685 |
ac_sed_dataroot='
|
5686 |
/datarootdir/ {
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5687 |
p
|
5688 |
q
|
|
5689 |
}
|
|
5690 |
/@datadir@/p
|
|
5691 |
/@docdir@/p
|
|
5692 |
/@infodir@/p
|
|
5693 |
/@localedir@/p
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5694 |
/@mandir@/p'
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5695 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5696 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
5697 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5699 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5700 |
_ACEOF
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5701 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5702 |
ac_datarootdir_hack='
|
5703 |
s&@datadir@&$datadir&g
|
|
5704 |
s&@docdir@&$docdir&g
|
|
5705 |
s&@infodir@&$infodir&g
|
|
5706 |
s&@localedir@&$localedir&g
|
|
5707 |
s&@mandir@&$mandir&g
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5708 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5709 |
esac
|
5710 |
_ACEOF
|
|
5711 |
||
5712 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
5713 |
# Shell code in configure.ac might set extrasub.
|
|
5714 |
# FIXME: do we really want to maintain this feature?
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5715 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5716 |
ac_sed_extra="$ac_vpsub
|
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5717 |
$extrasub
|
5718 |
_ACEOF
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5719 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5720 |
:t
|
5721 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5722 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5723 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5724 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5725 |
s&@srcdir@&$ac_srcdir&;t t
|
5726 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
5727 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
5728 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
5729 |
s&@builddir@&$ac_builddir&;t t
|
|
5730 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
5731 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
5732 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
5733 |
$ac_datarootdir_hack
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5734 |
"
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5735 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
5736 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5737 |
|
5738 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5739 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
5740 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
5741 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
5742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
5743 |
which seems to be undefined. Please make sure it is defined" >&5
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5744 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5745 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5746 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5747 |
rm -f "$ac_tmp/stdin"
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5748 |
case $ac_file in
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5749 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
5750 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5751 |
esac \
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5752 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5753 |
;;
|
5754 |
||
5755 |
||
1469
by Mark Sapiro
Made configure check for dnspython. |
5756 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5757 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
1134
by Barry Warsaw
Try to guess whether the email package is actually needed or not. |
5758 |
;;
|
5759 |
esac
|
|
5760 |
||
5761 |
||
5762 |
case $ac_file$ac_mode in
|
|
5763 |
"default":C) echo "configuration completed at" `date` ;;
|
|
5764 |
||
5765 |
esac
|
|
5766 |
done # for ac_tag
|
|
5767 |
||
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5768 |
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5769 |
as_fn_exit 0
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5770 |
_ACEOF
|
5771 |
ac_clean_files=$ac_clean_files_save |
|
5772 |
||
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5773 |
test $ac_write_fail = 0 || |
1469
by Mark Sapiro
Made configure check for dnspython. |
5774 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5775 |
|
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5776 |
|
5777 |
# configure is writing to config.log, and then calls config.status.
|
|
5778 |
# config.status does its own redirection, appending to config.log.
|
|
5779 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
5780 |
# by configure, so config.status won't be able to write to it; its
|
|
5781 |
# output is simply discarded. So we exec the FD to /dev/null,
|
|
5782 |
# effectively closing config.log, so it can be properly (re)opened and
|
|
5783 |
# appended to by config.status. When coming back to configure, we
|
|
5784 |
# need to make the FD available again.
|
|
5785 |
if test "$no_create" != yes; then |
|
5786 |
ac_cs_success=: |
|
5787 |
ac_config_status_args= |
|
5788 |
test "$silent" = yes && |
|
5789 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
5790 |
exec 5>/dev/null |
|
5791 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
5792 |
exec 5>>config.log |
|
5793 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
5794 |
# would make configure fail if this is the last instruction.
|
|
1469
by Mark Sapiro
Made configure check for dnspython. |
5795 |
$ac_cs_success || as_fn_exit 1 |
955
by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to |
5796 |
fi
|
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5797 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
1469
by Mark Sapiro
Made configure check for dnspython. |
5798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
1197
by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in |
5799 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
5800 |
fi
|
|
1
by
This commit was manufactured by cvs2svn to create branch |
5801 |
|
5802 |
||
5803 |
# Make sure all the build scripts are executable.
|
|
5804 |
chmod -R +x build |
|
5805 |
||
5806 |
# Test for the Chinese codecs.
|
|
5807 |