~mailman-coders/mailman/2.1

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.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4
# Generated by GNU Autoconf 2.63.
1 by
This commit was manufactured by cvs2svn to create branch
5
#
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1 by
This commit was manufactured by cvs2svn to create branch
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
10
## --------------------- ##
11
## M4sh Initialization.  ##
12
## --------------------- ##
13
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
14
# Be more Bourne compatible
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
15
DUALCASE=1; export DUALCASE # for MKS sh
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
  emulate sh
18
  NULLCMD=:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
19
  # 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.
20
  # is contrary to our usage.  Disable this feature.
21
  alias -g '${1+"$@"}'='"$@"'
22
  setopt NO_GLOB_SUBST
23
else
24
  case `(set -o) 2>/dev/null` in
25
  *posix*) set -o posix ;;
26
esac
27
28
fi
29
30
31
32
33
# PATH needs CR
34
# Avoid depending upon Character Ranges.
35
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38
as_cr_digits='0123456789'
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
41
as_nl='
42
'
43
export as_nl
44
# Printing a long string crashes Solaris 7 /usr/bin/printf.
45
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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;
59
      case $arg 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
# Support unset when possible.
83
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84
  as_unset=unset
85
else
86
  as_unset=false
87
fi
88
89
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
90
# IFS
91
# We need space, tab and new line, in precisely that order.  Quoting is
92
# there to prevent editors from complaining about space-tab.
93
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
94
# splitting by setting IFS to empty value.)
95
IFS=" ""	$as_nl"
96
97
# Find who we are.  Look in the path if we contain no directory separator.
98
case $0 in
99
  *[\\/]* ) as_myself=$0 ;;
100
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
for as_dir in $PATH
102
do
103
  IFS=$as_save_IFS
104
  test -z "$as_dir" && as_dir=.
105
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
done
107
IFS=$as_save_IFS
108
109
     ;;
110
esac
111
# We did not find ourselves, most probably we were run as `sh COMMAND'
112
# in which case we are not to be found in the path.
113
if test "x$as_myself" = x; then
114
  as_myself=$0
115
fi
116
if test ! -f "$as_myself"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
117
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
118
  { (exit 1); exit 1; }
119
fi
120
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
121
# Work around bugs in pre-3.0 UWIN ksh.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
122
for as_var in ENV MAIL MAILPATH
123
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124
done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
125
PS1='$ '
126
PS2='> '
127
PS4='+ '
128
129
# NLS nuisances.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
130
LC_ALL=C
131
export LC_ALL
132
LANGUAGE=C
133
export LANGUAGE
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
134
135
# Required to use basename.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
136
if expr a : '\(a\)' >/dev/null 2>&1 &&
137
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
138
  as_expr=expr
139
else
140
  as_expr=false
141
fi
142
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
143
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
144
  as_basename=basename
145
else
146
  as_basename=false
147
fi
148
149
150
# Name of the executable.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
151
as_me=`$as_basename -- "$0" ||
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
152
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153
	 X"$0" : 'X\(//\)$' \| \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
154
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
155
$as_echo X/"$0" |
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
156
    sed '/^.*\/\([^/][^/]*\)\/*$/{
157
	    s//\1/
158
	    q
159
	  }
160
	  /^X\/\(\/\/\)$/{
161
	    s//\1/
162
	    q
163
	  }
164
	  /^X\/\(\/\).*/{
165
	    s//\1/
166
	    q
167
	  }
168
	  s/.*/./; q'`
169
170
# CDPATH.
171
$as_unset CDPATH
172
173
174
if test "x$CONFIG_SHELL" = x; then
175
  if (eval ":") 2>/dev/null; then
176
  as_have_required=yes
177
else
178
  as_have_required=no
179
fi
180
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
181
  if test $as_have_required = yes &&	 (eval ":
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
182
(as_func_return () {
183
  (exit \$1)
184
}
185
as_func_success () {
186
  as_func_return 0
187
}
188
as_func_failure () {
189
  as_func_return 1
190
}
191
as_func_ret_success () {
192
  return 0
193
}
194
as_func_ret_failure () {
195
  return 1
196
}
197
198
exitcode=0
199
if as_func_success; then
200
  :
201
else
202
  exitcode=1
203
  echo as_func_success failed.
204
fi
205
206
if as_func_failure; then
207
  exitcode=1
208
  echo as_func_failure succeeded.
209
fi
210
211
if as_func_ret_success; then
212
  :
213
else
214
  exitcode=1
215
  echo as_func_ret_success failed.
216
fi
217
218
if as_func_ret_failure; then
219
  exitcode=1
220
  echo as_func_ret_failure succeeded.
221
fi
222
223
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224
  :
225
else
226
  exitcode=1
227
  echo positional parameters were not saved.
228
fi
229
230
test \$exitcode = 0) || { (exit 1); exit 1; }
231
232
(
233
  as_lineno_1=\$LINENO
234
  as_lineno_2=\$LINENO
235
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237
") 2> /dev/null; then
238
  :
239
else
240
  as_candidate_shells=
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
241
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243
do
244
  IFS=$as_save_IFS
245
  test -z "$as_dir" && as_dir=.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
246
  case $as_dir in
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
247
	 /*)
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
248
	   for as_base in sh bash ksh sh5; do
249
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250
	   done;;
251
       esac
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
252
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
253
IFS=$as_save_IFS
254
255
256
      for as_shell in $as_candidate_shells $SHELL; do
257
	 # Try only shells that exist, to save several forks.
258
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
260
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261
  emulate sh
262
  NULLCMD=:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
263
  # 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.
264
  # is contrary to our usage.  Disable this feature.
265
  alias -g '${1+"$@"}'='"$@"'
266
  setopt NO_GLOB_SUBST
267
else
268
  case `(set -o) 2>/dev/null` in
269
  *posix*) set -o posix ;;
270
esac
271
272
fi
273
274
275
:
276
_ASEOF
277
}; then
278
  CONFIG_SHELL=$as_shell
279
	       as_have_required=yes
280
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
281
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282
  emulate sh
283
  NULLCMD=:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
284
  # 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.
285
  # is contrary to our usage.  Disable this feature.
286
  alias -g '${1+"$@"}'='"$@"'
287
  setopt NO_GLOB_SUBST
288
else
289
  case `(set -o) 2>/dev/null` in
290
  *posix*) set -o posix ;;
291
esac
292
293
fi
294
295
296
:
297
(as_func_return () {
298
  (exit $1)
299
}
300
as_func_success () {
301
  as_func_return 0
302
}
303
as_func_failure () {
304
  as_func_return 1
305
}
306
as_func_ret_success () {
307
  return 0
308
}
309
as_func_ret_failure () {
310
  return 1
311
}
312
313
exitcode=0
314
if as_func_success; then
315
  :
316
else
317
  exitcode=1
318
  echo as_func_success failed.
319
fi
320
321
if as_func_failure; then
322
  exitcode=1
323
  echo as_func_failure succeeded.
324
fi
325
326
if as_func_ret_success; then
327
  :
328
else
329
  exitcode=1
330
  echo as_func_ret_success failed.
331
fi
332
333
if as_func_ret_failure; then
334
  exitcode=1
335
  echo as_func_ret_failure succeeded.
336
fi
337
338
if ( set x; as_func_ret_success y && test x = "$1" ); then
339
  :
340
else
341
  exitcode=1
342
  echo positional parameters were not saved.
343
fi
344
345
test $exitcode = 0) || { (exit 1); exit 1; }
346
347
(
348
  as_lineno_1=$LINENO
349
  as_lineno_2=$LINENO
350
  test "x$as_lineno_1" != "x$as_lineno_2" &&
351
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353
_ASEOF
354
}; then
355
  break
356
fi
357
358
fi
359
360
      done
361
362
      if test "x$CONFIG_SHELL" != x; then
363
  for as_var in BASH_ENV ENV
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
364
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365
	done
366
	export CONFIG_SHELL
367
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
368
fi
369
370
371
    if test $as_have_required = no; then
372
  echo This script requires a shell more modern than all the
373
      echo shells that I found on your system.  Please install a
374
      echo modern shell, or manually run the script under such a
375
      echo shell if you do have one.
376
      { (exit 1); exit 1; }
377
fi
378
379
380
fi
381
382
fi
383
384
385
386
(eval "as_func_return () {
387
  (exit \$1)
388
}
389
as_func_success () {
390
  as_func_return 0
391
}
392
as_func_failure () {
393
  as_func_return 1
394
}
395
as_func_ret_success () {
396
  return 0
397
}
398
as_func_ret_failure () {
399
  return 1
400
}
401
402
exitcode=0
403
if as_func_success; then
404
  :
405
else
406
  exitcode=1
407
  echo as_func_success failed.
408
fi
409
410
if as_func_failure; then
411
  exitcode=1
412
  echo as_func_failure succeeded.
413
fi
414
415
if as_func_ret_success; then
416
  :
417
else
418
  exitcode=1
419
  echo as_func_ret_success failed.
420
fi
421
422
if as_func_ret_failure; then
423
  exitcode=1
424
  echo as_func_ret_failure succeeded.
425
fi
426
427
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428
  :
429
else
430
  exitcode=1
431
  echo positional parameters were not saved.
432
fi
433
434
test \$exitcode = 0") || {
435
  echo No shell found that supports shell functions.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
436
  echo Please tell bug-autoconf@gnu.org about your system,
437
  echo including any error possibly output before this message.
438
  echo This can help us improve future autoconf versions.
439
  echo Configuration will now proceed without shell functions.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
440
}
441
442
443
444
  as_lineno_1=$LINENO
445
  as_lineno_2=$LINENO
446
  test "x$as_lineno_1" != "x$as_lineno_2" &&
447
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
448
449
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450
  # uniformly replaced by the line number.  The first 'sed' inserts a
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
451
  # line-number line after each line using $LINENO; the second 'sed'
452
  # does the real work.  The second script uses 'N' to pair each
453
  # line-number line with the line containing $LINENO, and appends
454
  # trailing '-' during substitution so that $LINENO is not a special
455
  # case at line end.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
456
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
457
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
458
  # E. McMahon (1931-1989) for sed's syntax.  :-)
459
  sed -n '
460
    p
461
    /[$]LINENO/=
462
  ' <$as_myself |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
463
    sed '
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
464
      s/[$]LINENO.*/&-/
465
      t lineno
466
      b
467
      :lineno
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
468
      N
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
469
      :loop
470
      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
471
      t loop
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
472
      s/-\n.*//
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
473
    ' >$as_me.lineno &&
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
474
  chmod +x "$as_me.lineno" ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
475
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
476
   { (exit 1); exit 1; }; }
477
478
  # Don't try to exec as it changes $[0], causing all sort of problems
479
  # (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.
480
  # original and so on.  Autoconf is especially sensitive to this).
481
  . "./$as_me.lineno"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
482
  # Exit status is that of the last command.
483
  exit
484
}
485
486
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
487
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488
  as_dirname=dirname
489
else
490
  as_dirname=false
491
fi
492
493
ECHO_C= ECHO_N= ECHO_T=
494
case `echo -n x` in
495
-n*)
496
  case `echo 'x\c'` in
497
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
498
  *)   ECHO_C='\c';;
499
  esac;;
500
*)
501
  ECHO_N='-n';;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
502
esac
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
503
if expr a : '\(a\)' >/dev/null 2>&1 &&
504
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
505
  as_expr=expr
506
else
507
  as_expr=false
508
fi
509
510
rm -f conf$$ conf$$.exe conf$$.file
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
511
if test -d conf$$.dir; then
512
  rm -f conf$$.dir/conf$$.file
513
else
514
  rm -f conf$$.dir
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
515
  mkdir conf$$.dir 2>/dev/null
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
516
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
517
if (echo >conf$$.file) 2>/dev/null; then
518
  if ln -s conf$$.file conf$$ 2>/dev/null; then
519
    as_ln_s='ln -s'
520
    # ... but there are two gotchas:
521
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523
    # In both cases, we have to default to `cp -p'.
524
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
      as_ln_s='cp -p'
526
  elif ln conf$$.file conf$$ 2>/dev/null; then
527
    as_ln_s=ln
528
  else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
529
    as_ln_s='cp -p'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
530
  fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
531
else
532
  as_ln_s='cp -p'
533
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
534
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
535
rmdir conf$$.dir 2>/dev/null
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
536
537
if mkdir -p . 2>/dev/null; then
538
  as_mkdir_p=:
539
else
540
  test -d ./-p && rmdir ./-p
541
  as_mkdir_p=false
542
fi
543
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
544
if test -x / >/dev/null 2>&1; then
545
  as_test_x='test -x'
546
else
547
  if ls -dL / >/dev/null 2>&1; then
548
    as_ls_L_option=L
549
  else
550
    as_ls_L_option=
551
  fi
552
  as_test_x='
553
    eval sh -c '\''
554
      if test -d "$1"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
555
	test -d "$1/.";
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
556
      else
557
	case $1 in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
558
	-*)set "./$1";;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
559
	esac;
560
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
561
	???[sx]*):;;*)false;;esac;fi
562
    '\'' sh
563
  '
564
fi
565
as_executable_p=$as_test_x
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
566
567
# Sed expression to map a string onto a valid CPP name.
568
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
570
# Sed expression to map a string onto a valid variable name.
571
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
574
575
exec 7<&0 </dev/null 6>&1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
576
577
# Name of the host.
578
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
579
# so uname gets run too.
580
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
582
#
583
# Initializations.
584
#
1 by
This commit was manufactured by cvs2svn to create branch
585
ac_default_prefix=/usr/local
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
586
ac_clean_files=
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
587
ac_config_libobj_dir=.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
588
LIBOBJS=
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
589
cross_compiling=no
590
subdirs=
591
MFLAGS=
592
MAKEFLAGS=
593
SHELL=${CONFIG_SHELL-/bin/sh}
594
595
# Identity of this package.
596
PACKAGE_NAME=
597
PACKAGE_TARNAME=
598
PACKAGE_VERSION=
599
PACKAGE_STRING=
600
PACKAGE_BUGREPORT=
601
602
ac_unique_file="src/common.h"
1 by
This commit was manufactured by cvs2svn to create branch
603
ac_default_prefix=/usr/local/mailman
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
604
# Factoring default headers for most tests.
605
ac_includes_default="\
606
#include <stdio.h>
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
607
#ifdef HAVE_SYS_TYPES_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
608
# include <sys/types.h>
609
#endif
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
610
#ifdef HAVE_SYS_STAT_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
611
# include <sys/stat.h>
612
#endif
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
613
#ifdef STDC_HEADERS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
614
# include <stdlib.h>
615
# include <stddef.h>
616
#else
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
617
# ifdef HAVE_STDLIB_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
618
#  include <stdlib.h>
619
# endif
620
#endif
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
621
#ifdef HAVE_STRING_H
622
# 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
623
#  include <memory.h>
624
# endif
625
# include <string.h>
626
#endif
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
627
#ifdef HAVE_STRINGS_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
628
# include <strings.h>
629
#endif
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
630
#ifdef HAVE_INTTYPES_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
631
# include <inttypes.h>
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
632
#endif
633
#ifdef HAVE_STDINT_H
634
# include <stdint.h>
635
#endif
636
#ifdef HAVE_UNISTD_H
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
637
# include <unistd.h>
638
#endif"
639
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
640
ac_subst_vars='LTLIBOBJS
641
LIBOBJS
642
SCRIPTS
643
EGREP
644
GREP
645
CPP
646
URLHOST
647
MAILHOST
648
CGIEXT
649
CGI_GROUP
650
MAIL_GROUP
651
MAILMAN_GROUP
652
MAILMAN_USER
653
VAR_PREFIX
654
OPT
655
OBJEXT
656
EXEEXT
657
ac_ct_CC
658
CPPFLAGS
659
LDFLAGS
660
CFLAGS
661
CC
662
TRUE
663
SET_MAKE
664
INSTALL_DATA
665
INSTALL_SCRIPT
666
INSTALL_PROGRAM
667
KOCODECSPKG
668
JACODECSPKG
669
EMAILPKG
670
PYTHON
671
with_python
672
target_alias
673
host_alias
674
build_alias
675
LIBS
676
ECHO_T
677
ECHO_N
678
ECHO_C
679
DEFS
680
mandir
681
localedir
682
libdir
683
psdir
684
pdfdir
685
dvidir
686
htmldir
687
infodir
688
docdir
689
oldincludedir
690
includedir
691
localstatedir
692
sharedstatedir
693
sysconfdir
694
datadir
695
datarootdir
696
libexecdir
697
sbindir
698
bindir
699
program_transform_name
700
prefix
701
exec_prefix
702
PACKAGE_BUGREPORT
703
PACKAGE_STRING
704
PACKAGE_VERSION
705
PACKAGE_TARNAME
706
PACKAGE_NAME
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
707
PATH_SEPARATOR
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
708
SHELL'
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
709
ac_subst_files=''
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
710
ac_user_opts='
711
enable_option_checking
712
with_python
713
with_gcc
714
with_var_prefix
715
with_permcheck
716
with_username
717
with_groupname
718
with_mail_gid
719
with_cgi_gid
720
with_cgi_ext
721
with_mailhost
722
with_urlhost
723
'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
724
      ac_precious_vars='build_alias
725
host_alias
726
target_alias
727
CC
728
CFLAGS
729
LDFLAGS
730
LIBS
731
CPPFLAGS
732
CPP'
733
1 by
This commit was manufactured by cvs2svn to create branch
734
735
# Initialize some variables set by options.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
736
ac_init_help=
737
ac_init_version=false
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
738
ac_unrecognized_opts=
739
ac_unrecognized_sep=
1 by
This commit was manufactured by cvs2svn to create branch
740
# The variables have the same names as the options, with
741
# dashes changed to underlines.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
742
cache_file=/dev/null
1 by
This commit was manufactured by cvs2svn to create branch
743
exec_prefix=NONE
744
no_create=
745
no_recursion=
746
prefix=NONE
747
program_prefix=NONE
748
program_suffix=NONE
749
program_transform_name=s,x,x,
750
silent=
751
site=
752
srcdir=
753
verbose=
754
x_includes=NONE
755
x_libraries=NONE
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
756
757
# Installation directory options.
758
# These are left unexpanded so users can "make install exec_prefix=/foo"
759
# and all the variables that are supposed to be based on exec_prefix
760
# by default will actually change.
761
# 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.
762
# (The list follows the same order as the GNU Coding Standards.)
1 by
This commit was manufactured by cvs2svn to create branch
763
bindir='${exec_prefix}/bin'
764
sbindir='${exec_prefix}/sbin'
765
libexecdir='${exec_prefix}/libexec'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
766
datarootdir='${prefix}/share'
767
datadir='${datarootdir}'
1 by
This commit was manufactured by cvs2svn to create branch
768
sysconfdir='${prefix}/etc'
769
sharedstatedir='${prefix}/com'
770
localstatedir='${prefix}/var'
771
includedir='${prefix}/include'
772
oldincludedir='/usr/include'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
773
docdir='${datarootdir}/doc/${PACKAGE}'
774
infodir='${datarootdir}/info'
775
htmldir='${docdir}'
776
dvidir='${docdir}'
777
pdfdir='${docdir}'
778
psdir='${docdir}'
779
libdir='${exec_prefix}/lib'
780
localedir='${datarootdir}/locale'
781
mandir='${datarootdir}/man'
1 by
This commit was manufactured by cvs2svn to create branch
782
783
ac_prev=
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
784
ac_dashdash=
1 by
This commit was manufactured by cvs2svn to create branch
785
for ac_option
786
do
787
  # If the previous option needs an argument, assign it.
788
  if test -n "$ac_prev"; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
789
    eval $ac_prev=\$ac_option
1 by
This commit was manufactured by cvs2svn to create branch
790
    ac_prev=
791
    continue
792
  fi
793
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
794
  case $ac_option in
795
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796
  *)	ac_optarg=yes ;;
797
  esac
1 by
This commit was manufactured by cvs2svn to create branch
798
799
  # Accept the important Cygnus configure options, so we can diagnose typos.
800
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
801
  case $ac_dashdash$ac_option in
802
  --)
803
    ac_dashdash=yes ;;
1 by
This commit was manufactured by cvs2svn to create branch
804
805
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
806
    ac_prev=bindir ;;
807
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
808
    bindir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
809
810
  -build | --build | --buil | --bui | --bu)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
811
    ac_prev=build_alias ;;
1 by
This commit was manufactured by cvs2svn to create branch
812
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
813
    build_alias=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
814
815
  -cache-file | --cache-file | --cache-fil | --cache-fi \
816
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817
    ac_prev=cache_file ;;
818
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819
  | --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
820
    cache_file=$ac_optarg ;;
821
822
  --config-cache | -C)
823
    cache_file=config.cache ;;
1 by
This commit was manufactured by cvs2svn to create branch
824
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
825
  -datadir | --datadir | --datadi | --datad)
1 by
This commit was manufactured by cvs2svn to create branch
826
    ac_prev=datadir ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
827
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
828
    datadir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
829
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
830
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831
  | --dataroo | --dataro | --datar)
832
    ac_prev=datarootdir ;;
833
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835
    datarootdir=$ac_optarg ;;
836
1 by
This commit was manufactured by cvs2svn to create branch
837
  -disable-* | --disable-*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
838
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1 by
This commit was manufactured by cvs2svn to create branch
839
    # Reject names that are not valid shell variable names.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
840
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
842
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
843
    ac_useropt_orig=$ac_useropt
844
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845
    case $ac_user_opts in
846
      *"
847
"enable_$ac_useropt"
848
"*) ;;
849
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
850
	 ac_unrecognized_sep=', ';;
851
    esac
852
    eval enable_$ac_useropt=no ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
853
854
  -docdir | --docdir | --docdi | --doc | --do)
855
    ac_prev=docdir ;;
856
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857
    docdir=$ac_optarg ;;
858
859
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860
    ac_prev=dvidir ;;
861
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862
    dvidir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
863
864
  -enable-* | --enable-*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
865
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1 by
This commit was manufactured by cvs2svn to create branch
866
    # Reject names that are not valid shell variable names.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
867
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
869
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
870
    ac_useropt_orig=$ac_useropt
871
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872
    case $ac_user_opts in
873
      *"
874
"enable_$ac_useropt"
875
"*) ;;
876
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877
	 ac_unrecognized_sep=', ';;
878
    esac
879
    eval enable_$ac_useropt=\$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
880
881
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883
  | --exec | --exe | --ex)
884
    ac_prev=exec_prefix ;;
885
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
886
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
887
  | --exec=* | --exe=* | --ex=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
888
    exec_prefix=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
889
890
  -gas | --gas | --ga | --g)
891
    # Obsolete; use --with-gas.
892
    with_gas=yes ;;
893
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
894
  -help | --help | --hel | --he | -h)
895
    ac_init_help=long ;;
896
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
897
    ac_init_help=recursive ;;
898
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
899
    ac_init_help=short ;;
1 by
This commit was manufactured by cvs2svn to create branch
900
901
  -host | --host | --hos | --ho)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
902
    ac_prev=host_alias ;;
1 by
This commit was manufactured by cvs2svn to create branch
903
  -host=* | --host=* | --hos=* | --ho=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
904
    host_alias=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
905
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
906
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
907
    ac_prev=htmldir ;;
908
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
909
  | --ht=*)
910
    htmldir=$ac_optarg ;;
911
1 by
This commit was manufactured by cvs2svn to create branch
912
  -includedir | --includedir | --includedi | --included | --include \
913
  | --includ | --inclu | --incl | --inc)
