2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for send-pr 4.1.0.
5
# Report bugs to <bug-gnats@gnu.org>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='send-pr'
271
PACKAGE_TARNAME='send-pr'
272
PACKAGE_VERSION='4.1.0'
273
PACKAGE_STRING='send-pr 4.1.0'
274
PACKAGE_BUGREPORT='bug-gnats@gnu.org'
276
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA DEFAULT_RELEASE DEFAULT_ORGANIZATION DEFAULT_MAIL_AGENT SUBMITTER ECHON EMACS lispdir PASSWD MKTEMP SENDMAIL LIBOBJS LTLIBOBJS'
279
# Initialize some variables set by options.
281
ac_init_version=false
282
# The variables have the same names as the options, with
283
# dashes changed to underlines.
291
program_transform_name=s,x,x,
299
# Installation directory options.
300
# These are left unexpanded so users can "make install exec_prefix=/foo"
301
# and all the variables that are supposed to be based on exec_prefix
302
# by default will actually change.
303
# Use braces instead of parens because sh, perl, etc. also accept them.
304
bindir='${exec_prefix}/bin'
305
sbindir='${exec_prefix}/sbin'
306
libexecdir='${exec_prefix}/libexec'
307
datadir='${prefix}/share'
308
sysconfdir='${prefix}/etc'
309
sharedstatedir='${prefix}/com'
310
localstatedir='${prefix}/var'
311
libdir='${exec_prefix}/lib'
312
includedir='${prefix}/include'
313
oldincludedir='/usr/include'
314
infodir='${prefix}/info'
315
mandir='${prefix}/man'
320
# If the previous option needs an argument, assign it.
321
if test -n "$ac_prev"; then
322
eval "$ac_prev=\$ac_option"
327
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
# Accept the important Cygnus configure options, so we can diagnose typos.
333
-bindir | --bindir | --bindi | --bind | --bin | --bi)
335
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338
-build | --build | --buil | --bui | --bu)
339
ac_prev=build_alias ;;
340
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
341
build_alias=$ac_optarg ;;
343
-cache-file | --cache-file | --cache-fil | --cache-fi \
344
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345
ac_prev=cache_file ;;
346
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348
cache_file=$ac_optarg ;;
351
cache_file=config.cache ;;
353
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357
datadir=$ac_optarg ;;
359
-disable-* | --disable-*)
360
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
# Reject names that are not valid shell variable names.
362
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
{ (exit 1); exit 1; }; }
365
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
eval "enable_$ac_feature=no" ;;
368
-enable-* | --enable-*)
369
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370
# Reject names that are not valid shell variable names.
371
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
{ (exit 1); exit 1; }; }
374
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379
eval "enable_$ac_feature='$ac_optarg'" ;;
381
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383
| --exec | --exe | --ex)
384
ac_prev=exec_prefix ;;
385
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387
| --exec=* | --exe=* | --ex=*)
388
exec_prefix=$ac_optarg ;;
390
-gas | --gas | --ga | --g)
391
# Obsolete; use --with-gas.
394
-help | --help | --hel | --he | -h)
396
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397
ac_init_help=recursive ;;
398
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399
ac_init_help=short ;;
401
-host | --host | --hos | --ho)
402
ac_prev=host_alias ;;
403
-host=* | --host=* | --hos=* | --ho=*)
404
host_alias=$ac_optarg ;;
406
-includedir | --includedir | --includedi | --included | --include \
407
| --includ | --inclu | --incl | --inc)
408
ac_prev=includedir ;;
409
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410
| --includ=* | --inclu=* | --incl=* | --inc=*)
411
includedir=$ac_optarg ;;
413
-infodir | --infodir | --infodi | --infod | --info | --inf)
415
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416
infodir=$ac_optarg ;;
418
-libdir | --libdir | --libdi | --libd)
420
-libdir=* | --libdir=* | --libdi=* | --libd=*)
423
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424
| --libexe | --libex | --libe)
425
ac_prev=libexecdir ;;
426
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427
| --libexe=* | --libex=* | --libe=*)
428
libexecdir=$ac_optarg ;;
430
-localstatedir | --localstatedir | --localstatedi | --localstated \
431
| --localstate | --localstat | --localsta | --localst \
432
| --locals | --local | --loca | --loc | --lo)
433
ac_prev=localstatedir ;;
434
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437
localstatedir=$ac_optarg ;;
439
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445
# Obsolete; use --without-fp.
448
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
449
| --no-cr | --no-c | -n)
452
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
453
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458
| --oldin | --oldi | --old | --ol | --o)
459
ac_prev=oldincludedir ;;
460
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463
oldincludedir=$ac_optarg ;;
465
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470
-program-prefix | --program-prefix | --program-prefi | --program-pref \
471
| --program-pre | --program-pr | --program-p)
472
ac_prev=program_prefix ;;
473
-program-prefix=* | --program-prefix=* | --program-prefi=* \
474
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475
program_prefix=$ac_optarg ;;
477
-program-suffix | --program-suffix | --program-suffi | --program-suff \
478
| --program-suf | --program-su | --program-s)
479
ac_prev=program_suffix ;;
480
-program-suffix=* | --program-suffix=* | --program-suffi=* \
481
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482
program_suffix=$ac_optarg ;;
484
-program-transform-name | --program-transform-name \
485
| --program-transform-nam | --program-transform-na \
486
| --program-transform-n | --program-transform- \
487
| --program-transform | --program-transfor \
488
| --program-transfo | --program-transf \
489
| --program-trans | --program-tran \
490
| --progr-tra | --program-tr | --program-t)
491
ac_prev=program_transform_name ;;
492
-program-transform-name=* | --program-transform-name=* \
493
| --program-transform-nam=* | --program-transform-na=* \
494
| --program-transform-n=* | --program-transform-=* \
495
| --program-transform=* | --program-transfor=* \
496
| --program-transfo=* | --program-transf=* \
497
| --program-trans=* | --program-tran=* \
498
| --progr-tra=* | --program-tr=* | --program-t=*)
499
program_transform_name=$ac_optarg ;;
501
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
| -silent | --silent | --silen | --sile | --sil)
505
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509
sbindir=$ac_optarg ;;
511
-sharedstatedir | --sharedstatedir | --sharedstatedi \
512
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513
| --sharedst | --shareds | --shared | --share | --shar \
515
ac_prev=sharedstatedir ;;
516
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520
sharedstatedir=$ac_optarg ;;
522
-site | --site | --sit)
524
-site=* | --site=* | --sit=*)
527
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533
| --syscon | --sysco | --sysc | --sys | --sy)
534
ac_prev=sysconfdir ;;
535
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537
sysconfdir=$ac_optarg ;;
539
-target | --target | --targe | --targ | --tar | --ta | --t)
540
ac_prev=target_alias ;;
541
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542
target_alias=$ac_optarg ;;
544
-v | -verbose | --verbose | --verbos | --verbo | --verb)
547
-version | --version | --versio | --versi | --vers | -V)
551
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552
# Reject names that are not valid shell variable names.
553
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
{ echo "$as_me: error: invalid package name: $ac_package" >&2
555
{ (exit 1); exit 1; }; }
556
ac_package=`echo $ac_package| sed 's/-/_/g'`
558
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561
eval "with_$ac_package='$ac_optarg'" ;;
563
-without-* | --without-*)
564
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565
# Reject names that are not valid shell variable names.
566
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567
{ echo "$as_me: error: invalid package name: $ac_package" >&2
568
{ (exit 1); exit 1; }; }
569
ac_package=`echo $ac_package | sed 's/-/_/g'`
570
eval "with_$ac_package=no" ;;
573
# Obsolete; use --with-x.
576
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577
| --x-incl | --x-inc | --x-in | --x-i)
578
ac_prev=x_includes ;;
579
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581
x_includes=$ac_optarg ;;
583
-x-libraries | --x-libraries | --x-librarie | --x-librari \
584
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585
ac_prev=x_libraries ;;
586
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588
x_libraries=$ac_optarg ;;
590
-*) { echo "$as_me: error: unrecognized option: $ac_option
591
Try \`$0 --help' for more information." >&2
592
{ (exit 1); exit 1; }; }
596
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597
# Reject names that are not valid shell variable names.
598
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
{ (exit 1); exit 1; }; }
601
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
eval "$ac_envvar='$ac_optarg'"
606
# FIXME: should be removed in autoconf 3.0.
607
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616
if test -n "$ac_prev"; then
617
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618
{ echo "$as_me: error: missing argument to $ac_option" >&2
619
{ (exit 1); exit 1; }; }
622
# Be sure to have absolute paths.
623
for ac_var in exec_prefix prefix
625
eval ac_val=$`echo $ac_var`
627
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
{ (exit 1); exit 1; }; };;
633
# Be sure to have absolute paths.
634
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
localstatedir libdir includedir oldincludedir infodir mandir
637
eval ac_val=$`echo $ac_var`
639
[\\/$]* | ?:[\\/]* ) ;;
640
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
{ (exit 1); exit 1; }; };;
645
# There might be people who depend on the old broken behavior: `$host'
646
# used to hold the argument of --host etc.
647
# FIXME: To remove some day.
652
# FIXME: To remove some day.
653
if test "x$host_alias" != x; then
654
if test "x$build_alias" = x; then
655
cross_compiling=maybe
656
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657
If a cross compiler is detected then cross compile mode will be used." >&2
658
elif test "x$build_alias" != "x$host_alias"; then
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
test "$silent" = yes && exec 6>/dev/null
669
# Find the source files, if location was not specified.
670
if test -z "$srcdir"; then
671
ac_srcdir_defaulted=yes
672
# Try the directory containing this script, then its parent.
673
ac_confdir=`(dirname "$0") 2>/dev/null ||
674
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
X"$0" : 'X\(//\)[^/]' \| \
676
X"$0" : 'X\(//\)$' \| \
677
X"$0" : 'X\(/\)' \| \
678
. : '\(.\)' 2>/dev/null ||
680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
/^X\(\/\/\)$/{ s//\1/; q; }
683
/^X\(\/\).*/{ s//\1/; q; }
686
if test ! -r $srcdir/$ac_unique_file; then
690
ac_srcdir_defaulted=no
692
if test ! -r $srcdir/$ac_unique_file; then
693
if test "$ac_srcdir_defaulted" = yes; then
694
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
{ (exit 1); exit 1; }; }
697
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
{ (exit 1); exit 1; }; }
701
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
{ (exit 1); exit 1; }; }
704
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
ac_env_build_alias_set=${build_alias+set}
706
ac_env_build_alias_value=$build_alias
707
ac_cv_env_build_alias_set=${build_alias+set}
708
ac_cv_env_build_alias_value=$build_alias
709
ac_env_host_alias_set=${host_alias+set}
710
ac_env_host_alias_value=$host_alias
711
ac_cv_env_host_alias_set=${host_alias+set}
712
ac_cv_env_host_alias_value=$host_alias
713
ac_env_target_alias_set=${target_alias+set}
714
ac_env_target_alias_value=$target_alias
715
ac_cv_env_target_alias_set=${target_alias+set}
716
ac_cv_env_target_alias_value=$target_alias
719
# Report the --help message.
721
if test "$ac_init_help" = "long"; then
722
# Omit some internal or obsolete options to make the list less imposing.
723
# This message is too long to be a string in the A/UX 3.1 sh.
725
\`configure' configures send-pr 4.1.0 to adapt to many kinds of systems.
727
Usage: $0 [OPTION]... [VAR=VALUE]...
729
To assign environment variables (e.g., CC, CFLAGS...), specify them as
730
VAR=VALUE. See below for descriptions of some of the useful variables.
732
Defaults for the options are specified in brackets.
735
-h, --help display this help and exit
736
--help=short display options specific to this package
737
--help=recursive display the short help of all the included packages
738
-V, --version display version information and exit
739
-q, --quiet, --silent do not print \`checking...' messages
740
--cache-file=FILE cache test results in FILE [disabled]
741
-C, --config-cache alias for \`--cache-file=config.cache'
742
-n, --no-create do not create output files
743
--srcdir=DIR find the sources in DIR [configure dir or \`..']
748
Installation directories:
749
--prefix=PREFIX install architecture-independent files in PREFIX
751
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
754
By default, \`make install' will install all the files in
755
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
756
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
757
for instance \`--prefix=\$HOME'.
759
For better control, use the options below.
761
Fine tuning of the installation directories:
762
--bindir=DIR user executables [EPREFIX/bin]
763
--sbindir=DIR system admin executables [EPREFIX/sbin]
764
--libexecdir=DIR program executables [EPREFIX/libexec]
765
--datadir=DIR read-only architecture-independent data [PREFIX/share]
766
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
767
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
768
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
769
--libdir=DIR object code libraries [EPREFIX/lib]
770
--includedir=DIR C header files [PREFIX/include]
771
--oldincludedir=DIR C header files for non-gcc [/usr/include]
772
--infodir=DIR info documentation [PREFIX/info]
773
--mandir=DIR man documentation [PREFIX/man]
780
if test -n "$ac_init_help"; then
781
case $ac_init_help in
782
short | recursive ) echo "Configuration of send-pr 4.1.0:";;
787
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
788
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
789
--with-organization=name Sets the default organization to NAME
790
--with-submitter=name Sets the default submitter to NAME
792
Report bugs to <bug-gnats@gnu.org>.
796
if test "$ac_init_help" = "recursive"; then
797
# If there are subdirs, report their specific --help.
799
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800
test -d $ac_dir || continue
803
if test "$ac_dir" != .; then
804
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805
# A "../" for each directory in $ac_dir_suffix.
806
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
808
ac_dir_suffix= ac_top_builddir=
812
.) # No --srcdir option. We are building in place.
814
if test -z "$ac_top_builddir"; then
817
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
819
[\\/]* | ?:[\\/]* ) # Absolute path.
820
ac_srcdir=$srcdir$ac_dir_suffix;
821
ac_top_srcdir=$srcdir ;;
823
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824
ac_top_srcdir=$ac_top_builddir$srcdir ;;
827
# Do not use `cd foo && pwd` to compute absolute paths, because
828
# the directories may not exist.
830
.) ac_abs_builddir="$ac_dir";;
833
.) ac_abs_builddir=`pwd`;;
834
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
835
*) ac_abs_builddir=`pwd`/"$ac_dir";;
838
case $ac_abs_builddir in
839
.) ac_abs_top_builddir=${ac_top_builddir}.;;
841
case ${ac_top_builddir}. in
842
.) ac_abs_top_builddir=$ac_abs_builddir;;
843
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
844
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
847
case $ac_abs_builddir in
848
.) ac_abs_srcdir=$ac_srcdir;;
851
.) ac_abs_srcdir=$ac_abs_builddir;;
852
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
853
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
856
case $ac_abs_builddir in
857
.) ac_abs_top_srcdir=$ac_top_srcdir;;
859
case $ac_top_srcdir in
860
.) ac_abs_top_srcdir=$ac_abs_builddir;;
861
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
862
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
867
# Check for guested configure; otherwise get Cygnus style configure.
868
if test -f $ac_srcdir/configure.gnu; then
870
$SHELL $ac_srcdir/configure.gnu --help=recursive
871
elif test -f $ac_srcdir/configure; then
873
$SHELL $ac_srcdir/configure --help=recursive
874
elif test -f $ac_srcdir/configure.ac ||
875
test -f $ac_srcdir/configure.in; then
879
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
885
test -n "$ac_init_help" && exit 0
886
if $ac_init_version; then
888
send-pr configure 4.1.0
889
generated by GNU Autoconf 2.59
891
Copyright (C) 2003 Free Software Foundation, Inc.
892
This configure script is free software; the Free Software Foundation
893
gives unlimited permission to copy, distribute and modify it.
899
This file contains any messages produced by compilers while
900
running configure, to aid debugging if configure makes a mistake.
902
It was created by send-pr $as_me 4.1.0, which was
903
generated by GNU Autoconf 2.59. Invocation command line was
914
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915
uname -m = `(uname -m) 2>/dev/null || echo unknown`
916
uname -r = `(uname -r) 2>/dev/null || echo unknown`
917
uname -s = `(uname -s) 2>/dev/null || echo unknown`
918
uname -v = `(uname -v) 2>/dev/null || echo unknown`
920
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
923
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
924
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
925
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
927
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
928
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
929
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
933
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
937
test -z "$as_dir" && as_dir=.
953
# Keep a trace of the command line.
954
# Strip out --no-create and --no-recursion so they do not pile up.
955
# Strip out --silent because we don't want to record it for future runs.
956
# Also quote any args containing shell meta-characters.
957
# Make two passes to allow for proper duplicate-argument suppression.
962
ac_must_keep_next=false
968
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
970
| -silent | --silent | --silen | --sile | --sil)
972
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
976
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
978
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979
if test $ac_must_keep_next = true; then
980
ac_must_keep_next=false # Got value, back to normal.
983
*=* | --config-cache | -C | -disable-* | --disable-* \
984
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986
| -with-* | --with-* | -without-* | --without-* | --x)
987
case "$ac_configure_args0 " in
988
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
991
-* ) ac_must_keep_next=true ;;
994
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995
# Get rid of the leading space.
1001
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1004
# When interrupted or exit'd, cleanup temporary files, and complete
1005
# config.log. We remove comments because anyway the quotes in there
1006
# would cause problems or look ugly.
1007
# WARNING: Be sure not to use single quotes in there, as some shells,
1008
# such as our DU 5.0 friend, will then `close' the trap.
1009
trap 'exit_status=$?
1010
# Save into config.log some information that might help in debugging.
1015
## ---------------- ##
1016
## Cache variables. ##
1017
## ---------------- ##
1020
# The following way of writing the cache mishandles newlines in values,
1023
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1031
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1038
## ----------------- ##
1039
## Output variables. ##
1040
## ----------------- ##
1043
for ac_var in $ac_subst_vars
1045
eval ac_val=$`echo $ac_var`
1046
echo "$ac_var='"'"'$ac_val'"'"'"
1050
if test -n "$ac_subst_files"; then
1057
for ac_var in $ac_subst_files
1059
eval ac_val=$`echo $ac_var`
1060
echo "$ac_var='"'"'$ac_val'"'"'"
1065
if test -s confdefs.h; then
1072
sed "/^$/d" confdefs.h | sort
1075
test "$ac_signal" != 0 &&
1076
echo "$as_me: caught signal $ac_signal"
1077
echo "$as_me: exit $exit_status"
1079
rm -f core *.core &&
1080
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1083
for ac_signal in 1 2 13 15; do
1084
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1088
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1089
rm -rf conftest* confdefs.h
1090
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1093
# Predefined preprocessor variables.
1095
cat >>confdefs.h <<_ACEOF
1096
#define PACKAGE_NAME "$PACKAGE_NAME"
1100
cat >>confdefs.h <<_ACEOF
1101
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1105
cat >>confdefs.h <<_ACEOF
1106
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1110
cat >>confdefs.h <<_ACEOF
1111
#define PACKAGE_STRING "$PACKAGE_STRING"
1115
cat >>confdefs.h <<_ACEOF
1116
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1120
# Let the site file select an alternate cache file if it wants to.
1121
# Prefer explicitly selected file to automatically selected ones.
1122
if test -z "$CONFIG_SITE"; then
1123
if test "x$prefix" != xNONE; then
1124
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1129
for ac_site_file in $CONFIG_SITE; do
1130
if test -r "$ac_site_file"; then
1131
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132
echo "$as_me: loading site script $ac_site_file" >&6;}
1133
sed 's/^/| /' "$ac_site_file" >&5
1138
if test -r "$cache_file"; then
1139
# Some versions of bash will fail to source /dev/null (special
1140
# files actually), so we avoid doing that.
1141
if test -f "$cache_file"; then
1142
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1143
echo "$as_me: loading cache $cache_file" >&6;}
1145
[\\/]* | ?:[\\/]* ) . $cache_file;;
1146
*) . ./$cache_file;;
1150
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1151
echo "$as_me: creating cache $cache_file" >&6;}
1155
# Check that the precious variables saved in the cache have kept the same
1157
ac_cache_corrupted=false
1158
for ac_var in `(set) 2>&1 |
1159
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1160
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1161
eval ac_new_set=\$ac_env_${ac_var}_set
1162
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163
eval ac_new_val="\$ac_env_${ac_var}_value"
1164
case $ac_old_set,$ac_new_set in
1166
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1167
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1168
ac_cache_corrupted=: ;;
1170
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1171
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1172
ac_cache_corrupted=: ;;
1175
if test "x$ac_old_val" != "x$ac_new_val"; then
1176
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1177
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1178
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1179
echo "$as_me: former value: $ac_old_val" >&2;}
1180
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1181
echo "$as_me: current value: $ac_new_val" >&2;}
1182
ac_cache_corrupted=:
1185
# Pass precious variables to config.status.
1186
if test "$ac_new_set" = set; then
1188
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1190
*) ac_arg=$ac_var=$ac_new_val ;;
1192
case " $ac_configure_args " in
1193
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1194
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1198
if $ac_cache_corrupted; then
1199
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1200
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1201
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1202
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1203
{ (exit 1); exit 1; }; }
1207
ac_cpp='$CPP $CPPFLAGS'
1208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1240
# Check whether --with-organization or --without-organization was given.
1241
if test "${with_organization+set}" = set; then
1242
withval="$with_organization"
1246
# Check whether --with-submitter or --without-submitter was given.
1247
if test "${with_submitter+set}" = set; then
1248
withval="$with_submitter"
1253
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1254
if test -f $ac_dir/install-sh; then
1256
ac_install_sh="$ac_aux_dir/install-sh -c"
1258
elif test -f $ac_dir/install.sh; then
1260
ac_install_sh="$ac_aux_dir/install.sh -c"
1262
elif test -f $ac_dir/shtool; then
1264
ac_install_sh="$ac_aux_dir/shtool install -c"
1268
if test -z "$ac_aux_dir"; then
1269
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1270
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1271
{ (exit 1); exit 1; }; }
1273
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1274
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1275
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1277
# Find a good install program. We prefer a C program (faster),
1278
# so one script is as good as another. But avoid the broken or
1279
# incompatible versions:
1280
# SysV /etc/install, /usr/sbin/install
1281
# SunOS /usr/etc/install
1282
# IRIX /sbin/install
1284
# AmigaOS /C/install, which installs bootblocks on floppy discs
1285
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1286
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1287
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1288
# OS/2's system install, which has a completely different semantic
1289
# ./install, which can be erroneously created by make from ./install.sh.
1290
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1291
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1292
if test -z "$INSTALL"; then
1293
if test "${ac_cv_path_install+set}" = set; then
1294
echo $ECHO_N "(cached) $ECHO_C" >&6
1296
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300
test -z "$as_dir" && as_dir=.
1301
# Account for people who put trailing slashes in PATH elements.
1303
./ | .// | /cC/* | \
1304
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1305
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1308
# OSF1 and SCO ODT 3.0 have their own names for install.
1309
# Don't use installbsd from OSF since it installs stuff as root
1311
for ac_prog in ginstall scoinst install; do
1312
for ac_exec_ext in '' $ac_executable_extensions; do
1313
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1314
if test $ac_prog = install &&
1315
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1316
# AIX install. It has an incompatible calling convention.
1318
elif test $ac_prog = install &&
1319
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1320
# program-specific install script used by HP pwplus--don't use.
1323
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1335
if test "${ac_cv_path_install+set}" = set; then
1336
INSTALL=$ac_cv_path_install
1338
# As a last resort, use the slow shell script. We don't cache a
1339
# path for INSTALL within a source directory, because that will
1340
# break other packages using the cache if that directory is
1341
# removed, or if the path is relative.
1342
INSTALL=$ac_install_sh
1345
echo "$as_me:$LINENO: result: $INSTALL" >&5
1346
echo "${ECHO_T}$INSTALL" >&6
1348
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1349
# It thinks the first close brace ends the variable substitution.
1350
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1352
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1354
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1358
# If set to t, that means we are running in a shell under Emacs.
1359
# If you have an Emacs named "t", then use the full path.
1360
test "$EMACS" = t && EMACS=
1361
for ac_prog in emacs xemacs
1363
# Extract the first word of "$ac_prog", so it can be a program name with args.
1364
set dummy $ac_prog; ac_word=$2
1365
echo "$as_me:$LINENO: checking for $ac_word" >&5
1366
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1367
if test "${ac_cv_path_EMACS+set}" = set; then
1368
echo $ECHO_N "(cached) $ECHO_C" >&6
1372
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path.
1375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379
test -z "$as_dir" && as_dir=.
1380
for ac_exec_ext in '' $ac_executable_extensions; do
1381
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1382
ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext"
1383
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1392
EMACS=$ac_cv_path_EMACS
1394
if test -n "$EMACS"; then
1395
echo "$as_me:$LINENO: result: $EMACS" >&5
1396
echo "${ECHO_T}$EMACS" >&6
1398
echo "$as_me:$LINENO: result: no" >&5
1399
echo "${ECHO_T}no" >&6
1402
test -n "$EMACS" && break
1404
test -n "$EMACS" || EMACS="no"
1406
if test $EMACS != "no"; then
1407
echo "$as_me:$LINENO: checking where .elc files should go" >&5
1408
echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
1409
lispdir="\$(datadir)/emacs/site-lisp"
1410
emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
1411
if test "x$prefix" = "xNONE"; then
1412
if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
1413
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
1415
if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
1416
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
1420
if test -d $prefix/share/$emacs_flavor/site-lisp; then
1421
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
1423
if test -d $prefix/lib/$emacs_flavor/site-lisp; then
1424
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
1428
echo "$as_me:$LINENO: result: $lispdir" >&5
1429
echo "${ECHO_T}$lispdir" >&6
1433
echo checking for echo -n
1434
if test "`echo -n foo`" = foo ; then
1436
test -n "$verbose" && echo ' using echo -n'
1437
elif test "`echo 'foo\c'`" = foo ; then
1439
test -n "$verbose" && echo ' using echo ...\\c'
1442
test -n "$verbose" && echo ' using plain echo'
1444
echo checking how to access passwd database
1445
PASSWD="cat /etc/passwd"
1446
if test -f /bin/domainname && test -n "`/bin/domainname`"; then
1447
if test -f /usr/bin/niscat &&
1448
/usr/bin/niscat passwd.org_dir > /dev/null 2>&1; then
1449
PASSWD="/usr/bin/niscat passwd.org_dir"
1450
elif test -f /usr/bin/ypcat && /usr/bin/ypcat passwd > /dev/null 2>&1; then
1451
PASSWD="/usr/bin/ypcat passwd"
1454
test -n "$verbose" && echo " setting PASSWD to ${PASSWD}"
1457
# Extract the first word of "mktemp", so it can be a program name with args.
1458
set dummy mktemp; ac_word=$2
1459
echo "$as_me:$LINENO: checking for $ac_word" >&5
1460
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1461
if test "${ac_cv_prog_MKTEMP+set}" = set; then
1462
echo $ECHO_N "(cached) $ECHO_C" >&6
1464
if test -n "$MKTEMP"; then
1465
ac_cv_prog_MKTEMP="$MKTEMP" # Let the user override the test.
1467
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471
test -z "$as_dir" && as_dir=.
1472
for ac_exec_ext in '' $ac_executable_extensions; do
1473
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1474
ac_cv_prog_MKTEMP="yes"
1475
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1481
test -z "$ac_cv_prog_MKTEMP" && ac_cv_prog_MKTEMP="no"
1484
MKTEMP=$ac_cv_prog_MKTEMP
1485
if test -n "$MKTEMP"; then
1486
echo "$as_me:$LINENO: result: $MKTEMP" >&5
1487
echo "${ECHO_T}$MKTEMP" >&6
1489
echo "$as_me:$LINENO: result: no" >&5
1490
echo "${ECHO_T}no" >&6
1495
DEFAULT_ORGANIZATION=unknown
1497
echo "$as_me:$LINENO: checking for --with-submitter" >&5
1498
echo $ECHO_N "checking for --with-submitter... $ECHO_C" >&6
1499
if test -n "$with_submitter" ; then
1500
echo "$as_me:$LINENO: result: $with_submitter" >&5
1501
echo "${ECHO_T}$with_submitter" >&6
1502
SUBMITTER="$with_submitter"
1504
echo "$as_me:$LINENO: result: default to unknown" >&5
1505
echo "${ECHO_T}default to unknown" >&6
1508
echo "$as_me:$LINENO: checking for --with-organization" >&5
1509
echo $ECHO_N "checking for --with-organization... $ECHO_C" >&6
1510
if test -n "$with_organization" ; then
1511
echo "$as_me:$LINENO: result: $with_organization" >&5
1512
echo "${ECHO_T}$with_organization" >&6
1513
DEFAULT_ORGANIZATION="$with_organization"
1515
echo "$as_me:$LINENO: result: default to unknown" >&5
1516
echo "${ECHO_T}default to unknown" >&6
1521
if test -f ${srcdir}/../release-info ; then
1522
DEFAULT_RELEASE=`. ${srcdir}/../release-info ; echo ${RELEASE_TAG}`
1524
DEFAULT_RELEASE="gnats-${PACKAGE_VERSION}"
1527
DEFAULT_MAIL_AGENT=false
1528
# Extract the first word of "sendmail", so it can be a program name with args.
1529
set dummy sendmail; ac_word=$2
1530
echo "$as_me:$LINENO: checking for $ac_word" >&5
1531
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532
if test "${ac_cv_path_SENDMAIL+set}" = set; then
1533
echo $ECHO_N "(cached) $ECHO_C" >&6
1537
ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
1540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541
as_dummy="$PATH:/usr/lib:/usr/sbin:/usr/ucblib"
1542
for as_dir in $as_dummy
1545
test -z "$as_dir" && as_dir=.
1546
for ac_exec_ext in '' $ac_executable_extensions; do
1547
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1548
ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
1549
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558
SENDMAIL=$ac_cv_path_SENDMAIL
1560
if test -n "$SENDMAIL"; then
1561
echo "$as_me:$LINENO: result: $SENDMAIL" >&5
1562
echo "${ECHO_T}$SENDMAIL" >&6
1564
echo "$as_me:$LINENO: result: no" >&5
1565
echo "${ECHO_T}no" >&6
1568
if test -n "$SENDMAIL" ; then
1569
DEFAULT_MAIL_AGENT="$SENDMAIL -oi -t"
1571
echo "configure: error: sendmail binary not available"
1575
if test "x$prefix" != xNONE; then
1576
GNATS_PREFIX=$prefix
1578
GNATS_PREFIX=$ac_default_prefix
1581
# If the config file exists, it may have more recent info than send-pr
1583
if test -n "$verbose"; then
1584
echo " setting SUBMITTER to $SUBMITTER"
1585
echo " setting DEFAULT_RELEASE to $DEFAULT_RELEASE"
1586
echo " setting DEFAULT_ORGANIZATION to $DEFAULT_ORGANIZATION"
1587
echo " setting DEFAULT_MAIL_AGENT to $DEFAULT_MAIL_AGENT"
1590
ac_config_files="$ac_config_files Makefile:Makefile.in install-sid:install-sid.sh send-pr:send-pr.sh"
1592
cat >confcache <<\_ACEOF
1593
# This file is a shell script that caches the results of configure
1594
# tests run on this system so they can be shared between configure
1595
# scripts and configure runs, see configure's option --config-cache.
1596
# It is not useful on other systems. If it contains results you don't
1597
# want to keep, you may remove or edit it.
1599
# config.status only pays attention to the cache file if you give it
1600
# the --recheck option to rerun configure.
1602
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1603
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1608
# The following way of writing the cache mishandles newlines in values,
1609
# but we know of no workaround that is simple, portable, and efficient.
1610
# So, don't put newlines in cache variables' values.
1611
# Ultrix sh set writes to stderr and can't be redirected directly,
1612
# and sets the high bit in the cache file unless we assign to the vars.
1615
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1617
# `set' does not quote correctly, so add quotes (double-quote
1618
# substitution turns \\\\ into \\, and sed turns \\ into \).
1621
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1624
# `set' quotes correctly as required by POSIX, so do not add quotes.
1626
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1633
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1635
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1637
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1638
if test -w $cache_file; then
1639
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1640
cat confcache >$cache_file
1642
echo "not updating unwritable cache $cache_file"
1647
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1648
# Let make expand exec_prefix.
1649
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1651
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1652
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1653
# trailing colons and then remove the whole line if VPATH becomes empty
1654
# (actually we leave an empty line to preserve line numbers).
1655
if test "x$srcdir" = x.; then
1656
ac_vpsub='/^[ ]*VPATH[ ]*=/{
1657
s/:*\$(srcdir):*/:/;
1658
s/:*\${srcdir}:*/:/;
1660
s/^\([^=]*=[ ]*\):*/\1/;
1666
# Transform confdefs.h into DEFS.
1667
# Protect against shell expansion while executing Makefile rules.
1668
# Protect against Makefile macro expansion.
1670
# If the first sed substitution is executed (which looks for macros that
1671
# take arguments), then we branch to the quote section. Otherwise,
1672
# look for a macro that doesn't take arguments.
1673
cat >confdef2opt.sed <<\_ACEOF
1676
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1678
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1682
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1688
# We use echo to avoid assuming a particular line-breaking character.
1689
# The extra dot is to prevent the shell from consuming trailing
1690
# line-breaks from the sub-command output. A line-break within
1691
# single-quotes doesn't work because, if this script is created in a
1692
# platform that uses two characters for line-breaks (e.g., DOS), tr
1694
ac_LF_and_DOT=`echo; echo .`
1695
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1696
rm -f confdef2opt.sed
1701
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1702
# 1. Remove the extension, and $U if already installed.
1703
ac_i=`echo "$ac_i" |
1704
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1706
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1707
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1711
LTLIBOBJS=$ac_ltlibobjs
1715
: ${CONFIG_STATUS=./config.status}
1716
ac_clean_files_save=$ac_clean_files
1717
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1718
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1719
echo "$as_me: creating $CONFIG_STATUS" >&6;}
1720
cat >$CONFIG_STATUS <<_ACEOF
1722
# Generated by $as_me.
1723
# Run this file to recreate the current configuration.
1724
# Compiler output produced by configure, useful for debugging
1725
# configure, is in config.log if it exists.
1730
SHELL=\${CONFIG_SHELL-$SHELL}
1733
cat >>$CONFIG_STATUS <<\_ACEOF
1734
## --------------------- ##
1735
## M4sh Initialization. ##
1736
## --------------------- ##
1738
# Be Bourne compatible
1739
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1742
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1743
# is contrary to our usage. Disable this feature.
1744
alias -g '${1+"$@"}'='"$@"'
1745
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1748
DUALCASE=1; export DUALCASE # for MKS sh
1750
# Support unset when possible.
1751
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1758
# Work around bugs in pre-3.0 UWIN ksh.
1759
$as_unset ENV MAIL MAILPATH
1766
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1767
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1768
LC_TELEPHONE LC_TIME
1770
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1771
eval $as_var=C; export $as_var
1777
# Required to use basename.
1778
if expr a : '\(a\)' >/dev/null 2>&1; then
1784
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1785
as_basename=basename
1791
# Name of the executable.
1792
as_me=`$as_basename "$0" ||
1793
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1794
X"$0" : 'X\(//\)$' \| \
1795
X"$0" : 'X\(/\)$' \| \
1796
. : '\(.\)' 2>/dev/null ||
1798
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1799
/^X\/\(\/\/\)$/{ s//\1/; q; }
1800
/^X\/\(\/\).*/{ s//\1/; q; }
1804
# PATH needs CR, and LINENO needs CR and PATH.
1805
# Avoid depending upon Character Ranges.
1806
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1807
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1808
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1809
as_cr_digits='0123456789'
1810
as_cr_alnum=$as_cr_Letters$as_cr_digits
1812
# The user is always right.
1813
if test "${PATH_SEPARATOR+set}" != set; then
1814
echo "#! /bin/sh" >conf$$.sh
1815
echo "exit 0" >>conf$$.sh
1817
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1828
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1829
test "x$as_lineno_1" != "x$as_lineno_2" &&
1830
test "x$as_lineno_3" = "x$as_lineno_2" || {
1831
# Find who we are. Look in the path if we contain no path at all
1834
*[\\/]* ) as_myself=$0 ;;
1835
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839
test -z "$as_dir" && as_dir=.
1840
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1845
# We did not find ourselves, most probably we were run as `sh COMMAND'
1846
# in which case we are not to be found in the path.
1847
if test "x$as_myself" = x; then
1850
if test ! -f "$as_myself"; then
1851
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1852
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1853
{ (exit 1); exit 1; }; }
1855
case $CONFIG_SHELL in
1857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1861
test -z "$as_dir" && as_dir=.
1862
for as_base in sh bash ksh sh5; do
1865
if ("$as_dir/$as_base" -c '
1868
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1869
test "x$as_lineno_1" != "x$as_lineno_2" &&
1870
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1871
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1872
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1873
CONFIG_SHELL=$as_dir/$as_base
1875
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1883
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1884
# uniformly replaced by the line number. The first 'sed' inserts a
1885
# line-number line before each line; the second 'sed' does the real
1886
# work. The second script uses 'N' to pair each line-number line
1887
# with the numbered line, and appends trailing '-' during
1888
# substitution so that $LINENO is not a special case at line end.
1889
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1890
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1891
sed '=' <$as_myself |
1896
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1899
s,^['$as_cr_digits']*\n,,
1901
chmod +x $as_me.lineno ||
1902
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1903
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1904
{ (exit 1); exit 1; }; }
1906
# Don't try to exec as it changes $[0], causing all sort of problems
1907
# (the dirname of $[0] is not the place where we might find the
1908
# original and so on. Autoconf is especially sensible to this).
1910
# Exit status is that of the last command.
1915
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1916
*c*,-n*) ECHO_N= ECHO_C='
1918
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1919
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1922
if expr a : '\(a\)' >/dev/null 2>&1; then
1928
rm -f conf$$ conf$$.exe conf$$.file
1930
if ln -s conf$$.file conf$$ 2>/dev/null; then
1931
# We could just check for DJGPP; but this test a) works b) is more generic
1932
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1933
if test -f conf$$.exe; then
1934
# Don't use ln at all; we don't have any links
1939
elif ln conf$$.file conf$$ 2>/dev/null; then
1944
rm -f conf$$ conf$$.exe conf$$.file
1946
if mkdir -p . 2>/dev/null; then
1949
test -d ./-p && rmdir ./-p
1953
as_executable_p="test -f"
1955
# Sed expression to map a string onto a valid CPP name.
1956
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1958
# Sed expression to map a string onto a valid variable name.
1959
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1963
# We need space, tab and new line, in precisely that order.
1973
# Open the log real soon, to keep \$[0] and so on meaningful, and to
1974
# report actual input values of CONFIG_FILES etc. instead of their
1975
# values after options handling. Logging --version etc. is OK.
1979
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1980
## Running $as_me. ##
1985
This file was extended by send-pr $as_me 4.1.0, which was
1986
generated by GNU Autoconf 2.59. Invocation command line was
1988
CONFIG_FILES = $CONFIG_FILES
1989
CONFIG_HEADERS = $CONFIG_HEADERS
1990
CONFIG_LINKS = $CONFIG_LINKS
1991
CONFIG_COMMANDS = $CONFIG_COMMANDS
1995
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1999
# Files that config.status was made for.
2000
if test -n "$ac_config_files"; then
2001
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2004
if test -n "$ac_config_headers"; then
2005
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2008
if test -n "$ac_config_links"; then
2009
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2012
if test -n "$ac_config_commands"; then
2013
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2016
cat >>$CONFIG_STATUS <<\_ACEOF
2019
\`$as_me' instantiates files from templates according to the
2020
current configuration.
2022
Usage: $0 [OPTIONS] [FILE]...
2024
-h, --help print this help, then exit
2025
-V, --version print version number, then exit
2026
-q, --quiet do not print progress messages
2027
-d, --debug don't remove temporary files
2028
--recheck update $as_me by reconfiguring in the same conditions
2029
--file=FILE[:TEMPLATE]
2030
instantiate the configuration file FILE
2032
Configuration files:
2035
Report bugs to <bug-autoconf@gnu.org>."
2038
cat >>$CONFIG_STATUS <<_ACEOF
2040
send-pr config.status 4.1.0
2041
configured by $0, generated by GNU Autoconf 2.59,
2042
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2044
Copyright (C) 2003 Free Software Foundation, Inc.
2045
This config.status script is free software; the Free Software Foundation
2046
gives unlimited permission to copy, distribute and modify it."
2051
cat >>$CONFIG_STATUS <<\_ACEOF
2052
# If no file are specified by the user, then we need to provide default
2053
# value. By we need to know if files were specified by the user.
2059
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2060
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2068
*) # This is not an option, so the user has probably given explicit
2071
ac_need_defaults=false;;
2075
# Handling of the options.
2077
cat >>$CONFIG_STATUS <<\_ACEOF
2078
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2080
--version | --vers* | -V )
2081
echo "$ac_cs_version"; exit 0 ;;
2083
# Conflict between --help and --header
2084
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2085
Try \`$0 --help' for more information." >&5
2086
echo "$as_me: error: ambiguous option: $1
2087
Try \`$0 --help' for more information." >&2;}
2088
{ (exit 1); exit 1; }; };;
2089
--help | --hel | -h )
2090
echo "$ac_cs_usage"; exit 0 ;;
2091
--debug | --d* | -d )
2093
--file | --fil | --fi | --f )
2095
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2096
ac_need_defaults=false;;
2097
--header | --heade | --head | --hea )
2099
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2100
ac_need_defaults=false;;
2101
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2106
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2107
Try \`$0 --help' for more information." >&5
2108
echo "$as_me: error: unrecognized option: $1
2109
Try \`$0 --help' for more information." >&2;}
2110
{ (exit 1); exit 1; }; } ;;
2112
*) ac_config_targets="$ac_config_targets $1" ;;
2118
ac_configure_extra_args=
2120
if $ac_cs_silent; then
2122
ac_configure_extra_args="$ac_configure_extra_args --silent"
2126
cat >>$CONFIG_STATUS <<_ACEOF
2127
if \$ac_cs_recheck; then
2128
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2129
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2138
cat >>$CONFIG_STATUS <<\_ACEOF
2139
for ac_config_target in $ac_config_targets
2141
case "$ac_config_target" in
2142
# Handling of arguments.
2143
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in" ;;
2144
"install-sid" ) CONFIG_FILES="$CONFIG_FILES install-sid:install-sid.sh" ;;
2145
"send-pr" ) CONFIG_FILES="$CONFIG_FILES send-pr:send-pr.sh" ;;
2146
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2147
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2148
{ (exit 1); exit 1; }; };;
2152
# If the user did not use the arguments to specify the items to instantiate,
2153
# then the envvar interface is used. Set only those that are not.
2154
# We use the long form for the default assignment because of an extremely
2155
# bizarre bug on SunOS 4.1.3.
2156
if $ac_need_defaults; then
2157
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2160
# Have a temporary directory for convenience. Make it in the build tree
2161
# simply because there is no reason to put it here, and in addition,
2162
# creating and moving files from /tmp can sometimes cause problems.
2163
# Create a temporary directory, and hook for its removal unless debugging.
2166
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2167
trap '{ (exit 1); exit 1; }' 1 2 13 15
2170
# Create a (secure) tmp directory for tmp files.
2173
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2174
test -n "$tmp" && test -d "$tmp"
2177
tmp=./confstat$$-$RANDOM
2178
(umask 077 && mkdir $tmp)
2181
echo "$me: cannot create a temporary directory in ." >&2
2182
{ (exit 1); exit 1; }
2187
cat >>$CONFIG_STATUS <<_ACEOF
2190
# CONFIG_FILES section.
2193
# No need to generate the scripts if there are no CONFIG_FILES.
2194
# This happens for instance when ./config.status config.h
2195
if test -n "\$CONFIG_FILES"; then
2196
# Protect against being on the right side of a sed subst in config.status.
2197
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2198
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2199
s,@SHELL@,$SHELL,;t t
2200
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2201
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2202
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2203
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2204
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2205
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2206
s,@exec_prefix@,$exec_prefix,;t t
2207
s,@prefix@,$prefix,;t t
2208
s,@program_transform_name@,$program_transform_name,;t t
2209
s,@bindir@,$bindir,;t t
2210
s,@sbindir@,$sbindir,;t t
2211
s,@libexecdir@,$libexecdir,;t t
2212
s,@datadir@,$datadir,;t t
2213
s,@sysconfdir@,$sysconfdir,;t t
2214
s,@sharedstatedir@,$sharedstatedir,;t t
2215
s,@localstatedir@,$localstatedir,;t t
2216
s,@libdir@,$libdir,;t t
2217
s,@includedir@,$includedir,;t t
2218
s,@oldincludedir@,$oldincludedir,;t t
2219
s,@infodir@,$infodir,;t t
2220
s,@mandir@,$mandir,;t t
2221
s,@build_alias@,$build_alias,;t t
2222
s,@host_alias@,$host_alias,;t t
2223
s,@target_alias@,$target_alias,;t t
2225
s,@ECHO_C@,$ECHO_C,;t t
2226
s,@ECHO_N@,$ECHO_N,;t t
2227
s,@ECHO_T@,$ECHO_T,;t t
2229
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2230
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2231
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2232
s,@DEFAULT_RELEASE@,$DEFAULT_RELEASE,;t t
2233
s,@DEFAULT_ORGANIZATION@,$DEFAULT_ORGANIZATION,;t t
2234
s,@DEFAULT_MAIL_AGENT@,$DEFAULT_MAIL_AGENT,;t t
2235
s,@SUBMITTER@,$SUBMITTER,;t t
2236
s,@ECHON@,$ECHON,;t t
2237
s,@EMACS@,$EMACS,;t t
2238
s,@lispdir@,$lispdir,;t t
2239
s,@PASSWD@,$PASSWD,;t t
2240
s,@MKTEMP@,$MKTEMP,;t t
2241
s,@SENDMAIL@,$SENDMAIL,;t t
2242
s,@LIBOBJS@,$LIBOBJS,;t t
2243
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2248
cat >>$CONFIG_STATUS <<\_ACEOF
2249
# Split the substitutions into bite-sized pieces for seds with
2250
# small command number limits, like on Digital OSF/1 and HP-UX.
2252
ac_sed_frag=1 # Number of current file.
2253
ac_beg=1 # First line for current file.
2254
ac_end=$ac_max_sed_lines # Line after last line for current file.
2257
while $ac_more_lines; do
2258
if test $ac_beg -gt 1; then
2259
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2261
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2263
if test ! -s $tmp/subs.frag; then
2266
# The purpose of the label and of the branching condition is to
2267
# speed up the sed processing (if there are no `@' at all, there
2268
# is no need to browse any of the substitutions).
2269
# These are the two extra sed commands mentioned above.
2271
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2272
if test -z "$ac_sed_cmds"; then
2273
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2275
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2277
ac_sed_frag=`expr $ac_sed_frag + 1`
2279
ac_end=`expr $ac_end + $ac_max_sed_lines`
2282
if test -z "$ac_sed_cmds"; then
2285
fi # test -n "$CONFIG_FILES"
2288
cat >>$CONFIG_STATUS <<\_ACEOF
2289
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2290
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2292
- | *:- | *:-:* ) # input from stdin
2294
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2295
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2296
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2297
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2298
* ) ac_file_in=$ac_file.in ;;
2301
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2302
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2303
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2304
X"$ac_file" : 'X\(//\)[^/]' \| \
2305
X"$ac_file" : 'X\(//\)$' \| \
2306
X"$ac_file" : 'X\(/\)' \| \
2307
. : '\(.\)' 2>/dev/null ||
2309
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2310
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2311
/^X\(\/\/\)$/{ s//\1/; q; }
2312
/^X\(\/\).*/{ s//\1/; q; }
2314
{ if $as_mkdir_p; then
2319
while test ! -d "$as_dir"; do
2320
as_dirs="$as_dir $as_dirs"
2321
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2322
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2323
X"$as_dir" : 'X\(//\)[^/]' \| \
2324
X"$as_dir" : 'X\(//\)$' \| \
2325
X"$as_dir" : 'X\(/\)' \| \
2326
. : '\(.\)' 2>/dev/null ||
2328
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2329
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2330
/^X\(\/\/\)$/{ s//\1/; q; }
2331
/^X\(\/\).*/{ s//\1/; q; }
2334
test ! -n "$as_dirs" || mkdir $as_dirs
2335
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2336
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2337
{ (exit 1); exit 1; }; }; }
2341
if test "$ac_dir" != .; then
2342
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2343
# A "../" for each directory in $ac_dir_suffix.
2344
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2346
ac_dir_suffix= ac_top_builddir=
2350
.) # No --srcdir option. We are building in place.
2352
if test -z "$ac_top_builddir"; then
2355
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2357
[\\/]* | ?:[\\/]* ) # Absolute path.
2358
ac_srcdir=$srcdir$ac_dir_suffix;
2359
ac_top_srcdir=$srcdir ;;
2361
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2362
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2365
# Do not use `cd foo && pwd` to compute absolute paths, because
2366
# the directories may not exist.
2368
.) ac_abs_builddir="$ac_dir";;
2371
.) ac_abs_builddir=`pwd`;;
2372
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2373
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2376
case $ac_abs_builddir in
2377
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2379
case ${ac_top_builddir}. in
2380
.) ac_abs_top_builddir=$ac_abs_builddir;;
2381
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2382
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2385
case $ac_abs_builddir in
2386
.) ac_abs_srcdir=$ac_srcdir;;
2389
.) ac_abs_srcdir=$ac_abs_builddir;;
2390
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2391
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2394
case $ac_abs_builddir in
2395
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2397
case $ac_top_srcdir in
2398
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2399
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2400
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2406
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2407
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2410
# Let's still pretend it is `configure' which instantiates (i.e., don't
2411
# use $as_me), people would be surprised to read:
2412
# /* config.h. Generated by config.status. */
2413
if test x"$ac_file" = x-; then
2416
configure_input="$ac_file. "
2418
configure_input=$configure_input"Generated from `echo $ac_file_in |
2419
sed 's,.*/,,'` by configure."
2421
# First look for the input files in the build tree, otherwise in the
2423
ac_file_inputs=`IFS=:
2424
for f in $ac_file_in; do
2426
-) echo $tmp/stdin ;;
2428
# Absolute (can't be DOS-style, as IFS=:)
2429
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2430
echo "$as_me: error: cannot find input file: $f" >&2;}
2431
{ (exit 1); exit 1; }; }
2434
if test -f "$f"; then
2437
elif test -f "$srcdir/$f"; then
2442
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2443
echo "$as_me: error: cannot find input file: $f" >&2;}
2444
{ (exit 1); exit 1; }; }
2447
done` || { (exit 1); exit 1; }
2449
if test x"$ac_file" != x-; then
2450
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2451
echo "$as_me: creating $ac_file" >&6;}
2455
cat >>$CONFIG_STATUS <<_ACEOF
2459
cat >>$CONFIG_STATUS <<\_ACEOF
2461
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2462
s,@configure_input@,$configure_input,;t t
2463
s,@srcdir@,$ac_srcdir,;t t
2464
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2465
s,@top_srcdir@,$ac_top_srcdir,;t t
2466
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2467
s,@builddir@,$ac_builddir,;t t
2468
s,@abs_builddir@,$ac_abs_builddir,;t t
2469
s,@top_builddir@,$ac_top_builddir,;t t
2470
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2471
s,@INSTALL@,$ac_INSTALL,;t t
2472
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2474
if test x"$ac_file" != x-; then
2475
mv $tmp/out $ac_file
2484
cat >>$CONFIG_STATUS <<\_ACEOF
2486
{ (exit 0); exit 0; }
2488
chmod +x $CONFIG_STATUS
2489
ac_clean_files=$ac_clean_files_save
2492
# configure is writing to config.log, and then calls config.status.
2493
# config.status does its own redirection, appending to config.log.
2494
# Unfortunately, on DOS this fails, as config.log is still kept open
2495
# by configure, so config.status won't be able to write to it; its
2496
# output is simply discarded. So we exec the FD to /dev/null,
2497
# effectively closing config.log, so it can be properly (re)opened and
2498
# appended to by config.status. When coming back to configure, we
2499
# need to make the FD available again.
2500
if test "$no_create" != yes; then
2502
ac_config_status_args=
2503
test "$silent" = yes &&
2504
ac_config_status_args="$ac_config_status_args --quiet"
2506
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2508
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
2509
# would make configure fail if this is the last instruction.
2510
$ac_cs_success || { (exit 1); exit 1; }