914
    ac_prev=includedir ;;
915
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
916
  | --includ=* | --inclu=* | --incl=* | --inc=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
917
    includedir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
918
919
  -infodir | --infodir | --infodi | --infod | --info | --inf)
920
    ac_prev=infodir ;;
921
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
922
    infodir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
923
924
  -libdir | --libdir | --libdi | --libd)
925
    ac_prev=libdir ;;
926
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
927
    libdir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
928
929
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
930
  | --libexe | --libex | --libe)
931
    ac_prev=libexecdir ;;
932
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
933
  | --libexe=* | --libex=* | --libe=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
934
    libexecdir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
935
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
936
  -localedir | --localedir | --localedi | --localed | --locale)
937
    ac_prev=localedir ;;
938
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
939
    localedir=$ac_optarg ;;
940
1 by
This commit was manufactured by cvs2svn to create branch
941
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
942
  | --localstate | --localstat | --localsta | --localst | --locals)
1 by
This commit was manufactured by cvs2svn to create branch
943
    ac_prev=localstatedir ;;
944
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
945
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
946
    localstatedir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
947
948
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
949
    ac_prev=mandir ;;
950
  -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
951
    mandir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
952
953
  -nfp | --nfp | --nf)
954
    # Obsolete; use --without-fp.
955
    with_fp=no ;;
956
957
  -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
958
  | --no-cr | --no-c | -n)
1 by
This commit was manufactured by cvs2svn to create branch
959
    no_create=yes ;;
960
961
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
962
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
963
    no_recursion=yes ;;
964
965
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
966
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
967
  | --oldin | --oldi | --old | --ol | --o)
968
    ac_prev=oldincludedir ;;
969
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
970
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
971
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
972
    oldincludedir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
973
974
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
975
    ac_prev=prefix ;;
976
  -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
977
    prefix=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
978
979
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
980
  | --program-pre | --program-pr | --program-p)
981
    ac_prev=program_prefix ;;
982
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
983
  | --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
984
    program_prefix=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
985
986
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
987
  | --program-suf | --program-su | --program-s)
988
    ac_prev=program_suffix ;;
989
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
990
  | --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
991
    program_suffix=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
992
993
  -program-transform-name | --program-transform-name \
994
  | --program-transform-nam | --program-transform-na \
995
  | --program-transform-n | --program-transform- \
996
  | --program-transform | --program-transfor \
997
  | --program-transfo | --program-transf \
998
  | --program-trans | --program-tran \
999
  | --progr-tra | --program-tr | --program-t)
1000
    ac_prev=program_transform_name ;;
1001
  -program-transform-name=* | --program-transform-name=* \
1002
  | --program-transform-nam=* | --program-transform-na=* \
1003
  | --program-transform-n=* | --program-transform-=* \
1004
  | --program-transform=* | --program-transfor=* \
1005
  | --program-transfo=* | --program-transf=* \
1006
  | --program-trans=* | --program-tran=* \
1007
  | --progr-tra=* | --program-tr=* | --program-t=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1008
    program_transform_name=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1009
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1010
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1011
    ac_prev=pdfdir ;;
1012
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1013
    pdfdir=$ac_optarg ;;
1014
1015
  -psdir | --psdir | --psdi | --psd | --ps)
1016
    ac_prev=psdir ;;
1017
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1018
    psdir=$ac_optarg ;;
1019
1 by
This commit was manufactured by cvs2svn to create branch
1020
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021
  | -silent | --silent | --silen | --sile | --sil)
1022
    silent=yes ;;
1023
1024
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1025
    ac_prev=sbindir ;;
1026
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1027
  | --sbi=* | --sb=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1028
    sbindir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1029
1030
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1031
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1032
  | --sharedst | --shareds | --shared | --share | --shar \
1033
  | --sha | --sh)
1034
    ac_prev=sharedstatedir ;;
1035
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1036
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1037
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1038
  | --sha=* | --sh=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1039
    sharedstatedir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1040
1041
  -site | --site | --sit)
1042
    ac_prev=site ;;
1043
  -site=* | --site=* | --sit=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1044
    site=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1045
1046
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1047
    ac_prev=srcdir ;;
1048
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1049
    srcdir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1050
1051
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1052
  | --syscon | --sysco | --sysc | --sys | --sy)
1053
    ac_prev=sysconfdir ;;
1054
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1055
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1056
    sysconfdir=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1057
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
    ac_prev=target_alias ;;
1 by
This commit was manufactured by cvs2svn to create branch
1060
  -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
1061
    target_alias=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1062
1063
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1064
    verbose=yes ;;
1065
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1066
  -version | --version | --versio | --versi | --vers | -V)
1067
    ac_init_version=: ;;
1 by
This commit was manufactured by cvs2svn to create branch
1068
1069
  -with-* | --with-*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1070
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1 by
This commit was manufactured by cvs2svn to create branch
1071
    # Reject names that are not valid shell variable names.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1072
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1074
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1075
    ac_useropt_orig=$ac_useropt
1076
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077
    case $ac_user_opts in
1078
      *"
1079
"with_$ac_useropt"
1080
"*) ;;
1081
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082
	 ac_unrecognized_sep=', ';;
1083
    esac
1084
    eval with_$ac_useropt=\$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1085
1086
  -without-* | --without-*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1087
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1 by
This commit was manufactured by cvs2svn to create branch
1088
    # Reject names that are not valid shell variable names.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1089
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1091
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1092
    ac_useropt_orig=$ac_useropt
1093
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094
    case $ac_user_opts in
1095
      *"
1096
"with_$ac_useropt"
1097
"*) ;;
1098
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099
	 ac_unrecognized_sep=', ';;
1100
    esac
1101
    eval with_$ac_useropt=no ;;
1 by
This commit was manufactured by cvs2svn to create branch
1102
1103
  --x)
1104
    # Obsolete; use --with-x.
1105
    with_x=yes ;;
1106
1107
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1108
  | --x-incl | --x-inc | --x-in | --x-i)
1109
    ac_prev=x_includes ;;
1110
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1111
  | --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
1112
    x_includes=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1113
1114
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1115
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1116
    ac_prev=x_libraries ;;
1117
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1118
  | --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
1119
    x_libraries=$ac_optarg ;;
1 by
This commit was manufactured by cvs2svn to create branch
1120
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1121
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1122
Try \`$0 --help' for more information." >&2
1123
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
1124
    ;;
1125
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1126
  *=*)
1127
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1128
    # Reject names that are not valid shell variable names.
1129
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1130
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1131
   { (exit 1); exit 1; }; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1132
    eval $ac_envvar=\$ac_optarg
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1133
    export $ac_envvar ;;
1134
1 by
This commit was manufactured by cvs2svn to create branch
1135
  *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1136
    # FIXME: should be removed in autoconf 3.0.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1137
    $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
1138
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1139
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1140
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1 by
This commit was manufactured by cvs2svn to create branch
1141
    ;;
1142
1143
  esac
1144
done
1145
1146
if test -n "$ac_prev"; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1147
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1148
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1149
   { (exit 1); exit 1; }; }
1150
fi
1151
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1152
if test -n "$ac_unrecognized_opts"; then
1153
  case $enable_option_checking in
1154
    no) ;;
1155
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1156
   { (exit 1); exit 1; }; } ;;
1157
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158
  esac
1159
fi
1160
1161
# Check all directory arguments for consistency.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1162
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163
		datadir sysconfdir sharedstatedir localstatedir includedir \
1164
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165
		libdir localedir mandir
1166
do
1167
  eval ac_val=\$$ac_var
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1168
  # Remove trailing slashes.
1169
  case $ac_val in
1170
    */ )
1171
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172
      eval $ac_var=\$ac_val;;
1173
  esac
1174
  # Be sure to have absolute directory names.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1175
  case $ac_val in
1176
    [\\/$]* | ?:[\\/]* )  continue;;
1177
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1178
  esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1179
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1180
   { (exit 1); exit 1; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1181
done
1182
1183
# There might be people who depend on the old broken behavior: `$host'
1184
# used to hold the argument of --host etc.
1185
# FIXME: To remove some day.
1186
build=$build_alias
1187
host=$host_alias
1188
target=$target_alias
1189
1190
# FIXME: To remove some day.
1191
if test "x$host_alias" != x; then
1192
  if test "x$build_alias" = x; then
1193
    cross_compiling=maybe
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1194
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1195
    If a cross compiler is detected then cross compile mode will be used." >&2
1196
  elif test "x$build_alias" != "x$host_alias"; then
1197
    cross_compiling=yes
1198
  fi
1199
fi
1200
1201
ac_tool_prefix=
1202
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1203
1204
test "$silent" = yes && exec 6>/dev/null
1205
1 by
This commit was manufactured by cvs2svn to create branch
1206
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1207
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208
ac_ls_di=`ls -di .` &&
1209
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1210
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1211
   { (exit 1); exit 1; }; }
1212
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1213
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1214
   { (exit 1); exit 1; }; }
1215
1216
1 by
This commit was manufactured by cvs2svn to create branch
1217
# Find the source files, if location was not specified.
1218
if test -z "$srcdir"; then
1219
  ac_srcdir_defaulted=yes
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1220
  # Try the directory containing this script, then the parent directory.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1221
  ac_confdir=`$as_dirname -- "$as_myself" ||
1222
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1224
	 X"$as_myself" : 'X\(//\)$' \| \
1225
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226
$as_echo X"$as_myself" |
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1227
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1228
	    s//\1/
1229
	    q
1230
	  }
1231
	  /^X\(\/\/\)[^/].*/{
1232
	    s//\1/
1233
	    q
1234
	  }
1235
	  /^X\(\/\/\)$/{
1236
	    s//\1/
1237
	    q
1238
	  }
1239
	  /^X\(\/\).*/{
1240
	    s//\1/
1241
	    q
1242
	  }
1243
	  s/.*/./; q'`
1 by
This commit was manufactured by cvs2svn to create branch
1244
  srcdir=$ac_confdir
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1245
  if test ! -r "$srcdir/$ac_unique_file"; then
1 by
This commit was manufactured by cvs2svn to create branch
1246
    srcdir=..
1247
  fi
1248
else
1249
  ac_srcdir_defaulted=no
1250
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1251
if test ! -r "$srcdir/$ac_unique_file"; then
1252
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1253
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1254
   { (exit 1); exit 1; }; }
1255
fi
1256
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1257
ac_abs_confdir=`(
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1258
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1259
   { (exit 1); exit 1; }; }
1260
	pwd)`
1261
# When building in place, set srcdir=.
1262
if test "$ac_abs_confdir" = "$ac_pwd"; then
1263
  srcdir=.
1264
fi
1265
# Remove unnecessary trailing slashes from srcdir.
1266
# Double slashes in file names in object file debugging info
1267
# mess up M-x gdb in Emacs.
1268
case $srcdir in
1269
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270
esac
1271
for ac_var in $ac_precious_vars; do
1272
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273
  eval ac_env_${ac_var}_value=\$${ac_var}
1274
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276
done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1277
1278
#
1279
# Report the --help message.
1280
#
1281
if test "$ac_init_help" = "long"; then
1282
  # Omit some internal or obsolete options to make the list less imposing.
1283
  # This message is too long to be a string in the A/UX 3.1 sh.
1284
  cat <<_ACEOF
1285
\`configure' configures this package to adapt to many kinds of systems.
1286
1287
Usage: $0 [OPTION]... [VAR=VALUE]...
1288
1289
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290
VAR=VALUE.  See below for descriptions of some of the useful variables.
1291
1292
Defaults for the options are specified in brackets.
1293
1294
Configuration:
1295
  -h, --help              display this help and exit
1296
      --help=short        display options specific to this package
1297
      --help=recursive    display the short help of all the included packages
1298
  -V, --version           display version information and exit
1299
  -q, --quiet, --silent   do not print \`checking...' messages
1300
      --cache-file=FILE   cache test results in FILE [disabled]
1301
  -C, --config-cache      alias for \`--cache-file=config.cache'
1302
  -n, --no-create         do not create output files
1303
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1304
1305
Installation directories:
1306
  --prefix=PREFIX         install architecture-independent files in PREFIX
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1307
                          [$ac_default_prefix]
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1308
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1309
                          [PREFIX]
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1310
1311
By default, \`make install' will install all the files in
1312
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1313
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314
for instance \`--prefix=\$HOME'.
1315
1316
For better control, use the options below.
1317
1318
Fine tuning of the installation directories:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1319
  --bindir=DIR            user executables [EPREFIX/bin]
1320
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1321
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1322
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1323
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1324
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1325
  --libdir=DIR            object code libraries [EPREFIX/lib]
1326
  --includedir=DIR        C header files [PREFIX/include]
1327
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1328
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1329
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1330
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1331
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1332
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1333
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1334
  --htmldir=DIR           html documentation [DOCDIR]
1335
  --dvidir=DIR            dvi documentation [DOCDIR]
1336
  --pdfdir=DIR            pdf documentation [DOCDIR]
1337
  --psdir=DIR             ps documentation [DOCDIR]
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1338
_ACEOF
1339
1340
  cat <<\_ACEOF
1341
_ACEOF
1342
fi
1343
1344
if test -n "$ac_init_help"; then
1345
1346
  cat <<\_ACEOF
1347
1348
Optional Packages:
1349
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1350
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1351
  --with-python                specify path to Python interpreter
1352
  --without-gcc               never use gcc
1353
  --with-var-prefix     directory for mutable data /var/mailman
1354
  --without-permcheck  skip the check for target directory permissions
1355
  --with-username      specify a user name other than \"mailman\"
1356
  --with-groupname     specify a group name other than \"mailman\"
1357
  --with-mail-gid      group name mail programs run as
1358
  --with-cgi-gid       group name CGI programs run as
1359
  --with-cgi-ext       specify extension for CGI programs (include dot)
1360
  --with-mailhost      specify the hostname part for outgoing email
1361
  --with-urlhost       specify the hostname part of urls
1362
1363
Some influential environment variables:
1364
  CC          C compiler command
1365
  CFLAGS      C compiler flags
1366
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1367
              nonstandard directory <lib dir>
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1368
  LIBS        libraries to pass to the linker, e.g. -l<library>
1369
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1370
              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
1371
  CPP         C preprocessor
1372
1373
Use these variables to override the choices made by `configure' or to help
1374
it to find libraries and programs with nonstandard names/locations.
1375
1376
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1377
ac_status=$?
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1378
fi
1379
1380
if test "$ac_init_help" = "recursive"; then
1381
  # If there are subdirs, report their specific --help.
1382
  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
1383
    test -d "$ac_dir" ||
1384
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1385
      continue
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1386
    ac_builddir=.
1387
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1388
case "$ac_dir" in
1389
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390
*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1391
  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.
1392
  # A ".." for each directory in $ac_dir_suffix.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1393
  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.
1394
  case $ac_top_builddir_sub in
1395
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397
  esac ;;
1398
esac
1399
ac_abs_top_builddir=$ac_pwd
1400
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1401
# for backward compatibility:
1402
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
1403
1404
case $srcdir in
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1405
  .)  # We are building in place.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1406
    ac_srcdir=.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1407
    ac_top_srcdir=$ac_top_builddir_sub
1408
    ac_abs_top_srcdir=$ac_pwd ;;
1409
  [\\/]* | ?:[\\/]* )  # Absolute name.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1410
    ac_srcdir=$srcdir$ac_dir_suffix;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1411
    ac_top_srcdir=$srcdir
1412
    ac_abs_top_srcdir=$srcdir ;;
1413
  *) # Relative name.
1414
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1415
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1416
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1417
esac
1418
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1419
1420
    cd "$ac_dir" || { ac_status=$?; continue; }
1421
    # Check for guested configure.
1422
    if test -f "$ac_srcdir/configure.gnu"; then
1423
      echo &&
1424
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1425
    elif test -f "$ac_srcdir/configure"; then
1426
      echo &&
1427
      $SHELL "$ac_srcdir/configure" --help=recursive
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1428
    else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1429
      $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.
1430
    fi || ac_status=$?
1431
    cd "$ac_pwd" || { ac_status=$?; break; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1432
  done
1433
fi
1434
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1435
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
1436
if $ac_init_version; then
1437
  cat <<\_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1438
configure
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1439
generated by GNU Autoconf 2.63
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1440
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1441
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1442
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1443
This configure script is free software; the Free Software Foundation
1444
gives unlimited permission to copy, distribute and modify it.
1445
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1446
  exit
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1447
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1448
cat >config.log <<_ACEOF
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1449
This file contains any messages produced by compilers while
1450
running configure, to aid debugging if configure makes a mistake.
1451
1452
It was created by $as_me, which was
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1453
generated by GNU Autoconf 2.63.  Invocation command line was
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1454
1455
  $ $0 $@
1456
1457
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1458
exec 5>>config.log
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1459
{
1460
cat <<_ASUNAME
1461
## --------- ##
1462
## Platform. ##
1463
## --------- ##
1464
1465
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1466
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1467
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1468
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1469
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1470
1471
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1472
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1473
1474
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1475
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1476
/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.
1477
/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
1478
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1479
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1480
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1481
1482
_ASUNAME
1483
1484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485
for as_dir in $PATH
1486
do
1487
  IFS=$as_save_IFS
1488
  test -z "$as_dir" && as_dir=.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1489
  $as_echo "PATH: $as_dir"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1490
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1491
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1492
1493
} >&5
1494
1495
cat >&5 <<_ACEOF
1496
1497
1498
## ----------- ##
1499
## Core tests. ##
1500
## ----------- ##
1501
1502
_ACEOF
1503
1504
1505
# Keep a trace of the command line.
1506
# Strip out --no-create and --no-recursion so they do not pile up.
1507
# Strip out --silent because we don't want to record it for future runs.
1508
# Also quote any args containing shell meta-characters.
1509
# Make two passes to allow for proper duplicate-argument suppression.
1510
ac_configure_args=
1511
ac_configure_args0=
1512
ac_configure_args1=
1513
ac_must_keep_next=false
1514
for ac_pass in 1 2
1515
do
1516
  for ac_arg
1517
  do
1518
    case $ac_arg in
1519
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1520
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1521
    | -silent | --silent | --silen | --sile | --sil)
1522
      continue ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1523
    *\'*)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1524
      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
1525
    esac
1526
    case $ac_pass in
1527
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1528
    2)
1529
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1530
      if test $ac_must_keep_next = true; then
1531
	ac_must_keep_next=false # Got value, back to normal.
1532
      else
1533
	case $ac_arg in
1534
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1535
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1536
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1537
	  | -with-* | --with-* | -without-* | --without-* | --x)
1538
	    case "$ac_configure_args0 " in
1539
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1540
	    esac
1541
	    ;;
1542
	  -* ) ac_must_keep_next=true ;;
1543
	esac
1544
      fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1545
      ac_configure_args="$ac_configure_args '$ac_arg'"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1546
      ;;
1547
    esac
1548
  done
1549
done
1550
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1551
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1552
1553
# When interrupted or exit'd, cleanup temporary files, and complete
1554
# config.log.  We remove comments because anyway the quotes in there
1555
# would cause problems or look ugly.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1556
# WARNING: Use '\'' to represent an apostrophe within the trap.
1557
# 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
1558
trap 'exit_status=$?
1559
  # Save into config.log some information that might help in debugging.
1560
  {
1561
    echo
1562
1563
    cat <<\_ASBOX
1564
## ---------------- ##
1565
## Cache variables. ##
1566
## ---------------- ##
1567
_ASBOX
1568
    echo
1569
    # 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.
1570
(
1571
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1572
    eval ac_val=\$$ac_var
1573
    case $ac_val in #(
1574
    *${as_nl}*)
1575
      case $ac_var in #(
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1576
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1577
$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.
1578
      esac
1579
      case $ac_var in #(
1580
      _ | IFS | as_nl) ;; #(
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1581
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1582
      *) $as_unset $ac_var ;;
1583
      esac ;;
1584
    esac
1585
  done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1586
  (set) 2>&1 |
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1587
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1588
    *${as_nl}ac_space=\ *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1589
      sed -n \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1590
	"s/'\''/'\''\\\\'\'''\''/g;
1591
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1592
      ;; #(
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1593
    *)
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1594
      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
1595
      ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1596
    esac |
1597
    sort
1598
)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1599
    echo
1600
1601
    cat <<\_ASBOX
1602
## ----------------- ##
1603
## Output variables. ##
1604
## ----------------- ##
1605
_ASBOX
1606
    echo
1607
    for ac_var in $ac_subst_vars
1608
    do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1609
      eval ac_val=\$$ac_var
1610
      case $ac_val in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1611
      *\'\''*) 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.
1612
      esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1613
      $as_echo "$ac_var='\''$ac_val'\''"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1614
    done | sort
1615
    echo
1616
1617
    if test -n "$ac_subst_files"; then
1618
      cat <<\_ASBOX
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1619
## ------------------- ##
1620
## File substitutions. ##
1621
## ------------------- ##
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1622
_ASBOX
1623
      echo
1624
      for ac_var in $ac_subst_files
1625
      do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1626
	eval ac_val=\$$ac_var
1627
	case $ac_val in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1628
	*\'\''*) 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.
1629
	esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1630
	$as_echo "$ac_var='\''$ac_val'\''"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1631
      done | sort
1632
      echo
1633
    fi
1634
1635
    if test -s confdefs.h; then
1636
      cat <<\_ASBOX
1637
## ----------- ##
1638
## confdefs.h. ##
1639
## ----------- ##
1640
_ASBOX
1641
      echo
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1642
      cat confdefs.h
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1643
      echo
1644
    fi
1645
    test "$ac_signal" != 0 &&
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1646
      $as_echo "$as_me: caught signal $ac_signal"
1647
    $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
1648
  } >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1649
  rm -f core *.core core.conftest.* &&
1650
    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
1651
    exit $exit_status
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1652
' 0
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1653
for ac_signal in 1 2 13 15; do
1654
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1655
done
1656
ac_signal=0
1657
1658
# 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.
1659
rm -f -r conftest* confdefs.h
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1660
1661
# Predefined preprocessor variables.
1662
1663
cat >>confdefs.h <<_ACEOF
1664
#define PACKAGE_NAME "$PACKAGE_NAME"
1665
_ACEOF
1666
1667
1668
cat >>confdefs.h <<_ACEOF
1669
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1670
_ACEOF
1671
1672
1673
cat >>confdefs.h <<_ACEOF
1674
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1675
_ACEOF
1676
1677
1678
cat >>confdefs.h <<_ACEOF
1679
#define PACKAGE_STRING "$PACKAGE_STRING"
1680
_ACEOF
1681
1682
1683
cat >>confdefs.h <<_ACEOF
1684
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1685
_ACEOF
1686
1687
1688
# 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
1689
# Prefer an explicitly selected file to automatically selected ones.
1690
ac_site_file1=NONE
1691
ac_site_file2=NONE
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1692
if test -n "$CONFIG_SITE"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1693
  ac_site_file1=$CONFIG_SITE
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1694
elif test "x$prefix" != xNONE; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1695
  ac_site_file1=$prefix/share/config.site
1696
  ac_site_file2=$prefix/etc/config.site
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1697
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1698
  ac_site_file1=$ac_default_prefix/share/config.site
1699
  ac_site_file2=$ac_default_prefix/etc/config.site
1 by
This commit was manufactured by cvs2svn to create branch
1700
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1701
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.
1702
do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1703
  test "x$ac_site_file" = xNONE && continue
1 by
This commit was manufactured by cvs2svn to create branch
1704
  if test -r "$ac_site_file"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1705
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1706
$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
1707
    sed 's/^/| /' "$ac_site_file" >&5
1 by
This commit was manufactured by cvs2svn to create branch
1708
    . "$ac_site_file"
1709
  fi
1710
done
1711
1712
if test -r "$cache_file"; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1713
  # Some versions of bash will fail to source /dev/null (special
1714
  # files actually), so we avoid doing that.
1715
  if test -f "$cache_file"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1716
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1717
$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
1718
    case $cache_file in
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1719
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1720
      *)                      . "./$cache_file";;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1721
    esac
1722
  fi
1 by
This commit was manufactured by cvs2svn to create branch
1723
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1724
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1725
$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
1726
  >$cache_file
1727
fi
1728
1729
# Check that the precious variables saved in the cache have kept the same
1730
# value.
1731
ac_cache_corrupted=false
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1732
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
1733
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1734
  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.
1735
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1736
  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
1737
  case $ac_old_set,$ac_new_set in
1738
    set,)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1739
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1740
$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
1741
      ac_cache_corrupted=: ;;
1742
    ,set)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1743
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1744
$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
1745
      ac_cache_corrupted=: ;;
1746
    ,);;
1747
    *)
1748
      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
1749
	# differences in whitespace do not lead to failure.
1750
	ac_old_val_w=`echo x $ac_old_val`
1751
	ac_new_val_w=`echo x $ac_new_val`
1752
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1753
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1755
	  ac_cache_corrupted=:
1756
	else
1757
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1758
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1759
	  eval $ac_var=\$ac_old_val
1760
	fi
1761
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1762
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1763
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1764
$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
1765
      fi;;
1766
  esac
1767
  # Pass precious variables to config.status.
1768
  if test "$ac_new_set" = set; then
1769
    case $ac_new_val in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1770
    *\'*) 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
1771
    *) ac_arg=$ac_var=$ac_new_val ;;
1772
    esac
1773
    case " $ac_configure_args " in
1774
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1775
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1776
    esac
1777
  fi
1778
done
1779
if $ac_cache_corrupted; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1780
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1782
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1783
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1784
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1785
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1786
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
1787
fi
1788
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1 by
This commit was manufactured by cvs2svn to create branch
1805
ac_ext=c
1806
ac_cpp='$CPP $CPPFLAGS'
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1807
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1810
1811
1812
1813
1 by
This commit was manufactured by cvs2svn to create branch
1814
# /usr/local/mailman is the default installation directory
1815
1816
1817
1818
# Check for Python!  Better be found on $PATH
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1819
{ $as_echo "$as_me:$LINENO: checking for --with-python" >&5
1820
$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
1821
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1822
# Check whether --with-python was given.
1 by
This commit was manufactured by cvs2svn to create branch
1823
if test "${with_python+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1824
  withval=$with_python;
1825
fi
1 by
This commit was manufactured by cvs2svn to create branch
1826
1827
case "$with_python" in
1828
    "") ans="no";;
1829
    *)  ans="$with_python"
1830
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1831
{ $as_echo "$as_me:$LINENO: result: $ans" >&5
1832
$as_echo "$ans" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
1833
1834
if test -z "$with_python"
1835
then
1836
        # Extract the first word of "python", so it can be a program name with args.
1837
set dummy python; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1838
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1839
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1840
if test "${ac_cv_path_with_python+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1841
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
1842
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1843
  case $with_python in
1844
  [\\/]* | ?:[\\/]*)
1 by
This commit was manufactured by cvs2svn to create branch
1845
  ac_cv_path_with_python="$with_python" # Let the user override the test with a path.
1846
  ;;
1847
  *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1848
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849
for as_dir in $PATH
1850
do
1851
  IFS=$as_save_IFS
1852
  test -z "$as_dir" && as_dir=.
1853
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
1855
    ac_cv_path_with_python="$as_dir/$ac_word$ac_exec_ext"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1856
    $as_echo "$as_me:$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
1857
    break 2
1858
  fi
1859
done
1860
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1861
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1862
1 by
This commit was manufactured by cvs2svn to create branch
1863
  test -z "$ac_cv_path_with_python" && ac_cv_path_with_python="/usr/local/bin/python"
1864
  ;;
1865
esac
1866
fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1867
with_python=$ac_cv_path_with_python
1 by
This commit was manufactured by cvs2svn to create branch
1868
if test -n "$with_python"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1869
  { $as_echo "$as_me:$LINENO: result: $with_python" >&5
1870
$as_echo "$with_python" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
1871
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1872
  { $as_echo "$as_me:$LINENO: result: no" >&5
1873
$as_echo "no" >&6; }
1874
fi
1875
1876
1877
fi
1878
1879
{ $as_echo "$as_me:$LINENO: checking Python interpreter" >&5
1880
$as_echo_n "checking Python interpreter... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
1881
if test ! -x $with_python
1882
then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1883
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1884
1885
***** No Python interpreter found!
1886
***** Try including the configure option
1887
***** --with-python=/path/to/python/interpreter" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1888
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1889
1890
***** No Python interpreter found!
1891
***** Try including the configure option
1892
***** --with-python=/path/to/python/interpreter" >&2;}
1893
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
1894
fi
1895
1896
PYTHON=$with_python
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1897
{ $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
1898
$as_echo "$PYTHON" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
1899
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1900
# See if Python is new enough.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1901
{ $as_echo "$as_me:$LINENO: checking Python version" >&5
1902
$as_echo_n "checking Python version... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
1903
1904
cat > conftest.py <<EOF
1905
import sys
1906
try:
1907
    v = sys.hexversion
1908
except AttributeError:
1909
    v = 0
1139 by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove
1910
if v >= 0x2040000:
1 by
This commit was manufactured by cvs2svn to create branch
1911
    s = sys.version.split()[0]
1912
else:
1913
    s = ""
1914
fp = open("conftest.out", "w")
1915
fp.write("%s\n" % s)
1916
fp.close()
1917
EOF
1918
1919
$PYTHON conftest.py
1920
version=`cat conftest.out`
1921
rm -f conftest.out conftest.py
1922
if test -z "$version"
1923
then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1924
    { { $as_echo "$as_me:$LINENO: error:
1139 by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove
1925
1926
***** $PYTHON is too old (or broken)
1927
***** Python 2.4 or newer is required" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1928
$as_echo "$as_me: error:
1139 by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove
1929
1930
***** $PYTHON is too old (or broken)
1931
***** Python 2.4 or newer is required" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
1932
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
1933
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1934
{ $as_echo "$as_me:$LINENO: result: $version" >&5
1935
$as_echo "$version" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
1936
1937
# Check the email package version.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1938
{ $as_echo "$as_me:$LINENO: checking Python's email package" >&5
1939
$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.
1940
1941
cat > conftest.py <<EOF
1942
import sys
1943
try:
1944
    import email
1945
except ImportError:
1946
    res = "not ok"
1947
else:
1948
    provided = (2, 5, 8)
1139 by Barry Warsaw
Python 2.4 is a minimum. Also, fix some autoconf complaints and remove
1949
    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.
1950
    if provided > version:
1951
        res = "not ok"
1952
    else:
1953
        res = "ok"
1954
fp = open("conftest.out", "w")
1955
fp.write("%s\n" % res)
1956
fp.close()
1957
EOF
1958
1959
$PYTHON conftest.py
1960
needemailpkg=`cat conftest.out`
1961
rm -f conftest.out conftest.py
1962
1963
# Should we rely on Python's own email package or use the pre-packaged version?
1964
1965
if test "$needemailpkg" = "ok"
1966
then
1967
    EMAILPKG=""
1968
else
1969
    EMAILPKG=email-2.5.8
1970
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
1971
{ $as_echo "$as_me:$LINENO: result: $needemailpkg" >&5
1972
$as_echo "$needemailpkg" >&6; }
1973
1974
# Check Japanese codecs.
1975
{ $as_echo "$as_me:$LINENO: checking Japanese codecs" >&5
1976
$as_echo_n "checking Japanese codecs... " >&6; }
1977
1978
cat > conftest.py <<EOF
1979
try:
1980
    unicode('OK', 'iso-2022-jp')
1981
except LookupError:
1982
    res = "not ok"
1983
else:
1984
    res = "ok"
1985
fp = open("conftest.out", "w")
1986
fp.write("%s\n" % res)
1987
fp.close()
1988
EOF
1989
1990
$PYTHON conftest.py
1991
needjacodecs=`cat conftest.out`
1992
rm -f conftest.out conftest.py
1993
1994
# Does Python have Japanese codecs or do we need the pre-packaged version?
1995
1996
if test "$needjacodecs" = "ok"
1997
then
1998
    JACODECSPKG=""
1999
else
2000
    JACODECSPKG=JapaneseCodecs-1.4.11
2001
fi
2002
{ $as_echo "$as_me:$LINENO: result: $needjacodecs" >&5
2003
$as_echo "$needjacodecs" >&6; }
2004
2005
# Check Korean codecs.
2006
{ $as_echo "$as_me:$LINENO: checking Korean codecs" >&5
2007
$as_echo_n "checking Korean codecs... " >&6; }
2008
2009
cat > conftest.py <<EOF
2010
try:
2011
    unicode('OK', 'euc-kr')
2012
except LookupError:
2013
    res = "not ok"
2014
else:
2015
    res = "ok"
2016
fp = open("conftest.out", "w")
2017
fp.write("%s\n" % res)
2018
fp.close()
2019
EOF
2020
2021
$PYTHON conftest.py
2022
needkocodecs=`cat conftest.out`
2023
rm -f conftest.out conftest.py
2024
2025
# Does Python have Korean codecs or do we need the pre-packaged version?
2026
2027
if test "$needkocodecs" = "ok"
2028
then
2029
    KOCODECSPKG=""
2030
else
2031
    KOCODECSPKG=KoreanCodecs-2.0.5
2032
fi
2033
{ $as_echo "$as_me:$LINENO: result: $needkocodecs" >&5
2034
$as_echo "$needkocodecs" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2035
2036
# Make sure distutils is available.  Some Linux Python packages split
2037
# distutils into the "-devel" package, so they need both.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2038
{ $as_echo "$as_me:$LINENO: checking that Python has a working distutils" >&5
2039
$as_echo_n "checking that Python has a working distutils... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2040
2041
cat > conftest.py <<EOF
2042
try:
2043
    import distutils.errors
2044
    import distutils.sysconfig
2045
except ImportError:
2046
    res = "no"
2047
else:
2048
    try:
61 by bwarsaw
Backporting once again from the trunk.
2049
        distutils.sysconfig.get_config_vars()
1 by
This commit was manufactured by cvs2svn to create branch
2050
    except distutils.errors.DistutilsPlatformError:
61 by bwarsaw
Backporting once again from the trunk.
2051
        res = "no"
1 by
This commit was manufactured by cvs2svn to create branch
2052
    else:
991 by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not
2053
        # some RedHat packages put distutils in python, but the C headers
2054
        # are in python-devel so check for headers too.
2055
        import os.path
1374 by Mark Sapiro
Changed configure's method for getting Python's include directory from
2056
        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
2057
        if os.path.isfile(os.path.join(pdothpath, "Python.h")):
2058
            res = "yes"
2059
        else:
2060
            res = "no"
1 by
This commit was manufactured by cvs2svn to create branch
2061
fp = open("conftest.out", "w")
2062
fp.write("%s\n" % res)
2063
fp.close()
2064
EOF
2065
2066
$PYTHON conftest.py
2067
havedistutils=`cat conftest.out`
2068
rm -f conftest.out conftest.py
2069
if test "$havedistutils" != "yes"
2070
then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2071
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2072
2073
***** Distutils is not available or is incomplete for $PYTHON
2074
***** If you installed Python from RPM (or other package manager)
2075
***** be sure to install the -devel package, or install Python
991 by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not
2076
***** from source.  See sec. 15.1 of the Installation Manual for
2077
***** details" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2078
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2079
2080
***** Distutils is not available or is incomplete for $PYTHON
2081
***** If you installed Python from RPM (or other package manager)
2082
***** be sure to install the -devel package, or install Python
991 by Mark Sapiro
It is reported that some RedHat packages (for at least FC5 and FC6, but not
2083
***** from source.  See sec. 15.1 of the Installation Manual for
2084
***** details" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2085
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
2086
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2087
{ $as_echo "$as_me:$LINENO: result: $havedistutils" >&5
2088
$as_echo "$havedistutils" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2089
2090
# Checks for programs.
2091
ac_aux_dir=
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2092
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2093
  if test -f "$ac_dir/install-sh"; then
1 by
This commit was manufactured by cvs2svn to create branch
2094
    ac_aux_dir=$ac_dir
2095
    ac_install_sh="$ac_aux_dir/install-sh -c"
2096
    break
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2097
  elif test -f "$ac_dir/install.sh"; then
1 by
This commit was manufactured by cvs2svn to create branch
2098
    ac_aux_dir=$ac_dir
2099
    ac_install_sh="$ac_aux_dir/install.sh -c"
2100
    break
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2101
  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
2102
    ac_aux_dir=$ac_dir
2103
    ac_install_sh="$ac_aux_dir/shtool install -c"
2104
    break
1 by
This commit was manufactured by cvs2svn to create branch
2105
  fi
2106
done
2107
if test -z "$ac_aux_dir"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2108
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2109
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2110
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
2111
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2112
2113
# These three variables are undocumented and unsupported,
2114
# and are intended to be withdrawn in a future Autoconf release.
2115
# They can cause serious problems if a builder's source tree is in a directory
2116
# whose full name contains unusual characters.
2117
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2118
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2119
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2120
1 by
This commit was manufactured by cvs2svn to create branch
2121
2122
# Find a good install program.  We prefer a C program (faster),
2123
# so one script is as good as another.  But avoid the broken or
2124
# incompatible versions:
2125
# SysV /etc/install, /usr/sbin/install
2126
# SunOS /usr/etc/install
2127
# IRIX /sbin/install
2128
# AIX /bin/install
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2129
# AmigaOS /C/install, which installs bootblocks on floppy discs
1 by
This commit was manufactured by cvs2svn to create branch
2130
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2131
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2132
# 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
2133
# OS/2's system install, which has a completely different semantic
1 by
This commit was manufactured by cvs2svn to create branch
2134
# ./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
2135
# Reject install programs that cannot install multiple files.
2136
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2137
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2138
if test -z "$INSTALL"; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2139
if test "${ac_cv_path_install+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2140
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2141
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2142
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143
for as_dir in $PATH
2144
do
2145
  IFS=$as_save_IFS
2146
  test -z "$as_dir" && as_dir=.
2147
  # Account for people who put trailing slashes in PATH elements.
2148
case $as_dir/ in
2149
  ./ | .// | /cC/* | \
2150
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2151
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2152
  /usr/ucb/* ) ;;
2153
  *)
2154
    # OSF1 and SCO ODT 3.0 have their own names for install.
2155
    # Don't use installbsd from OSF since it installs stuff as root
2156
    # by default.
2157
    for ac_prog in ginstall scoinst install; do
2158
      for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2159
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
567 by bwarsaw
From the NEWS file:
2160
	  if test $ac_prog = install &&
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2161
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
567 by bwarsaw
From the NEWS file:
2162
	    # AIX install.  It has an incompatible calling convention.
2163
	    :
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2164
	  elif test $ac_prog = install &&
2165
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2166
	    # program-specific install script used by HP pwplus--don't use.
2167
	    :
567 by bwarsaw
From the NEWS file:
2168
	  else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2169
	    rm -rf conftest.one conftest.two conftest.dir
2170
	    echo one > conftest.one
2171
	    echo two > conftest.two
2172
	    mkdir conftest.dir
2173
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2174
	      test -s conftest.one && test -s conftest.two &&
2175
	      test -s conftest.dir/conftest.one &&
2176
	      test -s conftest.dir/conftest.two
2177
	    then
2178
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2179
	      break 3
2180
	    fi
567 by bwarsaw
From the NEWS file:
2181
	  fi
2182
	fi
1 by
This commit was manufactured by cvs2svn to create branch
2183
      done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2184
    done
2185
    ;;
2186
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2187
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2188
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2189
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2190
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2191
rm -rf conftest.one conftest.two conftest.dir
1 by
This commit was manufactured by cvs2svn to create branch
2192
2193
fi
2194
  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
2195
    INSTALL=$ac_cv_path_install
1 by
This commit was manufactured by cvs2svn to create branch
2196
  else
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2197
    # As a last resort, use the slow shell script.  Don't cache a
2198
    # value for INSTALL within a source directory, because that will
1 by
This commit was manufactured by cvs2svn to create branch
2199
    # 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.
2200
    # 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
2201
    INSTALL=$ac_install_sh
1 by
This commit was manufactured by cvs2svn to create branch
2202
  fi
2203
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2204
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2205
$as_echo "$INSTALL" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2206
2207
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2208
# It thinks the first close brace ends the variable substitution.
2209
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2211
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1 by
This commit was manufactured by cvs2svn to create branch
2212
2213
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2215
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2216
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2217
set x ${MAKE-make}
2218
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2219
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2220
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2221
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2222
  cat >conftest.make <<\_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2223
SHELL = /bin/sh
1 by
This commit was manufactured by cvs2svn to create branch
2224
all:
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2225
	@echo '@@@%%%=$(MAKE)=@@@%%%'
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2226
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
2227
# 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.
2228
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2229
  *@@@%%%=?*=@@@%%%*)
2230
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2231
  *)
2232
    eval ac_cv_prog_make_${ac_make}_set=no;;
2233
esac
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2234
rm -f conftest.make
1 by
This commit was manufactured by cvs2svn to create branch
2235
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2236
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2237
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2238
$as_echo "yes" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2239
  SET_MAKE=
2240
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2241
  { $as_echo "$as_me:$LINENO: result: no" >&5
2242
$as_echo "no" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2243
  SET_MAKE="MAKE=${MAKE-make}"
2244
fi
2245
2246
# Extract the first word of "true", so it can be a program name with args.
2247
set dummy true; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2248
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2249
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2250
if test "${ac_cv_path_TRUE+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2251
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2252
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2253
  case $TRUE in
2254
  [\\/]* | ?:[\\/]*)
1 by
This commit was manufactured by cvs2svn to create branch
2255
  ac_cv_path_TRUE="$TRUE" # Let the user override the test with a path.
2256
  ;;
2257
  *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2258
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259
as_dummy="$PATH:/bin:/usr/bin"
2260
for as_dir in $as_dummy
2261
do
2262
  IFS=$as_save_IFS
2263
  test -z "$as_dir" && as_dir=.
2264
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2266
    ac_cv_path_TRUE="$as_dir/$ac_word$ac_exec_ext"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2267
    $as_echo "$as_me:$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
2268
    break 2
2269
  fi
2270
done
2271
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2272
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2273
1 by
This commit was manufactured by cvs2svn to create branch
2274
  test -z "$ac_cv_path_TRUE" && ac_cv_path_TRUE="true"
2275
  ;;
2276
esac
2277
fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2278
TRUE=$ac_cv_path_TRUE
1 by
This commit was manufactured by cvs2svn to create branch
2279
if test -n "$TRUE"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2280
  { $as_echo "$as_me:$LINENO: result: $TRUE" >&5
2281
$as_echo "$TRUE" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2282
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2283
  { $as_echo "$as_me:$LINENO: result: no" >&5
2284
$as_echo "no" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2285
fi
2286
2287
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2288
1 by
This commit was manufactured by cvs2svn to create branch
2289
# Find compiler, allow alternatives to gcc
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2290
{ $as_echo "$as_me:$LINENO: checking for --without-gcc" >&5
2291
$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
2292
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2293
# Check whether --with-gcc was given.
1 by
This commit was manufactured by cvs2svn to create branch
2294
if test "${with_gcc+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2295
  withval=$with_gcc;
1 by
This commit was manufactured by cvs2svn to create branch
2296
        case $withval in
2297
        no)     CC=cc
2298
                without_gcc=yes;;
2299
        yes)    CC=gcc
2300
                without_gcc=no;;
2301
        *)      CC=$withval
2302
                without_gcc=$withval;;
2303
        esac
2304
else
2305
  without_gcc=no;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2306
fi
2307
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2308
{ $as_echo "$as_me:$LINENO: result: $without_gcc" >&5
2309
$as_echo "$without_gcc" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2310
2311
# If the user switches compilers, we can't believe the cache
2312
if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
2313
then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2314
  { { $as_echo "$as_me:$LINENO: error: cached CC is different -- throw away $cache_file
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2315
(it is also a good idea to do 'make clean' before compiling)" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2316
$as_echo "$as_me: error: cached CC is different -- throw away $cache_file
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2317
(it is also a good idea to do 'make clean' before compiling)" >&2;}
2318
   { (exit 1); exit 1; }; }
2319
fi
2320
2321
ac_ext=c
2322
ac_cpp='$CPP $CPPFLAGS'
2323
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2324
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2325
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2326
if test -n "$ac_tool_prefix"; then
2327
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2328
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2329
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2330
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2331
if test "${ac_cv_prog_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2332
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2333
else
2334
  if test -n "$CC"; then
2335
  ac_cv_prog_CC="$CC" # Let the user override the test.
2336
else
2337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338
for as_dir in $PATH
2339
do
2340
  IFS=$as_save_IFS
2341
  test -z "$as_dir" && as_dir=.
2342
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2344
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2345
    $as_echo "$as_me:$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
2346
    break 2
2347
  fi
2348
done
2349
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2350
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2351
2352
fi
2353
fi
2354
CC=$ac_cv_prog_CC
2355
if test -n "$CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2356
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2357
$as_echo "$CC" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2358
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2359
  { $as_echo "$as_me:$LINENO: result: no" >&5
2360
$as_echo "no" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2361
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2362
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2363
2364
fi
2365
if test -z "$ac_cv_prog_CC"; then
2366
  ac_ct_CC=$CC
2367
  # 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
2368
set dummy gcc; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2369
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2370
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2371
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2372
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2373
else
2374
  if test -n "$ac_ct_CC"; then
2375
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2376
else
2377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378
for as_dir in $PATH
2379
do
2380
  IFS=$as_save_IFS
2381
  test -z "$as_dir" && as_dir=.
2382
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2383
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2384
    ac_cv_prog_ac_ct_CC="gcc"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2385
    $as_echo "$as_me:$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
2386
    break 2
2387
  fi
2388
done
2389
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2390
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2391
2392
fi
2393
fi
2394
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2395
if test -n "$ac_ct_CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2396
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2397
$as_echo "$ac_ct_CC" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2398
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2399
  { $as_echo "$as_me:$LINENO: result: no" >&5
2400
$as_echo "no" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2401
fi
2402
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2403
  if test "x$ac_ct_CC" = x; then
2404
    CC=""
2405
  else
2406
    case $cross_compiling:$ac_tool_warned in
2407
yes:)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2408
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2409
$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.
2410
ac_tool_warned=yes ;;
2411
esac
2412
    CC=$ac_ct_CC
2413
  fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2414
else
2415
  CC="$ac_cv_prog_CC"
2416
fi
2417
2418
if test -z "$CC"; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2419
          if test -n "$ac_tool_prefix"; then
2420
    # 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
2421
set dummy ${ac_tool_prefix}cc; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2422
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2423
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2424
if test "${ac_cv_prog_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2425
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2426
else
2427
  if test -n "$CC"; then
2428
  ac_cv_prog_CC="$CC" # Let the user override the test.
2429
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431
for as_dir in $PATH
2432
do
2433
  IFS=$as_save_IFS
2434
  test -z "$as_dir" && as_dir=.
2435
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2437
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2438
    $as_echo "$as_me:$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
2439
    break 2
2440
  fi
2441
done
2442
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2443
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2444
2445
fi
2446
fi
2447
CC=$ac_cv_prog_CC
1 by
This commit was manufactured by cvs2svn to create branch
2448
if test -n "$CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2449
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2450
$as_echo "$CC" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2451
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2452
  { $as_echo "$as_me:$LINENO: result: no" >&5
2453
$as_echo "no" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2454
fi
2455
2456
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2457
  fi
2458
fi
1 by
This commit was manufactured by cvs2svn to create branch
2459
if test -z "$CC"; then
2460
  # Extract the first word of "cc", so it can be a program name with args.
2461
set dummy cc; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2462
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2463
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2464
if test "${ac_cv_prog_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2465
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2466
else
2467
  if test -n "$CC"; then
2468
  ac_cv_prog_CC="$CC" # Let the user override the test.
2469
else
2470
  ac_prog_rejected=no
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472
for as_dir in $PATH
2473
do
2474
  IFS=$as_save_IFS
2475
  test -z "$as_dir" && as_dir=.
2476
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2478
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2479
       ac_prog_rejected=yes
2480
       continue
2481
     fi
2482
    ac_cv_prog_CC="cc"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2483
    $as_echo "$as_me:$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
2484
    break 2
2485
  fi
2486
done
2487
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2488
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2489
1 by
This commit was manufactured by cvs2svn to create branch
2490
if test $ac_prog_rejected = yes; then
2491
  # We found a bogon in the path, so make sure we never use it.
2492
  set dummy $ac_cv_prog_CC
2493
  shift
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2494
  if test $# != 0; then
1 by
This commit was manufactured by cvs2svn to create branch
2495
    # We chose a different compiler from the bogus one.
2496
    # However, it has the same basename, so the bogon will be chosen
2497
    # first if we set CC to just the basename; use the full file name.
2498
    shift
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2499
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1 by
This commit was manufactured by cvs2svn to create branch
2500
  fi
2501
fi
2502
fi
2503
fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2504
CC=$ac_cv_prog_CC
1 by
This commit was manufactured by cvs2svn to create branch
2505
if test -n "$CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2506
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2507
$as_echo "$CC" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2508
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2509
  { $as_echo "$as_me:$LINENO: result: no" >&5
2510
$as_echo "no" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
2511
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2512
1 by
This commit was manufactured by cvs2svn to create branch
2513
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2514
fi
2515
if test -z "$CC"; then
2516
  if test -n "$ac_tool_prefix"; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2517
  for ac_prog in cl.exe
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2518
  do
2519
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2520
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2521
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2522
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2523
if test "${ac_cv_prog_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2524
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
2525
else
2526
  if test -n "$CC"; then
2527
  ac_cv_prog_CC="$CC" # Let the user override the test.
2528
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530
for as_dir in $PATH
2531
do
2532
  IFS=$as_save_IFS
2533
  test -z "$as_dir" && as_dir=.
2534
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2536
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2537
    $as_echo "$as_me:$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
2538
    break 2
2539
  fi
2540
done
2541
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2542
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2543
2544
fi
2545
fi
2546
CC=$ac_cv_prog_CC
2547
if test -n "$CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2548
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2549
$as_echo "$CC" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2550
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2551
  { $as_echo "$as_me:$LINENO: result: no" >&5
2552
$as_echo "no" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2553
fi
2554
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2555
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2556
    test -n "$CC" && break
1 by
This commit was manufactured by cvs2svn to create branch
2557
  done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2558
fi
2559
if test -z "$CC"; then
2560
  ac_ct_CC=$CC
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2561
  for ac_prog in cl.exe
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2562
do
2563
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2564
set dummy $ac_prog; ac_word=$2
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2565
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566
$as_echo_n "checking for $ac_word... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2567
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2568
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2569
else
2570
  if test -n "$ac_ct_CC"; then
2571
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572
else
2573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574
for as_dir in $PATH
2575
do
2576
  IFS=$as_save_IFS
2577
  test -z "$as_dir" && as_dir=.
2578
  for ac_exec_ext in '' $ac_executable_extensions; do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2579
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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
2580
    ac_cv_prog_ac_ct_CC="$ac_prog"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2581
    $as_echo "$as_me:$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
2582
    break 2
1 by
This commit was manufactured by cvs2svn to create branch
2583
  fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2584
done
2585
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2586
IFS=$as_save_IFS
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2587
2588
fi
2589
fi
2590
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2591
if test -n "$ac_ct_CC"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2592
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2593
$as_echo "$ac_ct_CC" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2594
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2595
  { $as_echo "$as_me:$LINENO: result: no" >&5
2596
$as_echo "no" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2597
fi
2598
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2599
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2600
  test -n "$ac_ct_CC" && break
2601
done
2602
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2603
  if test "x$ac_ct_CC" = x; then
2604
    CC=""
2605
  else
2606
    case $cross_compiling:$ac_tool_warned in
2607
yes:)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2608
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2609
$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.
2610
ac_tool_warned=yes ;;
2611
esac
2612
    CC=$ac_ct_CC
2613
  fi
2614
fi
2615
2616
fi
2617
2618
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2619
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2620
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2622
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2623
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2624
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2625
   { (exit 1); exit 1; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2626
2627
# Provide some information about the compiler.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2628
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2629
set X $ac_compile
2630
ac_compiler=$2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2631
{ (ac_try="$ac_compiler --version >&5"
2632
case "(($ac_try" in
2633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634
  *) ac_try_echo=$ac_try;;
2635
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2637
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2638
  (eval "$ac_compiler --version >&5") 2>&5
2639
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2640
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2641
  (exit $ac_status); }
2642
{ (ac_try="$ac_compiler -v >&5"
2643
case "(($ac_try" in
2644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645
  *) ac_try_echo=$ac_try;;
2646
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2648
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2649
  (eval "$ac_compiler -v >&5") 2>&5
2650
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2651
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2652
  (exit $ac_status); }
2653
{ (ac_try="$ac_compiler -V >&5"
2654
case "(($ac_try" in
2655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656
  *) ac_try_echo=$ac_try;;
2657
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2659
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2660
  (eval "$ac_compiler -V >&5") 2>&5
2661
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2662
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2663
  (exit $ac_status); }
2664
2665
cat >conftest.$ac_ext <<_ACEOF
2666
/* confdefs.h.  */
2667
_ACEOF
2668
cat confdefs.h >>conftest.$ac_ext
2669
cat >>conftest.$ac_ext <<_ACEOF
2670
/* end confdefs.h.  */
2671
2672
int
2673
main ()
2674
{
2675
2676
  ;
2677
  return 0;
2678
}
2679
_ACEOF
2680
ac_clean_files_save=$ac_clean_files
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2681
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
2682
# Try to create an executable without -o first, disregard a.out.
2683
# It will help us diagnose broken compilers, and finding out an intuition
2684
# of exeext.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2685
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2686
$as_echo_n "checking for C compiler default output file name... " >&6; }
2687
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2688
2689
# The possible output files:
2690
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2691
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2692
ac_rmfiles=
2693
for ac_file in $ac_files
2694
do
2695
  case $ac_file in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2696
    *.$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.
2697
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2698
  esac
2699
done
2700
rm -f $ac_rmfiles
2701
2702
if { (ac_try="$ac_link_default"
2703
case "(($ac_try" in
2704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705
  *) ac_try_echo=$ac_try;;
2706
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2708
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2709
  (eval "$ac_link_default") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2710
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2711
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2712
  (exit $ac_status); }; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2713
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2714
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2715
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2716
# so that the user can short-circuit this test for compilers unknown to
2717
# Autoconf.
2718
for ac_file in $ac_files ''
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2719
do
2720
  test -f "$ac_file" || continue
2721
  case $ac_file in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2722
    *.$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
2723
	;;
2724
    [ab].out )
2725
	# We found the default executable, but exeext='' is most
2726
	# certainly right.
2727
	break;;
2728
    *.* )
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2729
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2730
	then :; else
2731
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732
	fi
2733
	# We set ac_cv_exeext here because the later test for it is not
2734
	# safe: cross compilers may not add the suffix if given an `-o'
2735
	# argument, so we may need to know it at that point already.
2736
	# Even if this section looks crufty: it has the advantage of
2737
	# actually working.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2738
	break;;
2739
    * )
2740
	break;;
2741
  esac
2742
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2743
test "$ac_cv_exeext" = no && ac_cv_exeext=
2744
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2745
else
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2746
  ac_file=''
2747
fi
2748
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2749
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2750
$as_echo "$ac_file" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2751
if test -z "$ac_file"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2752
  $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
2753
sed 's/^/| /' conftest.$ac_ext >&5
2754
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2755
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2756
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2758
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2759
$as_echo "$as_me: error: C compiler cannot create executables
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2760
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2761
   { (exit 77); exit 77; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2762
fi
2763
2764
ac_exeext=$ac_cv_exeext
2765
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2766
# Check that the compiler produces executables we can run.  If not, either
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2767
# the compiler is broken, or we cross compile.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2768
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2769
$as_echo_n "checking whether the C compiler works... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2770
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2771
# If not cross compiling, check that we can run a simple program.
2772
if test "$cross_compiling" != yes; then
2773
  if { ac_try='./$ac_file'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2774
  { (case "(($ac_try" in
2775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776
  *) ac_try_echo=$ac_try;;
2777
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2779
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2780
  (eval "$ac_try") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2781
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2782
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2783
  (exit $ac_status); }; }; then
2784
    cross_compiling=no
1 by
This commit was manufactured by cvs2svn to create branch
2785
  else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2786
    if test "$cross_compiling" = maybe; then
2787
	cross_compiling=yes
2788
    else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2789
	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2790
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2791
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2792
If you meant to cross compile, use \`--host'.
2793
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2794
$as_echo "$as_me: error: cannot run C compiled programs.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2795
If you meant to cross compile, use \`--host'.
2796
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2797
   { (exit 1); exit 1; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2798
    fi
1 by
This commit was manufactured by cvs2svn to create branch
2799
  fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2800
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2801
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2802
$as_echo "yes" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2803
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2804
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
2805
ac_clean_files=$ac_clean_files_save
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2806
# Check that the compiler produces executables we can run.  If not, either
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2807
# the compiler is broken, or we cross compile.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2808
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2809
$as_echo_n "checking whether we are cross compiling... " >&6; }
2810
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2811
$as_echo "$cross_compiling" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2812
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2813
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2814
$as_echo_n "checking for suffix of executables... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2815
if { (ac_try="$ac_link"
2816
case "(($ac_try" in
2817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818
  *) ac_try_echo=$ac_try;;
2819
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2820
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2821
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2822
  (eval "$ac_link") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2823
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2824
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2825
  (exit $ac_status); }; then
2826
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2827
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2828
# work properly (i.e., refer to `conftest.exe'), while it won't with
2829
# `rm'.
2830
for ac_file in conftest.exe conftest conftest.*; do
2831
  test -f "$ac_file" || continue
2832
  case $ac_file in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2833
    *.$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
2834
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835
	  break;;
2836
    * ) break;;
2837
  esac
2838
done
2839
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2840
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2841
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2842
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2843
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2844
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2845
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2846
   { (exit 1); exit 1; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2847
fi
2848
2849
rm -f conftest$ac_cv_exeext
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2850
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2851
$as_echo "$ac_cv_exeext" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2852
2853
rm -f conftest.$ac_ext
2854
EXEEXT=$ac_cv_exeext
2855
ac_exeext=$EXEEXT
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2856
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2857
$as_echo_n "checking for suffix of object files... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2858
if test "${ac_cv_objext+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2859
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2860
else
2861
  cat >conftest.$ac_ext <<_ACEOF
2862
/* confdefs.h.  */
2863
_ACEOF
2864
cat confdefs.h >>conftest.$ac_ext
2865
cat >>conftest.$ac_ext <<_ACEOF
2866
/* end confdefs.h.  */
2867
2868
int
2869
main ()
2870
{
2871
2872
  ;
2873
  return 0;
2874
}
2875
_ACEOF
2876
rm -f conftest.o conftest.obj
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2877
if { (ac_try="$ac_compile"
2878
case "(($ac_try" in
2879
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880
  *) ac_try_echo=$ac_try;;
2881
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2882
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2883
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2884
  (eval "$ac_compile") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2885
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2886
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2887
  (exit $ac_status); }; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2888
  for ac_file in conftest.o conftest.obj conftest.*; do
2889
  test -f "$ac_file" || continue;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2890
  case $ac_file in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2891
    *.$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
2892
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2893
       break;;
2894
  esac
2895
done
2896
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2897
  $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
2898
sed 's/^/| /' conftest.$ac_ext >&5
2899
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2900
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2901
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2902
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2903
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2904
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2905
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2906
   { (exit 1); exit 1; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2907
fi
2908
2909
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2910
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2911
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2912
$as_echo "$ac_cv_objext" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2913
OBJEXT=$ac_cv_objext
2914
ac_objext=$OBJEXT
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2915
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2916
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2917
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2918
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2919
else
2920
  cat >conftest.$ac_ext <<_ACEOF
2921
/* confdefs.h.  */
2922
_ACEOF
2923
cat confdefs.h >>conftest.$ac_ext
2924
cat >>conftest.$ac_ext <<_ACEOF
2925
/* end confdefs.h.  */
2926
2927
int
2928
main ()
2929
{
2930
#ifndef __GNUC__
2931
       choke me
1 by
This commit was manufactured by cvs2svn to create branch
2932
#endif
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2933
2934
  ;
2935
  return 0;
2936
}
2937
_ACEOF
2938
rm -f conftest.$ac_objext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2939
if { (ac_try="$ac_compile"
2940
case "(($ac_try" in
2941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
  *) ac_try_echo=$ac_try;;
2943
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2945
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2946
  (eval "$ac_compile") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2947
  ac_status=$?
2948
  grep -v '^ *+' conftest.er1 >conftest.err
2949
  rm -f conftest.er1
2950
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2952
  (exit $ac_status); } && {
2953
	 test -z "$ac_c_werror_flag" ||
2954
	 test ! -s conftest.err
2955
       } && test -s conftest.$ac_objext; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2956
  ac_compiler_gnu=yes
2957
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2958
  $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
2959
sed 's/^/| /' conftest.$ac_ext >&5
2960
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2961
	ac_compiler_gnu=no
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2962
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2963
2964
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
2965
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2966
2967
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2968
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2969
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2970
if test $ac_compiler_gnu = yes; then
2971
  GCC=yes
2972
else
2973
  GCC=
2974
fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2975
ac_test_CFLAGS=${CFLAGS+set}
2976
ac_save_CFLAGS=$CFLAGS
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2977
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2978
$as_echo_n "checking whether $CC accepts -g... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
2979
if test "${ac_cv_prog_cc_g+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
2980
  $as_echo_n "(cached) " >&6
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
2981
else
2982
  ac_save_c_werror_flag=$ac_c_werror_flag
2983
   ac_c_werror_flag=yes
2984
   ac_cv_prog_cc_g=no
2985
   CFLAGS="-g"
2986
   cat >conftest.$ac_ext <<_ACEOF
2987
/* confdefs.h.  */
2988
_ACEOF
2989
cat confdefs.h >>conftest.$ac_ext
2990
cat >>conftest.$ac_ext <<_ACEOF
2991
/* end confdefs.h.  */
2992
2993
int
2994
main ()
2995
{
2996
2997
  ;
2998
  return 0;
2999
}
3000
_ACEOF
3001
rm -f conftest.$ac_objext
3002
if { (ac_try="$ac_compile"
3003
case "(($ac_try" in
3004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005
  *) ac_try_echo=$ac_try;;
3006
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3007
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3008
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3009
  (eval "$ac_compile") 2>conftest.er1
3010
  ac_status=$?
3011
  grep -v '^ *+' conftest.er1 >conftest.err
3012
  rm -f conftest.er1
3013
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3014
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3015
  (exit $ac_status); } && {
3016
	 test -z "$ac_c_werror_flag" ||
3017
	 test ! -s conftest.err
3018
       } && test -s conftest.$ac_objext; then
3019
  ac_cv_prog_cc_g=yes
3020
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3021
  $as_echo "$as_me: failed program was:" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3022
sed 's/^/| /' conftest.$ac_ext >&5
3023
3024
	CFLAGS=""
3025
      cat >conftest.$ac_ext <<_ACEOF
3026
/* confdefs.h.  */
3027
_ACEOF
3028
cat confdefs.h >>conftest.$ac_ext
3029
cat >>conftest.$ac_ext <<_ACEOF
3030
/* end confdefs.h.  */
3031
3032
int
3033
main ()
3034
{
3035
3036
  ;
3037
  return 0;
3038
}
3039
_ACEOF
3040
rm -f conftest.$ac_objext
3041
if { (ac_try="$ac_compile"
3042
case "(($ac_try" in
3043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044
  *) ac_try_echo=$ac_try;;
3045
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3046
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3048
  (eval "$ac_compile") 2>conftest.er1
3049
  ac_status=$?
3050
  grep -v '^ *+' conftest.er1 >conftest.err
3051
  rm -f conftest.er1
3052
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3053
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3054
  (exit $ac_status); } && {
3055
	 test -z "$ac_c_werror_flag" ||
3056
	 test ! -s conftest.err
3057
       } && test -s conftest.$ac_objext; then
3058
  :
3059
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3060
  $as_echo "$as_me: failed program was:" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3061
sed 's/^/| /' conftest.$ac_ext >&5
3062
3063
	ac_c_werror_flag=$ac_save_c_werror_flag
3064
	 CFLAGS="-g"
3065
	 cat >conftest.$ac_ext <<_ACEOF
3066
/* confdefs.h.  */
3067
_ACEOF
3068
cat confdefs.h >>conftest.$ac_ext
3069
cat >>conftest.$ac_ext <<_ACEOF
3070
/* end confdefs.h.  */
3071
3072
int
3073
main ()
3074
{
3075
3076
  ;
3077
  return 0;
3078
}
3079
_ACEOF
3080
rm -f conftest.$ac_objext
3081
if { (ac_try="$ac_compile"
3082
case "(($ac_try" in
3083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084
  *) ac_try_echo=$ac_try;;
3085
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3086
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3087
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3088
  (eval "$ac_compile") 2>conftest.er1
3089
  ac_status=$?
3090
  grep -v '^ *+' conftest.er1 >conftest.err
3091
  rm -f conftest.er1
3092
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3093
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3094
  (exit $ac_status); } && {
3095
	 test -z "$ac_c_werror_flag" ||
3096
	 test ! -s conftest.err
3097
       } && test -s conftest.$ac_objext; then
3098
  ac_cv_prog_cc_g=yes
3099
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3100
  $as_echo "$as_me: failed program was:" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3101
sed 's/^/| /' conftest.$ac_ext >&5
3102
3103
3104
fi
3105
3106
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107
fi
3108
3109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110
fi
3111
3112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113
   ac_c_werror_flag=$ac_save_c_werror_flag
3114
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3115
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3116
$as_echo "$ac_cv_prog_cc_g" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3117
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
3118
  CFLAGS=$ac_save_CFLAGS
1 by
This commit was manufactured by cvs2svn to create branch
3119
elif test $ac_cv_prog_cc_g = yes; then
3120
  if test "$GCC" = yes; then
3121
    CFLAGS="-g -O2"
3122
  else
3123
    CFLAGS="-g"
3124
  fi
3125
else
3126
  if test "$GCC" = yes; then
3127
    CFLAGS="-O2"
3128
  else
3129
    CFLAGS=
3130
  fi
3131
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3132
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3133
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3134
if test "${ac_cv_prog_cc_c89+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3135
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3136
else
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3137
  ac_cv_prog_cc_c89=no
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3138
ac_save_CC=$CC
3139
cat >conftest.$ac_ext <<_ACEOF
3140
/* confdefs.h.  */
3141
_ACEOF
3142
cat confdefs.h >>conftest.$ac_ext
3143
cat >>conftest.$ac_ext <<_ACEOF
3144
/* end confdefs.h.  */
3145
#include <stdarg.h>
3146
#include <stdio.h>
3147
#include <sys/types.h>
3148
#include <sys/stat.h>
3149
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3150
struct buf { int x; };
3151
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3152
static char *e (p, i)
3153
     char **p;
3154
     int i;
3155
{
3156
  return p[i];
3157
}
3158
static char *f (char * (*g) (char **, int), char **p, ...)
3159
{
3160
  char *s;
3161
  va_list v;
3162
  va_start (v,p);
3163
  s = g (p, va_arg (v,int));
3164
  va_end (v);
3165
  return s;
3166
}
3167
3168
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3169
   function prototypes and stuff, but not '\xHH' hex character constants.
3170
   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.
3171
   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
3172
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3173
   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.
3174
   that's true only with -std.  */
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3175
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3176
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3177
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3178
   inside strings and character constants.  */
3179
#define FOO(x) 'x'
3180
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3181
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3182
int test (int i, double x);
3183
struct s1 {int (*f) (int a);};
3184
struct s2 {int (*f) (double a);};
3185
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3186
int argc;
3187
char **argv;
3188
int
3189
main ()
3190
{
3191
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3192
  ;
3193
  return 0;
3194
}
3195
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3196
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3197
	-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
3198
do
3199
  CC="$ac_save_CC $ac_arg"
3200
  rm -f conftest.$ac_objext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3201
if { (ac_try="$ac_compile"
3202
case "(($ac_try" in
3203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204
  *) ac_try_echo=$ac_try;;
3205
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3206
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3207
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3208
  (eval "$ac_compile") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3209
  ac_status=$?
3210
  grep -v '^ *+' conftest.er1 >conftest.err
3211
  rm -f conftest.er1
3212
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3213
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3214
  (exit $ac_status); } && {
3215
	 test -z "$ac_c_werror_flag" ||
3216
	 test ! -s conftest.err
3217
       } && test -s conftest.$ac_objext; then
3218
  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
3219
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3220
  $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
3221
sed 's/^/| /' conftest.$ac_ext >&5
3222
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3223
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3224
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3225
3226
rm -f core conftest.err conftest.$ac_objext
3227
  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
3228
done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3229
rm -f conftest.$ac_ext
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3230
CC=$ac_save_CC
3231
3232
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3233
# AC_CACHE_VAL
3234
case "x$ac_cv_prog_cc_c89" in
3235
  x)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3236
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3237
$as_echo "none needed" >&6; } ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3238
  xno)
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3239
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3240
$as_echo "unsupported" >&6; } ;;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3241
  *)
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3242
    CC="$CC $ac_cv_prog_cc_c89"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3243
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3244
$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
3245
esac
3246
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3247
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3248
ac_ext=c
3249
ac_cpp='$CPP $CPPFLAGS'
3250
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1 by
This commit was manufactured by cvs2svn to create branch
3253
3254
3255
3256
# Optimizer/debugger flags passed between Makefiles
3257
3258
if test -z "$OPT"
3259
then
3260
        case $GCC in
3261
        yes)
3262
                case $ac_cv_prog_cc_g in
3263
                yes)    OPT="-g -O2";;
3264
                *)      OPT="-O2";;
3265
                esac
3266
                ;;
3267
        *)      OPT="-O";;
3268
        esac
3269
fi
3270
3271
# We better be able to execute interpreters
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3272
{ $as_echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
3273
$as_echo_n "checking whether #! works in shell scripts... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3274
if test "${ac_cv_sys_interpreter+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3275
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
3276
else
3277
  echo '#! /bin/cat
3278
exit 69
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3279
' >conftest
1 by
This commit was manufactured by cvs2svn to create branch
3280
chmod u+x conftest
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3281
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
1 by
This commit was manufactured by cvs2svn to create branch
3282
if test $? -ne 69; then
3283
   ac_cv_sys_interpreter=yes
3284
else
3285
   ac_cv_sys_interpreter=no
3286
fi
3287
rm -f conftest
3288
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3289
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
3290
$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
3291
interpval=$ac_cv_sys_interpreter
1 by
This commit was manufactured by cvs2svn to create branch
3292
3293
if test "$ac_cv_sys_interpreter" != "yes"
3294
then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3295
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3296
3297
***** Cannot execute interpreter scripts?
3298
***** Are you sure you system doesn't support this?" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3299
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3300
3301
***** Cannot execute interpreter scripts?
3302
***** Are you sure you system doesn't support this?" >&2;}
3303
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3304
fi
3305
3306
3307
# Check for an alternate data directory, separate from installation dir.
3308
default_var_prefix="/var/mailman"
3309
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3310
{ $as_echo "$as_me:$LINENO: checking for --with-var-prefix" >&5
3311
$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
3312
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3313
# Check whether --with-var-prefix was given.
1 by
This commit was manufactured by cvs2svn to create branch
3314
if test "${with_var_prefix+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3315
  withval=$with_var_prefix;
3316
fi
1 by
This commit was manufactured by cvs2svn to create branch
3317
3318
case "$with_var_prefix" in
3319
        yes)    VAR_PREFIX="$default_var_prefix"; ans=$VAR_PREFIX;;
3320
        ""|no)  VAR_PREFIX="$prefix"; ans="no";;
3321
        *)      VAR_PREFIX="$with_var_prefix"; ans=$VAR_PREFIX;
3322
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3323
{ $as_echo "$as_me:$LINENO: result: $ans" >&5
3324
$as_echo "$ans" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3325
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3326
{ $as_echo "$as_me:$LINENO: checking for --with-permcheck" >&5
3327
$as_echo_n "checking for --with-permcheck... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3328
3329
# Check whether --with-permcheck was given.
1 by
This commit was manufactured by cvs2svn to create branch
3330
if test "${with_permcheck+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3331
  withval=$with_permcheck;
3332
fi
1 by
This commit was manufactured by cvs2svn to create branch
3333
3334
if test -z "$with_permcheck"
3335
then
3336
        with_permcheck="yes"
3337
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3338
{ $as_echo "$as_me:$LINENO: result: $with_permcheck" >&5
3339
$as_echo "$with_permcheck" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3340
# Now make sure that $prefix is set up correctly.  It must be group
3341
# owned by the target group, it must have the group sticky bit set, and
3342
# it must be a+rx
3343
if test "$VAR_PREFIX" = "NONE"
3344
then
3345
    VAR_PREFIX=$ac_default_prefix
3346
    prefixcheck=$ac_default_prefix
3347
else
3348
    prefixcheck=$VAR_PREFIX
3349
fi
3350
3351
# new macro for finding group names
3352
3353
3354
3355
# new macro for finding UIDs
3356
3357
3358
# Check for some other uid to use than `mailman'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3359
{ $as_echo "$as_me:$LINENO: checking for --with-username" >&5
3360
$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
3361
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3362
# Check whether --with-username was given.
1 by
This commit was manufactured by cvs2svn to create branch
3363
if test "${with_username+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3364
  withval=$with_username;
3365
fi
1 by
This commit was manufactured by cvs2svn to create branch
3366
3367
3368
if test -z "$with_username"
3369
then
3370
        with_username="mailman"
3371
fi
3372
USERNAME=$with_username
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3373
{ $as_echo "$as_me:$LINENO: result: $USERNAME" >&5
3374
$as_echo "$USERNAME" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3375
3376
# User `mailman' must exist
3377
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3378
{ $as_echo "$as_me:$LINENO: checking for user name \"$USERNAME\"" >&5
3379
$as_echo_n "checking for user name \"$USERNAME\"... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3380
3381
# MAILMAN_USER == variable name
3382
# $USERNAME == user id to check for
3383
3384
3385
if test -z "$MAILMAN_USER"
3386
then
3387
    cat > conftest.py <<EOF
3388
import pwd
3389
uid = ''
3390
for user in "$USERNAME".split():
3391
    try:
3392
        try:
3393
            uname = pwd.getpwuid(int(user))[0]
3394
            break
3395
        except ValueError:
3396
            uname = pwd.getpwnam(user)[0]
3397
            break
3398
    except KeyError:
3399
        uname = ''
3400
fp = open("conftest.out", "w")
3401
fp.write("%s\n" % uname)
3402
fp.close()
3403
EOF
3404
    $PYTHON conftest.py
3405
    MAILMAN_USER=`cat conftest.out`
3406
fi
3407
3408
rm -f conftest.out conftest.py
3409
if test -z "$MAILMAN_USER"
3410
then
3411
  if test "$with_permcheck" = "yes"
3412
  then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3413
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3414
***** No \"$USERNAME\" user found!
3415
***** Your system must have a \"$USERNAME\" user defined
3416
***** (usually in your /etc/passwd file).  Please see the INSTALL
3417
***** file for details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3418
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3419
***** No \"$USERNAME\" user found!
3420
***** Your system must have a \"$USERNAME\" user defined
3421
***** (usually in your /etc/passwd file).  Please see the INSTALL
3422
***** file for details." >&2;}
3423
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3424
  fi
3425
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3426
{ $as_echo "$as_me:$LINENO: result: okay" >&5
3427
$as_echo "okay" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3428
3429
3430
# Check for some other gid to use than `mailman'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3431
{ $as_echo "$as_me:$LINENO: checking for --with-groupname" >&5
3432
$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
3433
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3434
# Check whether --with-groupname was given.
1 by
This commit was manufactured by cvs2svn to create branch
3435
if test "${with_groupname+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3436
  withval=$with_groupname;
3437
fi
1 by
This commit was manufactured by cvs2svn to create branch
3438
3439
3440
if test -z "$with_groupname"
3441
then
3442
        with_groupname="mailman"
3443
fi
3444
GROUPNAME=$with_groupname
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3445
{ $as_echo "$as_me:$LINENO: result: $GROUPNAME" >&5
3446
$as_echo "$GROUPNAME" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3447
3448
3449
# Target group must exist
3450
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3451
{ $as_echo "$as_me:$LINENO: checking for group name \"$GROUPNAME\"" >&5
3452
$as_echo_n "checking for group name \"$GROUPNAME\"... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3453
3454
# MAILMAN_GROUP == variable name
3455
# $GROUPNAME == user id to check for
3456
3457
3458
if test -z "$MAILMAN_GROUP"
3459
then
3460
    cat > conftest.py <<EOF
3461
import grp
3462
gid = ''
3463
for group in "$GROUPNAME".split():
3464
    try:
3465
        try:
3466
            gname = grp.getgrgid(int(group))[0]
3467
            break
3468
        except ValueError:
3469
            gname = grp.getgrnam(group)[0]
3470
            break
3471
    except KeyError:
3472
        gname = ''
3473
fp = open("conftest.out", "w")
3474
fp.write("%s\n" % gname)
3475
fp.close()
3476
EOF
3477
    $PYTHON conftest.py
3478
    MAILMAN_GROUP=`cat conftest.out`
3479
fi
3480
3481
rm -f conftest.out conftest.py
3482
if test -z "$MAILMAN_GROUP"
3483
then
3484
  if test "$with_permcheck" = "yes"
3485
  then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3486
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3487
***** No \"$GROUPNAME\" group found!
3488
***** Your system must have a \"$GROUPNAME\" group defined
3489
***** (usually in your /etc/group file).  Please see the INSTALL
3490
***** file for details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3491
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3492
***** No \"$GROUPNAME\" group found!
3493
***** Your system must have a \"$GROUPNAME\" group defined
3494
***** (usually in your /etc/group file).  Please see the INSTALL
3495
***** file for details." >&2;}
3496
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3497
  fi
3498
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3499
{ $as_echo "$as_me:$LINENO: result: okay" >&5
3500
$as_echo "okay" >&6; }
3501
3502
3503
{ $as_echo "$as_me:$LINENO: checking permissions on $prefixcheck" >&5
3504
$as_echo_n "checking permissions on $prefixcheck... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3505
3506
cat > conftest.py <<EOF
3507
import os, grp
3508
from stat import *
3509
prefix = "$prefixcheck"
3510
groupname = "$GROUPNAME"
3511
mailmangroup = "$MAILMAN_GROUP"
49 by bwarsaw
Backport from the trunk, and catalog regeneration.
3512
try:
3513
    mailmangid = grp.getgrnam(mailmangroup)[2]
3514
except KeyError:
3515
    mailmangid = -1
1 by
This commit was manufactured by cvs2svn to create branch
3516
problems = []
3517
try: statdata = os.stat(prefix)
3518
except OSError:
3519
    problems.append("Directory doesn't exist: " + prefix)
3520
else:
3521
    mode = statdata[ST_MODE]
3522
    gid = statdata[ST_GID]
3523
    if mailmangid <> gid:
3524
        problems.append("Directory must be owned by group " +
3525
                        groupname + ": " + prefix)
3526
    if (mode & S_ISGID) <> S_ISGID:
3527
        problems.append("Set-gid bit must be set for directory: " + prefix)
3528
    perms = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH
3529
    if (mode & perms) <> perms:
3530
        problems.append("Permissions should be at least 02775: " + prefix)
3531
if not problems:
3532
    msg = "okay\n"
3533
else:
3534
    msg = '***** ' + '\n***** '.join(problems) + '\n'
3535
fp = open("conftest.out", "w")
3536
fp.write(msg)
3537
fp.close()
3538
EOF
3539
3540
$PYTHON conftest.py
3541
status=`cat conftest.out`
3542
rm -f conftest.out conftest.py
3543
if test "$with_permcheck" = "yes"
3544
then
3545
    if test "$status" != "okay"
3546
    then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3547
        { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3548
***** Installation directory $prefixcheck is not configured properly!
3549
$status" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3550
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3551
***** Installation directory $prefixcheck is not configured properly!
3552
$status" >&2;}
3553
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3554
    fi
3555
else
3556
    status="skipped"
3557
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3558
{ $as_echo "$as_me:$LINENO: result: $status" >&5
3559
$as_echo "$status" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3560
3561
3562
# Now find the UIDs and GIDs
3563
# Support --with-mail-gid and --with-cgi-gid
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3564
{ $as_echo "$as_me:$LINENO: checking for mail wrapper group; i.e. --with-mail-gid" >&5
3565
$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
3566
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3567
# Check whether --with-mail-gid was given.
1 by
This commit was manufactured by cvs2svn to create branch
3568
if test "${with_mail_gid+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3569
  withval=$with_mail_gid;
3570
fi
1 by
This commit was manufactured by cvs2svn to create branch
3571
3572
if test -z "$with_mail_gid"
3573
then
3574
    with_mail_gid="mailman other mail daemon"
3575
fi
3576
3577
# MAIL_GROUP == variable name
3578
# $with_mail_gid == user id to check for
3579
3580
3581
if test -z "$MAIL_GROUP"
3582
then
3583
    cat > conftest.py <<EOF
3584
import grp
3585
gid = ''
3586
for group in "$with_mail_gid".split():
3587
    try:
3588
        try:
3589
            gname = grp.getgrgid(int(group))[0]
3590
            break
3591
        except ValueError:
3592
            gname = grp.getgrnam(group)[0]
3593
            break
3594
    except KeyError:
3595
        gname = ''
3596
fp = open("conftest.out", "w")
3597
fp.write("%s\n" % gname)
3598
fp.close()
3599
EOF
3600
    $PYTHON conftest.py
3601
    MAIL_GROUP=`cat conftest.out`
3602
fi
3603
3604
rm -f conftest.out conftest.py
3605
if test -z "$MAIL_GROUP"
3606
then
3607
  if test "$with_permcheck" = "yes"
3608
  then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3609
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3610
***** No group name \"$with_mail_gid\" found for the mail wrapper program.
3611
***** This is the group that your mail server will use to run Mailman's
3612
***** programs.  You should specify an existing group with the
3613
***** --with-mail-gid configure option, or use --without-permcheck to
3614
***** skip this verification step.  See also your mail server's documentation,
3615
***** and Mailman's INSTALL file for details" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3616
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3617
***** No group name \"$with_mail_gid\" found for the mail wrapper program.
3618
***** This is the group that your mail server will use to run Mailman's
3619
***** programs.  You should specify an existing group with the
3620
***** --with-mail-gid configure option, or use --without-permcheck to
3621
***** skip this verification step.  See also your mail server's documentation,
3622
***** and Mailman's INSTALL file for details" >&2;}
3623
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3624
  else
3625
    MAIL_GROUP=$with_mail_gid
3626
  fi
3627
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3628
{ $as_echo "$as_me:$LINENO: result: $MAIL_GROUP" >&5
3629
$as_echo "$MAIL_GROUP" >&6; }
3630
3631
3632
{ $as_echo "$as_me:$LINENO: checking for CGI wrapper group; i.e. --with-cgi-gid" >&5
3633
$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.
3634
3635
# Check whether --with-cgi-gid was given.
1 by
This commit was manufactured by cvs2svn to create branch
3636
if test "${with_cgi_gid+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3637
  withval=$with_cgi_gid;
3638
fi
1 by
This commit was manufactured by cvs2svn to create branch
3639
3640
if test -z "$with_cgi_gid"
3641
then
3642
    with_cgi_gid="www www-data nobody"
3643
fi
3644
3645
3646
# CGI_GROUP == variable name
3647
# $with_cgi_gid == user id to check for
3648
3649
3650
if test -z "$CGI_GROUP"
3651
then
3652
    cat > conftest.py <<EOF
3653
import grp
3654
gid = ''
3655
for group in "$with_cgi_gid".split():
3656
    try:
3657
        try:
3658
            gname = grp.getgrgid(int(group))[0]
3659
            break
3660
        except ValueError:
3661
            gname = grp.getgrnam(group)[0]
3662
            break
3663
    except KeyError:
3664
        gname = ''
3665
fp = open("conftest.out", "w")
3666
fp.write("%s\n" % gname)
3667
fp.close()
3668
EOF
3669
    $PYTHON conftest.py
3670
    CGI_GROUP=`cat conftest.out`
3671
fi
3672
3673
rm -f conftest.out conftest.py
3674
if test -z "$CGI_GROUP"
3675
then
3676
  if test "$with_permcheck" = "yes"
3677
  then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3678
    { { $as_echo "$as_me:$LINENO: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3679
***** No group name \"$with_cgi_gid\" found for the CGI wrapper program.
3680
***** This is the group that your web server will use to run Mailman's
3681
***** programs.  You should specify an existing group with the
3682
***** --with-cgi-gid configure option, or use --without-permcheck to
3683
***** skip this verification step.  See also your web server's documentation,
3684
***** and Mailman's INSTALL file for details" >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3685
$as_echo "$as_me: error:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3686
***** No group name \"$with_cgi_gid\" found for the CGI wrapper program.
3687
***** This is the group that your web server will use to run Mailman's
3688
***** programs.  You should specify an existing group with the
3689
***** --with-cgi-gid configure option, or use --without-permcheck to
3690
***** skip this verification step.  See also your web server's documentation,
3691
***** and Mailman's INSTALL file for details" >&2;}
3692
   { (exit 1); exit 1; }; }
1 by
This commit was manufactured by cvs2svn to create branch
3693
  else
3694
    CGI_GROUP=$with_cgi_gid
3695
  fi
3696
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3697
{ $as_echo "$as_me:$LINENO: result: $CGI_GROUP" >&5
3698
$as_echo "$CGI_GROUP" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3699
3700
3701
# Check for CGI extensions, required by some Web servers
3702
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3703
{ $as_echo "$as_me:$LINENO: checking for CGI extensions" >&5
3704
$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
3705
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3706
# Check whether --with-cgi-ext was given.
1 by
This commit was manufactured by cvs2svn to create branch
3707
if test "${with_cgi_ext+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3708
  withval=$with_cgi_ext;
3709
fi
1 by
This commit was manufactured by cvs2svn to create branch
3710
3711
if test -z "$with_cgi_ext"
3712
then
3713
        CGIEXT=''
3714
        with_cgi_ext='no'
3715
else
3716
        CGIEXT=$with_cgi_ext
3717
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3718
{ $as_echo "$as_me:$LINENO: result: $with_cgi_ext" >&5
3719
$as_echo "$with_cgi_ext" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3720
3721
3722
# figure out the default mail hostname and url host component
3723
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3724
{ $as_echo "$as_me:$LINENO: checking for --with-mailhost" >&5
3725
$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
3726
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3727
# Check whether --with-mailhost was given.
1 by
This commit was manufactured by cvs2svn to create branch
3728
if test "${with_mailhost+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3729
  withval=$with_mailhost;
3730
fi
1 by
This commit was manufactured by cvs2svn to create branch
3731
3732
if test -z "$with_mailhost"
3733
then
3734
        MAILHOST=''
3735
        with_mailhost='no'
3736
else
3737
        MAILHOST=$with_mailhost
3738
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3739
{ $as_echo "$as_me:$LINENO: result: $with_mailhost" >&5
3740
$as_echo "$with_mailhost" >&6; }
3741
3742
3743
{ $as_echo "$as_me:$LINENO: checking for --with-urlhost" >&5
3744
$as_echo_n "checking for --with-urlhost... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3745
3746
# Check whether --with-urlhost was given.
1 by
This commit was manufactured by cvs2svn to create branch
3747
if test "${with_urlhost+set}" = set; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3748
  withval=$with_urlhost;
3749
fi
1 by
This commit was manufactured by cvs2svn to create branch
3750
3751
if test -z "$with_urlhost"
3752
then
3753
        URLHOST=''
3754
        with_urlhost='no'
3755
else
3756
        URLHOST=$with_urlhost
3757
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3758
{ $as_echo "$as_me:$LINENO: result: $with_urlhost" >&5
3759
$as_echo "$with_urlhost" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3760
1 by
This commit was manufactured by cvs2svn to create branch
3761
3762
3763
cat > conftest.py <<EOF
3764
# python
3765
from socket import *
3766
fqdn = getfqdn()
3767
fp = open('conftest.out', 'w')
3768
print >> fp, fqdn
3769
print >> fp, fqdn
3770
fp.close()
3771
EOF
3772
$PYTHON conftest.py
3773
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3774
{ $as_echo "$as_me:$LINENO: checking for default mail host name" >&5
3775
$as_echo_n "checking for default mail host name... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3776
if test -z "$MAILHOST"
3777
then
3778
    MAILHOST=`sed q conftest.out`
3779
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3780
{ $as_echo "$as_me:$LINENO: result: $MAILHOST" >&5
3781
$as_echo "$MAILHOST" >&6; }
3782
{ $as_echo "$as_me:$LINENO: checking for default URL host component" >&5
3783
$as_echo_n "checking for default URL host component... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3784
if test -z "$URLHOST"
3785
then
3786
    URLHOST=`sed -n '$p' conftest.out`
3787
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3788
{ $as_echo "$as_me:$LINENO: result: $URLHOST" >&5
3789
$as_echo "$URLHOST" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3790
rm -f conftest.out conftest.py
3791
3792
# Checks for libraries.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3793
3794
3795
3796
1 by
This commit was manufactured by cvs2svn to create branch
3797
for ac_func in strerror setregid syslog
3798
do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3799
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3800
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3801
$as_echo_n "checking for $ac_func... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3802
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3803
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
3804
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3805
  cat >conftest.$ac_ext <<_ACEOF
3806
/* confdefs.h.  */
3807
_ACEOF
3808
cat confdefs.h >>conftest.$ac_ext
3809
cat >>conftest.$ac_ext <<_ACEOF
3810
/* end confdefs.h.  */
3811
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3812
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3813
#define $ac_func innocuous_$ac_func
3814
1 by
This commit was manufactured by cvs2svn to create branch
3815
/* System header to define __stub macros and hopefully few prototypes,
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3816
    which can conflict with char $ac_func (); below.
3817
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818
    <limits.h> exists even on freestanding compilers.  */
3819
3820
#ifdef __STDC__
3821
# include <limits.h>
3822
#else
3823
# include <assert.h>
3824
#endif
3825
3826
#undef $ac_func
3827
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3828
/* Override any GCC internal prototype to avoid an error.
3829
   Use char because int might match the return type of a GCC
3830
   builtin and then its argument prototype would still apply.  */
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3831
#ifdef __cplusplus
3832
extern "C"
3833
#endif
3834
char $ac_func ();
1 by
This commit was manufactured by cvs2svn to create branch
3835
/* The GNU C library defines this for functions which it implements
3836
    to always fail with ENOSYS.  Some functions are actually named
3837
    something starting with __ and the normal name is an alias.  */
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3838
#if defined __stub_$ac_func || defined __stub___$ac_func
1 by
This commit was manufactured by cvs2svn to create branch
3839
choke me
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3840
#endif
3841
3842
int
3843
main ()
3844
{
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3845
return $ac_func ();
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3846
  ;
3847
  return 0;
3848
}
3849
_ACEOF
3850
rm -f conftest.$ac_objext conftest$ac_exeext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3851
if { (ac_try="$ac_link"
3852
case "(($ac_try" in
3853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3854
  *) ac_try_echo=$ac_try;;
3855
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3857
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3858
  (eval "$ac_link") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3859
  ac_status=$?
3860
  grep -v '^ *+' conftest.er1 >conftest.err
3861
  rm -f conftest.er1
3862
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3864
  (exit $ac_status); } && {
3865
	 test -z "$ac_c_werror_flag" ||
3866
	 test ! -s conftest.err
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3867
       } && test -s conftest$ac_exeext && {
3868
	 test "$cross_compiling" = yes ||
3869
	 $as_test_x conftest$ac_exeext
3870
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3871
  eval "$as_ac_var=yes"
3872
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3873
  $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
3874
sed 's/^/| /' conftest.$ac_ext >&5
3875
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3876
	eval "$as_ac_var=no"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3877
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3878
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3879
rm -rf conftest.dSYM
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3880
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3881
      conftest$ac_exeext conftest.$ac_ext
3882
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3883
ac_res=`eval 'as_val=${'$as_ac_var'}
3884
		 $as_echo "$as_val"'`
3885
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3886
$as_echo "$ac_res" >&6; }
3887
as_val=`eval 'as_val=${'$as_ac_var'}
3888
		 $as_echo "$as_val"'`
3889
   if test "x$as_val" = x""yes; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3890
  cat >>confdefs.h <<_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3891
#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
3892
_ACEOF
3893
1 by
This commit was manufactured by cvs2svn to create branch
3894
fi
3895
done
3896
3897
if test $ac_cv_func_syslog = no; then
3898
  # syslog is not in the default libraries.  See if it's in some other.
3899
  # Additionally, for at least SCO OpenServer, syslog() is #defined to
3900
  # one of several _real_ functions in syslog.h, so we need to do the test
3901
  # with the appropriate include.
3902
  for lib in bsd socket inet; do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3903
    { $as_echo "$as_me:$LINENO: checking for syslog in -l$lib" >&5
3904
$as_echo_n "checking for syslog in -l$lib... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3905
    Mailman_LIBS_save="$LIBS"; LIBS="$LIBS -l$lib"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3906
    cat >conftest.$ac_ext <<_ACEOF
3907
/* confdefs.h.  */
3908
_ACEOF
3909
cat confdefs.h >>conftest.$ac_ext
3910
cat >>conftest.$ac_ext <<_ACEOF
3911
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
3912
#include <syslog.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3913
int
3914
main ()
3915
{
1 by
This commit was manufactured by cvs2svn to create branch
3916
syslog(LOG_DEBUG, "Just a test...");
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3917
  ;
3918
  return 0;
3919
}
3920
_ACEOF
3921
rm -f conftest.$ac_objext conftest$ac_exeext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3922
if { (ac_try="$ac_link"
3923
case "(($ac_try" in
3924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925
  *) ac_try_echo=$ac_try;;
3926
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3928
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3929
  (eval "$ac_link") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3930
  ac_status=$?
3931
  grep -v '^ *+' conftest.er1 >conftest.err
3932
  rm -f conftest.er1
3933
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3934
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3935
  (exit $ac_status); } && {
3936
	 test -z "$ac_c_werror_flag" ||
3937
	 test ! -s conftest.err
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3938
       } && test -s conftest$ac_exeext && {
3939
	 test "$cross_compiling" = yes ||
3940
	 $as_test_x conftest$ac_exeext
3941
       }; then
3942
  { $as_echo "$as_me:$LINENO: result: yes" >&5
3943
$as_echo "yes" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3944
      cat >>confdefs.h <<\_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
3945
#define HAVE_SYSLOG 1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3946
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
3947
3948
      break
3949
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3950
  $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
3951
sed 's/^/| /' conftest.$ac_ext >&5
3952
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3953
	{ $as_echo "$as_me:$LINENO: result: no" >&5
3954
$as_echo "no" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3955
      LIBS="$Mailman_LIBS_save"
3956
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3957
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3958
rm -rf conftest.dSYM
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
3959
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3960
      conftest$ac_exeext conftest.$ac_ext
1 by
This commit was manufactured by cvs2svn to create branch
3961
    unset Mailman_LIBS_save
3962
  done
3963
fi
3964
3965
# Checks for header files.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3966
ac_ext=c
3967
ac_cpp='$CPP $CPPFLAGS'
3968
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3971
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3972
$as_echo_n "checking how to run the C preprocessor... " >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
3973
# On Suns, sometimes $CPP names a directory.
3974
if test -n "$CPP" && test -d "$CPP"; then
3975
  CPP=
3976
fi
3977
if test -z "$CPP"; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3978
  if test "${ac_cv_prog_CPP+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
3979
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
3980
else
3981
      # Double quotes because CPP needs to be expanded
3982
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3983
    do
3984
      ac_preproc_ok=false
3985
for ac_c_preproc_warn_flag in '' yes
3986
do
3987
  # Use a header file that comes with gcc, so configuring glibc
3988
  # with a fresh cross-compiler works.
3989
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3990
  # <limits.h> exists even on freestanding compilers.
3991
  # On the NeXT, cc -E runs the code through the compiler's parser,
3992
  # not just through cpp. "Syntax error" is here to catch this case.
3993
  cat >conftest.$ac_ext <<_ACEOF
3994
/* confdefs.h.  */
3995
_ACEOF
3996
cat confdefs.h >>conftest.$ac_ext
3997
cat >>conftest.$ac_ext <<_ACEOF
3998
/* end confdefs.h.  */
3999
#ifdef __STDC__
4000
# include <limits.h>
4001
#else
4002
# include <assert.h>
4003
#endif
4004
		     Syntax error
4005
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4006
if { (ac_try="$ac_cpp conftest.$ac_ext"
4007
case "(($ac_try" in
4008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009
  *) ac_try_echo=$ac_try;;
4010
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4011
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4012
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4013
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4014
  ac_status=$?
4015
  grep -v '^ *+' conftest.er1 >conftest.err
4016
  rm -f conftest.er1
4017
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4018
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4019
  (exit $ac_status); } >/dev/null && {
4020
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4021
	 test ! -s conftest.err
4022
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4023
  :
4024
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4025
  $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
4026
sed 's/^/| /' conftest.$ac_ext >&5
4027
4028
  # Broken: fails on valid input.
4029
continue
4030
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4031
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4032
rm -f conftest.err conftest.$ac_ext
4033
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4034
  # 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
4035
  # can be detected and how.
4036
  cat >conftest.$ac_ext <<_ACEOF
4037
/* confdefs.h.  */
4038
_ACEOF
4039
cat confdefs.h >>conftest.$ac_ext
4040
cat >>conftest.$ac_ext <<_ACEOF
4041
/* end confdefs.h.  */
4042
#include <ac_nonexistent.h>
4043
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4044
if { (ac_try="$ac_cpp conftest.$ac_ext"
4045
case "(($ac_try" in
4046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047
  *) ac_try_echo=$ac_try;;
4048
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4050
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4051
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4052
  ac_status=$?
4053
  grep -v '^ *+' conftest.er1 >conftest.err
4054
  rm -f conftest.er1
4055
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4057
  (exit $ac_status); } >/dev/null && {
4058
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4059
	 test ! -s conftest.err
4060
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4061
  # Broken: success on invalid input.
4062
continue
4063
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4064
  $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
4065
sed 's/^/| /' conftest.$ac_ext >&5
4066
4067
  # Passes both tests.
4068
ac_preproc_ok=:
4069
break
4070
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4071
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4072
rm -f conftest.err conftest.$ac_ext
4073
4074
done
4075
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4076
rm -f conftest.err conftest.$ac_ext
4077
if $ac_preproc_ok; then
4078
  break
4079
fi
4080
4081
    done
4082
    ac_cv_prog_CPP=$CPP
4083
4084
fi
4085
  CPP=$ac_cv_prog_CPP
4086
else
4087
  ac_cv_prog_CPP=$CPP
4088
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4089
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4090
$as_echo "$CPP" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4091
ac_preproc_ok=false
4092
for ac_c_preproc_warn_flag in '' yes
4093
do
4094
  # Use a header file that comes with gcc, so configuring glibc
4095
  # with a fresh cross-compiler works.
4096
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4097
  # <limits.h> exists even on freestanding compilers.
4098
  # On the NeXT, cc -E runs the code through the compiler's parser,
4099
  # not just through cpp. "Syntax error" is here to catch this case.
4100
  cat >conftest.$ac_ext <<_ACEOF
4101
/* confdefs.h.  */
4102
_ACEOF
4103
cat confdefs.h >>conftest.$ac_ext
4104
cat >>conftest.$ac_ext <<_ACEOF
4105
/* end confdefs.h.  */
4106
#ifdef __STDC__
4107
# include <limits.h>
4108
#else
4109
# include <assert.h>
4110
#endif
4111
		     Syntax error
4112
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4113
if { (ac_try="$ac_cpp conftest.$ac_ext"
4114
case "(($ac_try" in
4115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116
  *) ac_try_echo=$ac_try;;
4117
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4119
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4120
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4121
  ac_status=$?
4122
  grep -v '^ *+' conftest.er1 >conftest.err
4123
  rm -f conftest.er1
4124
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4125
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4126
  (exit $ac_status); } >/dev/null && {
4127
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4128
	 test ! -s conftest.err
4129
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4130
  :
4131
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4132
  $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
4133
sed 's/^/| /' conftest.$ac_ext >&5
4134
4135
  # Broken: fails on valid input.
4136
continue
4137
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4138
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4139
rm -f conftest.err conftest.$ac_ext
4140
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4141
  # 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
4142
  # can be detected and how.
4143
  cat >conftest.$ac_ext <<_ACEOF
4144
/* confdefs.h.  */
4145
_ACEOF
4146
cat confdefs.h >>conftest.$ac_ext
4147
cat >>conftest.$ac_ext <<_ACEOF
4148
/* end confdefs.h.  */
4149
#include <ac_nonexistent.h>
4150
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4151
if { (ac_try="$ac_cpp conftest.$ac_ext"
4152
case "(($ac_try" in
4153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154
  *) ac_try_echo=$ac_try;;
4155
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4157
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4158
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4159
  ac_status=$?
4160
  grep -v '^ *+' conftest.er1 >conftest.err
4161
  rm -f conftest.er1
4162
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4164
  (exit $ac_status); } >/dev/null && {
4165
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4166
	 test ! -s conftest.err
4167
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4168
  # Broken: success on invalid input.
4169
continue
4170
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4171
  $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
4172
sed 's/^/| /' conftest.$ac_ext >&5
4173
4174
  # Passes both tests.
4175
ac_preproc_ok=:
4176
break
4177
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4178
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4179
rm -f conftest.err conftest.$ac_ext
4180
4181
done
4182
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4183
rm -f conftest.err conftest.$ac_ext
4184
if $ac_preproc_ok; then
4185
  :
4186
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4187
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4188
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4189
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4190
See \`config.log' for more details." >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4191
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4192
See \`config.log' for more details." >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4193
   { (exit 1); exit 1; }; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4194
fi
4195
4196
ac_ext=c
4197
ac_cpp='$CPP $CPPFLAGS'
4198
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201
4202
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4203
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4204
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4205
if test "${ac_cv_path_GREP+set}" = set; then
4206
  $as_echo_n "(cached) " >&6
4207
else
4208
  if test -z "$GREP"; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4209
  ac_path_GREP_found=false
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4210
  # Loop through the user's path and test for each of PROGNAME-LIST
4211
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4212
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4213
do
4214
  IFS=$as_save_IFS
4215
  test -z "$as_dir" && as_dir=.
4216
  for ac_prog in grep ggrep; do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4217
    for ac_exec_ext in '' $ac_executable_extensions; do
4218
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4219
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4220
# 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.
4221
  # Check for GNU $ac_path_GREP
4222
case `"$ac_path_GREP" --version 2>&1` in
4223
*GNU*)
4224
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4225
*)
4226
  ac_count=0
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4227
  $as_echo_n 0123456789 >"conftest.in"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4228
  while :
4229
  do
4230
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4231
    mv "conftest.tmp" "conftest.in"
4232
    cp "conftest.in" "conftest.nl"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4233
    $as_echo 'GREP' >> "conftest.nl"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4234
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236
    ac_count=`expr $ac_count + 1`
4237
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4238
      # Best one so far, save it but keep looking for a better one
4239
      ac_cv_path_GREP="$ac_path_GREP"
4240
      ac_path_GREP_max=$ac_count
4241
    fi
4242
    # 10*(2^10) chars as input seems more than enough
4243
    test $ac_count -gt 10 && break
4244
  done
4245
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4246
esac
4247
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4248
      $ac_path_GREP_found && break 3
4249
    done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4250
  done
4251
done
4252
IFS=$as_save_IFS
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4253
  if test -z "$ac_cv_path_GREP"; then
4254
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4255
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4256
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4257
  fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4258
else
4259
  ac_cv_path_GREP=$GREP
4260
fi
4261
4262
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4263
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4264
$as_echo "$ac_cv_path_GREP" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4265
 GREP="$ac_cv_path_GREP"
4266
4267
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4268
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4269
$as_echo_n "checking for egrep... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4270
if test "${ac_cv_path_EGREP+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4271
  $as_echo_n "(cached) " >&6
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4272
else
4273
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4274
   then ac_cv_path_EGREP="$GREP -E"
4275
   else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4276
     if test -z "$EGREP"; then
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4277
  ac_path_EGREP_found=false
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4278
  # Loop through the user's path and test for each of PROGNAME-LIST
4279
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4280
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281
do
4282
  IFS=$as_save_IFS
4283
  test -z "$as_dir" && as_dir=.
4284
  for ac_prog in egrep; do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4285
    for ac_exec_ext in '' $ac_executable_extensions; do
4286
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4287
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4288
# 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.
4289
  # Check for GNU $ac_path_EGREP
4290
case `"$ac_path_EGREP" --version 2>&1` in
4291
*GNU*)
4292
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4293
*)
4294
  ac_count=0
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4295
  $as_echo_n 0123456789 >"conftest.in"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4296
  while :
4297
  do
4298
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4299
    mv "conftest.tmp" "conftest.in"
4300
    cp "conftest.in" "conftest.nl"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4301
    $as_echo 'EGREP' >> "conftest.nl"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4302
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304
    ac_count=`expr $ac_count + 1`
4305
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4306
      # Best one so far, save it but keep looking for a better one
4307
      ac_cv_path_EGREP="$ac_path_EGREP"
4308
      ac_path_EGREP_max=$ac_count
4309
    fi
4310
    # 10*(2^10) chars as input seems more than enough
4311
    test $ac_count -gt 10 && break
4312
  done
4313
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314
esac
4315
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4316
      $ac_path_EGREP_found && break 3
4317
    done
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4318
  done
4319
done
4320
IFS=$as_save_IFS
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4321
  if test -z "$ac_cv_path_EGREP"; then
4322
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4323
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4324
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4325
  fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4326
else
4327
  ac_cv_path_EGREP=$EGREP
4328
fi
4329
4330
   fi
4331
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4332
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4333
$as_echo "$ac_cv_path_EGREP" >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4334
 EGREP="$ac_cv_path_EGREP"
4335
4336
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4337
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4338
$as_echo_n "checking for ANSI C header files... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4339
if test "${ac_cv_header_stdc+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4340
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4341
else
4342
  cat >conftest.$ac_ext <<_ACEOF
4343
/* confdefs.h.  */
4344
_ACEOF
4345
cat confdefs.h >>conftest.$ac_ext
4346
cat >>conftest.$ac_ext <<_ACEOF
4347
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4348
#include <stdlib.h>
4349
#include <stdarg.h>
4350
#include <string.h>
4351
#include <float.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4352
4353
int
4354
main ()
4355
{
4356
4357
  ;
4358
  return 0;
4359
}
4360
_ACEOF
4361
rm -f conftest.$ac_objext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4362
if { (ac_try="$ac_compile"
4363
case "(($ac_try" in
4364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365
  *) ac_try_echo=$ac_try;;
4366
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4367
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4368
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4369
  (eval "$ac_compile") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4370
  ac_status=$?
4371
  grep -v '^ *+' conftest.er1 >conftest.err
4372
  rm -f conftest.er1
4373
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4374
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4375
  (exit $ac_status); } && {
4376
	 test -z "$ac_c_werror_flag" ||
4377
	 test ! -s conftest.err
4378
       } && test -s conftest.$ac_objext; then
1 by
This commit was manufactured by cvs2svn to create branch
4379
  ac_cv_header_stdc=yes
4380
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4381
  $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
4382
sed 's/^/| /' conftest.$ac_ext >&5
4383
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4384
	ac_cv_header_stdc=no
1 by
This commit was manufactured by cvs2svn to create branch
4385
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4386
4387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1 by
This commit was manufactured by cvs2svn to create branch
4388
4389
if test $ac_cv_header_stdc = yes; then
4390
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4391
  cat >conftest.$ac_ext <<_ACEOF
4392
/* confdefs.h.  */
4393
_ACEOF
4394
cat confdefs.h >>conftest.$ac_ext
4395
cat >>conftest.$ac_ext <<_ACEOF
4396
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4397
#include <string.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4398
4399
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4400
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4401
  $EGREP "memchr" >/dev/null 2>&1; then
1 by
This commit was manufactured by cvs2svn to create branch
4402
  :
4403
else
4404
  ac_cv_header_stdc=no
4405
fi
4406
rm -f conftest*
4407
4408
fi
4409
4410
if test $ac_cv_header_stdc = yes; then
4411
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4412
  cat >conftest.$ac_ext <<_ACEOF
4413
/* confdefs.h.  */
4414
_ACEOF
4415
cat confdefs.h >>conftest.$ac_ext
4416
cat >>conftest.$ac_ext <<_ACEOF
4417
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4418
#include <stdlib.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4419
4420
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4421
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4422
  $EGREP "free" >/dev/null 2>&1; then
1 by
This commit was manufactured by cvs2svn to create branch
4423
  :
4424
else
4425
  ac_cv_header_stdc=no
4426
fi
4427
rm -f conftest*
4428
4429
fi
4430
4431
if test $ac_cv_header_stdc = yes; then
4432
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4433
  if test "$cross_compiling" = yes; then
1 by
This commit was manufactured by cvs2svn to create branch
4434
  :
4435
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4436
  cat >conftest.$ac_ext <<_ACEOF
4437
/* confdefs.h.  */
4438
_ACEOF
4439
cat confdefs.h >>conftest.$ac_ext
4440
cat >>conftest.$ac_ext <<_ACEOF
4441
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4442
#include <ctype.h>
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4443
#include <stdlib.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4444
#if ((' ' & 0x0FF) == 0x020)
4445
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4446
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4447
#else
4448
# define ISLOWER(c) \
4449
		   (('a' <= (c) && (c) <= 'i') \
4450
		     || ('j' <= (c) && (c) <= 'r') \
4451
		     || ('s' <= (c) && (c) <= 'z'))
4452
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4453
#endif
4454
1 by
This commit was manufactured by cvs2svn to create branch
4455
#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
4456
int
4457
main ()
4458
{
4459
  int i;
4460
  for (i = 0; i < 256; i++)
4461
    if (XOR (islower (i), ISLOWER (i))
4462
	|| toupper (i) != TOUPPER (i))
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4463
      return 2;
4464
  return 0;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4465
}
4466
_ACEOF
4467
rm -f conftest$ac_exeext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4468
if { (ac_try="$ac_link"
4469
case "(($ac_try" in
4470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471
  *) ac_try_echo=$ac_try;;
4472
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4473
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4474
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4475
  (eval "$ac_link") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4476
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4477
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4478
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4479
  { (case "(($ac_try" in
4480
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481
  *) ac_try_echo=$ac_try;;
4482
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4483
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4484
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4485
  (eval "$ac_try") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4486
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4487
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4488
  (exit $ac_status); }; }; then
1 by
This commit was manufactured by cvs2svn to create branch
4489
  :
4490
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4491
  $as_echo "$as_me: program exited with status $ac_status" >&5
4492
$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
4493
sed 's/^/| /' conftest.$ac_ext >&5
4494
4495
( exit $ac_status )
4496
ac_cv_header_stdc=no
4497
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4498
rm -rf conftest.dSYM
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4499
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4500
fi
4501
4502
4503
fi
4504
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4505
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4506
$as_echo "$ac_cv_header_stdc" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
4507
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
4508
4509
cat >>confdefs.h <<\_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4510
#define STDC_HEADERS 1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4511
_ACEOF
4512
4513
fi
4514
4515
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4526
		  inttypes.h stdint.h unistd.h
4527
do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4528
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4529
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4530
$as_echo_n "checking for $ac_header... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4531
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4532
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4533
else
4534
  cat >conftest.$ac_ext <<_ACEOF
4535
/* confdefs.h.  */
4536
_ACEOF
4537
cat confdefs.h >>conftest.$ac_ext
4538
cat >>conftest.$ac_ext <<_ACEOF
4539
/* end confdefs.h.  */
4540
$ac_includes_default
4541
4542
#include <$ac_header>
4543
_ACEOF
4544
rm -f conftest.$ac_objext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4545
if { (ac_try="$ac_compile"
4546
case "(($ac_try" in
4547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4548
  *) ac_try_echo=$ac_try;;
4549
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4551
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4552
  (eval "$ac_compile") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4553
  ac_status=$?
4554
  grep -v '^ *+' conftest.er1 >conftest.err
4555
  rm -f conftest.er1
4556
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4557
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4558
  (exit $ac_status); } && {
4559
	 test -z "$ac_c_werror_flag" ||
4560
	 test ! -s conftest.err
4561
       } && test -s conftest.$ac_objext; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4562
  eval "$as_ac_Header=yes"
4563
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4564
  $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
4565
sed 's/^/| /' conftest.$ac_ext >&5
4566
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4567
	eval "$as_ac_Header=no"
4568
fi
4569
4570
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4572
ac_res=`eval 'as_val=${'$as_ac_Header'}
4573
		 $as_echo "$as_val"'`
4574
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4575
$as_echo "$ac_res" >&6; }
4576
as_val=`eval 'as_val=${'$as_ac_Header'}
4577
		 $as_echo "$as_val"'`
4578
   if test "x$as_val" = x""yes; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4579
  cat >>confdefs.h <<_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4580
#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
4581
_ACEOF
4582
4583
fi
4584
4585
done
4586
4587
4588
4589
for ac_header in syslog.h
4590
do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4591
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4592
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4593
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4594
$as_echo_n "checking for $ac_header... " >&6; }
4595
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4596
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4597
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4598
ac_res=`eval 'as_val=${'$as_ac_Header'}
4599
		 $as_echo "$as_val"'`
4600
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4601
$as_echo "$ac_res" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4602
else
4603
  # Is the header compilable?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4604
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4605
$as_echo_n "checking $ac_header usability... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4606
cat >conftest.$ac_ext <<_ACEOF
4607
/* confdefs.h.  */
4608
_ACEOF
4609
cat confdefs.h >>conftest.$ac_ext
4610
cat >>conftest.$ac_ext <<_ACEOF
4611
/* end confdefs.h.  */
4612
$ac_includes_default
4613
#include <$ac_header>
4614
_ACEOF
4615
rm -f conftest.$ac_objext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4616
if { (ac_try="$ac_compile"
4617
case "(($ac_try" in
4618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619
  *) ac_try_echo=$ac_try;;
4620
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4621
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4622
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4623
  (eval "$ac_compile") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4624
  ac_status=$?
4625
  grep -v '^ *+' conftest.er1 >conftest.err
4626
  rm -f conftest.er1
4627
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4629
  (exit $ac_status); } && {
4630
	 test -z "$ac_c_werror_flag" ||
4631
	 test ! -s conftest.err
4632
       } && test -s conftest.$ac_objext; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4633
  ac_header_compiler=yes
4634
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4635
  $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
4636
sed 's/^/| /' conftest.$ac_ext >&5
4637
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4638
	ac_header_compiler=no
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4639
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4640
4641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4642
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4643
$as_echo "$ac_header_compiler" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4644
4645
# Is the header present?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4646
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4647
$as_echo_n "checking $ac_header presence... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4648
cat >conftest.$ac_ext <<_ACEOF
4649
/* confdefs.h.  */
4650
_ACEOF
4651
cat confdefs.h >>conftest.$ac_ext
4652
cat >>conftest.$ac_ext <<_ACEOF
4653
/* end confdefs.h.  */
4654
#include <$ac_header>
4655
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4656
if { (ac_try="$ac_cpp conftest.$ac_ext"
4657
case "(($ac_try" in
4658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659
  *) ac_try_echo=$ac_try;;
4660
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4662
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4663
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4664
  ac_status=$?
4665
  grep -v '^ *+' conftest.er1 >conftest.err
4666
  rm -f conftest.er1
4667
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4668
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4669
  (exit $ac_status); } >/dev/null && {
4670
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4671
	 test ! -s conftest.err
4672
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4673
  ac_header_preproc=yes
4674
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4675
  $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
4676
sed 's/^/| /' conftest.$ac_ext >&5
4677
4678
  ac_header_preproc=no
4679
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4680
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4681
rm -f conftest.err conftest.$ac_ext
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4682
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4683
$as_echo "$ac_header_preproc" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4684
4685
# So?  What about this header?
4686
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4687
  yes:no: )
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4688
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4689
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4690
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4691
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4692
    ac_header_preproc=yes
4693
    ;;
4694
  no:yes:* )
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4695
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4696
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4697
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4698
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4699
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4700
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4701
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4702
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4703
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4704
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4705
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4706
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4707
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4708
    ;;
4709
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4710
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4711
$as_echo_n "checking for $ac_header... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4712
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4713
  $as_echo_n "(cached) " >&6
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4714
else
4715
  eval "$as_ac_Header=\$ac_header_preproc"
4716
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4717
ac_res=`eval 'as_val=${'$as_ac_Header'}
4718
		 $as_echo "$as_val"'`
4719
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4720
$as_echo "$ac_res" >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4721
4722
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4723
as_val=`eval 'as_val=${'$as_ac_Header'}
4724
		 $as_echo "$as_val"'`
4725
   if test "x$as_val" = x""yes; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4726
  cat >>confdefs.h <<_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4727
#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
4728
_ACEOF
4729
4730
fi
4731
1 by
This commit was manufactured by cvs2svn to create branch
4732
done
4733
4734
4735
# Checks for typedefs, structures, and compiler characteristics.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4736
{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4737
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4738
if test "${ac_cv_type_uid_t+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4739
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
4740
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4741
  cat >conftest.$ac_ext <<_ACEOF
4742
/* confdefs.h.  */
4743
_ACEOF
4744
cat confdefs.h >>conftest.$ac_ext
4745
cat >>conftest.$ac_ext <<_ACEOF
4746
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4747
#include <sys/types.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4748
4749
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4750
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4751
  $EGREP "uid_t" >/dev/null 2>&1; then
1 by
This commit was manufactured by cvs2svn to create branch
4752
  ac_cv_type_uid_t=yes
4753
else
4754
  ac_cv_type_uid_t=no
4755
fi
4756
rm -f conftest*
4757
4758
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4759
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
4760
$as_echo "$ac_cv_type_uid_t" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
4761
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
4762
4763
cat >>confdefs.h <<\_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4764
#define uid_t int
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4765
_ACEOF
4766
4767
4768
cat >>confdefs.h <<\_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4769
#define gid_t int
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4770
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4771
4772
fi
4773
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4774
{ $as_echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
4775
$as_echo_n "checking type of array argument to getgroups... " >&6; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4776
if test "${ac_cv_type_getgroups+set}" = set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4777
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
4778
else
4779
  if test "$cross_compiling" = yes; then
4780
  ac_cv_type_getgroups=cross
4781
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4782
  cat >conftest.$ac_ext <<_ACEOF
4783
/* confdefs.h.  */
4784
_ACEOF
4785
cat confdefs.h >>conftest.$ac_ext
4786
cat >>conftest.$ac_ext <<_ACEOF
4787
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4788
/* Thanks to Mike Rendell for this test.  */
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4789
$ac_includes_default
1 by
This commit was manufactured by cvs2svn to create branch
4790
#define NGID 256
4791
#undef MAX
4792
#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
4793
4794
int
4795
main ()
1 by
This commit was manufactured by cvs2svn to create branch
4796
{
4797
  gid_t gidset[NGID];
4798
  int i, n;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4799
  union { gid_t gval; long int lval; }  val;
1 by
This commit was manufactured by cvs2svn to create branch
4800
4801
  val.lval = -1;
4802
  for (i = 0; i < NGID; i++)
4803
    gidset[i] = val.gval;
4804
  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
4805
		 gidset);
1 by
This commit was manufactured by cvs2svn to create branch
4806
  /* 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.
4807
     happens when gid_t is short int but getgroups modifies an array
4808
     of ints.  */
4809
  return n > 0 && gidset[n] != val.gval;
1 by
This commit was manufactured by cvs2svn to create branch
4810
}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4811
_ACEOF
4812
rm -f conftest$ac_exeext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4813
if { (ac_try="$ac_link"
4814
case "(($ac_try" in
4815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816
  *) ac_try_echo=$ac_try;;
4817
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4819
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4820
  (eval "$ac_link") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4821
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4822
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4823
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4824
  { (case "(($ac_try" in
4825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826
  *) ac_try_echo=$ac_try;;
4827
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4828
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4829
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4830
  (eval "$ac_try") 2>&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4831
  ac_status=$?
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4832
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4833
  (exit $ac_status); }; }; then
4834
  ac_cv_type_getgroups=gid_t
1 by
This commit was manufactured by cvs2svn to create branch
4835
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4836
  $as_echo "$as_me: program exited with status $ac_status" >&5
4837
$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
4838
sed 's/^/| /' conftest.$ac_ext >&5
1 by
This commit was manufactured by cvs2svn to create branch
4839
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4840
( exit $ac_status )
4841
ac_cv_type_getgroups=int
4842
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4843
rm -rf conftest.dSYM
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4844
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4845
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4846
4847
1 by
This commit was manufactured by cvs2svn to create branch
4848
if test $ac_cv_type_getgroups = cross; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4849
        cat >conftest.$ac_ext <<_ACEOF
4850
/* confdefs.h.  */
4851
_ACEOF
4852
cat confdefs.h >>conftest.$ac_ext
4853
cat >>conftest.$ac_ext <<_ACEOF
4854
/* end confdefs.h.  */
1 by
This commit was manufactured by cvs2svn to create branch
4855
#include <unistd.h>
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4856
4857
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4858
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4859
  $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
1 by
This commit was manufactured by cvs2svn to create branch
4860
  ac_cv_type_getgroups=gid_t
4861
else
4862
  ac_cv_type_getgroups=int
4863
fi
4864
rm -f conftest*
4865
4866
fi
4867
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4868
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
4869
$as_echo "$ac_cv_type_getgroups" >&6; }
1 by
This commit was manufactured by cvs2svn to create branch
4870
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4871
cat >>confdefs.h <<_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4872
#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
4873
_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
4874
4875
4876
4877
# Checks for library functions.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4878
1 by
This commit was manufactured by cvs2svn to create branch
4879
for ac_func in vsnprintf
4880
do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4881
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4882
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4883
$as_echo_n "checking for $ac_func... " >&6; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4884
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4885
  $as_echo_n "(cached) " >&6
1 by
This commit was manufactured by cvs2svn to create branch
4886
else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4887
  cat >conftest.$ac_ext <<_ACEOF
4888
/* confdefs.h.  */
4889
_ACEOF
4890
cat confdefs.h >>conftest.$ac_ext
4891
cat >>conftest.$ac_ext <<_ACEOF
4892
/* end confdefs.h.  */
4893
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4894
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4895
#define $ac_func innocuous_$ac_func
4896
1 by
This commit was manufactured by cvs2svn to create branch
4897
/* System header to define __stub macros and hopefully few prototypes,
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4898
    which can conflict with char $ac_func (); below.
4899
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4900
    <limits.h> exists even on freestanding compilers.  */
4901
4902
#ifdef __STDC__
4903
# include <limits.h>
4904
#else
4905
# include <assert.h>
4906
#endif
4907
4908
#undef $ac_func
4909
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4910
/* Override any GCC internal prototype to avoid an error.
4911
   Use char because int might match the return type of a GCC
4912
   builtin and then its argument prototype would still apply.  */
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4913
#ifdef __cplusplus
4914
extern "C"
4915
#endif
4916
char $ac_func ();
1 by
This commit was manufactured by cvs2svn to create branch
4917
/* The GNU C library defines this for functions which it implements
4918
    to always fail with ENOSYS.  Some functions are actually named
4919
    something starting with __ and the normal name is an alias.  */
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4920
#if defined __stub_$ac_func || defined __stub___$ac_func
1 by
This commit was manufactured by cvs2svn to create branch
4921
choke me
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4922
#endif
4923
4924
int
4925
main ()
4926
{
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4927
return $ac_func ();
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4928
  ;
4929
  return 0;
4930
}
4931
_ACEOF
4932
rm -f conftest.$ac_objext conftest$ac_exeext
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4933
if { (ac_try="$ac_link"
4934
case "(($ac_try" in
4935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936
  *) ac_try_echo=$ac_try;;
4937
esac
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4938
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4939
$as_echo "$ac_try_echo") >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4940
  (eval "$ac_link") 2>conftest.er1
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4941
  ac_status=$?
4942
  grep -v '^ *+' conftest.er1 >conftest.err
4943
  rm -f conftest.er1
4944
  cat conftest.err >&5
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4945
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4946
  (exit $ac_status); } && {
4947
	 test -z "$ac_c_werror_flag" ||
4948
	 test ! -s conftest.err
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4949
       } && test -s conftest$ac_exeext && {
4950
	 test "$cross_compiling" = yes ||
4951
	 $as_test_x conftest$ac_exeext
4952
       }; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4953
  eval "$as_ac_var=yes"
4954
else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4955
  $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
4956
sed 's/^/| /' conftest.$ac_ext >&5
4957
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4958
	eval "$as_ac_var=no"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4959
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4960
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4961
rm -rf conftest.dSYM
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
4962
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4963
      conftest$ac_exeext conftest.$ac_ext
4964
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4965
ac_res=`eval 'as_val=${'$as_ac_var'}
4966
		 $as_echo "$as_val"'`
4967
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4968
$as_echo "$ac_res" >&6; }
4969
as_val=`eval 'as_val=${'$as_ac_var'}
4970
		 $as_echo "$as_val"'`
4971
   if test "x$as_val" = x""yes; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4972
  cat >>confdefs.h <<_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
4973
#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
4974
_ACEOF
4975
1 by
This commit was manufactured by cvs2svn to create branch
4976
fi
4977
done
4978
4979
4980
4981
4982
4983
4984
4985
SCRIPTS="build/bin/add_members:bin/add_members \
4986
build/bin/arch:bin/arch \
4987
build/bin/change_pw:bin/change_pw \
4988
build/bin/check_db:bin/check_db \
4989
build/bin/check_perms:bin/check_perms \
4990
build/bin/cleanarch:bin/cleanarch \
4991
build/bin/clone_member:bin/clone_member \
4992
build/bin/config_list:bin/config_list \
4993
build/bin/convert.py:bin/convert.py \
89 by bwarsaw
Backporting from the HEAD -- top level files
4994
build/bin/discard:bin/discard \
1 by
This commit was manufactured by cvs2svn to create branch
4995
build/bin/dumpdb:bin/dumpdb \
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
4996
build/bin/export.py:bin/export.py \
1 by
This commit was manufactured by cvs2svn to create branch
4997
build/bin/find_member:bin/find_member \
4998
build/bin/fix_url.py:bin/fix_url.py \
4999
build/bin/genaliases:bin/genaliases \
5000
build/bin/inject:bin/inject \
5001
build/bin/list_admins:bin/list_admins \
5002
build/bin/list_lists:bin/list_lists \
5003
build/bin/list_members:bin/list_members \
5004
build/bin/list_owners:bin/list_owners \
5005
build/bin/mailmanctl:bin/mailmanctl \
5006
build/bin/mmsitepass:bin/mmsitepass \
61 by bwarsaw
Backporting once again from the trunk.
5007
build/bin/msgfmt.py:bin/msgfmt.py \
1 by
This commit was manufactured by cvs2svn to create branch
5008
build/bin/newlist:bin/newlist \
5009
build/bin/pygettext.py:bin/pygettext.py \
5010
build/bin/qrunner:bin/qrunner \
5011
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.
5012
build/bin/reset_pw.py:bin/reset_pw.py \
1 by
This commit was manufactured by cvs2svn to create branch
5013
build/bin/rmlist:bin/rmlist \
89 by bwarsaw
Backporting from the HEAD -- top level files
5014
build/bin/show_qfiles:bin/show_qfiles \
1 by
This commit was manufactured by cvs2svn to create branch
5015
build/bin/sync_members:bin/sync_members \
5016
build/bin/transcheck:bin/transcheck \
5017
build/bin/unshunt:bin/unshunt \
5018
build/bin/update:bin/update \
5019
build/bin/version:bin/version \
5020
build/bin/withlist:bin/withlist \
5021
build/bin/b4b5-archfix:bin/b4b5-archfix \
244 by bwarsaw
Added Richard Barrett's bin/rb-archfix script to reduce Pipermail
5022
build/bin/rb-archfix:bin/rb-archfix \
1 by
This commit was manufactured by cvs2svn to create branch
5023
build/contrib/check_perms_grsecurity.py:contrib/check_perms_grsecurity.py \
5024
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
5025
build/contrib/courier-to-mailman.py:contrib/courier-to-mailman.py \
1 by
This commit was manufactured by cvs2svn to create branch
5026
build/contrib/rotatelogs.py:contrib/rotatelogs.py \
5027
build/cron/bumpdigests:cron/bumpdigests \
5028
build/cron/checkdbs:cron/checkdbs \
1073.1.1 by Mark Sapiro
Added new cron/cull_bad_shunt and supporting Defaults.py.in settings.
5029
build/cron/cull_bad_shunt:cron/cull_bad_shunt \
1 by
This commit was manufactured by cvs2svn to create branch
5030
build/cron/disabled:cron/disabled \
5031
build/cron/gate_news:cron/gate_news \
5032
build/cron/mailpasswds:cron/mailpasswds \
5033
build/cron/nightly_gzip:cron/nightly_gzip \
5034
build/cron/senddigests:cron/senddigests \
5035
"
5036
5037
5038
5039
# These directories are temporary directories to store macro-expanded
5040
# scripts.  They're removed on a make distclean, so we make them here.
5041
mkdir -p build/bin build/contrib build/cron
5042
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5043
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"
5044
5045
ac_config_commands="$ac_config_commands default"
5046
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5047
cat >confcache <<\_ACEOF
1 by
This commit was manufactured by cvs2svn to create branch
5048
# This file is a shell script that caches the results of configure
5049
# 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
5050
# scripts and configure runs, see configure's option --config-cache.
5051
# It is not useful on other systems.  If it contains results you don't
5052
# want to keep, you may remove or edit it.
5053
#
5054
# config.status only pays attention to the cache file if you give it
5055
# the --recheck option to rerun configure.
5056
#
5057
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5058
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5059
# following values.
5060
5061
_ACEOF
5062
1 by
This commit was manufactured by cvs2svn to create branch
5063
# The following way of writing the cache mishandles newlines in values,
5064
# 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.
5065
# So, we kill variables containing newlines.
1 by
This commit was manufactured by cvs2svn to create branch
5066
# Ultrix sh set writes to stderr and can't be redirected directly,
5067
# 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.
5068
(
5069
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5070
    eval ac_val=\$$ac_var
5071
    case $ac_val in #(
5072
    *${as_nl}*)
5073
      case $ac_var in #(
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5074
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5075
$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.
5076
      esac
5077
      case $ac_var in #(
5078
      _ | IFS | as_nl) ;; #(
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5079
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5080
      *) $as_unset $ac_var ;;
5081
      esac ;;
5082
    esac
5083
  done
5084
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5085
  (set) 2>&1 |
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5086
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5087
    *${as_nl}ac_space=\ *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5088
      # `set' does not quote correctly, so add quotes (double-quote
5089
      # substitution turns \\\\ into \\, and sed turns \\ into \).
5090
      sed -n \
5091
	"s/'/'\\\\''/g;
5092
	  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.
5093
      ;; #(
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5094
    *)
5095
      # `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.
5096
      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
5097
      ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5098
    esac |
5099
    sort
5100
) |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5101
  sed '
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5102
     /^ac_cv_env_/b end
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5103
     t clear
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5104
     :clear
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5105
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5106
     t end
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5107
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5108
     :end' >>confcache
5109
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5110
  if test -w "$cache_file"; then
5111
    test "x$cache_file" != "x/dev/null" &&
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5112
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5113
$as_echo "$as_me: updating cache $cache_file" >&6;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5114
    cat confcache >$cache_file
1 by
This commit was manufactured by cvs2svn to create branch
5115
  else
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5116
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5117
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1 by
This commit was manufactured by cvs2svn to create branch
5118
  fi
5119
fi
5120
rm -f confcache
5121
5122
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5123
# Let make expand exec_prefix.
5124
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5125
5126
# Transform confdefs.h into DEFS.
5127
# Protect against shell expansion while executing Makefile rules.
5128
# Protect against Makefile macro expansion.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5129
#
5130
# 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.
5131
# 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
5132
# 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.
5133
ac_script='
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5134
:mline
5135
/\\$/{
5136
 N
5137
 s,\\\n,,
5138
 b mline
5139
}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5140
t clear
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5141
:clear
5142
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5143
t quote
5144
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5145
t quote
5146
b any
5147
:quote
5148
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5149
s/\[/\\&/g
5150
s/\]/\\&/g
5151
s/\$/$$/g
5152
H
5153
:any
5154
${
5155
	g
5156
	s/^\n//
5157
	s/\n/ /g
5158
	p
5159
}
5160
'
5161
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
5162
5163
5164
ac_libobjs=
5165
ac_ltlibobjs=
5166
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5167
  # 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.
5168
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5169
  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
5170
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5171
  #    will be set to the directory where LIBOBJS objects are built.
5172
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5173
  ac_ltlibobjs="$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
5174
done
5175
LIBOBJS=$ac_libobjs
5176
5177
LTLIBOBJS=$ac_ltlibobjs
5178
5179
5180
1 by
This commit was manufactured by cvs2svn to create branch
5181
: ${CONFIG_STATUS=./config.status}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5182
ac_write_fail=0
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5183
ac_clean_files_save=$ac_clean_files
5184
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5185
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5186
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5187
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
5188
#! $SHELL
5189
# Generated by $as_me.
1 by
This commit was manufactured by cvs2svn to create branch
5190
# Run this file to recreate the current configuration.
5191
# 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
5192
# configure, is in config.log if it exists.
5193
5194
debug=false
5195
ac_cs_recheck=false
5196
ac_cs_silent=false
5197
SHELL=\${CONFIG_SHELL-$SHELL}
5198
_ACEOF
5199
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5200
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
5201
## --------------------- ##
5202
## M4sh Initialization.  ##
5203
## --------------------- ##
5204
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5205
# Be more Bourne compatible
5206
DUALCASE=1; export DUALCASE # for MKS sh
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5207
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5208
  emulate sh
5209
  NULLCMD=:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5210
  # 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
5211
  # is contrary to our usage.  Disable this feature.
5212
  alias -g '${1+"$@"}'='"$@"'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5213
  setopt NO_GLOB_SUBST
5214
else
5215
  case `(set -o) 2>/dev/null` in
5216
  *posix*) set -o posix ;;
5217
esac
5218
5219
fi
5220
5221
5222
5223
5224
# PATH needs CR
5225
# Avoid depending upon Character Ranges.
5226
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5227
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5228
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5229
as_cr_digits='0123456789'
5230
as_cr_alnum=$as_cr_Letters$as_cr_digits
5231
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5232
as_nl='
5233
'
5234
export as_nl
5235
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5236
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5237
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5238
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5239
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5240
  as_echo='printf %s\n'
5241
  as_echo_n='printf %s'
5242
else
5243
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5244
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5245
    as_echo_n='/usr/ucb/echo -n'
5246
  else
5247
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5248
    as_echo_n_body='eval
5249
      arg=$1;
5250
      case $arg in
5251
      *"$as_nl"*)
5252
	expr "X$arg" : "X\\(.*\\)$as_nl";
5253
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5254
      esac;
5255
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5256
    '
5257
    export as_echo_n_body
5258
    as_echo_n='sh -c $as_echo_n_body as_echo'
5259
  fi
5260
  export as_echo_body
5261
  as_echo='sh -c $as_echo_body as_echo'
5262
fi
5263
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5264
# The user is always right.
5265
if test "${PATH_SEPARATOR+set}" != set; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5266
  PATH_SEPARATOR=:
5267
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5268
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5269
      PATH_SEPARATOR=';'
5270
  }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5271
fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5272
5273
# Support unset when possible.
5274
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5275
  as_unset=unset
5276
else
5277
  as_unset=false
5278
fi
5279
5280
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5281
# IFS
5282
# We need space, tab and new line, in precisely that order.  Quoting is
5283
# there to prevent editors from complaining about space-tab.
5284
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5285
# splitting by setting IFS to empty value.)
5286
IFS=" ""	$as_nl"
5287
5288
# Find who we are.  Look in the path if we contain no directory separator.
5289
case $0 in
5290
  *[\\/]* ) as_myself=$0 ;;
5291
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292
for as_dir in $PATH
5293
do
5294
  IFS=$as_save_IFS
5295
  test -z "$as_dir" && as_dir=.
5296
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5297
done
5298
IFS=$as_save_IFS
5299
5300
     ;;
5301
esac
5302
# We did not find ourselves, most probably we were run as `sh COMMAND'
5303
# in which case we are not to be found in the path.
5304
if test "x$as_myself" = x; then
5305
  as_myself=$0
5306
fi
5307
if test ! -f "$as_myself"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5308
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5309
  { (exit 1); exit 1; }
5310
fi
5311
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5312
# Work around bugs in pre-3.0 UWIN ksh.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5313
for as_var in ENV MAIL MAILPATH
5314
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5315
done
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5316
PS1='$ '
5317
PS2='> '
5318
PS4='+ '
5319
5320
# NLS nuisances.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5321
LC_ALL=C
5322
export LC_ALL
5323
LANGUAGE=C
5324
export LANGUAGE
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5325
5326
# Required to use basename.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5327
if expr a : '\(a\)' >/dev/null 2>&1 &&
5328
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5329
  as_expr=expr
5330
else
5331
  as_expr=false
5332
fi
5333
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5334
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
5335
  as_basename=basename
5336
else
5337
  as_basename=false
5338
fi
5339
5340
5341
# Name of the executable.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5342
as_me=`$as_basename -- "$0" ||
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5343
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5344
	 X"$0" : 'X\(//\)$' \| \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5345
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5346
$as_echo X/"$0" |
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5347
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5348
	    s//\1/
5349
	    q
5350
	  }
5351
	  /^X\/\(\/\/\)$/{
5352
	    s//\1/
5353
	    q
5354
	  }
5355
	  /^X\/\(\/\).*/{
5356
	    s//\1/
5357
	    q
5358
	  }
5359
	  s/.*/./; q'`
5360
5361
# CDPATH.
5362
$as_unset CDPATH
5363
5364
5365
5366
  as_lineno_1=$LINENO
5367
  as_lineno_2=$LINENO
5368
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5369
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5370
5371
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5372
  # uniformly replaced by the line number.  The first 'sed' inserts a
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5373
  # line-number line after each line using $LINENO; the second 'sed'
5374
  # does the real work.  The second script uses 'N' to pair each
5375
  # line-number line with the line containing $LINENO, and appends
5376
  # trailing '-' during substitution so that $LINENO is not a special
5377
  # case at line end.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5378
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5379
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5380
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5381
  sed -n '
5382
    p
5383
    /[$]LINENO/=
5384
  ' <$as_myself |
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5385
    sed '
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5386
      s/[$]LINENO.*/&-/
5387
      t lineno
5388
      b
5389
      :lineno
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5390
      N
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5391
      :loop
5392
      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
5393
      t loop
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5394
      s/-\n.*//
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5395
    ' >$as_me.lineno &&
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5396
  chmod +x "$as_me.lineno" ||
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5397
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5398
   { (exit 1); exit 1; }; }
5399
5400
  # Don't try to exec as it changes $[0], causing all sort of problems
5401
  # (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.
5402
  # original and so on.  Autoconf is especially sensitive to this).
5403
  . "./$as_me.lineno"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5404
  # Exit status is that of the last command.
5405
  exit
5406
}
5407
5408
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5409
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5410
  as_dirname=dirname
5411
else
5412
  as_dirname=false
5413
fi
5414
5415
ECHO_C= ECHO_N= ECHO_T=
5416
case `echo -n x` in
5417
-n*)
5418
  case `echo 'x\c'` in
5419
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5420
  *)   ECHO_C='\c';;
5421
  esac;;
5422
*)
5423
  ECHO_N='-n';;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5424
esac
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5425
if expr a : '\(a\)' >/dev/null 2>&1 &&
5426
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5427
  as_expr=expr
5428
else
5429
  as_expr=false
5430
fi
5431
5432
rm -f conf$$ conf$$.exe conf$$.file
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5433
if test -d conf$$.dir; then
5434
  rm -f conf$$.dir/conf$$.file
5435
else
5436
  rm -f conf$$.dir
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5437
  mkdir conf$$.dir 2>/dev/null
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5438
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5439
if (echo >conf$$.file) 2>/dev/null; then
5440
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5441
    as_ln_s='ln -s'
5442
    # ... but there are two gotchas:
5443
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5444
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5445
    # In both cases, we have to default to `cp -p'.
5446
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5447
      as_ln_s='cp -p'
5448
  elif ln conf$$.file conf$$ 2>/dev/null; then
5449
    as_ln_s=ln
5450
  else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5451
    as_ln_s='cp -p'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5452
  fi
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5453
else
5454
  as_ln_s='cp -p'
5455
fi
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5456
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5457
rmdir conf$$.dir 2>/dev/null
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5458
5459
if mkdir -p . 2>/dev/null; then
5460
  as_mkdir_p=:
5461
else
5462
  test -d ./-p && rmdir ./-p
5463
  as_mkdir_p=false
5464
fi
5465
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5466
if test -x / >/dev/null 2>&1; then
5467
  as_test_x='test -x'
5468
else
5469
  if ls -dL / >/dev/null 2>&1; then
5470
    as_ls_L_option=L
5471
  else
5472
    as_ls_L_option=
5473
  fi
5474
  as_test_x='
5475
    eval sh -c '\''
5476
      if test -d "$1"; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5477
	test -d "$1/.";
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5478
      else
5479
	case $1 in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5480
	-*)set "./$1";;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5481
	esac;
5482
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5483
	???[sx]*):;;*)false;;esac;fi
5484
    '\'' sh
5485
  '
5486
fi
5487
as_executable_p=$as_test_x
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5488
5489
# Sed expression to map a string onto a valid CPP name.
5490
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5491
5492
# Sed expression to map a string onto a valid variable name.
5493
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5494
5495
5496
exec 6>&1
5497
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5498
# 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
5499
# 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.
5500
# values after options handling.
5501
ac_log="
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5502
This file was extended by $as_me, which was
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5503
generated by GNU Autoconf 2.63.  Invocation command line was
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5504
5505
  CONFIG_FILES    = $CONFIG_FILES
5506
  CONFIG_HEADERS  = $CONFIG_HEADERS
5507
  CONFIG_LINKS    = $CONFIG_LINKS
5508
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5509
  $ $0 $@
5510
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5511
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5512
"
5513
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5514
_ACEOF
5515
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5516
case $ac_config_files in *"
5517
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5518
esac
5519
5520
5521
5522
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
5523
# Files that config.status was made for.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5524
config_files="$ac_config_files"
5525
config_commands="$ac_config_commands"
5526
5527
_ACEOF
5528
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5529
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
5530
ac_cs_usage="\
5531
\`$as_me' instantiates files from templates according to the
5532
current configuration.
5533
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5534
Usage: $0 [OPTION]... [FILE]...
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5535
5536
  -h, --help       print this help, then exit
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5537
  -V, --version    print version number and configuration settings, then exit
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5538
  -q, --quiet, --silent
5539
                   do not print progress messages
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5540
  -d, --debug      don't remove temporary files
5541
      --recheck    update $as_me by reconfiguring in the same conditions
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5542
      --file=FILE[:TEMPLATE]
5543
                   instantiate the configuration file FILE
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5544
5545
Configuration files:
5546
$config_files
5547
5548
Configuration commands:
5549
$config_commands
5550
5551
Report bugs to <bug-autoconf@gnu.org>."
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5552
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5553
_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5554
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
5555
ac_cs_version="\\
5556
config.status
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5557
configured by $0, generated by GNU Autoconf 2.63,
5558
  with options \\"`$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
5559
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5560
Copyright (C) 2008 Free Software Foundation, Inc.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5561
This config.status script is free software; the Free Software Foundation
5562
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.
5563
5564
ac_pwd='$ac_pwd'
5565
srcdir='$srcdir'
5566
INSTALL='$INSTALL'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5567
test -n "\$AWK" || AWK=awk
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5568
_ACEOF
5569
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5570
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5571
# 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
5572
ac_need_defaults=:
5573
while test $# != 0
5574
do
5575
  case $1 in
5576
  --*=*)
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5577
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5578
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5579
    ac_shift=:
5580
    ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5581
  *)
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5582
    ac_option=$1
5583
    ac_optarg=$2
5584
    ac_shift=shift
5585
    ;;
5586
  esac
5587
5588
  case $ac_option in
5589
  # Handling of the options.
1 by
This commit was manufactured by cvs2svn to create branch
5590
  -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
5591
    ac_cs_recheck=: ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5592
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5593
    $as_echo "$ac_cs_version"; exit ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5594
  --debug | --debu | --deb | --de | --d | -d )
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5595
    debug=: ;;
5596
  --file | --fil | --fi | --f )
5597
    $ac_shift
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5598
    case $ac_optarg in
5599
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5600
    esac
5601
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5602
    ac_need_defaults=false;;
5603
  --he | --h |  --help | --hel | -h )
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5604
    $as_echo "$ac_cs_usage"; exit ;;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5605
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5606
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5607
    ac_cs_silent=: ;;
5608
5609
  # This is an error.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5610
  -*) { $as_echo "$as_me: error: unrecognized option: $1
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5611
Try \`$0 --help' for more information." >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5612
   { (exit 1); exit 1; }; } ;;
5613
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5614
  *) ac_config_targets="$ac_config_targets $1"
5615
     ac_need_defaults=false ;;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5616
5617
  esac
5618
  shift
5619
done
5620
5621
ac_configure_extra_args=
5622
5623
if $ac_cs_silent; then
5624
  exec 6>/dev/null
5625
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5626
fi
5627
5628
_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5629
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
5630
if \$ac_cs_recheck; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5631
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5632
  shift
5633
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5634
  CONFIG_SHELL='$SHELL'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5635
  export CONFIG_SHELL
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5636
  exec "\$@"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5637
fi
5638
5639
_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5640
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5641
exec 5>>config.log
5642
{
5643
  echo
5644
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5645
## Running $as_me. ##
5646
_ASBOX
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5647
  $as_echo "$ac_log"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5648
} >&5
5649
5650
_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5651
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5652
_ACEOF
5653
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5654
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5655
5656
# Handling of arguments.
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5657
for ac_config_target in $ac_config_targets
5658
do
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5659
  case $ac_config_target in
5660
    "misc/paths.py") CONFIG_FILES="$CONFIG_FILES misc/paths.py" ;;
5661
    "Mailman/Defaults.py") CONFIG_FILES="$CONFIG_FILES Mailman/Defaults.py" ;;
5662
    "Mailman/mm_cfg.py.dist") CONFIG_FILES="$CONFIG_FILES Mailman/mm_cfg.py.dist" ;;
5663
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5664
    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
5665
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
5666
    "Mailman/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Makefile" ;;
5667
    "Mailman/Cgi/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Cgi/Makefile" ;;
5668
    "Mailman/Logging/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Logging/Makefile" ;;
5669
    "Mailman/Archiver/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Archiver/Makefile" ;;
5670
    "Mailman/Commands/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Commands/Makefile" ;;
5671
    "Mailman/Handlers/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Handlers/Makefile" ;;
5672
    "Mailman/Bouncers/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Bouncers/Makefile" ;;
5673
    "Mailman/Queue/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Queue/Makefile" ;;
5674
    "Mailman/MTA/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/MTA/Makefile" ;;
5675
    "Mailman/Gui/Makefile") CONFIG_FILES="$CONFIG_FILES Mailman/Gui/Makefile" ;;
5676
    "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
5677
    "cron/Makefile") CONFIG_FILES="$CONFIG_FILES cron/Makefile" ;;
5678
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5679
    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
5680
    "cron/crontab.in") CONFIG_FILES="$CONFIG_FILES cron/crontab.in" ;;
5681
    "misc/mailman") CONFIG_FILES="$CONFIG_FILES misc/mailman" ;;
5682
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5683
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5684
    "tests/bounces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bounces/Makefile" ;;
5685
    "tests/msgs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/msgs/Makefile" ;;
5686
    "$SCRIPTS") CONFIG_FILES="$CONFIG_FILES $SCRIPTS" ;;
5687
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5688
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5689
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5690
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5691
   { (exit 1); exit 1; }; };;
5692
  esac
5693
done
5694
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5695
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5696
# If the user did not use the arguments to specify the items to instantiate,
5697
# then the envvar interface is used.  Set only those that are not.
5698
# We use the long form for the default assignment because of an extremely
5699
# bizarre bug on SunOS 4.1.3.
5700
if $ac_need_defaults; then
5701
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5702
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5703
fi
5704
5705
# 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.
5706
# 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
5707
# 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.
5708
# Hook for its removal unless debugging.
5709
# Note that there is a small window in which the directory will not be cleaned:
5710
# 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
5711
$debug ||
5712
{
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5713
  tmp=
5714
  trap 'exit_status=$?
5715
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5716
' 0
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5717
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5718
}
5719
# Create a (secure) tmp directory for tmp files.
5720
5721
{
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5722
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5723
  test -n "$tmp" && test -d "$tmp"
5724
}  ||
5725
{
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5726
  tmp=./conf$$-$RANDOM
5727
  (umask 077 && mkdir "$tmp")
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5728
} ||
5729
{
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5730
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5731
   { (exit 1); exit 1; }
5732
}
5733
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5734
# Set up the scripts for CONFIG_FILES section.
5735
# No need to generate them if there are no CONFIG_FILES.
5736
# 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.
5737
if test -n "$CONFIG_FILES"; then
5738
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5739
5740
ac_cr='
5741
'
5742
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5743
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5744
  ac_cs_awk_cr='\\r'
5745
else
5746
  ac_cs_awk_cr=$ac_cr
5747
fi
5748
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5749
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5750
_ACEOF
5751
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5752
5753
{
5754
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5755
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5756
  echo "_ACEOF"
5757
} >conf$$subs.sh ||
5758
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5759
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5760
   { (exit 1); exit 1; }; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5761
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5762
ac_delim='%!_!# '
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5763
for ac_last_try in false false false false false :; do
5764
  . ./conf$$subs.sh ||
5765
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5766
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5767
   { (exit 1); exit 1; }; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5768
5769
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5770
  if test $ac_delim_n = $ac_delim_num; then
5771
    break
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5772
  elif $ac_last_try; then
5773
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5774
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5775
   { (exit 1); exit 1; }; }
5776
  else
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5777
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5778
  fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5779
done
5780
rm -f conf$$subs.sh
5781
5782
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5783
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5784
_ACEOF
5785
sed -n '
5786
h
5787
s/^/S["/; s/!.*/"]=/
5788
p
5789
g
5790
s/^[^!]*!//
5791
:repl
5792
t repl
5793
s/'"$ac_delim"'$//
5794
t delim
5795
:nl
5796
h
5797
s/\(.\{148\}\).*/\1/
5798
t more1
5799
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5800
p
5801
n
5802
b repl
5803
:more1
5804
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5805
p
5806
g
5807
s/.\{148\}//
5808
t nl
5809
:delim
5810
h
5811
s/\(.\{148\}\).*/\1/
5812
t more2
5813
s/["\\]/\\&/g; s/^/"/; s/$/"/
5814
p
5815
b
5816
:more2
5817
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5818
p
5819
g
5820
s/.\{148\}//
5821
t delim
5822
' <conf$$subs.awk | sed '
5823
/^[^""]/{
5824
  N
5825
  s/\n//
5826
}
5827
' >>$CONFIG_STATUS || ac_write_fail=1
5828
rm -f conf$$subs.awk
5829
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5830
_ACAWK
5831
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5832
  for (key in S) S_is_set[key] = 1
5833
  FS = ""
5834
5835
}
5836
{
5837
  line = $ 0
5838
  nfields = split(line, field, "@")
5839
  substed = 0
5840
  len = length(field[1])
5841
  for (i = 2; i < nfields; i++) {
5842
    key = field[i]
5843
    keylen = length(key)
5844
    if (S_is_set[key]) {
5845
      value = S[key]
5846
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5847
      len += length(value) + length(field[++i])
5848
      substed = 1
5849
    } else
5850
      len += 1 + keylen
5851
  }
5852
5853
  print line
5854
}
5855
5856
_ACAWK
5857
_ACEOF
5858
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5859
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5860
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5861
else
5862
  cat
5863
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5864
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5865
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5866
   { (exit 1); exit 1; }; }
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5867
_ACEOF
5868
5869
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5870
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5871
# trailing colons and then remove the whole line if VPATH becomes empty
5872
# (actually we leave an empty line to preserve line numbers).
5873
if test "x$srcdir" = x.; then
5874
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5875
s/:*\$(srcdir):*/:/
5876
s/:*\${srcdir}:*/:/
5877
s/:*@srcdir@:*/:/
5878
s/^\([^=]*=[	 ]*\):*/\1/
5879
s/:*$//
5880
s/^[^=]*=[	 ]*$//
5881
}'
5882
fi
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5883
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5884
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5885
fi # test -n "$CONFIG_FILES"
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5886
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5887
5888
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5889
shift
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5890
for ac_tag
5891
do
5892
  case $ac_tag in
5893
  :[FHLC]) ac_mode=$ac_tag; continue;;
5894
  esac
5895
  case $ac_mode$ac_tag in
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5896
  :[FHL]*:*);;
5897
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5898
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5899
   { (exit 1); exit 1; }; };;
5900
  :[FH]-) ac_tag=-:-;;
5901
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5902
  esac
5903
  ac_save_IFS=$IFS
5904
  IFS=:
5905
  set x $ac_tag
5906
  IFS=$ac_save_IFS
5907
  shift
5908
  ac_file=$1
5909
  shift
5910
5911
  case $ac_mode in
5912
  :L) ac_source=$1;;
5913
  :[FH])
5914
    ac_file_inputs=
5915
    for ac_f
5916
    do
5917
      case $ac_f in
5918
      -) ac_f="$tmp/stdin";;
5919
      *) # Look for the file first in the build tree, then in the source tree
5920
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5921
	 # because $ac_f cannot contain `:'.
5922
	 test -f "$ac_f" ||
5923
	   case $ac_f in
5924
	   [\\/$]*) false;;
5925
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5926
	   esac ||
5927
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5928
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5929
   { (exit 1); exit 1; }; };;
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5930
      esac
5931
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5932
      ac_file_inputs="$ac_file_inputs '$ac_f'"
5933
    done
5934
5935
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5936
    # use $as_me), people would be surprised to read:
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5937
    #    /* config.h.  Generated by config.status.  */
5938
    configure_input='Generated from '`
5939
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5940
	`' by configure.'
5941
    if test x"$ac_file" != x-; then
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5942
      configure_input="$ac_file.  $configure_input"
5943
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5944
$as_echo "$as_me: creating $ac_file" >&6;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5945
    fi
5946
    # Neutralize special characters interpreted by sed in replacement strings.
5947
    case $configure_input in #(
5948
    *\&* | *\|* | *\\* )
5949
       ac_sed_conf_input=`$as_echo "$configure_input" |
5950
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5951
    *) ac_sed_conf_input=$configure_input;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5952
    esac
5953
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5954
    case $ac_tag in
5955
    *:-:* | *:-) cat >"$tmp/stdin" \
5956
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5957
$as_echo "$as_me: error: could not create $ac_file" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5958
   { (exit 1); exit 1; }; } ;;
5959
    esac
5960
    ;;
5961
  esac
5962
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5963
  ac_dir=`$as_dirname -- "$ac_file" ||
5964
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5965
	 X"$ac_file" : 'X\(//\)[^/]' \| \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5966
	 X"$ac_file" : 'X\(//\)$' \| \
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5967
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5968
$as_echo X"$ac_file" |
5969
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5970
	    s//\1/
5971
	    q
5972
	  }
5973
	  /^X\(\/\/\)[^/].*/{
5974
	    s//\1/
5975
	    q
5976
	  }
5977
	  /^X\(\/\/\)$/{
5978
	    s//\1/
5979
	    q
5980
	  }
5981
	  /^X\(\/\).*/{
5982
	    s//\1/
5983
	    q
5984
	  }
5985
	  s/.*/./; q'`
5986
  { as_dir="$ac_dir"
5987
  case $as_dir in #(
5988
  -*) as_dir=./$as_dir;;
5989
  esac
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5990
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5991
    as_dirs=
5992
    while :; do
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
5993
      case $as_dir in #(
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
5994
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5995
      *) as_qdir=$as_dir;;
5996
      esac
5997
      as_dirs="'$as_qdir' $as_dirs"
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
5998
      as_dir=`$as_dirname -- "$as_dir" ||
5999
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6000
	 X"$as_dir" : 'X\(//\)[^/]' \| \
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6001
	 X"$as_dir" : 'X\(//\)$' \| \
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6002
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6003
$as_echo X"$as_dir" |
6004
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6005
	    s//\1/
6006
	    q
6007
	  }
6008
	  /^X\(\/\/\)[^/].*/{
6009
	    s//\1/
6010
	    q
6011
	  }
6012
	  /^X\(\/\/\)$/{
6013
	    s//\1/
6014
	    q
6015
	  }
6016
	  /^X\(\/\).*/{
6017
	    s//\1/
6018
	    q
6019
	  }
6020
	  s/.*/./; q'`
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6021
      test -d "$as_dir" && break
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6022
    done
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6023
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6024
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6025
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6026
   { (exit 1); exit 1; }; }; }
6027
  ac_builddir=.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6028
6029
case "$ac_dir" in
6030
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6031
*)
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6032
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6033
  # A ".." for each directory in $ac_dir_suffix.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6034
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6035
  case $ac_top_builddir_sub in
6036
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6037
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6038
  esac ;;
6039
esac
6040
ac_abs_top_builddir=$ac_pwd
6041
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6042
# for backward compatibility:
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6043
ac_top_builddir=$ac_top_build_prefix
6044
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6045
case $srcdir in
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6046
  .)  # We are building in place.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6047
    ac_srcdir=.
6048
    ac_top_srcdir=$ac_top_builddir_sub
6049
    ac_abs_top_srcdir=$ac_pwd ;;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6050
  [\\/]* | ?:[\\/]* )  # Absolute name.
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6051
    ac_srcdir=$srcdir$ac_dir_suffix;
6052
    ac_top_srcdir=$srcdir
6053
    ac_abs_top_srcdir=$srcdir ;;
6054
  *) # Relative name.
6055
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6056
    ac_top_srcdir=$ac_top_build_prefix$srcdir
6057
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6058
esac
6059
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6060
6061
6062
  case $ac_mode in
6063
  :F)
6064
  #
6065
  # CONFIG_FILE
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6066
  #
6067
6068
  case $INSTALL in
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6069
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6070
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6071
  esac
6072
_ACEOF
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6073
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6074
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6075
# If the template does not know about datarootdir, expand it.
6076
# FIXME: This hack should be removed a few years after 2.60.
6077
ac_datarootdir_hack=; ac_datarootdir_seen=
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6078
6079
ac_sed_dataroot='
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6080
/datarootdir/ {
6081
  p
6082
  q
6083
}
6084
/@datadir@/p
6085
/@docdir@/p
6086
/@infodir@/p
6087
/@localedir@/p
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6088
/@mandir@/p
6089
'
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6090
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6091
*datarootdir*) ac_datarootdir_seen=yes;;
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6092
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6093
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6094
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6095
_ACEOF
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6096
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6097
  ac_datarootdir_hack='
6098
  s&@datadir@&$datadir&g
6099
  s&@docdir@&$docdir&g
6100
  s&@infodir@&$infodir&g
6101
  s&@localedir@&$localedir&g
6102
  s&@mandir@&$mandir&g
6103
    s&\\\${datarootdir}&$datarootdir&g' ;;
6104
esac
6105
_ACEOF
6106
6107
# Neutralize VPATH when `$srcdir' = `.'.
6108
# Shell code in configure.ac might set extrasub.
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6109
# FIXME: do we really want to maintain this feature?
6110
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
6111
ac_sed_extra="$ac_vpsub
6112
$extrasub
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6113
_ACEOF
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6114
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6115
:t
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6116
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6117
s|@configure_input@|$ac_sed_conf_input|;t t
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6118
s&@top_builddir@&$ac_top_builddir_sub&;t t
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6119
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6120
s&@srcdir@&$ac_srcdir&;t t
6121
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6122
s&@top_srcdir@&$ac_top_srcdir&;t t
6123
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6124
s&@builddir@&$ac_builddir&;t t
6125
s&@abs_builddir@&$ac_abs_builddir&;t t
6126
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6127
s&@INSTALL@&$ac_INSTALL&;t t
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6128
$ac_datarootdir_hack
6129
"
6130
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6131
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6132
$as_echo "$as_me: error: could not create $ac_file" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6133
   { (exit 1); exit 1; }; }
6134
6135
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6136
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6137
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6138
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6139
which seems to be undefined.  Please make sure it is defined." >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6140
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6141
which seems to be undefined.  Please make sure it is defined." >&2;}
6142
6143
  rm -f "$tmp/stdin"
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6144
  case $ac_file in
6145
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6146
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6147
  esac \
6148
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6149
$as_echo "$as_me: error: could not create $ac_file" >&2;}
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6150
   { (exit 1); exit 1; }; }
6151
 ;;
6152
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6153
6154
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
1134 by Barry Warsaw
Try to guess whether the email package is actually needed or not.
6155
$as_echo "$as_me: executing $ac_file commands" >&6;}
6156
 ;;
6157
  esac
6158
6159
6160
  case $ac_file$ac_mode in
6161
    "default":C) echo "configuration completed at" `date` ;;
6162
6163
  esac
6164
done # for ac_tag
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6165
6166
6167
{ (exit 0); exit 0; }
1 by
This commit was manufactured by cvs2svn to create branch
6168
_ACEOF
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6169
chmod +x $CONFIG_STATUS
6170
ac_clean_files=$ac_clean_files_save
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6171
6172
test $ac_write_fail = 0 ||
6173
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6174
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6175
   { (exit 1); exit 1; }; }
955 by bwarsaw
Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting to
6176
6177
6178
# configure is writing to config.log, and then calls config.status.
6179
# config.status does its own redirection, appending to config.log.
6180
# Unfortunately, on DOS this fails, as config.log is still kept open
6181
# by configure, so config.status won't be able to write to it; its
6182
# output is simply discarded.  So we exec the FD to /dev/null,
6183
# effectively closing config.log, so it can be properly (re)opened and
6184
# appended to by config.status.  When coming back to configure, we
6185
# need to make the FD available again.
6186
if test "$no_create" != yes; then
6187
  ac_cs_success=:
6188
  ac_config_status_args=
6189
  test "$silent" = yes &&
6190
    ac_config_status_args="$ac_config_status_args --quiet"
6191
  exec 5>/dev/null
6192
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6193
  exec 5>>config.log
6194
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6195
  # would make configure fail if this is the last instruction.
6196
  $ac_cs_success || { (exit 1); exit 1; }
1197 by Mark Sapiro
Configure/make no longer builds Japanese and Korean codecs in
6197
fi
6198
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6199
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6200
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1 by
This commit was manufactured by cvs2svn to create branch
6201
fi
6202
6203
6204
# Make sure all the build scripts are executable.
6205
chmod -R +x build
6206
6207
# Test for the Chinese codecs.