1
Description: <short summary of the patch>
2
TODO: Put a short summary on the line above and replace this paragraph
3
with a longer explanation of this change. Complete the meta-information
4
with other relevant fields (see below for details). To make it easier, the
5
information below has been extracted from the changelog. Adjust it or drop
8
gnats (4.1.0-2) UNRELEASED; urgency=low
12
- Use 3.0 source format
13
- Bump debhelper compatibility to 8
14
* Debconf translations:
15
- Danish (Joe Hansen). Closes: #628232
16
Author: Christian Perrier <bubulle@debian.org>
17
Bug-Debian: http://bugs.debian.org/628232
20
The information above should follow the Patch Tagging Guidelines, please
21
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
22
are templates for supplementary fields that you might want to add:
24
Origin: <vendor|upstream|other>, <url of original patch>
25
Bug: <url in upstream bugtracker>
26
Bug-Debian: http://bugs.debian.org/<bugnumber>
27
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
28
Forwarded: <no|not-needed|url proving that it has been forwarded>
29
Reviewed-By: <name and email of someone who approved the patch>
30
Last-Update: <YYYY-MM-DD>
32
--- gnats-4.1.0.orig/configure
33
+++ gnats-4.1.0/configure
36
# Guess values for system-dependent variables and create Makefiles.
37
-# Generated by GNU Autoconf 2.59 for gnats 4.1.0.
38
+# Generated by GNU Autoconf 2.65 for gnats 4.1.0.
40
# Report bugs to <bug-gnats@gnu.org>.
42
-# Copyright (C) 2003 Free Software Foundation, Inc.
44
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
45
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
49
# This configure script is free software; the Free Software Foundation
50
# gives unlimited permission to copy, distribute and modify it.
51
-## --------------------- ##
52
-## M4sh Initialization. ##
53
-## --------------------- ##
54
+## -------------------- ##
55
+## M4sh Initialization. ##
56
+## -------------------- ##
58
-# Be Bourne compatible
59
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
60
+# Be more Bourne compatible
61
+DUALCASE=1; export DUALCASE # for MKS sh
62
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
67
# is contrary to our usage. Disable this feature.
68
alias -g '${1+"$@"}'='"$@"'
69
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
71
+ setopt NO_GLOB_SUBST
73
+ case `(set -o) 2>/dev/null` in #(
80
-DUALCASE=1; export DUALCASE # for MKS sh
82
-# Support unset when possible.
83
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
91
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
92
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
93
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
94
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
95
+# Prefer a ksh shell builtin over an external printf program on Solaris,
96
+# but without wasting forks for bash or zsh.
97
+if test -z "$BASH_VERSION$ZSH_VERSION" \
98
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
99
+ as_echo='print -r --'
100
+ as_echo_n='print -rn --'
101
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
102
+ as_echo='printf %s\n'
103
+ as_echo_n='printf %s'
105
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
106
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
107
+ as_echo_n='/usr/ucb/echo -n'
109
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
110
+ as_echo_n_body='eval
114
+ expr "X$arg" : "X\\(.*\\)$as_nl";
115
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
117
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
119
+ export as_echo_n_body
120
+ as_echo_n='sh -c $as_echo_n_body as_echo'
122
+ export as_echo_body
123
+ as_echo='sh -c $as_echo_body as_echo'
126
+# The user is always right.
127
+if test "${PATH_SEPARATOR+set}" != set; then
129
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
130
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
136
-# Work around bugs in pre-3.0 UWIN ksh.
137
-$as_unset ENV MAIL MAILPATH
139
+# We need space, tab and new line, in precisely that order. Quoting is
140
+# there to prevent editors from complaining about space-tab.
141
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
142
+# splitting by setting IFS to empty value.)
145
+# Find who we are. Look in the path if we contain no directory separator.
147
+ *[\\/]* ) as_myself=$0 ;;
148
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
152
+ test -z "$as_dir" && as_dir=.
153
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
159
+# We did not find ourselves, most probably we were run as `sh COMMAND'
160
+# in which case we are not to be found in the path.
161
+if test "x$as_myself" = x; then
164
+if test ! -f "$as_myself"; then
165
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
169
+# Unset variables that we do not need and which cause bugs (e.g. in
170
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
171
+# suppresses any "Segmentation fault" message there. '((' could
172
+# trigger a bug in pdksh 5.2.14.
173
+for as_var in BASH_ENV ENV MAIL MAILPATH
174
+do eval test x\${$as_var+set} = xset \
175
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
183
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
184
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
185
- LC_TELEPHONE LC_TIME
192
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
194
+if test "x$CONFIG_SHELL" = x; then
195
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
198
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
199
+ # is contrary to our usage. Disable this feature.
200
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
201
+ setopt NO_GLOB_SUBST
203
+ case \`(set -o) 2>/dev/null\` in #(
211
+ as_required="as_fn_return () { (exit \$1); }
212
+as_fn_success () { as_fn_return 0; }
213
+as_fn_failure () { as_fn_return 1; }
214
+as_fn_ret_success () { return 0; }
215
+as_fn_ret_failure () { return 1; }
218
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
219
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
220
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
221
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
222
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
225
+ exitcode=1; echo positional parameters were not saved.
227
+test x\$exitcode = x0 || exit 1"
228
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
229
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
230
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
231
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
232
+ if (eval "$as_required") 2>/dev/null; then :
233
+ as_have_required=yes
235
+ as_have_required=no
237
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
240
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
245
- eval $as_var=C; export $as_var
247
+ test -z "$as_dir" && as_dir=.
251
+ for as_base in sh bash ksh sh5; do
252
+ # Try only shells that exist, to save several forks.
253
+ as_shell=$as_dir/$as_base
254
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
255
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
256
+ CONFIG_SHELL=$as_shell as_have_required=yes
257
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
265
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
266
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
267
+ CONFIG_SHELL=$SHELL as_have_required=yes
272
+ if test "x$CONFIG_SHELL" != x; then :
273
+ # We cannot yet assume a decent shell, so we have to provide a
274
+ # neutralization value for shells without unset; and this also
275
+ # works around shells that cannot unset nonexistent variables.
278
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
279
+ export CONFIG_SHELL
280
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
283
+ if test x$as_have_required = xno; then :
284
+ $as_echo "$0: This script requires a shell more modern than all"
285
+ $as_echo "$0: the shells that I found on your system."
286
+ if test x${ZSH_VERSION+set} = xset ; then
287
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
288
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
291
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gnats@gnu.org
292
+$0: about your system, including any error possibly output
293
+$0: before this message. Then install a modern shell, or
294
+$0: manually run the script under such a shell if you do
302
+SHELL=${CONFIG_SHELL-/bin/sh}
304
+# Unset more variables known to interfere with behavior of common tools.
305
+CLICOLOR_FORCE= GREP_OPTIONS=
306
+unset CLICOLOR_FORCE GREP_OPTIONS
308
+## --------------------- ##
309
+## M4sh Shell Functions. ##
310
+## --------------------- ##
313
+# Portably unset VAR.
316
+ { eval $1=; unset $1;}
318
+as_unset=as_fn_unset
320
+# as_fn_set_status STATUS
321
+# -----------------------
322
+# Set $? to STATUS, without forking.
326
+} # as_fn_set_status
330
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
334
+ as_fn_set_status $1
340
+# Create "$as_dir" as a directory, including parents if necessary.
345
+ -*) as_dir=./$as_dir;;
347
+ test -d "$as_dir" || eval $as_mkdir_p || {
351
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
352
+ *) as_qdir=$as_dir;;
354
+ as_dirs="'$as_qdir' $as_dirs"
355
+ as_dir=`$as_dirname -- "$as_dir" ||
356
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
357
+ X"$as_dir" : 'X\(//\)[^/]' \| \
358
+ X"$as_dir" : 'X\(//\)$' \| \
359
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
360
+$as_echo X"$as_dir" |
361
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365
+ /^X\(\/\/\)[^/].*/{
378
+ test -d "$as_dir" && break
380
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
381
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
385
+# as_fn_append VAR VALUE
386
+# ----------------------
387
+# Append the text in VALUE to the end of the definition contained in VAR. Take
388
+# advantage of any shell optimizations that allow amortized linear growth over
389
+# repeated appends, instead of the typical quadratic growth present in naive
391
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
392
+ eval 'as_fn_append ()
403
+# as_fn_arith ARG...
404
+# ------------------
405
+# Perform arithmetic evaluation on the ARGs, and store the result in the
406
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
407
+# must be portable across $(()) and expr.
408
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409
+ eval 'as_fn_arith ()
416
+ as_val=`expr "$@" || test $? -eq 1`
420
-# Required to use basename.
421
-if expr a : '\(a\)' >/dev/null 2>&1; then
423
+# as_fn_error ERROR [LINENO LOG_FD]
424
+# ---------------------------------
425
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
426
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
427
+# script with status $?, using 1 if that was 0.
430
+ as_status=$?; test $as_status -eq 0 && as_status=1
432
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
433
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
435
+ $as_echo "$as_me: error: $1" >&2
436
+ as_fn_exit $as_status
439
+if expr a : '\(a\)' >/dev/null 2>&1 &&
440
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
446
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
447
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
453
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
459
-# Name of the executable.
460
-as_me=`$as_basename "$0" ||
461
+as_me=`$as_basename -- "$0" ||
462
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463
X"$0" : 'X\(//\)$' \| \
464
- X"$0" : 'X\(/\)$' \| \
465
- . : '\(.\)' 2>/dev/null ||
467
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
468
- /^X\/\(\/\/\)$/{ s//\1/; q; }
469
- /^X\/\(\/\).*/{ s//\1/; q; }
472
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
474
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
488
-# PATH needs CR, and LINENO needs CR and PATH.
489
# Avoid depending upon Character Ranges.
490
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
491
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
492
@@ -85,146 +419,107 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
493
as_cr_digits='0123456789'
494
as_cr_alnum=$as_cr_Letters$as_cr_digits
496
-# The user is always right.
497
-if test "${PATH_SEPARATOR+set}" != set; then
498
- echo "#! /bin/sh" >conf$$.sh
499
- echo "exit 0" >>conf$$.sh
501
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
510
- as_lineno_1=$LINENO
511
- as_lineno_2=$LINENO
512
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
513
- test "x$as_lineno_1" != "x$as_lineno_2" &&
514
- test "x$as_lineno_3" = "x$as_lineno_2" || {
515
- # Find who we are. Look in the path if we contain no path at all
518
- *[\\/]* ) as_myself=$0 ;;
519
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
523
- test -z "$as_dir" && as_dir=.
524
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
529
- # We did not find ourselves, most probably we were run as `sh COMMAND'
530
- # in which case we are not to be found in the path.
531
- if test "x$as_myself" = x; then
534
- if test ! -f "$as_myself"; then
535
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
536
- { (exit 1); exit 1; }; }
538
- case $CONFIG_SHELL in
540
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
541
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
544
- test -z "$as_dir" && as_dir=.
545
- for as_base in sh bash ksh sh5; do
548
- if ("$as_dir/$as_base" -c '
549
- as_lineno_1=$LINENO
550
- as_lineno_2=$LINENO
551
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
552
- test "x$as_lineno_1" != "x$as_lineno_2" &&
553
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
554
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
555
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
556
- CONFIG_SHELL=$as_dir/$as_base
557
- export CONFIG_SHELL
558
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
566
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
567
- # uniformly replaced by the line number. The first 'sed' inserts a
568
- # line-number line before each line; the second 'sed' does the real
569
- # work. The second script uses 'N' to pair each line-number line
570
- # with the numbered line, and appends trailing '-' during
571
- # substitution so that $LINENO is not a special case at line end.
572
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
573
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
574
- sed '=' <$as_myself |
575
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
576
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
577
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
578
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
579
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
592
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
594
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
597
- s,^['$as_cr_digits']*\n,,
600
- chmod +x $as_me.lineno ||
601
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
602
- { (exit 1); exit 1; }; }
603
+ chmod +x "$as_me.lineno" ||
604
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
606
# Don't try to exec as it changes $[0], causing all sort of problems
607
# (the dirname of $[0] is not the place where we might find the
608
- # original and so on. Autoconf is especially sensible to this).
610
+ # original and so on. Autoconf is especially sensitive to this).
611
+ . "./$as_me.lineno"
612
# Exit status is that of the last command.
617
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
618
- *c*,-n*) ECHO_N= ECHO_C='
620
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
621
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
622
+ECHO_C= ECHO_N= ECHO_T=
623
+case `echo -n x` in #(((((
625
+ case `echo 'xy\c'` in
626
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
628
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
635
-if expr a : '\(a\)' >/dev/null 2>&1; then
637
+rm -f conf$$ conf$$.exe conf$$.file
638
+if test -d conf$$.dir; then
639
+ rm -f conf$$.dir/conf$$.file
643
+ mkdir conf$$.dir 2>/dev/null
646
-rm -f conf$$ conf$$.exe conf$$.file
648
-if ln -s conf$$.file conf$$ 2>/dev/null; then
649
- # We could just check for DJGPP; but this test a) works b) is more generic
650
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
651
- if test -f conf$$.exe; then
652
- # Don't use ln at all; we don't have any links
655
+if (echo >conf$$.file) 2>/dev/null; then
656
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
658
+ # ... but there are two gotchas:
659
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
660
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
661
+ # In both cases, we have to default to `cp -p'.
662
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
664
+ elif ln conf$$.file conf$$ 2>/dev/null; then
669
-elif ln conf$$.file conf$$ 2>/dev/null; then
674
-rm -f conf$$ conf$$.exe conf$$.file
675
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
676
+rmdir conf$$.dir 2>/dev/null
678
if mkdir -p . 2>/dev/null; then
680
+ as_mkdir_p='mkdir -p "$as_dir"'
682
test -d ./-p && rmdir ./-p
686
-as_executable_p="test -f"
687
+if test -x / >/dev/null 2>&1; then
688
+ as_test_x='test -x'
690
+ if ls -dL / >/dev/null 2>&1; then
697
+ if test -d "$1"; then
703
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
704
+ ???[sx]*):;;*)false;;esac;fi
708
+as_executable_p=$as_test_x
710
# Sed expression to map a string onto a valid CPP name.
711
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
712
@@ -233,38 +528,25 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
713
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
717
-# We need space, tab and new line, in precisely that order.
725
+test -n "$DJDIR" || exec 7<&0 </dev/null
729
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
730
# so uname gets run too.
731
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
738
ac_default_prefix=/usr/local
740
ac_config_libobj_dir=.
746
-SHELL=${CONFIG_SHELL-/bin/sh}
748
-# Maximum number of lines to put in a shell here document.
749
-# This variable seems obsolete. It should probably be removed, and
750
-# only ac_max_sed_lines should be used.
751
-: ${ac_max_here_lines=38}
753
# Identity of this package.
755
@@ -272,14 +554,83 @@ PACKAGE_TARNAME='gnats'
756
PACKAGE_VERSION='4.1.0'
757
PACKAGE_STRING='gnats 4.1.0'
758
PACKAGE_BUGREPORT='bug-gnats@gnu.org'
761
-ac_subdirs_all="$ac_subdirs_all gnats send-pr doc"
762
-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 subdirs CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LIBOBJS LTLIBOBJS'
763
+enable_option_checking=no
764
+ac_subst_vars='LTLIBOBJS
806
+program_transform_name
819
+enable_option_checking
821
+ ac_precious_vars='build_alias
831
+ac_subdirs_all='gnats send-pr doc'
833
# Initialize some variables set by options.
835
ac_init_version=false
836
+ac_unrecognized_opts=
837
+ac_unrecognized_sep=
838
# The variables have the same names as the options, with
839
# dashes changed to underlines.
841
@@ -302,34 +653,48 @@ x_libraries=NONE
842
# and all the variables that are supposed to be based on exec_prefix
843
# by default will actually change.
844
# Use braces instead of parens because sh, perl, etc. also accept them.
845
+# (The list follows the same order as the GNU Coding Standards.)
846
bindir='${exec_prefix}/bin'
847
sbindir='${exec_prefix}/sbin'
848
libexecdir='${exec_prefix}/libexec'
849
-datadir='${prefix}/share'
850
+datarootdir='${prefix}/share'
851
+datadir='${datarootdir}'
852
sysconfdir='${prefix}/etc'
853
sharedstatedir='${prefix}/com'
854
localstatedir='${prefix}/var'
855
-libdir='${exec_prefix}/lib'
856
includedir='${prefix}/include'
857
oldincludedir='/usr/include'
858
-infodir='${prefix}/info'
859
-mandir='${prefix}/man'
860
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
861
+infodir='${datarootdir}/info'
866
+libdir='${exec_prefix}/lib'
867
+localedir='${datarootdir}/locale'
868
+mandir='${datarootdir}/man'
874
# If the previous option needs an argument, assign it.
875
if test -n "$ac_prev"; then
876
- eval "$ac_prev=\$ac_option"
877
+ eval $ac_prev=\$ac_option
882
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
884
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885
+ *) ac_optarg=yes ;;
888
# Accept the important Cygnus configure options, so we can diagnose typos.
891
+ case $ac_dashdash$ac_option in
895
-bindir | --bindir | --bindi | --bind | --bin | --bi)
897
@@ -351,33 +716,59 @@ do
899
cache_file=config.cache ;;
901
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
902
+ -datadir | --datadir | --datadi | --datad)
904
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
906
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
907
datadir=$ac_optarg ;;
909
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910
+ | --dataroo | --dataro | --datar)
911
+ ac_prev=datarootdir ;;
912
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914
+ datarootdir=$ac_optarg ;;
916
-disable-* | --disable-*)
917
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919
# Reject names that are not valid shell variable names.
920
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
921
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922
- { (exit 1); exit 1; }; }
923
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
924
- eval "enable_$ac_feature=no" ;;
925
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926
+ as_fn_error "invalid feature name: $ac_useropt"
927
+ ac_useropt_orig=$ac_useropt
928
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929
+ case $ac_user_opts in
931
+"enable_$ac_useropt"
933
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934
+ ac_unrecognized_sep=', ';;
936
+ eval enable_$ac_useropt=no ;;
938
+ -docdir | --docdir | --docdi | --doc | --do)
940
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941
+ docdir=$ac_optarg ;;
943
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
945
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946
+ dvidir=$ac_optarg ;;
948
-enable-* | --enable-*)
949
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951
# Reject names that are not valid shell variable names.
952
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
953
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
954
- { (exit 1); exit 1; }; }
955
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
957
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
958
- *) ac_optarg=yes ;;
959
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960
+ as_fn_error "invalid feature name: $ac_useropt"
961
+ ac_useropt_orig=$ac_useropt
962
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963
+ case $ac_user_opts in
965
+"enable_$ac_useropt"
967
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
968
+ ac_unrecognized_sep=', ';;
970
- eval "enable_$ac_feature='$ac_optarg'" ;;
971
+ eval enable_$ac_useropt=\$ac_optarg ;;
973
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975
@@ -404,6 +795,12 @@ do
976
-host=* | --host=* | --hos=* | --ho=*)
977
host_alias=$ac_optarg ;;
979
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
981
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
983
+ htmldir=$ac_optarg ;;
985
-includedir | --includedir | --includedi | --included | --include \
986
| --includ | --inclu | --incl | --inc)
987
ac_prev=includedir ;;
988
@@ -428,13 +825,16 @@ do
989
| --libexe=* | --libex=* | --libe=*)
990
libexecdir=$ac_optarg ;;
992
+ -localedir | --localedir | --localedi | --localed | --locale)
993
+ ac_prev=localedir ;;
994
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995
+ localedir=$ac_optarg ;;
997
-localstatedir | --localstatedir | --localstatedi | --localstated \
998
- | --localstate | --localstat | --localsta | --localst \
999
- | --locals | --local | --loca | --loc | --lo)
1000
+ | --localstate | --localstat | --localsta | --localst | --locals)
1001
ac_prev=localstatedir ;;
1002
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1004
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1005
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006
localstatedir=$ac_optarg ;;
1008
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009
@@ -499,6 +899,16 @@ do
1010
| --progr-tra=* | --program-tr=* | --program-t=*)
1011
program_transform_name=$ac_optarg ;;
1013
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1015
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1016
+ pdfdir=$ac_optarg ;;
1018
+ -psdir | --psdir | --psdi | --psd | --ps)
1020
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021
+ psdir=$ac_optarg ;;
1023
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024
| -silent | --silent | --silen | --sile | --sil)
1026
@@ -549,26 +959,36 @@ do
1027
ac_init_version=: ;;
1030
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032
# Reject names that are not valid shell variable names.
1033
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1034
- { echo "$as_me: error: invalid package name: $ac_package" >&2
1035
- { (exit 1); exit 1; }; }
1036
- ac_package=`echo $ac_package| sed 's/-/_/g'`
1037
- case $ac_option in
1038
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1039
- *) ac_optarg=yes ;;
1040
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041
+ as_fn_error "invalid package name: $ac_useropt"
1042
+ ac_useropt_orig=$ac_useropt
1043
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044
+ case $ac_user_opts in
1048
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049
+ ac_unrecognized_sep=', ';;
1051
- eval "with_$ac_package='$ac_optarg'" ;;
1052
+ eval with_$ac_useropt=\$ac_optarg ;;
1054
-without-* | --without-*)
1055
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057
# Reject names that are not valid shell variable names.
1058
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1059
- { echo "$as_me: error: invalid package name: $ac_package" >&2
1060
- { (exit 1); exit 1; }; }
1061
- ac_package=`echo $ac_package | sed 's/-/_/g'`
1062
- eval "with_$ac_package=no" ;;
1063
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064
+ as_fn_error "invalid package name: $ac_useropt"
1065
+ ac_useropt_orig=$ac_useropt
1066
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067
+ case $ac_user_opts in
1071
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072
+ ac_unrecognized_sep=', ';;
1074
+ eval with_$ac_useropt=no ;;
1077
# Obsolete; use --with-x.
1078
@@ -588,26 +1008,25 @@ do
1079
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080
x_libraries=$ac_optarg ;;
1082
- -*) { echo "$as_me: error: unrecognized option: $ac_option
1083
-Try \`$0 --help' for more information." >&2
1084
- { (exit 1); exit 1; }; }
1085
+ -*) as_fn_error "unrecognized option: \`$ac_option'
1086
+Try \`$0 --help' for more information."
1090
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091
# Reject names that are not valid shell variable names.
1092
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1093
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1094
- { (exit 1); exit 1; }; }
1095
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1096
- eval "$ac_envvar='$ac_optarg'"
1097
+ case $ac_envvar in #(
1098
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1099
+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1101
+ eval $ac_envvar=\$ac_optarg
1102
export $ac_envvar ;;
1105
# FIXME: should be removed in autoconf 3.0.
1106
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114
@@ -616,31 +1035,36 @@ done
1116
if test -n "$ac_prev"; then
1117
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118
- { echo "$as_me: error: missing argument to $ac_option" >&2
1119
- { (exit 1); exit 1; }; }
1120
+ as_fn_error "missing argument to $ac_option"
1123
-# Be sure to have absolute paths.
1124
-for ac_var in exec_prefix prefix
1126
- eval ac_val=$`echo $ac_var`
1128
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1129
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1130
- { (exit 1); exit 1; }; };;
1131
+if test -n "$ac_unrecognized_opts"; then
1132
+ case $enable_option_checking in
1134
+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1135
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140
-# Be sure to have absolute paths.
1141
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1142
- localstatedir libdir includedir oldincludedir infodir mandir
1143
+# Check all directory arguments for consistency.
1144
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1145
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1146
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1147
+ libdir localedir mandir
1149
- eval ac_val=$`echo $ac_var`
1150
+ eval ac_val=\$$ac_var
1151
+ # Remove trailing slashes.
1154
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155
+ eval $ac_var=\$ac_val;;
1157
+ # Be sure to have absolute directory names.
1159
- [\\/$]* | ?:[\\/]* ) ;;
1160
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1161
- { (exit 1); exit 1; }; };;
1162
+ [\\/$]* | ?:[\\/]* ) continue;;
1163
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1165
+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1168
# There might be people who depend on the old broken behavior: `$host'
1169
@@ -654,7 +1078,7 @@ target=$target_alias
1170
if test "x$host_alias" != x; then
1171
if test "x$build_alias" = x; then
1172
cross_compiling=maybe
1173
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1174
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1175
If a cross compiler is detected then cross compile mode will be used." >&2
1176
elif test "x$build_alias" != "x$host_alias"; then
1178
@@ -667,70 +1091,72 @@ test -n "$host_alias" && ac_tool_prefix=
1179
test "$silent" = yes && exec 6>/dev/null
1182
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183
+ac_ls_di=`ls -di .` &&
1184
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185
+ as_fn_error "working directory cannot be determined"
1186
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187
+ as_fn_error "pwd does not report name of working directory"
1190
# Find the source files, if location was not specified.
1191
if test -z "$srcdir"; then
1192
ac_srcdir_defaulted=yes
1193
- # Try the directory containing this script, then its parent.
1194
- ac_confdir=`(dirname "$0") 2>/dev/null ||
1195
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196
- X"$0" : 'X\(//\)[^/]' \| \
1197
- X"$0" : 'X\(//\)$' \| \
1198
- X"$0" : 'X\(/\)' \| \
1199
- . : '\(.\)' 2>/dev/null ||
1201
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1202
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1203
- /^X\(\/\/\)$/{ s//\1/; q; }
1204
- /^X\(\/\).*/{ s//\1/; q; }
1206
+ # Try the directory containing this script, then the parent directory.
1207
+ ac_confdir=`$as_dirname -- "$as_myself" ||
1208
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209
+ X"$as_myself" : 'X\(//\)[^/]' \| \
1210
+ X"$as_myself" : 'X\(//\)$' \| \
1211
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1212
+$as_echo X"$as_myself" |
1213
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217
+ /^X\(\/\/\)[^/].*/{
1231
- if test ! -r $srcdir/$ac_unique_file; then
1232
+ if test ! -r "$srcdir/$ac_unique_file"; then
1236
ac_srcdir_defaulted=no
1238
-if test ! -r $srcdir/$ac_unique_file; then
1239
- if test "$ac_srcdir_defaulted" = yes; then
1240
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1241
- { (exit 1); exit 1; }; }
1243
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1244
- { (exit 1); exit 1; }; }
1247
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1248
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1249
- { (exit 1); exit 1; }; }
1250
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1251
-ac_env_build_alias_set=${build_alias+set}
1252
-ac_env_build_alias_value=$build_alias
1253
-ac_cv_env_build_alias_set=${build_alias+set}
1254
-ac_cv_env_build_alias_value=$build_alias
1255
-ac_env_host_alias_set=${host_alias+set}
1256
-ac_env_host_alias_value=$host_alias
1257
-ac_cv_env_host_alias_set=${host_alias+set}
1258
-ac_cv_env_host_alias_value=$host_alias
1259
-ac_env_target_alias_set=${target_alias+set}
1260
-ac_env_target_alias_value=$target_alias
1261
-ac_cv_env_target_alias_set=${target_alias+set}
1262
-ac_cv_env_target_alias_value=$target_alias
1263
-ac_env_CC_set=${CC+set}
1264
-ac_env_CC_value=$CC
1265
-ac_cv_env_CC_set=${CC+set}
1266
-ac_cv_env_CC_value=$CC
1267
-ac_env_CFLAGS_set=${CFLAGS+set}
1268
-ac_env_CFLAGS_value=$CFLAGS
1269
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
1270
-ac_cv_env_CFLAGS_value=$CFLAGS
1271
-ac_env_LDFLAGS_set=${LDFLAGS+set}
1272
-ac_env_LDFLAGS_value=$LDFLAGS
1273
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1274
-ac_cv_env_LDFLAGS_value=$LDFLAGS
1275
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1276
-ac_env_CPPFLAGS_value=$CPPFLAGS
1277
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1278
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1279
+if test ! -r "$srcdir/$ac_unique_file"; then
1280
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281
+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1283
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1287
+# When building in place, set srcdir=.
1288
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1291
+# Remove unnecessary trailing slashes from srcdir.
1292
+# Double slashes in file names in object file debugging info
1293
+# mess up M-x gdb in Emacs.
1295
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297
+for ac_var in $ac_precious_vars; do
1298
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299
+ eval ac_env_${ac_var}_value=\$${ac_var}
1300
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1305
# Report the --help message.
1306
@@ -759,14 +1185,11 @@ Configuration:
1307
-n, --no-create do not create output files
1308
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1313
Installation directories:
1314
--prefix=PREFIX install architecture-independent files in PREFIX
1315
- [$ac_default_prefix]
1316
+ [$ac_default_prefix]
1317
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321
By default, \`make install' will install all the files in
1322
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323
@@ -776,18 +1199,25 @@ for instance \`--prefix=\$HOME'.
1324
For better control, use the options below.
1326
Fine tuning of the installation directories:
1327
- --bindir=DIR user executables [EPREFIX/bin]
1328
- --sbindir=DIR system admin executables [EPREFIX/sbin]
1329
- --libexecdir=DIR program executables [EPREFIX/libexec]
1330
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
1331
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334
- --libdir=DIR object code libraries [EPREFIX/lib]
1335
- --includedir=DIR C header files [PREFIX/include]
1336
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337
- --infodir=DIR info documentation [PREFIX/info]
1338
- --mandir=DIR man documentation [PREFIX/man]
1339
+ --bindir=DIR user executables [EPREFIX/bin]
1340
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1341
+ --libexecdir=DIR program executables [EPREFIX/libexec]
1342
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345
+ --libdir=DIR object code libraries [EPREFIX/lib]
1346
+ --includedir=DIR C header files [PREFIX/include]
1347
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1351
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1353
+ --docdir=DIR documentation root [DATAROOTDIR/doc/gnats]
1354
+ --htmldir=DIR html documentation [DOCDIR]
1355
+ --dvidir=DIR dvi documentation [DOCDIR]
1356
+ --pdfdir=DIR pdf documentation [DOCDIR]
1357
+ --psdir=DIR ps documentation [DOCDIR]
1361
@@ -805,128 +1235,189 @@ Some influential environment variables:
1362
CFLAGS C compiler flags
1363
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1364
nonstandard directory <lib dir>
1365
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1366
- headers in a nonstandard directory <include dir>
1367
+ LIBS libraries to pass to the linker, e.g. -l<library>
1368
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1369
+ you have headers in a nonstandard directory <include dir>
1370
+ YACC The `Yet Another C Compiler' implementation to use. Defaults to
1371
+ the first program found out of: `bison -y', `byacc', `yacc'.
1372
+ YFLAGS The list of arguments that will be passed by default to $YACC.
1373
+ This script will default YFLAGS to the empty string to avoid a
1374
+ default value of `-d' given by some make applications.
1376
Use these variables to override the choices made by `configure' or to help
1377
it to find libraries and programs with nonstandard names/locations.
1379
Report bugs to <bug-gnats@gnu.org>.
1384
if test "$ac_init_help" = "recursive"; then
1385
# If there are subdirs, report their specific --help.
1387
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1388
- test -d $ac_dir || continue
1389
+ test -d "$ac_dir" ||
1390
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394
-if test "$ac_dir" != .; then
1395
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1396
- # A "../" for each directory in $ac_dir_suffix.
1397
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1399
- ac_dir_suffix= ac_top_builddir=
1402
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1405
+ # A ".." for each directory in $ac_dir_suffix.
1406
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1407
+ case $ac_top_builddir_sub in
1408
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412
+ac_abs_top_builddir=$ac_pwd
1413
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414
+# for backward compatibility:
1415
+ac_top_builddir=$ac_top_build_prefix
1418
- .) # No --srcdir option. We are building in place.
1419
+ .) # We are building in place.
1421
- if test -z "$ac_top_builddir"; then
1424
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1426
- [\\/]* | ?:[\\/]* ) # Absolute path.
1427
+ ac_top_srcdir=$ac_top_builddir_sub
1428
+ ac_abs_top_srcdir=$ac_pwd ;;
1429
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1430
ac_srcdir=$srcdir$ac_dir_suffix;
1431
- ac_top_srcdir=$srcdir ;;
1432
- *) # Relative path.
1433
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1434
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1437
-# Do not use `cd foo && pwd` to compute absolute paths, because
1438
-# the directories may not exist.
1440
-.) ac_abs_builddir="$ac_dir";;
1443
- .) ac_abs_builddir=`pwd`;;
1444
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1445
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
1448
-case $ac_abs_builddir in
1449
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
1451
- case ${ac_top_builddir}. in
1452
- .) ac_abs_top_builddir=$ac_abs_builddir;;
1453
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1454
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1457
-case $ac_abs_builddir in
1458
-.) ac_abs_srcdir=$ac_srcdir;;
1460
- case $ac_srcdir in
1461
- .) ac_abs_srcdir=$ac_abs_builddir;;
1462
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1463
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1466
-case $ac_abs_builddir in
1467
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
1469
- case $ac_top_srcdir in
1470
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
1471
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1472
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1474
+ ac_top_srcdir=$srcdir
1475
+ ac_abs_top_srcdir=$srcdir ;;
1476
+ *) # Relative name.
1477
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1479
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1484
- # Check for guested configure; otherwise get Cygnus style configure.
1485
- if test -f $ac_srcdir/configure.gnu; then
1487
- $SHELL $ac_srcdir/configure.gnu --help=recursive
1488
- elif test -f $ac_srcdir/configure; then
1490
- $SHELL $ac_srcdir/configure --help=recursive
1491
- elif test -f $ac_srcdir/configure.ac ||
1492
- test -f $ac_srcdir/configure.in; then
1494
- $ac_configure --help
1495
+ cd "$ac_dir" || { ac_status=$?; continue; }
1496
+ # Check for guested configure.
1497
+ if test -f "$ac_srcdir/configure.gnu"; then
1499
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500
+ elif test -f "$ac_srcdir/configure"; then
1502
+ $SHELL "$ac_srcdir/configure" --help=recursive
1504
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508
+ fi || ac_status=$?
1509
+ cd "$ac_pwd" || { ac_status=$?; break; }
1513
-test -n "$ac_init_help" && exit 0
1514
+test -n "$ac_init_help" && exit $ac_status
1515
if $ac_init_version; then
1517
gnats configure 4.1.0
1518
-generated by GNU Autoconf 2.59
1519
+generated by GNU Autoconf 2.65
1521
-Copyright (C) 2003 Free Software Foundation, Inc.
1522
+Copyright (C) 2009 Free Software Foundation, Inc.
1523
This configure script is free software; the Free Software Foundation
1524
gives unlimited permission to copy, distribute and modify it.
1532
+## ------------------------ ##
1533
+## Autoconf initialization. ##
1534
+## ------------------------ ##
1536
+# ac_fn_c_try_compile LINENO
1537
+# --------------------------
1538
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1539
+ac_fn_c_try_compile ()
1541
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542
+ rm -f conftest.$ac_objext
1543
+ if { { ac_try="$ac_compile"
1544
+case "(($ac_try" in
1545
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546
+ *) ac_try_echo=$ac_try;;
1548
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549
+$as_echo "$ac_try_echo"; } >&5
1550
+ (eval "$ac_compile") 2>conftest.err
1552
+ if test -s conftest.err; then
1553
+ grep -v '^ *+' conftest.err >conftest.er1
1554
+ cat conftest.er1 >&5
1555
+ mv -f conftest.er1 conftest.err
1557
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558
+ test $ac_status = 0; } && {
1559
+ test -z "$ac_c_werror_flag" ||
1560
+ test ! -s conftest.err
1561
+ } && test -s conftest.$ac_objext; then :
1564
+ $as_echo "$as_me: failed program was:" >&5
1565
+sed 's/^/| /' conftest.$ac_ext >&5
1569
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1570
+ as_fn_set_status $ac_retval
1572
+} # ac_fn_c_try_compile
1574
+# ac_fn_c_try_link LINENO
1575
+# -----------------------
1576
+# Try to link conftest.$ac_ext, and return whether this succeeded.
1577
+ac_fn_c_try_link ()
1579
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580
+ rm -f conftest.$ac_objext conftest$ac_exeext
1581
+ if { { ac_try="$ac_link"
1582
+case "(($ac_try" in
1583
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584
+ *) ac_try_echo=$ac_try;;
1586
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587
+$as_echo "$ac_try_echo"; } >&5
1588
+ (eval "$ac_link") 2>conftest.err
1590
+ if test -s conftest.err; then
1591
+ grep -v '^ *+' conftest.err >conftest.er1
1592
+ cat conftest.er1 >&5
1593
+ mv -f conftest.er1 conftest.err
1595
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
+ test $ac_status = 0; } && {
1597
+ test -z "$ac_c_werror_flag" ||
1598
+ test ! -s conftest.err
1599
+ } && test -s conftest$ac_exeext && {
1600
+ test "$cross_compiling" = yes ||
1601
+ $as_test_x conftest$ac_exeext
1605
+ $as_echo "$as_me: failed program was:" >&5
1606
+sed 's/^/| /' conftest.$ac_ext >&5
1610
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1611
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1612
+ # interfere with the next link command; also delete a directory that is
1613
+ # left behind by Apple's compiler. We do this before executing the actions.
1614
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616
+ as_fn_set_status $ac_retval
1618
+} # ac_fn_c_try_link
1619
+cat >config.log <<_ACEOF
1620
This file contains any messages produced by compilers while
1621
running configure, to aid debugging if configure makes a mistake.
1623
It was created by gnats $as_me 4.1.0, which was
1624
-generated by GNU Autoconf 2.59. Invocation command line was
1625
+generated by GNU Autoconf 2.65. Invocation command line was
1634
@@ -945,7 +1436,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
1635
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1636
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1637
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1638
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1639
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1640
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1641
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1642
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1643
@@ -957,8 +1448,9 @@ for as_dir in $PATH
1646
test -z "$as_dir" && as_dir=.
1647
- echo "PATH: $as_dir"
1649
+ $as_echo "PATH: $as_dir"
1655
@@ -980,7 +1472,6 @@ _ACEOF
1660
ac_must_keep_next=false
1663
@@ -991,13 +1482,13 @@ do
1664
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1665
| -silent | --silent | --silen | --sile | --sil)
1667
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1668
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1670
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1673
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1674
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1676
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1677
+ as_fn_append ac_configure_args1 " '$ac_arg'"
1678
if test $ac_must_keep_next = true; then
1679
ac_must_keep_next=false # Got value, back to normal.
1681
@@ -1013,21 +1504,19 @@ do
1682
-* ) ac_must_keep_next=true ;;
1685
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1686
- # Get rid of the leading space.
1688
+ as_fn_append ac_configure_args " '$ac_arg'"
1693
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1694
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1695
+{ ac_configure_args0=; unset ac_configure_args0;}
1696
+{ ac_configure_args1=; unset ac_configure_args1;}
1698
# When interrupted or exit'd, cleanup temporary files, and complete
1699
# config.log. We remove comments because anyway the quotes in there
1700
# would cause problems or look ugly.
1701
-# WARNING: Be sure not to use single quotes in there, as some shells,
1702
-# such as our DU 5.0 friend, will then `close' the trap.
1703
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1704
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1705
trap 'exit_status=$?
1706
# Save into config.log some information that might help in debugging.
1708
@@ -1040,20 +1529,35 @@ trap 'exit_status=$?
1711
# The following way of writing the cache mishandles newlines in values,
1714
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1715
+ eval ac_val=\$$ac_var
1716
+ case $ac_val in #(
1718
+ case $ac_var in #(
1719
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1720
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1722
+ case $ac_var in #(
1723
+ _ | IFS | as_nl) ;; #(
1724
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1725
+ *) { eval $ac_var=; unset $ac_var;} ;;
1730
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1732
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1733
+ *${as_nl}ac_space=\ *)
1735
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1736
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1738
+ "s/'\''/'\''\\\\'\'''\''/g;
1739
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1743
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1744
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1754
@@ -1064,22 +1568,28 @@ _ASBOX
1756
for ac_var in $ac_subst_vars
1758
- eval ac_val=$`echo $ac_var`
1759
- echo "$ac_var='"'"'$ac_val'"'"'"
1760
+ eval ac_val=\$$ac_var
1762
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764
+ $as_echo "$ac_var='\''$ac_val'\''"
1768
if test -n "$ac_subst_files"; then
1770
-## ------------- ##
1771
-## Output files. ##
1772
-## ------------- ##
1773
+## ------------------- ##
1774
+## File substitutions. ##
1775
+## ------------------- ##
1778
for ac_var in $ac_subst_files
1780
- eval ac_val=$`echo $ac_var`
1781
- echo "$ac_var='"'"'$ac_val'"'"'"
1782
+ eval ac_val=\$$ac_var
1784
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1786
+ $as_echo "$ac_var='\''$ac_val'\''"
1790
@@ -1091,26 +1601,26 @@ _ASBOX
1794
- sed "/^$/d" confdefs.h | sort
1798
test "$ac_signal" != 0 &&
1799
- echo "$as_me: caught signal $ac_signal"
1800
- echo "$as_me: exit $exit_status"
1801
+ $as_echo "$as_me: caught signal $ac_signal"
1802
+ $as_echo "$as_me: exit $exit_status"
1804
- rm -f core *.core &&
1805
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1806
+ rm -f core *.core core.conftest.* &&
1807
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1811
for ac_signal in 1 2 13 15; do
1812
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1813
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1817
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1818
-rm -rf conftest* confdefs.h
1819
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1821
+rm -f -r conftest* confdefs.h
1823
+$as_echo "/* confdefs.h */" > confdefs.h
1825
# Predefined preprocessor variables.
1827
@@ -1118,112 +1628,128 @@ cat >>confdefs.h <<_ACEOF
1828
#define PACKAGE_NAME "$PACKAGE_NAME"
1832
cat >>confdefs.h <<_ACEOF
1833
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1837
cat >>confdefs.h <<_ACEOF
1838
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1842
cat >>confdefs.h <<_ACEOF
1843
#define PACKAGE_STRING "$PACKAGE_STRING"
1847
cat >>confdefs.h <<_ACEOF
1848
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1851
+cat >>confdefs.h <<_ACEOF
1852
+#define PACKAGE_URL "$PACKAGE_URL"
1856
# Let the site file select an alternate cache file if it wants to.
1857
-# Prefer explicitly selected file to automatically selected ones.
1858
-if test -z "$CONFIG_SITE"; then
1859
- if test "x$prefix" != xNONE; then
1860
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1862
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1865
-for ac_site_file in $CONFIG_SITE; do
1866
- if test -r "$ac_site_file"; then
1867
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868
-echo "$as_me: loading site script $ac_site_file" >&6;}
1869
+# Prefer an explicitly selected file to automatically selected ones.
1872
+if test -n "$CONFIG_SITE"; then
1873
+ ac_site_file1=$CONFIG_SITE
1874
+elif test "x$prefix" != xNONE; then
1875
+ ac_site_file1=$prefix/share/config.site
1876
+ ac_site_file2=$prefix/etc/config.site
1878
+ ac_site_file1=$ac_default_prefix/share/config.site
1879
+ ac_site_file2=$ac_default_prefix/etc/config.site
1881
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1883
+ test "x$ac_site_file" = xNONE && continue
1884
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1885
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1886
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1887
sed 's/^/| /' "$ac_site_file" >&5
1892
if test -r "$cache_file"; then
1893
- # Some versions of bash will fail to source /dev/null (special
1894
- # files actually), so we avoid doing that.
1895
- if test -f "$cache_file"; then
1896
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1897
-echo "$as_me: loading cache $cache_file" >&6;}
1898
+ # Some versions of bash will fail to source /dev/null (special files
1899
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1900
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1901
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1902
+$as_echo "$as_me: loading cache $cache_file" >&6;}
1904
- [\\/]* | ?:[\\/]* ) . $cache_file;;
1905
- *) . ./$cache_file;;
1906
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1907
+ *) . "./$cache_file";;
1911
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1912
-echo "$as_me: creating cache $cache_file" >&6;}
1913
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1914
+$as_echo "$as_me: creating cache $cache_file" >&6;}
1918
# Check that the precious variables saved in the cache have kept the same
1920
ac_cache_corrupted=false
1921
-for ac_var in `(set) 2>&1 |
1922
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1923
+for ac_var in $ac_precious_vars; do
1924
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1925
eval ac_new_set=\$ac_env_${ac_var}_set
1926
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1927
- eval ac_new_val="\$ac_env_${ac_var}_value"
1928
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1929
+ eval ac_new_val=\$ac_env_${ac_var}_value
1930
case $ac_old_set,$ac_new_set in
1932
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1933
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1934
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1935
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1936
ac_cache_corrupted=: ;;
1938
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1939
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1940
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1941
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1942
ac_cache_corrupted=: ;;
1945
if test "x$ac_old_val" != "x$ac_new_val"; then
1946
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1947
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1948
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1949
-echo "$as_me: former value: $ac_old_val" >&2;}
1950
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1951
-echo "$as_me: current value: $ac_new_val" >&2;}
1952
- ac_cache_corrupted=:
1953
+ # differences in whitespace do not lead to failure.
1954
+ ac_old_val_w=`echo x $ac_old_val`
1955
+ ac_new_val_w=`echo x $ac_new_val`
1956
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
1957
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1958
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1959
+ ac_cache_corrupted=:
1961
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1962
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1963
+ eval $ac_var=\$ac_old_val
1965
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1966
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1967
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1968
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1971
# Pass precious variables to config.status.
1972
if test "$ac_new_set" = set; then
1974
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1975
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1976
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1977
*) ac_arg=$ac_var=$ac_new_val ;;
1979
case " $ac_configure_args " in
1980
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1981
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1982
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1986
if $ac_cache_corrupted; then
1987
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1988
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1989
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1990
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1991
- { (exit 1); exit 1; }; }
1993
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1994
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1995
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1996
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1997
+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1999
+## -------------------- ##
2000
+## Main body of script. ##
2001
+## -------------------- ##
2004
ac_cpp='$CPP $CPPFLAGS'
2005
@@ -1232,59 +1758,32 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
2006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2010
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2011
+ for ac_t in install-sh install.sh shtool; do
2012
+ if test -f "$ac_dir/$ac_t"; then
2013
+ ac_aux_dir=$ac_dir
2014
+ ac_install_sh="$ac_aux_dir/$ac_t -c"
2019
+if test -z "$ac_aux_dir"; then
2020
+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2023
+# These three variables are undocumented and unsupported,
2024
+# and are intended to be withdrawn in a future Autoconf release.
2025
+# They can cause serious problems if a builder's source tree is in a directory
2026
+# whose full name contains unusual characters.
2027
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2028
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2029
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2055
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2056
- if test -f $ac_dir/install-sh; then
2057
- ac_aux_dir=$ac_dir
2058
- ac_install_sh="$ac_aux_dir/install-sh -c"
2060
- elif test -f $ac_dir/install.sh; then
2061
- ac_aux_dir=$ac_dir
2062
- ac_install_sh="$ac_aux_dir/install.sh -c"
2064
- elif test -f $ac_dir/shtool; then
2065
- ac_aux_dir=$ac_dir
2066
- ac_install_sh="$ac_aux_dir/shtool install -c"
2070
-if test -z "$ac_aux_dir"; then
2071
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2072
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2073
- { (exit 1); exit 1; }; }
2075
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2076
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2077
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2081
-subdirs="$subdirs gnats send-pr doc"
2082
+subdirs="$subdirs gnats send-pr doc"
2086
@@ -1295,10 +1794,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2087
if test -n "$ac_tool_prefix"; then
2088
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2089
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2090
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2091
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092
-if test "${ac_cv_prog_CC+set}" = set; then
2093
- echo $ECHO_N "(cached) $ECHO_C" >&6
2094
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2095
+$as_echo_n "checking for $ac_word... " >&6; }
2096
+if test "${ac_cv_prog_CC+set}" = set; then :
2097
+ $as_echo_n "(cached) " >&6
2099
if test -n "$CC"; then
2100
ac_cv_prog_CC="$CC" # Let the user override the test.
2101
@@ -1308,35 +1807,37 @@ for as_dir in $PATH
2104
test -z "$as_dir" && as_dir=.
2105
- for ac_exec_ext in '' $ac_executable_extensions; do
2106
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107
+ for ac_exec_ext in '' $ac_executable_extensions; do
2108
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2109
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2110
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2122
if test -n "$CC"; then
2123
- echo "$as_me:$LINENO: result: $CC" >&5
2124
-echo "${ECHO_T}$CC" >&6
2125
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2126
+$as_echo "$CC" >&6; }
2128
- echo "$as_me:$LINENO: result: no" >&5
2129
-echo "${ECHO_T}no" >&6
2130
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2131
+$as_echo "no" >&6; }
2136
if test -z "$ac_cv_prog_CC"; then
2138
# Extract the first word of "gcc", so it can be a program name with args.
2139
set dummy gcc; ac_word=$2
2140
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2141
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2142
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2143
- echo $ECHO_N "(cached) $ECHO_C" >&6
2144
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145
+$as_echo_n "checking for $ac_word... " >&6; }
2146
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2147
+ $as_echo_n "(cached) " >&6
2149
if test -n "$ac_ct_CC"; then
2150
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2151
@@ -1346,39 +1847,50 @@ for as_dir in $PATH
2154
test -z "$as_dir" && as_dir=.
2155
- for ac_exec_ext in '' $ac_executable_extensions; do
2156
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157
+ for ac_exec_ext in '' $ac_executable_extensions; do
2158
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159
ac_cv_prog_ac_ct_CC="gcc"
2160
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2171
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2172
if test -n "$ac_ct_CC"; then
2173
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2174
-echo "${ECHO_T}$ac_ct_CC" >&6
2175
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2176
+$as_echo "$ac_ct_CC" >&6; }
2178
- echo "$as_me:$LINENO: result: no" >&5
2179
-echo "${ECHO_T}no" >&6
2180
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2181
+$as_echo "no" >&6; }
2185
+ if test "x$ac_ct_CC" = x; then
2188
+ case $cross_compiling:$ac_tool_warned in
2190
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2191
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2192
+ac_tool_warned=yes ;;
2200
if test -z "$CC"; then
2201
- if test -n "$ac_tool_prefix"; then
2202
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2203
+ if test -n "$ac_tool_prefix"; then
2204
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2205
set dummy ${ac_tool_prefix}cc; ac_word=$2
2206
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2207
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2208
-if test "${ac_cv_prog_CC+set}" = set; then
2209
- echo $ECHO_N "(cached) $ECHO_C" >&6
2210
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2211
+$as_echo_n "checking for $ac_word... " >&6; }
2212
+if test "${ac_cv_prog_CC+set}" = set; then :
2213
+ $as_echo_n "(cached) " >&6
2215
if test -n "$CC"; then
2216
ac_cv_prog_CC="$CC" # Let the user override the test.
2217
@@ -1388,77 +1900,37 @@ for as_dir in $PATH
2220
test -z "$as_dir" && as_dir=.
2221
- for ac_exec_ext in '' $ac_executable_extensions; do
2222
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2223
+ for ac_exec_ext in '' $ac_executable_extensions; do
2224
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225
ac_cv_prog_CC="${ac_tool_prefix}cc"
2226
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2238
if test -n "$CC"; then
2239
- echo "$as_me:$LINENO: result: $CC" >&5
2240
-echo "${ECHO_T}$CC" >&6
2242
- echo "$as_me:$LINENO: result: no" >&5
2243
-echo "${ECHO_T}no" >&6
2247
-if test -z "$ac_cv_prog_CC"; then
2249
- # Extract the first word of "cc", so it can be a program name with args.
2250
-set dummy cc; ac_word=$2
2251
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2252
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2253
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2254
- echo $ECHO_N "(cached) $ECHO_C" >&6
2256
- if test -n "$ac_ct_CC"; then
2257
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2259
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260
-for as_dir in $PATH
2263
- test -z "$as_dir" && as_dir=.
2264
- for ac_exec_ext in '' $ac_executable_extensions; do
2265
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266
- ac_cv_prog_ac_ct_CC="cc"
2267
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2276
-if test -n "$ac_ct_CC"; then
2277
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2278
-echo "${ECHO_T}$ac_ct_CC" >&6
2279
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2280
+$as_echo "$CC" >&6; }
2282
- echo "$as_me:$LINENO: result: no" >&5
2283
-echo "${ECHO_T}no" >&6
2284
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285
+$as_echo "no" >&6; }
2290
- CC="$ac_cv_prog_CC"
2295
if test -z "$CC"; then
2296
# Extract the first word of "cc", so it can be a program name with args.
2297
set dummy cc; ac_word=$2
2298
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2299
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300
-if test "${ac_cv_prog_CC+set}" = set; then
2301
- echo $ECHO_N "(cached) $ECHO_C" >&6
2302
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2303
+$as_echo_n "checking for $ac_word... " >&6; }
2304
+if test "${ac_cv_prog_CC+set}" = set; then :
2305
+ $as_echo_n "(cached) " >&6
2307
if test -n "$CC"; then
2308
ac_cv_prog_CC="$CC" # Let the user override the test.
2309
@@ -1469,18 +1941,19 @@ for as_dir in $PATH
2312
test -z "$as_dir" && as_dir=.
2313
- for ac_exec_ext in '' $ac_executable_extensions; do
2314
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315
+ for ac_exec_ext in '' $ac_executable_extensions; do
2316
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2318
ac_prog_rejected=yes
2322
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2331
if test $ac_prog_rejected = yes; then
2332
# We found a bogon in the path, so make sure we never use it.
2333
@@ -1498,24 +1971,25 @@ fi
2336
if test -n "$CC"; then
2337
- echo "$as_me:$LINENO: result: $CC" >&5
2338
-echo "${ECHO_T}$CC" >&6
2339
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2340
+$as_echo "$CC" >&6; }
2342
- echo "$as_me:$LINENO: result: no" >&5
2343
-echo "${ECHO_T}no" >&6
2344
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345
+$as_echo "no" >&6; }
2350
if test -z "$CC"; then
2351
if test -n "$ac_tool_prefix"; then
2353
+ for ac_prog in cl.exe
2355
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2356
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2357
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2358
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359
-if test "${ac_cv_prog_CC+set}" = set; then
2360
- echo $ECHO_N "(cached) $ECHO_C" >&6
2361
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362
+$as_echo_n "checking for $ac_word... " >&6; }
2363
+if test "${ac_cv_prog_CC+set}" = set; then :
2364
+ $as_echo_n "(cached) " >&6
2366
if test -n "$CC"; then
2367
ac_cv_prog_CC="$CC" # Let the user override the test.
2368
@@ -1525,39 +1999,41 @@ for as_dir in $PATH
2371
test -z "$as_dir" && as_dir=.
2372
- for ac_exec_ext in '' $ac_executable_extensions; do
2373
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374
+ for ac_exec_ext in '' $ac_executable_extensions; do
2375
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2377
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389
if test -n "$CC"; then
2390
- echo "$as_me:$LINENO: result: $CC" >&5
2391
-echo "${ECHO_T}$CC" >&6
2392
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2393
+$as_echo "$CC" >&6; }
2395
- echo "$as_me:$LINENO: result: no" >&5
2396
-echo "${ECHO_T}no" >&6
2397
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2398
+$as_echo "no" >&6; }
2402
test -n "$CC" && break
2405
if test -z "$CC"; then
2408
+ for ac_prog in cl.exe
2410
# Extract the first word of "$ac_prog", so it can be a program name with args.
2411
set dummy $ac_prog; ac_word=$2
2412
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2413
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2414
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2415
- echo $ECHO_N "(cached) $ECHO_C" >&6
2416
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417
+$as_echo_n "checking for $ac_word... " >&6; }
2418
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2419
+ $as_echo_n "(cached) " >&6
2421
if test -n "$ac_ct_CC"; then
2422
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2423
@@ -1567,66 +2043,78 @@ for as_dir in $PATH
2426
test -z "$as_dir" && as_dir=.
2427
- for ac_exec_ext in '' $ac_executable_extensions; do
2428
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2429
+ for ac_exec_ext in '' $ac_executable_extensions; do
2430
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431
ac_cv_prog_ac_ct_CC="$ac_prog"
2432
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2443
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2444
if test -n "$ac_ct_CC"; then
2445
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2446
-echo "${ECHO_T}$ac_ct_CC" >&6
2447
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2448
+$as_echo "$ac_ct_CC" >&6; }
2450
- echo "$as_me:$LINENO: result: no" >&5
2451
-echo "${ECHO_T}no" >&6
2452
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453
+$as_echo "no" >&6; }
2457
test -n "$ac_ct_CC" && break
2461
+ if test "x$ac_ct_CC" = x; then
2464
+ case $cross_compiling:$ac_tool_warned in
2466
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2467
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2468
+ac_tool_warned=yes ;;
2477
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2478
-See \`config.log' for more details." >&5
2479
-echo "$as_me: error: no acceptable C compiler found in \$PATH
2480
-See \`config.log' for more details." >&2;}
2481
- { (exit 1); exit 1; }; }
2482
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484
+as_fn_error "no acceptable C compiler found in \$PATH
2485
+See \`config.log' for more details." "$LINENO" 5; }
2487
# Provide some information about the compiler.
2488
-echo "$as_me:$LINENO:" \
2489
- "checking for C compiler version" >&5
2490
-ac_compiler=`set X $ac_compile; echo $2`
2491
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2492
- (eval $ac_compiler --version </dev/null >&5) 2>&5
2494
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
- (exit $ac_status); }
2496
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2497
- (eval $ac_compiler -v </dev/null >&5) 2>&5
2499
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
- (exit $ac_status); }
2501
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2502
- (eval $ac_compiler -V </dev/null >&5) 2>&5
2504
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505
- (exit $ac_status); }
2506
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2509
+for ac_option in --version -v -V -qversion; do
2510
+ { { ac_try="$ac_compiler $ac_option >&5"
2511
+case "(($ac_try" in
2512
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513
+ *) ac_try_echo=$ac_try;;
2515
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516
+$as_echo "$ac_try_echo"; } >&5
2517
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2519
+ if test -s conftest.err; then
2521
+... rest of stderr output deleted ...
2522
+ 10q' conftest.err >conftest.er1
2523
+ cat conftest.er1 >&5
2525
+ rm -f conftest.er1 conftest.err
2526
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527
+ test $ac_status = 0; }
2530
-cat >conftest.$ac_ext <<_ACEOF
2533
-cat confdefs.h >>conftest.$ac_ext
2534
-cat >>conftest.$ac_ext <<_ACEOF
2535
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536
/* end confdefs.h. */
2539
@@ -1638,112 +2126,109 @@ main ()
2542
ac_clean_files_save=$ac_clean_files
2543
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
2544
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2545
# Try to create an executable without -o first, disregard a.out.
2546
# It will help us diagnose broken compilers, and finding out an intuition
2548
-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2549
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2550
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2551
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2552
- (eval $ac_link_default) 2>&5
2554
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
- (exit $ac_status); }; then
2556
- # Find the output, starting from the most likely. This scheme is
2557
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2560
-# Be careful to initialize this variable, since it used to be cached.
2561
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2563
-# b.out is created by i960 compilers.
2564
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2565
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2566
+$as_echo_n "checking whether the C compiler works... " >&6; }
2567
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2569
+# The possible output files:
2570
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2573
+for ac_file in $ac_files
2576
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2577
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2582
+if { { ac_try="$ac_link_default"
2583
+case "(($ac_try" in
2584
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585
+ *) ac_try_echo=$ac_try;;
2587
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588
+$as_echo "$ac_try_echo"; } >&5
2589
+ (eval "$ac_link_default") 2>&5
2591
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592
+ test $ac_status = 0; }; then :
2593
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2594
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2595
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2596
+# so that the user can short-circuit this test for compilers unknown to
2598
+for ac_file in $ac_files ''
2600
test -f "$ac_file" || continue
2602
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2604
- conftest.$ac_ext )
2605
- # This is the source file.
2606
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2609
# We found the default executable, but exeext='' is most
2613
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2614
- # FIXME: I believe we export ac_cv_exeext for Libtool,
2615
- # but it would be cool to find out if it's true. Does anybody
2616
- # maintain Libtool? --akim.
2617
- export ac_cv_exeext
2618
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2620
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2622
+ # We set ac_cv_exeext here because the later test for it is not
2623
+ # safe: cross compilers may not add the suffix if given an `-o'
2624
+ # argument, so we may need to know it at that point already.
2625
+ # Even if this section looks crufty: it has the advantage of
2626
+ # actually working.
2633
- echo "$as_me: failed program was:" >&5
2634
-sed 's/^/| /' conftest.$ac_ext >&5
2635
+test "$ac_cv_exeext" = no && ac_cv_exeext=
2637
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2638
-See \`config.log' for more details." >&5
2639
-echo "$as_me: error: C compiler cannot create executables
2640
-See \`config.log' for more details." >&2;}
2641
- { (exit 77); exit 77; }; }
2645
+if test -z "$ac_file"; then :
2646
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647
+$as_echo "no" >&6; }
2648
+$as_echo "$as_me: failed program was:" >&5
2649
+sed 's/^/| /' conftest.$ac_ext >&5
2651
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653
+{ as_fn_set_status 77
2654
+as_fn_error "C compiler cannot create executables
2655
+See \`config.log' for more details." "$LINENO" 5; }; }
2657
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2658
+$as_echo "yes" >&6; }
2660
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2661
+$as_echo_n "checking for C compiler default output file name... " >&6; }
2662
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2663
+$as_echo "$ac_file" >&6; }
2664
ac_exeext=$ac_cv_exeext
2665
-echo "$as_me:$LINENO: result: $ac_file" >&5
2666
-echo "${ECHO_T}$ac_file" >&6
2668
-# Check the compiler produces executables we can run. If not, either
2669
-# the compiler is broken, or we cross compile.
2670
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2671
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2672
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2673
-# If not cross compiling, check that we can run a simple program.
2674
-if test "$cross_compiling" != yes; then
2675
- if { ac_try='./$ac_file'
2676
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677
- (eval $ac_try) 2>&5
2679
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680
- (exit $ac_status); }; }; then
2681
- cross_compiling=no
2683
- if test "$cross_compiling" = maybe; then
2684
- cross_compiling=yes
2686
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2687
-If you meant to cross compile, use \`--host'.
2688
-See \`config.log' for more details." >&5
2689
-echo "$as_me: error: cannot run C compiled programs.
2690
-If you meant to cross compile, use \`--host'.
2691
-See \`config.log' for more details." >&2;}
2692
- { (exit 1); exit 1; }; }
2696
-echo "$as_me:$LINENO: result: yes" >&5
2697
-echo "${ECHO_T}yes" >&6
2699
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
2700
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2701
ac_clean_files=$ac_clean_files_save
2702
-# Check the compiler produces executables we can run. If not, either
2703
-# the compiler is broken, or we cross compile.
2704
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2705
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2706
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2707
-echo "${ECHO_T}$cross_compiling" >&6
2709
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2710
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2711
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2712
- (eval $ac_link) 2>&5
2713
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2714
+$as_echo_n "checking for suffix of executables... " >&6; }
2715
+if { { ac_try="$ac_link"
2716
+case "(($ac_try" in
2717
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718
+ *) ac_try_echo=$ac_try;;
2720
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721
+$as_echo "$ac_try_echo"; } >&5
2722
+ (eval "$ac_link") 2>&5
2724
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
- (exit $ac_status); }; then
2726
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727
+ test $ac_status = 0; }; then :
2728
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2729
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2730
# work properly (i.e., refer to `conftest.exe'), while it won't with
2731
@@ -1751,38 +2236,90 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
2732
for ac_file in conftest.exe conftest conftest.*; do
2733
test -f "$ac_file" || continue
2735
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2736
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2737
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2738
- export ac_cv_exeext
2744
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2745
-See \`config.log' for more details." >&5
2746
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2747
-See \`config.log' for more details." >&2;}
2748
- { (exit 1); exit 1; }; }
2751
-rm -f conftest$ac_cv_exeext
2752
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2753
-echo "${ECHO_T}$ac_cv_exeext" >&6
2754
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2755
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2756
+as_fn_error "cannot compute suffix of executables: cannot compile and link
2757
+See \`config.log' for more details." "$LINENO" 5; }
2759
+rm -f conftest conftest$ac_cv_exeext
2760
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2761
+$as_echo "$ac_cv_exeext" >&6; }
2763
rm -f conftest.$ac_ext
2764
EXEEXT=$ac_cv_exeext
2766
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2767
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2768
-if test "${ac_cv_objext+set}" = set; then
2769
- echo $ECHO_N "(cached) $ECHO_C" >&6
2771
- cat >conftest.$ac_ext <<_ACEOF
2773
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774
+/* end confdefs.h. */
2779
+FILE *f = fopen ("conftest.out", "w");
2780
+ return ferror (f) || fclose (f) != 0;
2786
-cat confdefs.h >>conftest.$ac_ext
2787
-cat >>conftest.$ac_ext <<_ACEOF
2788
+ac_clean_files="$ac_clean_files conftest.out"
2789
+# Check that the compiler produces executables we can run. If not, either
2790
+# the compiler is broken, or we cross compile.
2791
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2792
+$as_echo_n "checking whether we are cross compiling... " >&6; }
2793
+if test "$cross_compiling" != yes; then
2794
+ { { ac_try="$ac_link"
2795
+case "(($ac_try" in
2796
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797
+ *) ac_try_echo=$ac_try;;
2799
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800
+$as_echo "$ac_try_echo"; } >&5
2801
+ (eval "$ac_link") 2>&5
2803
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804
+ test $ac_status = 0; }
2805
+ if { ac_try='./conftest$ac_cv_exeext'
2806
+ { { case "(($ac_try" in
2807
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808
+ *) ac_try_echo=$ac_try;;
2810
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811
+$as_echo "$ac_try_echo"; } >&5
2812
+ (eval "$ac_try") 2>&5
2814
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815
+ test $ac_status = 0; }; }; then
2816
+ cross_compiling=no
2818
+ if test "$cross_compiling" = maybe; then
2819
+ cross_compiling=yes
2821
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2822
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823
+as_fn_error "cannot run C compiled programs.
2824
+If you meant to cross compile, use \`--host'.
2825
+See \`config.log' for more details." "$LINENO" 5; }
2829
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2830
+$as_echo "$cross_compiling" >&6; }
2832
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2833
+ac_clean_files=$ac_clean_files_save
2834
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2835
+$as_echo_n "checking for suffix of object files... " >&6; }
2836
+if test "${ac_cv_objext+set}" = set; then :
2837
+ $as_echo_n "(cached) " >&6
2839
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840
/* end confdefs.h. */
2843
@@ -1794,45 +2331,46 @@ main ()
2846
rm -f conftest.o conftest.obj
2847
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2848
- (eval $ac_compile) 2>&5
2850
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
- (exit $ac_status); }; then
2852
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2853
+if { { ac_try="$ac_compile"
2854
+case "(($ac_try" in
2855
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856
+ *) ac_try_echo=$ac_try;;
2858
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859
+$as_echo "$ac_try_echo"; } >&5
2860
+ (eval "$ac_compile") 2>&5
2862
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863
+ test $ac_status = 0; }; then :
2864
+ for ac_file in conftest.o conftest.obj conftest.*; do
2865
+ test -f "$ac_file" || continue;
2867
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2868
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2869
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2874
- echo "$as_me: failed program was:" >&5
2875
+ $as_echo "$as_me: failed program was:" >&5
2876
sed 's/^/| /' conftest.$ac_ext >&5
2878
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2879
-See \`config.log' for more details." >&5
2880
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
2881
-See \`config.log' for more details." >&2;}
2882
- { (exit 1); exit 1; }; }
2883
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2884
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885
+as_fn_error "cannot compute suffix of object files: cannot compile
2886
+See \`config.log' for more details." "$LINENO" 5; }
2889
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2891
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2892
-echo "${ECHO_T}$ac_cv_objext" >&6
2893
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2894
+$as_echo "$ac_cv_objext" >&6; }
2895
OBJEXT=$ac_cv_objext
2897
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2898
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2899
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
2900
- echo $ECHO_N "(cached) $ECHO_C" >&6
2901
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2902
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2903
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2904
+ $as_echo_n "(cached) " >&6
2906
- cat >conftest.$ac_ext <<_ACEOF
2909
-cat confdefs.h >>conftest.$ac_ext
2910
-cat >>conftest.$ac_ext <<_ACEOF
2911
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912
/* end confdefs.h. */
2915
@@ -1846,54 +2384,34 @@ main ()
2919
-rm -f conftest.$ac_objext
2920
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921
- (eval $ac_compile) 2>conftest.er1
2923
- grep -v '^ *+' conftest.er1 >conftest.err
2924
- rm -f conftest.er1
2925
- cat conftest.err >&5
2926
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927
- (exit $ac_status); } &&
2928
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2929
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930
- (eval $ac_try) 2>&5
2932
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933
- (exit $ac_status); }; } &&
2934
- { ac_try='test -s conftest.$ac_objext'
2935
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936
- (eval $ac_try) 2>&5
2938
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939
- (exit $ac_status); }; }; then
2940
+if ac_fn_c_try_compile "$LINENO"; then :
2943
- echo "$as_me: failed program was:" >&5
2944
-sed 's/^/| /' conftest.$ac_ext >&5
2947
+ ac_compiler_gnu=no
2949
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2950
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2954
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2955
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2956
-GCC=`test $ac_compiler_gnu = yes && echo yes`
2957
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2958
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2959
+if test $ac_compiler_gnu = yes; then
2964
ac_test_CFLAGS=${CFLAGS+set}
2965
ac_save_CFLAGS=$CFLAGS
2967
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2968
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2969
-if test "${ac_cv_prog_cc_g+set}" = set; then
2970
- echo $ECHO_N "(cached) $ECHO_C" >&6
2972
- cat >conftest.$ac_ext <<_ACEOF
2975
-cat confdefs.h >>conftest.$ac_ext
2976
-cat >>conftest.$ac_ext <<_ACEOF
2977
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2978
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
2979
+if test "${ac_cv_prog_cc_g+set}" = set; then :
2980
+ $as_echo_n "(cached) " >&6
2982
+ ac_save_c_werror_flag=$ac_c_werror_flag
2983
+ ac_c_werror_flag=yes
2984
+ ac_cv_prog_cc_g=no
2986
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987
/* end confdefs.h. */
2990
@@ -1904,38 +2422,49 @@ main ()
2994
-rm -f conftest.$ac_objext
2995
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996
- (eval $ac_compile) 2>conftest.er1
2998
- grep -v '^ *+' conftest.er1 >conftest.err
2999
- rm -f conftest.er1
3000
- cat conftest.err >&5
3001
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002
- (exit $ac_status); } &&
3003
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3004
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005
- (eval $ac_try) 2>&5
3007
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008
- (exit $ac_status); }; } &&
3009
- { ac_try='test -s conftest.$ac_objext'
3010
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011
- (eval $ac_try) 2>&5
3013
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014
- (exit $ac_status); }; }; then
3015
+if ac_fn_c_try_compile "$LINENO"; then :
3018
- echo "$as_me: failed program was:" >&5
3019
-sed 's/^/| /' conftest.$ac_ext >&5
3021
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022
+/* end confdefs.h. */
3032
+if ac_fn_c_try_compile "$LINENO"; then :
3036
+ ac_c_werror_flag=$ac_save_c_werror_flag
3038
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039
+/* end confdefs.h. */
3049
+if ac_fn_c_try_compile "$LINENO"; then :
3050
+ ac_cv_prog_cc_g=yes
3052
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3053
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3056
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3057
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060
+ ac_c_werror_flag=$ac_save_c_werror_flag
3062
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3063
+$as_echo "$ac_cv_prog_cc_g" >&6; }
3064
if test "$ac_test_CFLAGS" = set; then
3065
CFLAGS=$ac_save_CFLAGS
3066
elif test $ac_cv_prog_cc_g = yes; then
3067
@@ -1951,18 +2480,14 @@ else
3071
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3072
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3073
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
3074
- echo $ECHO_N "(cached) $ECHO_C" >&6
3075
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3076
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3077
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
3078
+ $as_echo_n "(cached) " >&6
3080
- ac_cv_prog_cc_stdc=no
3081
+ ac_cv_prog_cc_c89=no
3083
-cat >conftest.$ac_ext <<_ACEOF
3086
-cat confdefs.h >>conftest.$ac_ext
3087
-cat >>conftest.$ac_ext <<_ACEOF
3088
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089
/* end confdefs.h. */
3092
@@ -1990,12 +2515,17 @@ static char *f (char * (*g) (char **, in
3093
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3094
function prototypes and stuff, but not '\xHH' hex character constants.
3095
These don't provoke an error unfortunately, instead are silently treated
3096
- as 'x'. The following induces an error, until -std1 is added to get
3097
+ as 'x'. The following induces an error, until -std is added to get
3098
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3099
array size at least. It's necessary to write '\x00'==0 to get something
3100
- that's true only with -std1. */
3101
+ that's true only with -std. */
3102
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3104
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3105
+ inside strings and character constants. */
3107
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3109
int test (int i, double x);
3110
struct s1 {int (*f) (int a);};
3111
struct s2 {int (*f) (double a);};
3112
@@ -2010,201 +2540,37 @@ return f (e, argv, 0) != argv[0] || f
3116
-# Don't try gcc -ansi; that turns off useful extensions and
3117
-# breaks some systems' header files.
3118
-# AIX -qlanglvl=ansi
3119
-# Ultrix and OSF/1 -std1
3120
-# HP-UX 10.20 and later -Ae
3121
-# HP-UX older versions -Aa -D_HPUX_SOURCE
3122
-# SVR4 -Xc -D__EXTENSIONS__
3123
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3124
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3125
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3127
CC="$ac_save_CC $ac_arg"
3128
- rm -f conftest.$ac_objext
3129
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3130
- (eval $ac_compile) 2>conftest.er1
3132
- grep -v '^ *+' conftest.er1 >conftest.err
3133
- rm -f conftest.er1
3134
- cat conftest.err >&5
3135
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
- (exit $ac_status); } &&
3137
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3138
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139
- (eval $ac_try) 2>&5
3141
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142
- (exit $ac_status); }; } &&
3143
- { ac_try='test -s conftest.$ac_objext'
3144
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145
- (eval $ac_try) 2>&5
3147
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148
- (exit $ac_status); }; }; then
3149
- ac_cv_prog_cc_stdc=$ac_arg
3152
- echo "$as_me: failed program was:" >&5
3153
-sed 's/^/| /' conftest.$ac_ext >&5
3155
+ if ac_fn_c_try_compile "$LINENO"; then :
3156
+ ac_cv_prog_cc_c89=$ac_arg
3158
-rm -f conftest.err conftest.$ac_objext
3159
+rm -f core conftest.err conftest.$ac_objext
3160
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
3162
-rm -f conftest.$ac_ext conftest.$ac_objext
3163
+rm -f conftest.$ac_ext
3168
-case "x$ac_cv_prog_cc_stdc" in
3170
- echo "$as_me:$LINENO: result: none needed" >&5
3171
-echo "${ECHO_T}none needed" >&6 ;;
3173
+case "x$ac_cv_prog_cc_c89" in
3175
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3176
+$as_echo "none needed" >&6; } ;;
3178
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3179
+$as_echo "unsupported" >&6; } ;;
3181
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3182
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3183
- CC="$CC $ac_cv_prog_cc_stdc" ;;
3184
+ CC="$CC $ac_cv_prog_cc_c89"
3185
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3186
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3188
+if test "x$ac_cv_prog_cc_c89" != xno; then :
3190
-# Some people use a C++ compiler to compile C. Since we use `exit',
3191
-# in C++ we need to declare it. In case someone uses the same compiler
3192
-# for both compiling C and C++ we need to have the C++ compiler decide
3193
-# the declaration of exit, since it's the most demanding environment.
3194
-cat >conftest.$ac_ext <<_ACEOF
3195
-#ifndef __cplusplus
3199
-rm -f conftest.$ac_objext
3200
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201
- (eval $ac_compile) 2>conftest.er1
3203
- grep -v '^ *+' conftest.er1 >conftest.err
3204
- rm -f conftest.er1
3205
- cat conftest.err >&5
3206
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207
- (exit $ac_status); } &&
3208
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3209
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210
- (eval $ac_try) 2>&5
3212
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213
- (exit $ac_status); }; } &&
3214
- { ac_try='test -s conftest.$ac_objext'
3215
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216
- (eval $ac_try) 2>&5
3218
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219
- (exit $ac_status); }; }; then
3220
- for ac_declaration in \
3222
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
3223
- 'extern "C" void std::exit (int); using std::exit;' \
3224
- 'extern "C" void exit (int) throw ();' \
3225
- 'extern "C" void exit (int);' \
3226
- 'void exit (int);'
3228
- cat >conftest.$ac_ext <<_ACEOF
3231
-cat confdefs.h >>conftest.$ac_ext
3232
-cat >>conftest.$ac_ext <<_ACEOF
3233
-/* end confdefs.h. */
3235
-#include <stdlib.h>
3244
-rm -f conftest.$ac_objext
3245
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246
- (eval $ac_compile) 2>conftest.er1
3248
- grep -v '^ *+' conftest.er1 >conftest.err
3249
- rm -f conftest.er1
3250
- cat conftest.err >&5
3251
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252
- (exit $ac_status); } &&
3253
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3254
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255
- (eval $ac_try) 2>&5
3257
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
- (exit $ac_status); }; } &&
3259
- { ac_try='test -s conftest.$ac_objext'
3260
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261
- (eval $ac_try) 2>&5
3263
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264
- (exit $ac_status); }; }; then
3267
- echo "$as_me: failed program was:" >&5
3268
-sed 's/^/| /' conftest.$ac_ext >&5
3272
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273
- cat >conftest.$ac_ext <<_ACEOF
3276
-cat confdefs.h >>conftest.$ac_ext
3277
-cat >>conftest.$ac_ext <<_ACEOF
3278
-/* end confdefs.h. */
3288
-rm -f conftest.$ac_objext
3289
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3290
- (eval $ac_compile) 2>conftest.er1
3292
- grep -v '^ *+' conftest.er1 >conftest.err
3293
- rm -f conftest.er1
3294
- cat conftest.err >&5
3295
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
- (exit $ac_status); } &&
3297
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3298
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299
- (eval $ac_try) 2>&5
3301
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302
- (exit $ac_status); }; } &&
3303
- { ac_try='test -s conftest.$ac_objext'
3304
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305
- (eval $ac_try) 2>&5
3307
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308
- (exit $ac_status); }; }; then
3311
- echo "$as_me: failed program was:" >&5
3312
-sed 's/^/| /' conftest.$ac_ext >&5
3315
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3318
-if test -n "$ac_declaration"; then
3319
- echo '#ifdef __cplusplus' >>confdefs.h
3320
- echo $ac_declaration >>confdefs.h
3321
- echo '#endif' >>confdefs.h
3325
- echo "$as_me: failed program was:" >&5
3326
-sed 's/^/| /' conftest.$ac_ext >&5
3329
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3331
ac_cpp='$CPP $CPPFLAGS'
3332
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333
@@ -2216,10 +2582,10 @@ for ac_prog in flex lex
3335
# Extract the first word of "$ac_prog", so it can be a program name with args.
3336
set dummy $ac_prog; ac_word=$2
3337
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3338
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3339
-if test "${ac_cv_prog_LEX+set}" = set; then
3340
- echo $ECHO_N "(cached) $ECHO_C" >&6
3341
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342
+$as_echo_n "checking for $ac_word... " >&6; }
3343
+if test "${ac_cv_prog_LEX+set}" = set; then :
3344
+ $as_echo_n "(cached) " >&6
3346
if test -n "$LEX"; then
3347
ac_cv_prog_LEX="$LEX" # Let the user override the test.
3348
@@ -2229,268 +2595,154 @@ for as_dir in $PATH
3351
test -z "$as_dir" && as_dir=.
3352
- for ac_exec_ext in '' $ac_executable_extensions; do
3353
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354
+ for ac_exec_ext in '' $ac_executable_extensions; do
3355
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356
ac_cv_prog_LEX="$ac_prog"
3357
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3358
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369
if test -n "$LEX"; then
3370
- echo "$as_me:$LINENO: result: $LEX" >&5
3371
-echo "${ECHO_T}$LEX" >&6
3372
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
3373
+$as_echo "$LEX" >&6; }
3375
- echo "$as_me:$LINENO: result: no" >&5
3376
-echo "${ECHO_T}no" >&6
3377
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378
+$as_echo "no" >&6; }
3382
test -n "$LEX" && break
3384
test -n "$LEX" || LEX=":"
3386
-if test -z "$LEXLIB"
3388
- echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3389
-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3390
-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3391
- echo $ECHO_N "(cached) $ECHO_C" >&6
3393
- ac_check_lib_save_LIBS=$LIBS
3395
-cat >conftest.$ac_ext <<_ACEOF
3398
-cat confdefs.h >>conftest.$ac_ext
3399
-cat >>conftest.$ac_ext <<_ACEOF
3400
-/* end confdefs.h. */
3402
-/* Override any gcc2 internal prototype to avoid an error. */
3405
+if test "x$LEX" != "x:"; then
3406
+ cat >conftest.l <<_ACEOF
3412
+e { yyless (input () != 0); }
3413
+f { unput (yytext[0]); }
3414
+. { BEGIN INITIAL; }
3416
+#ifdef YYTEXT_POINTER
3417
+extern char *yytext;
3419
-/* We use char because int might match the return type of a gcc2
3420
- builtin and then its argument prototype would still apply. */
3429
+ return ! yylex () + ! yywrap ();
3432
-rm -f conftest.$ac_objext conftest$ac_exeext
3433
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3434
- (eval $ac_link) 2>conftest.er1
3436
- grep -v '^ *+' conftest.er1 >conftest.err
3437
- rm -f conftest.er1
3438
- cat conftest.err >&5
3439
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440
- (exit $ac_status); } &&
3441
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3442
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443
- (eval $ac_try) 2>&5
3445
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446
- (exit $ac_status); }; } &&
3447
- { ac_try='test -s conftest$ac_exeext'
3448
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449
- (eval $ac_try) 2>&5
3451
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452
- (exit $ac_status); }; }; then
3453
- ac_cv_lib_fl_yywrap=yes
3454
+{ { ac_try="$LEX conftest.l"
3455
+case "(($ac_try" in
3456
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457
+ *) ac_try_echo=$ac_try;;
3459
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460
+$as_echo "$ac_try_echo"; } >&5
3461
+ (eval "$LEX conftest.l") 2>&5
3463
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464
+ test $ac_status = 0; }
3465
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
3466
+$as_echo_n "checking lex output file root... " >&6; }
3467
+if test "${ac_cv_prog_lex_root+set}" = set; then :
3468
+ $as_echo_n "(cached) " >&6
3470
- echo "$as_me: failed program was:" >&5
3471
-sed 's/^/| /' conftest.$ac_ext >&5
3473
-ac_cv_lib_fl_yywrap=no
3474
+if test -f lex.yy.c; then
3475
+ ac_cv_prog_lex_root=lex.yy
3476
+elif test -f lexyy.c; then
3477
+ ac_cv_prog_lex_root=lexyy
3479
+ as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
3481
-rm -f conftest.err conftest.$ac_objext \
3482
- conftest$ac_exeext conftest.$ac_ext
3483
-LIBS=$ac_check_lib_save_LIBS
3485
-echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3486
-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3487
-if test $ac_cv_lib_fl_yywrap = yes; then
3490
- echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3491
-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3492
-if test "${ac_cv_lib_l_yywrap+set}" = set; then
3493
- echo $ECHO_N "(cached) $ECHO_C" >&6
3495
- ac_check_lib_save_LIBS=$LIBS
3497
-cat >conftest.$ac_ext <<_ACEOF
3500
-cat confdefs.h >>conftest.$ac_ext
3501
-cat >>conftest.$ac_ext <<_ACEOF
3502
-/* end confdefs.h. */
3504
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
3505
+$as_echo "$ac_cv_prog_lex_root" >&6; }
3506
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3508
-/* Override any gcc2 internal prototype to avoid an error. */
3512
-/* We use char because int might match the return type of a gcc2
3513
- builtin and then its argument prototype would still apply. */
3523
-rm -f conftest.$ac_objext conftest$ac_exeext
3524
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3525
- (eval $ac_link) 2>conftest.er1
3527
- grep -v '^ *+' conftest.er1 >conftest.err
3528
- rm -f conftest.er1
3529
- cat conftest.err >&5
3530
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531
- (exit $ac_status); } &&
3532
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3533
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534
- (eval $ac_try) 2>&5
3536
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537
- (exit $ac_status); }; } &&
3538
- { ac_try='test -s conftest$ac_exeext'
3539
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540
- (eval $ac_try) 2>&5
3542
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543
- (exit $ac_status); }; }; then
3544
- ac_cv_lib_l_yywrap=yes
3545
+if test -z "${LEXLIB+set}"; then
3546
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
3547
+$as_echo_n "checking lex library... " >&6; }
3548
+if test "${ac_cv_lib_lex+set}" = set; then :
3549
+ $as_echo_n "(cached) " >&6
3551
- echo "$as_me: failed program was:" >&5
3552
-sed 's/^/| /' conftest.$ac_ext >&5
3554
-ac_cv_lib_l_yywrap=no
3556
-rm -f conftest.err conftest.$ac_objext \
3557
- conftest$ac_exeext conftest.$ac_ext
3558
-LIBS=$ac_check_lib_save_LIBS
3560
-echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3561
-echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3562
-if test $ac_cv_lib_l_yywrap = yes; then
3564
+ ac_save_LIBS=$LIBS
3565
+ ac_cv_lib_lex='none needed'
3566
+ for ac_lib in '' -lfl -ll; do
3567
+ LIBS="$ac_lib $ac_save_LIBS"
3568
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569
+/* end confdefs.h. */
3570
+`cat $LEX_OUTPUT_ROOT.c`
3572
+if ac_fn_c_try_link "$LINENO"; then :
3573
+ ac_cv_lib_lex=$ac_lib
3575
+rm -f core conftest.err conftest.$ac_objext \
3576
+ conftest$ac_exeext conftest.$ac_ext
3577
+ test "$ac_cv_lib_lex" != 'none needed' && break
3579
+ LIBS=$ac_save_LIBS
3583
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
3584
+$as_echo "$ac_cv_lib_lex" >&6; }
3585
+ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3588
-if test "x$LEX" != "x:"; then
3589
- echo "$as_me:$LINENO: checking lex output file root" >&5
3590
-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3591
-if test "${ac_cv_prog_lex_root+set}" = set; then
3592
- echo $ECHO_N "(cached) $ECHO_C" >&6
3594
- # The minimal lex program is just a single line: %%. But some broken lexes
3595
-# (Solaris, I think it was) want two %% lines, so accommodate them.
3596
-cat >conftest.l <<_ACEOF
3600
-{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3601
- (eval $LEX conftest.l) 2>&5
3603
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604
- (exit $ac_status); }
3605
-if test -f lex.yy.c; then
3606
- ac_cv_prog_lex_root=lex.yy
3607
-elif test -f lexyy.c; then
3608
- ac_cv_prog_lex_root=lexyy
3610
- { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3611
-echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3612
- { (exit 1); exit 1; }; }
3615
-echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3616
-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3618
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3620
-echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3621
-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3622
-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3623
- echo $ECHO_N "(cached) $ECHO_C" >&6
3624
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
3625
+$as_echo_n "checking whether yytext is a pointer... " >&6; }
3626
+if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
3627
+ $as_echo_n "(cached) " >&6
3629
# POSIX says lex can declare yytext either as a pointer or an array; the
3630
-# default is implementation-dependent. Figure out which it is, since
3631
+# default is implementation-dependent. Figure out which it is, since
3632
# not all implementations provide the %pointer and %array declarations.
3633
ac_cv_prog_lex_yytext_pointer=no
3634
-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3636
-LIBS="$LIBS $LEXLIB"
3637
-cat >conftest.$ac_ext <<_ACEOF
3638
+LIBS="$LEXLIB $ac_save_LIBS"
3639
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640
+/* end confdefs.h. */
3641
+#define YYTEXT_POINTER 1
3642
`cat $LEX_OUTPUT_ROOT.c`
3644
-rm -f conftest.$ac_objext conftest$ac_exeext
3645
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3646
- (eval $ac_link) 2>conftest.er1
3648
- grep -v '^ *+' conftest.er1 >conftest.err
3649
- rm -f conftest.er1
3650
- cat conftest.err >&5
3651
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652
- (exit $ac_status); } &&
3653
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3654
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655
- (eval $ac_try) 2>&5
3657
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658
- (exit $ac_status); }; } &&
3659
- { ac_try='test -s conftest$ac_exeext'
3660
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661
- (eval $ac_try) 2>&5
3663
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664
- (exit $ac_status); }; }; then
3665
+if ac_fn_c_try_link "$LINENO"; then :
3666
ac_cv_prog_lex_yytext_pointer=yes
3668
- echo "$as_me: failed program was:" >&5
3669
-sed 's/^/| /' conftest.$ac_ext >&5
3672
-rm -f conftest.err conftest.$ac_objext \
3673
- conftest$ac_exeext conftest.$ac_ext
3674
+rm -f core conftest.err conftest.$ac_objext \
3675
+ conftest$ac_exeext conftest.$ac_ext
3677
-rm -f "${LEX_OUTPUT_ROOT}.c"
3680
-echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3681
-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3682
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
3683
+$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3684
if test $ac_cv_prog_lex_yytext_pointer = yes; then
3686
-cat >>confdefs.h <<\_ACEOF
3687
-#define YYTEXT_POINTER 1
3689
+$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3692
+rm -f conftest.l $LEX_OUTPUT_ROOT.c
3695
for ac_prog in 'bison -y' byacc
3697
# Extract the first word of "$ac_prog", so it can be a program name with args.
3698
set dummy $ac_prog; ac_word=$2
3699
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3700
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3701
-if test "${ac_cv_prog_YACC+set}" = set; then
3702
- echo $ECHO_N "(cached) $ECHO_C" >&6
3703
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704
+$as_echo_n "checking for $ac_word... " >&6; }
3705
+if test "${ac_cv_prog_YACC+set}" = set; then :
3706
+ $as_echo_n "(cached) " >&6
3708
if test -n "$YACC"; then
3709
ac_cv_prog_YACC="$YACC" # Let the user override the test.
3710
@@ -2500,32 +2752,34 @@ for as_dir in $PATH
3713
test -z "$as_dir" && as_dir=.
3714
- for ac_exec_ext in '' $ac_executable_extensions; do
3715
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3716
+ for ac_exec_ext in '' $ac_executable_extensions; do
3717
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718
ac_cv_prog_YACC="$ac_prog"
3719
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730
YACC=$ac_cv_prog_YACC
3731
if test -n "$YACC"; then
3732
- echo "$as_me:$LINENO: result: $YACC" >&5
3733
-echo "${ECHO_T}$YACC" >&6
3734
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3735
+$as_echo "$YACC" >&6; }
3737
- echo "$as_me:$LINENO: result: no" >&5
3738
-echo "${ECHO_T}no" >&6
3739
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740
+$as_echo "no" >&6; }
3744
test -n "$YACC" && break
3746
test -n "$YACC" || YACC="yacc"
3749
- ac_config_files="$ac_config_files Makefile"
3750
+ac_config_files="$ac_config_files Makefile"
3752
cat >confcache <<\_ACEOF
3753
# This file is a shell script that caches the results of configure
3754
@@ -2545,39 +2799,59 @@ _ACEOF
3756
# The following way of writing the cache mishandles newlines in values,
3757
# but we know of no workaround that is simple, portable, and efficient.
3758
-# So, don't put newlines in cache variables' values.
3759
+# So, we kill variables containing newlines.
3760
# Ultrix sh set writes to stderr and can't be redirected directly,
3761
# and sets the high bit in the cache file unless we assign to the vars.
3764
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3765
+ eval ac_val=\$$ac_var
3766
+ case $ac_val in #(
3768
+ case $ac_var in #(
3769
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3770
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3772
+ case $ac_var in #(
3773
+ _ | IFS | as_nl) ;; #(
3774
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3775
+ *) { eval $ac_var=; unset $ac_var;} ;;
3781
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
3783
- # `set' does not quote correctly, so add quotes (double-quote
3784
- # substitution turns \\\\ into \\, and sed turns \\ into \).
3785
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
3786
+ *${as_nl}ac_space=\ *)
3787
+ # `set' does not quote correctly, so add quotes: double-quote
3788
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
3791
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3795
# `set' quotes correctly as required by POSIX, so do not add quotes.
3797
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3798
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3806
+ /^ac_cv_env_/b end
3810
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3812
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3813
- : end' >>confcache
3814
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
3815
- if test -w $cache_file; then
3816
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3817
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3819
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3820
+ if test -w "$cache_file"; then
3821
+ test "x$cache_file" != "x/dev/null" &&
3822
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3823
+$as_echo "$as_me: updating cache $cache_file" >&6;}
3824
cat confcache >$cache_file
3826
- echo "not updating unwritable cache $cache_file"
3827
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3828
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3832
@@ -2586,63 +2860,54 @@ test "x$prefix" = xNONE && prefix=$ac_de
3833
# Let make expand exec_prefix.
3834
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3836
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
3837
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3838
-# trailing colons and then remove the whole line if VPATH becomes empty
3839
-# (actually we leave an empty line to preserve line numbers).
3840
-if test "x$srcdir" = x.; then
3841
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
3842
-s/:*\$(srcdir):*/:/;
3843
-s/:*\${srcdir}:*/:/;
3845
-s/^\([^=]*=[ ]*\):*/\1/;
3851
# Transform confdefs.h into DEFS.
3852
# Protect against shell expansion while executing Makefile rules.
3853
# Protect against Makefile macro expansion.
3855
# If the first sed substitution is executed (which looks for macros that
3856
-# take arguments), then we branch to the quote section. Otherwise,
3857
+# take arguments), then branch to the quote section. Otherwise,
3858
# look for a macro that doesn't take arguments.
3859
-cat >confdef2opt.sed <<\_ACEOF
3869
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3871
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3873
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3874
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3878
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3884
-# We use echo to avoid assuming a particular line-breaking character.
3885
-# The extra dot is to prevent the shell from consuming trailing
3886
-# line-breaks from the sub-command output. A line-break within
3887
-# single-quotes doesn't work because, if this script is created in a
3888
-# platform that uses two characters for line-breaks (e.g., DOS), tr
3890
-ac_LF_and_DOT=`echo; echo .`
3891
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3892
-rm -f confdef2opt.sed
3895
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3908
+DEFS=`sed -n "$ac_script" confdefs.h`
3913
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3914
# 1. Remove the extension, and $U if already installed.
3915
- ac_i=`echo "$ac_i" |
3916
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3918
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3919
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3920
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3921
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3922
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3923
+ # will be set to the directory where LIBOBJS objects are built.
3924
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3925
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3929
@@ -2651,11 +2916,13 @@ LTLIBOBJS=$ac_ltlibobjs
3932
: ${CONFIG_STATUS=./config.status}
3934
ac_clean_files_save=$ac_clean_files
3935
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3936
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3937
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
3938
-cat >$CONFIG_STATUS <<_ACEOF
3939
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3940
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3942
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3944
# Generated by $as_me.
3945
# Run this file to recreate the current configuration.
3946
@@ -2665,81 +2932,252 @@ cat >$CONFIG_STATUS <<_ACEOF
3950
-SHELL=\${CONFIG_SHELL-$SHELL}
3953
-cat >>$CONFIG_STATUS <<\_ACEOF
3954
-## --------------------- ##
3955
-## M4sh Initialization. ##
3956
-## --------------------- ##
3957
+SHELL=\${CONFIG_SHELL-$SHELL}
3960
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3961
+## -------------------- ##
3962
+## M4sh Initialization. ##
3963
+## -------------------- ##
3965
-# Be Bourne compatible
3966
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3967
+# Be more Bourne compatible
3968
+DUALCASE=1; export DUALCASE # for MKS sh
3969
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3972
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3973
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3974
# is contrary to our usage. Disable this feature.
3975
alias -g '${1+"$@"}'='"$@"'
3976
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3978
+ setopt NO_GLOB_SUBST
3980
+ case `(set -o) 2>/dev/null` in #(
3982
+ set -o posix ;; #(
3987
-DUALCASE=1; export DUALCASE # for MKS sh
3989
-# Support unset when possible.
3990
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3998
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
3999
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4000
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4001
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4002
+# Prefer a ksh shell builtin over an external printf program on Solaris,
4003
+# but without wasting forks for bash or zsh.
4004
+if test -z "$BASH_VERSION$ZSH_VERSION" \
4005
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4006
+ as_echo='print -r --'
4007
+ as_echo_n='print -rn --'
4008
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4009
+ as_echo='printf %s\n'
4010
+ as_echo_n='printf %s'
4012
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4013
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4014
+ as_echo_n='/usr/ucb/echo -n'
4016
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4017
+ as_echo_n_body='eval
4021
+ expr "X$arg" : "X\\(.*\\)$as_nl";
4022
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4024
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4026
+ export as_echo_n_body
4027
+ as_echo_n='sh -c $as_echo_n_body as_echo'
4029
+ export as_echo_body
4030
+ as_echo='sh -c $as_echo_body as_echo'
4033
+# The user is always right.
4034
+if test "${PATH_SEPARATOR+set}" != set; then
4036
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4037
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4038
+ PATH_SEPARATOR=';'
4043
-# Work around bugs in pre-3.0 UWIN ksh.
4044
-$as_unset ENV MAIL MAILPATH
4046
+# We need space, tab and new line, in precisely that order. Quoting is
4047
+# there to prevent editors from complaining about space-tab.
4048
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4049
+# splitting by setting IFS to empty value.)
4052
+# Find who we are. Look in the path if we contain no directory separator.
4054
+ *[\\/]* ) as_myself=$0 ;;
4055
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056
+for as_dir in $PATH
4059
+ test -z "$as_dir" && as_dir=.
4060
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4066
+# We did not find ourselves, most probably we were run as `sh COMMAND'
4067
+# in which case we are not to be found in the path.
4068
+if test "x$as_myself" = x; then
4071
+if test ! -f "$as_myself"; then
4072
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4076
+# Unset variables that we do not need and which cause bugs (e.g. in
4077
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4078
+# suppresses any "Segmentation fault" message there. '((' could
4079
+# trigger a bug in pdksh 5.2.14.
4080
+for as_var in BASH_ENV ENV MAIL MAILPATH
4081
+do eval test x\${$as_var+set} = xset \
4082
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4090
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4091
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4092
- LC_TELEPHONE LC_TIME
4094
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4095
- eval $as_var=C; export $as_var
4106
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4109
+# as_fn_error ERROR [LINENO LOG_FD]
4110
+# ---------------------------------
4111
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4112
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4113
+# script with status $?, using 1 if that was 0.
4116
+ as_status=$?; test $as_status -eq 0 && as_status=1
4117
+ if test "$3"; then
4118
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4119
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4121
+ $as_echo "$as_me: error: $1" >&2
4122
+ as_fn_exit $as_status
4126
+# as_fn_set_status STATUS
4127
+# -----------------------
4128
+# Set $? to STATUS, without forking.
4129
+as_fn_set_status ()
4132
+} # as_fn_set_status
4134
-# Required to use basename.
4135
-if expr a : '\(a\)' >/dev/null 2>&1; then
4136
+# as_fn_exit STATUS
4137
+# -----------------
4138
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4142
+ as_fn_set_status $1
4148
+# Portably unset VAR.
4151
+ { eval $1=; unset $1;}
4153
+as_unset=as_fn_unset
4154
+# as_fn_append VAR VALUE
4155
+# ----------------------
4156
+# Append the text in VALUE to the end of the definition contained in VAR. Take
4157
+# advantage of any shell optimizations that allow amortized linear growth over
4158
+# repeated appends, instead of the typical quadratic growth present in naive
4160
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4161
+ eval 'as_fn_append ()
4172
+# as_fn_arith ARG...
4173
+# ------------------
4174
+# Perform arithmetic evaluation on the ARGs, and store the result in the
4175
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
4176
+# must be portable across $(()) and expr.
4177
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4178
+ eval 'as_fn_arith ()
4185
+ as_val=`expr "$@" || test $? -eq 1`
4190
+if expr a : '\(a\)' >/dev/null 2>&1 &&
4191
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
4197
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4198
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4199
as_basename=basename
4204
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4205
+ as_dirname=dirname
4210
-# Name of the executable.
4211
-as_me=`$as_basename "$0" ||
4212
+as_me=`$as_basename -- "$0" ||
4213
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4214
X"$0" : 'X\(//\)$' \| \
4215
- X"$0" : 'X\(/\)$' \| \
4216
- . : '\(.\)' 2>/dev/null ||
4218
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4219
- /^X\/\(\/\/\)$/{ s//\1/; q; }
4220
- /^X\/\(\/\).*/{ s//\1/; q; }
4222
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4224
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
4239
-# PATH needs CR, and LINENO needs CR and PATH.
4240
# Avoid depending upon Character Ranges.
4241
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4242
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4243
@@ -2747,148 +3185,123 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
4244
as_cr_digits='0123456789'
4245
as_cr_alnum=$as_cr_Letters$as_cr_digits
4247
-# The user is always right.
4248
-if test "${PATH_SEPARATOR+set}" != set; then
4249
- echo "#! /bin/sh" >conf$$.sh
4250
- echo "exit 0" >>conf$$.sh
4251
- chmod +x conf$$.sh
4252
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4253
- PATH_SEPARATOR=';'
4261
- as_lineno_1=$LINENO
4262
- as_lineno_2=$LINENO
4263
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4264
- test "x$as_lineno_1" != "x$as_lineno_2" &&
4265
- test "x$as_lineno_3" = "x$as_lineno_2" || {
4266
- # Find who we are. Look in the path if we contain no path at all
4267
- # relative or not.
4269
- *[\\/]* ) as_myself=$0 ;;
4270
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271
-for as_dir in $PATH
4274
- test -z "$as_dir" && as_dir=.
4275
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4280
- # We did not find ourselves, most probably we were run as `sh COMMAND'
4281
- # in which case we are not to be found in the path.
4282
- if test "x$as_myself" = x; then
4285
- if test ! -f "$as_myself"; then
4286
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4287
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4288
- { (exit 1); exit 1; }; }
4290
- case $CONFIG_SHELL in
4292
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4296
- test -z "$as_dir" && as_dir=.
4297
- for as_base in sh bash ksh sh5; do
4300
- if ("$as_dir/$as_base" -c '
4301
- as_lineno_1=$LINENO
4302
- as_lineno_2=$LINENO
4303
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4304
- test "x$as_lineno_1" != "x$as_lineno_2" &&
4305
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4306
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4307
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4308
- CONFIG_SHELL=$as_dir/$as_base
4309
- export CONFIG_SHELL
4310
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4318
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4319
- # uniformly replaced by the line number. The first 'sed' inserts a
4320
- # line-number line before each line; the second 'sed' does the real
4321
- # work. The second script uses 'N' to pair each line-number line
4322
- # with the numbered line, and appends trailing '-' during
4323
- # substitution so that $LINENO is not a special case at line end.
4324
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4325
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4326
- sed '=' <$as_myself |
4331
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4334
- s,^['$as_cr_digits']*\n,,
4335
- ' >$as_me.lineno &&
4336
- chmod +x $as_me.lineno ||
4337
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4338
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4339
- { (exit 1); exit 1; }; }
4341
- # Don't try to exec as it changes $[0], causing all sort of problems
4342
- # (the dirname of $[0] is not the place where we might find the
4343
- # original and so on. Autoconf is especially sensible to this).
4345
- # Exit status is that of the last command.
4350
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4351
- *c*,-n*) ECHO_N= ECHO_C='
4353
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4354
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4355
+ECHO_C= ECHO_N= ECHO_T=
4356
+case `echo -n x` in #(((((
4358
+ case `echo 'xy\c'` in
4359
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4361
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4368
-if expr a : '\(a\)' >/dev/null 2>&1; then
4370
+rm -f conf$$ conf$$.exe conf$$.file
4371
+if test -d conf$$.dir; then
4372
+ rm -f conf$$.dir/conf$$.file
4376
+ mkdir conf$$.dir 2>/dev/null
4379
-rm -f conf$$ conf$$.exe conf$$.file
4381
-if ln -s conf$$.file conf$$ 2>/dev/null; then
4382
- # We could just check for DJGPP; but this test a) works b) is more generic
4383
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4384
- if test -f conf$$.exe; then
4385
- # Don't use ln at all; we don't have any links
4388
+if (echo >conf$$.file) 2>/dev/null; then
4389
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
4391
+ # ... but there are two gotchas:
4392
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4393
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4394
+ # In both cases, we have to default to `cp -p'.
4395
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4397
+ elif ln conf$$.file conf$$ 2>/dev/null; then
4402
-elif ln conf$$.file conf$$ 2>/dev/null; then
4407
-rm -f conf$$ conf$$.exe conf$$.file
4408
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4409
+rmdir conf$$.dir 2>/dev/null
4414
+# Create "$as_dir" as a directory, including parents if necessary.
4418
+ case $as_dir in #(
4419
+ -*) as_dir=./$as_dir;;
4421
+ test -d "$as_dir" || eval $as_mkdir_p || {
4424
+ case $as_dir in #(
4425
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4426
+ *) as_qdir=$as_dir;;
4428
+ as_dirs="'$as_qdir' $as_dirs"
4429
+ as_dir=`$as_dirname -- "$as_dir" ||
4430
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4431
+ X"$as_dir" : 'X\(//\)[^/]' \| \
4432
+ X"$as_dir" : 'X\(//\)$' \| \
4433
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4434
+$as_echo X"$as_dir" |
4435
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4439
+ /^X\(\/\/\)[^/].*/{
4452
+ test -d "$as_dir" && break
4454
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
4455
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4459
if mkdir -p . 2>/dev/null; then
4461
+ as_mkdir_p='mkdir -p "$as_dir"'
4463
test -d ./-p && rmdir ./-p
4467
-as_executable_p="test -f"
4468
+if test -x / >/dev/null 2>&1; then
4469
+ as_test_x='test -x'
4471
+ if ls -dL / >/dev/null 2>&1; then
4478
+ if test -d "$1"; then
4484
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4485
+ ???[sx]*):;;*)false;;esac;fi
4489
+as_executable_p=$as_test_x
4491
# Sed expression to map a string onto a valid CPP name.
4492
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4493
@@ -2897,31 +3310,20 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
4494
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4498
-# We need space, tab and new line, in precisely that order.
4507
+## ----------------------------------- ##
4508
+## Main body of $CONFIG_STATUS script. ##
4509
+## ----------------------------------- ##
4511
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4513
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
4514
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4515
+# Save the log message, to keep $0 and so on meaningful, and to
4516
# report actual input values of CONFIG_FILES etc. instead of their
4517
-# values after options handling. Logging --version etc. is OK.
4521
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4522
-## Running $as_me. ##
4527
+# values after options handling.
4529
This file was extended by gnats $as_me 4.1.0, which was
4530
-generated by GNU Autoconf 2.59. Invocation command line was
4531
+generated by GNU Autoconf 2.65. Invocation command line was
4533
CONFIG_FILES = $CONFIG_FILES
4534
CONFIG_HEADERS = $CONFIG_HEADERS
4535
@@ -2929,124 +3331,110 @@ generated by GNU Autoconf 2.59. Invocat
4536
CONFIG_COMMANDS = $CONFIG_COMMANDS
4540
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4542
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
4547
-# Files that config.status was made for.
4548
-if test -n "$ac_config_files"; then
4549
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4551
+case $ac_config_files in *"
4552
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
4555
-if test -n "$ac_config_headers"; then
4556
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4559
-if test -n "$ac_config_links"; then
4560
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4563
-if test -n "$ac_config_commands"; then
4564
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4566
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4567
+# Files that config.status was made for.
4568
+config_files="$ac_config_files"
4570
-cat >>$CONFIG_STATUS <<\_ACEOF
4573
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4575
-\`$as_me' instantiates files from templates according to the
4576
-current configuration.
4577
+\`$as_me' instantiates files and other configuration actions
4578
+from templates according to the current configuration. Unless the files
4579
+and actions are specified as TAGs, all are instantiated by default.
4581
-Usage: $0 [OPTIONS] [FILE]...
4582
+Usage: $0 [OPTION]... [TAG]...
4584
-h, --help print this help, then exit
4585
- -V, --version print version number, then exit
4586
- -q, --quiet do not print progress messages
4587
+ -V, --version print version number and configuration settings, then exit
4588
+ --config print configuration, then exit
4589
+ -q, --quiet, --silent
4590
+ do not print progress messages
4591
-d, --debug don't remove temporary files
4592
--recheck update $as_me by reconfiguring in the same conditions
4593
- --file=FILE[:TEMPLATE]
4594
- instantiate the configuration file FILE
4595
+ --file=FILE[:TEMPLATE]
4596
+ instantiate the configuration file FILE
4598
Configuration files:
4601
-Report bugs to <bug-autoconf@gnu.org>."
4603
+Report bugs to <bug-gnats@gnu.org>."
4605
-cat >>$CONFIG_STATUS <<_ACEOF
4607
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4608
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4610
gnats config.status 4.1.0
4611
-configured by $0, generated by GNU Autoconf 2.59,
4612
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4613
+configured by $0, generated by GNU Autoconf 2.65,
4614
+ with options \\"\$ac_cs_config\\"
4616
-Copyright (C) 2003 Free Software Foundation, Inc.
4617
+Copyright (C) 2009 Free Software Foundation, Inc.
4618
This config.status script is free software; the Free Software Foundation
4619
gives unlimited permission to copy, distribute and modify it."
4624
+test -n "\$AWK" || AWK=awk
4627
-cat >>$CONFIG_STATUS <<\_ACEOF
4628
-# If no file are specified by the user, then we need to provide default
4629
-# value. By we need to know if files were specified by the user.
4630
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4631
+# The default lists apply if the user does not specify any file.
4637
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
4638
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4639
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
4640
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4649
- *) # This is not an option, so the user has probably given explicit
4652
- ac_need_defaults=false;;
4656
# Handling of the options.
4658
-cat >>$CONFIG_STATUS <<\_ACEOF
4659
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4661
- --version | --vers* | -V )
4662
- echo "$ac_cs_version"; exit 0 ;;
4664
- # Conflict between --help and --header
4665
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
4666
-Try \`$0 --help' for more information." >&5
4667
-echo "$as_me: error: ambiguous option: $1
4668
-Try \`$0 --help' for more information." >&2;}
4669
- { (exit 1); exit 1; }; };;
4670
- --help | --hel | -h )
4671
- echo "$ac_cs_usage"; exit 0 ;;
4672
- --debug | --d* | -d )
4673
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4674
+ $as_echo "$ac_cs_version"; exit ;;
4675
+ --config | --confi | --conf | --con | --co | --c )
4676
+ $as_echo "$ac_cs_config"; exit ;;
4677
+ --debug | --debu | --deb | --de | --d | -d )
4679
--file | --fil | --fi | --f )
4681
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4682
- ac_need_defaults=false;;
4683
- --header | --heade | --head | --hea )
4685
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4686
+ case $ac_optarg in
4687
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4689
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
4690
ac_need_defaults=false;;
4691
+ --he | --h | --help | --hel | -h )
4692
+ $as_echo "$ac_cs_usage"; exit ;;
4693
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4694
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4698
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4699
-Try \`$0 --help' for more information." >&5
4700
-echo "$as_me: error: unrecognized option: $1
4701
-Try \`$0 --help' for more information." >&2;}
4702
- { (exit 1); exit 1; }; } ;;
4703
+ -*) as_fn_error "unrecognized option: \`$1'
4704
+Try \`$0 --help' for more information." ;;
4706
- *) ac_config_targets="$ac_config_targets $1" ;;
4707
+ *) as_fn_append ac_config_targets " $1"
4708
+ ac_need_defaults=false ;;
4712
@@ -3060,30 +3448,44 @@ if $ac_cs_silent; then
4716
-cat >>$CONFIG_STATUS <<_ACEOF
4717
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4718
if \$ac_cs_recheck; then
4719
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4720
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4721
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4723
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4724
+ CONFIG_SHELL='$SHELL'
4725
+ export CONFIG_SHELL
4730
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4734
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4735
+## Running $as_me. ##
4737
+ $as_echo "$ac_log"
4741
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4744
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4748
-cat >>$CONFIG_STATUS <<\_ACEOF
4749
+# Handling of arguments.
4750
for ac_config_target in $ac_config_targets
4752
- case "$ac_config_target" in
4753
- # Handling of arguments.
4754
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4755
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4756
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4757
- { (exit 1); exit 1; }; };;
4758
+ case $ac_config_target in
4759
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4761
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4766
# If the user did not use the arguments to specify the items to instantiate,
4767
# then the envvar interface is used. Set only those that are not.
4768
# We use the long form for the default assignment because of an extremely
4769
@@ -3093,330 +3495,403 @@ if $ac_need_defaults; then
4772
# Have a temporary directory for convenience. Make it in the build tree
4773
-# simply because there is no reason to put it here, and in addition,
4774
+# simply because there is no reason against having it here, and in addition,
4775
# creating and moving files from /tmp can sometimes cause problems.
4776
-# Create a temporary directory, and hook for its removal unless debugging.
4777
+# Hook for its removal unless debugging.
4778
+# Note that there is a small window in which the directory will not be cleaned:
4779
+# after its creation but before its name has been assigned to `$tmp'.
4782
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4783
- trap '{ (exit 1); exit 1; }' 1 2 13 15
4785
+ trap 'exit_status=$?
4786
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4788
+ trap 'as_fn_exit 1' 1 2 13 15
4791
# Create a (secure) tmp directory for tmp files.
4794
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4795
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4796
test -n "$tmp" && test -d "$tmp"
4799
- tmp=./confstat$$-$RANDOM
4800
- (umask 077 && mkdir $tmp)
4802
+ tmp=./conf$$-$RANDOM
4803
+ (umask 077 && mkdir "$tmp")
4804
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4806
+# Set up the scripts for CONFIG_FILES section.
4807
+# No need to generate them if there are no CONFIG_FILES.
4808
+# This happens for instance with `./config.status config.h'.
4809
+if test -n "$CONFIG_FILES"; then
4812
+ac_cr=`echo X | tr X '\015'`
4813
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
4814
+# But we know of no other shell where ac_cr would be empty at this
4815
+# point, so we can use a bashism as a fallback.
4816
+if test "x$ac_cr" = x; then
4817
+ eval ac_cr=\$\'\\r\'
4819
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4820
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4823
+ ac_cs_awk_cr=$ac_cr
4826
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
4831
- echo "$me: cannot create a temporary directory in ." >&2
4832
- { (exit 1); exit 1; }
4833
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
4834
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4836
+} >conf$$subs.sh ||
4837
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4838
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4840
+for ac_last_try in false false false false false :; do
4841
+ . ./conf$$subs.sh ||
4842
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4844
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4845
+ if test $ac_delim_n = $ac_delim_num; then
4847
+ elif $ac_last_try; then
4848
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4850
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4853
+rm -f conf$$subs.sh
4855
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4856
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4860
+s/^/S["/; s/!.*/"]=/
4870
+s/\(.\{148\}\)..*/\1/
4872
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4877
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4884
+s/\(.\{148\}\)..*/\1/
4886
+s/["\\]/\\&/g; s/^/"/; s/$/"/
4890
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4895
+' <conf$$subs.awk | sed '
4900
+' >>$CONFIG_STATUS || ac_write_fail=1
4901
+rm -f conf$$subs.awk
4902
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4904
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4905
+ for (key in S) S_is_set[key] = 1
4911
+ nfields = split(line, field, "@")
4913
+ len = length(field[1])
4914
+ for (i = 2; i < nfields; i++) {
4916
+ keylen = length(key)
4917
+ if (S_is_set[key]) {
4919
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4920
+ len += length(value) + length(field[++i])
4931
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4932
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4933
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4936
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4937
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
4940
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
4941
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4942
+# trailing colons and then remove the whole line if VPATH becomes empty
4943
+# (actually we leave an empty line to preserve line numbers).
4944
+if test "x$srcdir" = x.; then
4945
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
4946
+s/:*\$(srcdir):*/:/
4947
+s/:*\${srcdir}:*/:/
4949
+s/^\([^=]*=[ ]*\):*/\1/
4955
-cat >>$CONFIG_STATUS <<_ACEOF
4956
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4957
+fi # test -n "$CONFIG_FILES"
4960
-# CONFIG_FILES section.
4963
-# No need to generate the scripts if there are no CONFIG_FILES.
4964
-# This happens for instance when ./config.status config.h
4965
-if test -n "\$CONFIG_FILES"; then
4966
- # Protect against being on the right side of a sed subst in config.status.
4967
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4968
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4969
-s,@SHELL@,$SHELL,;t t
4970
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4971
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4972
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4973
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4974
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4975
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4976
-s,@exec_prefix@,$exec_prefix,;t t
4977
-s,@prefix@,$prefix,;t t
4978
-s,@program_transform_name@,$program_transform_name,;t t
4979
-s,@bindir@,$bindir,;t t
4980
-s,@sbindir@,$sbindir,;t t
4981
-s,@libexecdir@,$libexecdir,;t t
4982
-s,@datadir@,$datadir,;t t
4983
-s,@sysconfdir@,$sysconfdir,;t t
4984
-s,@sharedstatedir@,$sharedstatedir,;t t
4985
-s,@localstatedir@,$localstatedir,;t t
4986
-s,@libdir@,$libdir,;t t
4987
-s,@includedir@,$includedir,;t t
4988
-s,@oldincludedir@,$oldincludedir,;t t
4989
-s,@infodir@,$infodir,;t t
4990
-s,@mandir@,$mandir,;t t
4991
-s,@build_alias@,$build_alias,;t t
4992
-s,@host_alias@,$host_alias,;t t
4993
-s,@target_alias@,$target_alias,;t t
4994
-s,@DEFS@,$DEFS,;t t
4995
-s,@ECHO_C@,$ECHO_C,;t t
4996
-s,@ECHO_N@,$ECHO_N,;t t
4997
-s,@ECHO_T@,$ECHO_T,;t t
4998
-s,@LIBS@,$LIBS,;t t
4999
-s,@subdirs@,$subdirs,;t t
5001
-s,@CFLAGS@,$CFLAGS,;t t
5002
-s,@LDFLAGS@,$LDFLAGS,;t t
5003
-s,@CPPFLAGS@,$CPPFLAGS,;t t
5004
-s,@ac_ct_CC@,$ac_ct_CC,;t t
5005
-s,@EXEEXT@,$EXEEXT,;t t
5006
-s,@OBJEXT@,$OBJEXT,;t t
5008
-s,@LEXLIB@,$LEXLIB,;t t
5009
-s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5010
-s,@YACC@,$YACC,;t t
5011
-s,@LIBOBJS@,$LIBOBJS,;t t
5012
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5017
- cat >>$CONFIG_STATUS <<\_ACEOF
5018
- # Split the substitutions into bite-sized pieces for seds with
5019
- # small command number limits, like on Digital OSF/1 and HP-UX.
5020
- ac_max_sed_lines=48
5021
- ac_sed_frag=1 # Number of current file.
5022
- ac_beg=1 # First line for current file.
5023
- ac_end=$ac_max_sed_lines # Line after last line for current file.
5026
- while $ac_more_lines; do
5027
- if test $ac_beg -gt 1; then
5028
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5030
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5032
- if test ! -s $tmp/subs.frag; then
5033
- ac_more_lines=false
5035
- # The purpose of the label and of the branching condition is to
5036
- # speed up the sed processing (if there are no `@' at all, there
5037
- # is no need to browse any of the substitutions).
5038
- # These are the two extra sed commands mentioned above.
5040
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5041
- if test -z "$ac_sed_cmds"; then
5042
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5044
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5046
- ac_sed_frag=`expr $ac_sed_frag + 1`
5048
- ac_end=`expr $ac_end + $ac_max_sed_lines`
5049
+eval set X " :F $CONFIG_FILES "
5054
+ :[FHLC]) ac_mode=$ac_tag; continue;;
5056
+ case $ac_mode$ac_tag in
5058
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5059
+ :[FH]-) ac_tag=-:-;;
5060
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5071
+ :L) ac_source=$1;;
5077
+ -) ac_f="$tmp/stdin";;
5078
+ *) # Look for the file first in the build tree, then in the source tree
5079
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
5080
+ # because $ac_f cannot contain `:'.
5081
+ test -f "$ac_f" ||
5084
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5086
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5088
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5089
+ as_fn_append ac_file_inputs " '$ac_f'"
5092
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
5093
+ # use $as_me), people would be surprised to read:
5094
+ # /* config.h. Generated by config.status. */
5095
+ configure_input='Generated from '`
5096
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5098
+ if test x"$ac_file" != x-; then
5099
+ configure_input="$ac_file. $configure_input"
5100
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5101
+$as_echo "$as_me: creating $ac_file" >&6;}
5104
- if test -z "$ac_sed_cmds"; then
5107
-fi # test -n "$CONFIG_FILES"
5108
+ # Neutralize special characters interpreted by sed in replacement strings.
5109
+ case $configure_input in #(
5110
+ *\&* | *\|* | *\\* )
5111
+ ac_sed_conf_input=`$as_echo "$configure_input" |
5112
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
5113
+ *) ac_sed_conf_input=$configure_input;;
5117
-cat >>$CONFIG_STATUS <<\_ACEOF
5118
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5119
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5121
- - | *:- | *:-:* ) # input from stdin
5123
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5124
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5125
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5126
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5127
- * ) ac_file_in=$ac_file.in ;;
5129
+ *:-:* | *:-) cat >"$tmp/stdin" \
5130
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5135
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5136
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5137
+ ac_dir=`$as_dirname -- "$ac_file" ||
5138
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5139
X"$ac_file" : 'X\(//\)[^/]' \| \
5140
X"$ac_file" : 'X\(//\)$' \| \
5141
- X"$ac_file" : 'X\(/\)' \| \
5142
- . : '\(.\)' 2>/dev/null ||
5144
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5145
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5146
- /^X\(\/\/\)$/{ s//\1/; q; }
5147
- /^X\(\/\).*/{ s//\1/; q; }
5149
- { if $as_mkdir_p; then
5150
- mkdir -p "$ac_dir"
5154
- while test ! -d "$as_dir"; do
5155
- as_dirs="$as_dir $as_dirs"
5156
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
5157
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5158
- X"$as_dir" : 'X\(//\)[^/]' \| \
5159
- X"$as_dir" : 'X\(//\)$' \| \
5160
- X"$as_dir" : 'X\(/\)' \| \
5161
- . : '\(.\)' 2>/dev/null ||
5163
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5164
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5165
- /^X\(\/\/\)$/{ s//\1/; q; }
5166
- /^X\(\/\).*/{ s//\1/; q; }
5169
- test ! -n "$as_dirs" || mkdir $as_dirs
5170
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5171
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5172
- { (exit 1); exit 1; }; }; }
5174
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5175
+$as_echo X"$ac_file" |
5176
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5180
+ /^X\(\/\/\)[^/].*/{
5193
+ as_dir="$ac_dir"; as_fn_mkdir_p
5196
-if test "$ac_dir" != .; then
5197
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5198
- # A "../" for each directory in $ac_dir_suffix.
5199
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5201
- ac_dir_suffix= ac_top_builddir=
5204
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5206
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5207
+ # A ".." for each directory in $ac_dir_suffix.
5208
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5209
+ case $ac_top_builddir_sub in
5210
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5211
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5214
+ac_abs_top_builddir=$ac_pwd
5215
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
5216
+# for backward compatibility:
5217
+ac_top_builddir=$ac_top_build_prefix
5220
- .) # No --srcdir option. We are building in place.
5221
+ .) # We are building in place.
5223
- if test -z "$ac_top_builddir"; then
5226
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5228
- [\\/]* | ?:[\\/]* ) # Absolute path.
5229
+ ac_top_srcdir=$ac_top_builddir_sub
5230
+ ac_abs_top_srcdir=$ac_pwd ;;
5231
+ [\\/]* | ?:[\\/]* ) # Absolute name.
5232
ac_srcdir=$srcdir$ac_dir_suffix;
5233
- ac_top_srcdir=$srcdir ;;
5234
- *) # Relative path.
5235
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5236
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
5237
+ ac_top_srcdir=$srcdir
5238
+ ac_abs_top_srcdir=$srcdir ;;
5239
+ *) # Relative name.
5240
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5241
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
5242
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5244
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5246
-# Do not use `cd foo && pwd` to compute absolute paths, because
5247
-# the directories may not exist.
5249
-.) ac_abs_builddir="$ac_dir";;
5252
- .) ac_abs_builddir=`pwd`;;
5253
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5254
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
5257
-case $ac_abs_builddir in
5258
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
5260
- case ${ac_top_builddir}. in
5261
- .) ac_abs_top_builddir=$ac_abs_builddir;;
5262
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5263
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5266
-case $ac_abs_builddir in
5267
-.) ac_abs_srcdir=$ac_srcdir;;
5269
- case $ac_srcdir in
5270
- .) ac_abs_srcdir=$ac_abs_builddir;;
5271
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5272
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5275
-case $ac_abs_builddir in
5276
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
5278
- case $ac_top_srcdir in
5279
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
5280
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5281
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5293
- # Let's still pretend it is `configure' which instantiates (i.e., don't
5294
- # use $as_me), people would be surprised to read:
5295
- # /* config.h. Generated by config.status. */
5296
- if test x"$ac_file" = x-; then
5299
- configure_input="$ac_file. "
5301
- configure_input=$configure_input"Generated from `echo $ac_file_in |
5302
- sed 's,.*/,,'` by configure."
5304
- # First look for the input files in the build tree, otherwise in the
5306
- ac_file_inputs=`IFS=:
5307
- for f in $ac_file_in; do
5309
- -) echo $tmp/stdin ;;
5311
- # Absolute (can't be DOS-style, as IFS=:)
5312
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5313
-echo "$as_me: error: cannot find input file: $f" >&2;}
5314
- { (exit 1); exit 1; }; }
5317
- if test -f "$f"; then
5320
- elif test -f "$srcdir/$f"; then
5325
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5326
-echo "$as_me: error: cannot find input file: $f" >&2;}
5327
- { (exit 1); exit 1; }; }
5330
- done` || { (exit 1); exit 1; }
5332
- if test x"$ac_file" != x-; then
5333
- { echo "$as_me:$LINENO: creating $ac_file" >&5
5334
-echo "$as_me: creating $ac_file" >&6;}
5337
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5338
+# If the template does not know about datarootdir, expand it.
5339
+# FIXME: This hack should be removed a few years after 2.60.
5340
+ac_datarootdir_hack=; ac_datarootdir_seen=
5351
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5352
+*datarootdir*) ac_datarootdir_seen=yes;;
5353
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5354
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5355
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5357
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5358
+ ac_datarootdir_hack='
5359
+ s&@datadir@&$datadir&g
5360
+ s&@docdir@&$docdir&g
5361
+ s&@infodir@&$infodir&g
5362
+ s&@localedir@&$localedir&g
5363
+ s&@mandir@&$mandir&g
5364
+ s&\\\${datarootdir}&$datarootdir&g' ;;
5367
-cat >>$CONFIG_STATUS <<_ACEOF
5370
+# Neutralize VPATH when `$srcdir' = `.'.
5371
+# Shell code in configure.ac might set extrasub.
5372
+# FIXME: do we really want to maintain this feature?
5373
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5374
+ac_sed_extra="$ac_vpsub
5377
-cat >>$CONFIG_STATUS <<\_ACEOF
5378
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5380
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5381
-s,@configure_input@,$configure_input,;t t
5382
-s,@srcdir@,$ac_srcdir,;t t
5383
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
5384
-s,@top_srcdir@,$ac_top_srcdir,;t t
5385
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5386
-s,@builddir@,$ac_builddir,;t t
5387
-s,@abs_builddir@,$ac_abs_builddir,;t t
5388
-s,@top_builddir@,$ac_top_builddir,;t t
5389
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5390
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5392
- if test x"$ac_file" != x-; then
5393
- mv $tmp/out $ac_file
5398
+s|@configure_input@|$ac_sed_conf_input|;t t
5399
+s&@top_builddir@&$ac_top_builddir_sub&;t t
5400
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
5401
+s&@srcdir@&$ac_srcdir&;t t
5402
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
5403
+s&@top_srcdir@&$ac_top_srcdir&;t t
5404
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5405
+s&@builddir@&$ac_builddir&;t t
5406
+s&@abs_builddir@&$ac_abs_builddir&;t t
5407
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5408
+$ac_datarootdir_hack
5410
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5411
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
5413
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5414
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5415
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5416
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5417
+which seems to be undefined. Please make sure it is defined." >&5
5418
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5419
+which seems to be undefined. Please make sure it is defined." >&2;}
5421
+ rm -f "$tmp/stdin"
5423
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
5424
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5426
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
5433
-cat >>$CONFIG_STATUS <<\_ACEOF
5439
-{ (exit 0); exit 0; }
5442
-chmod +x $CONFIG_STATUS
5443
ac_clean_files=$ac_clean_files_save
5445
+test $ac_write_fail = 0 ||
5446
+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5449
# configure is writing to config.log, and then calls config.status.
5450
# config.status does its own redirection, appending to config.log.
5451
@@ -3436,7 +3911,7 @@ if test "$no_create" != yes; then
5453
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5454
# would make configure fail if this is the last instruction.
5455
- $ac_cs_success || { (exit 1); exit 1; }
5456
+ $ac_cs_success || as_fn_exit $?
5460
@@ -3444,10 +3919,14 @@ fi
5462
if test "$no_recursion" != yes; then
5464
- # Remove --cache-file and --srcdir arguments so they do not pile up.
5465
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5466
+ # so they do not pile up.
5467
ac_sub_configure_args=
5469
- for ac_arg in $ac_configure_args; do
5470
+ eval "set x $ac_configure_args"
5474
if test -n "$ac_prev"; then
5477
@@ -3470,126 +3949,92 @@ if test "$no_recursion" != yes; then
5479
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5481
- *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
5482
+ --disable-option-checking)
5486
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5488
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5492
# Always prepend --prefix to ensure using the same prefix
5493
# in subdir configurations.
5494
- ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
5495
+ ac_arg="--prefix=$prefix"
5497
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5499
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5502
+ if test "$silent" = yes; then
5503
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
5506
+ # Always prepend --disable-option-checking to silence warnings, since
5507
+ # different subdirs can have different --enable and --with options.
5508
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5511
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5513
# Do not complain, so a configure script can configure whichever
5514
# parts of a large source tree are present.
5515
- test -d $srcdir/$ac_dir || continue
5517
- { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
5518
-echo "$as_me: configuring in $ac_dir" >&6;}
5519
- { if $as_mkdir_p; then
5520
- mkdir -p "$ac_dir"
5524
- while test ! -d "$as_dir"; do
5525
- as_dirs="$as_dir $as_dirs"
5526
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
5527
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5528
- X"$as_dir" : 'X\(//\)[^/]' \| \
5529
- X"$as_dir" : 'X\(//\)$' \| \
5530
- X"$as_dir" : 'X\(/\)' \| \
5531
- . : '\(.\)' 2>/dev/null ||
5533
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5534
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5535
- /^X\(\/\/\)$/{ s//\1/; q; }
5536
- /^X\(\/\).*/{ s//\1/; q; }
5539
- test ! -n "$as_dirs" || mkdir $as_dirs
5540
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5541
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5542
- { (exit 1); exit 1; }; }; }
5543
+ test -d "$srcdir/$ac_dir" || continue
5545
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5546
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5547
+ $as_echo "$ac_msg" >&6
5548
+ as_dir="$ac_dir"; as_fn_mkdir_p
5551
-if test "$ac_dir" != .; then
5552
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5553
- # A "../" for each directory in $ac_dir_suffix.
5554
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5556
- ac_dir_suffix= ac_top_builddir=
5559
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5561
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5562
+ # A ".." for each directory in $ac_dir_suffix.
5563
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5564
+ case $ac_top_builddir_sub in
5565
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5566
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5569
+ac_abs_top_builddir=$ac_pwd
5570
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
5571
+# for backward compatibility:
5572
+ac_top_builddir=$ac_top_build_prefix
5575
- .) # No --srcdir option. We are building in place.
5576
+ .) # We are building in place.
5578
- if test -z "$ac_top_builddir"; then
5581
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5583
- [\\/]* | ?:[\\/]* ) # Absolute path.
5584
+ ac_top_srcdir=$ac_top_builddir_sub
5585
+ ac_abs_top_srcdir=$ac_pwd ;;
5586
+ [\\/]* | ?:[\\/]* ) # Absolute name.
5587
ac_srcdir=$srcdir$ac_dir_suffix;
5588
- ac_top_srcdir=$srcdir ;;
5589
- *) # Relative path.
5590
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5591
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
5592
+ ac_top_srcdir=$srcdir
5593
+ ac_abs_top_srcdir=$srcdir ;;
5594
+ *) # Relative name.
5595
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5596
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
5597
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5599
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5601
-# Do not use `cd foo && pwd` to compute absolute paths, because
5602
-# the directories may not exist.
5604
-.) ac_abs_builddir="$ac_dir";;
5607
- .) ac_abs_builddir=`pwd`;;
5608
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5609
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
5612
-case $ac_abs_builddir in
5613
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
5615
- case ${ac_top_builddir}. in
5616
- .) ac_abs_top_builddir=$ac_abs_builddir;;
5617
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5618
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5621
-case $ac_abs_builddir in
5622
-.) ac_abs_srcdir=$ac_srcdir;;
5624
- case $ac_srcdir in
5625
- .) ac_abs_srcdir=$ac_abs_builddir;;
5626
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5627
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5630
-case $ac_abs_builddir in
5631
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
5633
- case $ac_top_srcdir in
5634
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
5635
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5636
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5644
# Check for guested configure; otherwise get Cygnus style configure.
5645
- if test -f $ac_srcdir/configure.gnu; then
5646
- ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
5647
- elif test -f $ac_srcdir/configure; then
5648
- ac_sub_configure="$SHELL '$ac_srcdir/configure'"
5649
- elif test -f $ac_srcdir/configure.in; then
5650
- ac_sub_configure=$ac_configure
5651
+ if test -f "$ac_srcdir/configure.gnu"; then
5652
+ ac_sub_configure=$ac_srcdir/configure.gnu
5653
+ elif test -f "$ac_srcdir/configure"; then
5654
+ ac_sub_configure=$ac_srcdir/configure
5655
+ elif test -f "$ac_srcdir/configure.in"; then
5656
+ # This should be Cygnus configure.
5657
+ ac_sub_configure=$ac_aux_dir/configure
5659
- { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5660
-echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5661
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5662
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5666
@@ -3598,21 +4043,23 @@ echo "$as_me: WARNING: no configuration
5667
# Make the cache file name correct relative to the subdirectory.
5669
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5670
- *) # Relative path.
5671
- ac_sub_cache_file=$ac_top_builddir$cache_file ;;
5672
+ *) # Relative name.
5673
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5676
- { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5677
-echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5678
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5679
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5680
# The eval makes quoting arguments work.
5681
- eval $ac_sub_configure $ac_sub_configure_args \
5682
- --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
5683
- { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5684
-echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5685
- { (exit 1); exit 1; }; }
5686
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5687
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5688
+ as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5694
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5695
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5696
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5699
--- gnats-4.1.0.orig/config.sub
5700
+++ gnats-4.1.0/config.sub
5703
# Configuration validation subroutine script.
5704
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5705
-# 2000, 2001, 2002 Free Software Foundation, Inc.
5706
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5707
+# Free Software Foundation, Inc.
5709
-timestamp='2002-09-05'
5710
+timestamp='2008-01-16'
5712
# This file is (in principle) common to ALL GNU software.
5713
# The presence of a machine in this file suggests that SOME GNU software
5714
@@ -21,14 +22,15 @@ timestamp='2002-09-05'
5716
# You should have received a copy of the GNU General Public License
5717
# along with this program; if not, write to the Free Software
5718
-# Foundation, Inc., 59 Temple Place - Suite 330,
5719
-# Boston, MA 02111-1307, USA.
5721
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
5724
# As a special exception to the GNU General Public License, if you
5725
# distribute this file as part of a program that contains a
5726
# configuration script generated by Autoconf, you may include it under
5727
# the same distribution terms that you use for the rest of that program.
5730
# Please send patches to <config-patches@gnu.org>. Submit a context
5731
# diff and a properly formatted ChangeLog entry.
5733
@@ -70,8 +72,8 @@ Report bugs and patches to <config-patch
5735
GNU config.sub ($timestamp)
5737
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
5738
-Free Software Foundation, Inc.
5739
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
5740
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5742
This is free software; see the source for copying conditions. There is NO
5743
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
5744
@@ -83,11 +85,11 @@ Try \`$me --help' for more information."
5745
while test $# -gt 0 ; do
5747
--time-stamp | --time* | -t )
5748
- echo "$timestamp" ; exit 0 ;;
5749
+ echo "$timestamp" ; exit ;;
5751
- echo "$version" ; exit 0 ;;
5752
+ echo "$version" ; exit ;;
5753
--help | --h* | -h )
5754
- echo "$usage"; exit 0 ;;
5755
+ echo "$usage"; exit ;;
5756
-- ) # Stop option processing
5758
- ) # Use stdin as input.
5759
@@ -99,7 +101,7 @@ while test $# -gt 0 ; do
5761
# First pass through any local machine types.
5768
@@ -118,7 +120,9 @@ esac
5769
# Here we must recognize all the valid KERNEL-OS combinations.
5770
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
5772
- nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
5773
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
5774
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
5775
+ storm-chaos* | os2-emx* | rtmk-nova*)
5777
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
5779
@@ -144,7 +148,7 @@ case $os in
5780
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
5781
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
5782
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
5784
+ -apple | -axis | -knuth | -cray)
5788
@@ -169,6 +173,10 @@ case $os in
5794
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
5798
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
5799
@@ -185,6 +193,10 @@ case $os in
5800
# Don't forget version if it is 3.2v4 or newer.
5801
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
5804
+ # Don't forget version if it is 3.2v4 or newer.
5805
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
5809
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
5810
@@ -228,14 +240,17 @@ case $basic_machine in
5812
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
5813
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
5814
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
5817
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
5820
| d10v | d30v | dlx | dsp16xx \
5822
+ | fido | fr30 | frv \
5823
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
5824
| i370 | i860 | i960 | ia64 \
5826
- | m32r | m68000 | m68k | m88k | mcore \
5828
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
5829
+ | maxq | mb | microblaze | mcore | mep \
5830
| mips | mipsbe | mipseb | mipsel | mipsle \
5832
| mips64 | mips64el \
5833
@@ -244,25 +259,33 @@ case $basic_machine in
5834
| mips64vr4100 | mips64vr4100el \
5835
| mips64vr4300 | mips64vr4300el \
5836
| mips64vr5000 | mips64vr5000el \
5837
+ | mips64vr5900 | mips64vr5900el \
5838
| mipsisa32 | mipsisa32el \
5839
+ | mipsisa32r2 | mipsisa32r2el \
5840
| mipsisa64 | mipsisa64el \
5841
+ | mipsisa64r2 | mipsisa64r2el \
5842
| mipsisa64sb1 | mipsisa64sb1el \
5843
| mipsisa64sr71k | mipsisa64sr71kel \
5844
| mipstx39 | mipstx39el \
5845
| mn10200 | mn10300 \
5850
- | openrisc | or32 \
5852
| pdp10 | pdp11 | pj | pjl \
5853
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
5855
- | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
5857
+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
5859
- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
5861
- | tahoe | thumb | tic80 | tron \
5862
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
5863
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
5864
+ | spu | strongarm \
5865
+ | tahoe | thumb | tic4x | tic80 | tron \
5868
- | x86 | xscale | xstormy16 | xtensa \
5869
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
5871
basic_machine=$basic_machine-unknown
5873
@@ -273,6 +296,9 @@ case $basic_machine in
5875
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
5878
+ basic_machine=mt-unknown
5881
# We use `pc' rather than `unknown'
5882
# because (1) that's what they normally are, and
5883
@@ -292,20 +318,20 @@ case $basic_machine in
5884
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
5885
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
5886
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
5889
- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
5890
- | clipper-* | cydra-* \
5891
+ | avr-* | avr32-* \
5892
+ | bfin-* | bs2000-* \
5893
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
5894
+ | clipper-* | craynv-* | cydra-* \
5895
| d10v-* | d30v-* | dlx-* \
5897
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
5898
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
5899
| h8300-* | h8500-* \
5900
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
5901
| i*86-* | i860-* | i960-* | ia64-* \
5904
+ | ip2k-* | iq2000-* \
5905
+ | m32c-* | m32r-* | m32rle-* \
5906
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
5907
- | m88110-* | m88k-* | mcore-* \
5908
+ | m88110-* | m88k-* | maxq-* | mcore-* \
5909
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
5911
| mips64-* | mips64el-* \
5912
@@ -314,29 +340,43 @@ case $basic_machine in
5913
| mips64vr4100-* | mips64vr4100el-* \
5914
| mips64vr4300-* | mips64vr4300el-* \
5915
| mips64vr5000-* | mips64vr5000el-* \
5916
+ | mips64vr5900-* | mips64vr5900el-* \
5917
| mipsisa32-* | mipsisa32el-* \
5918
+ | mipsisa32r2-* | mipsisa32r2el-* \
5919
| mipsisa64-* | mipsisa64el-* \
5920
+ | mipsisa64r2-* | mipsisa64r2el-* \
5921
| mipsisa64sb1-* | mipsisa64sb1el-* \
5922
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
5923
- | mipstx39 | mipstx39el \
5924
+ | mipstx39-* | mipstx39el-* \
5928
+ | nios-* | nios2-* \
5929
| none-* | np1-* | ns16k-* | ns32k-* \
5931
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
5932
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
5934
| romp-* | rs6000-* \
5935
- | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
5936
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
5937
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
5938
- | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
5939
- | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
5940
- | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
5941
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
5943
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
5944
+ | tahoe-* | thumb-* \
5945
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
5947
| v850-* | v850e-* | vax-* \
5949
- | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
5951
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
5952
+ | xstormy16-* | xtensa*-* \
5956
+ # Recognize the basic CPU types without company name, with glob match.
5958
+ basic_machine=$basic_machine-unknown
5960
# Recognize the various machine names and aliases which stand
5961
# for a CPU type and a company and sometimes even an OS.
5963
@@ -353,6 +393,9 @@ case $basic_machine in
5964
basic_machine=a29k-amd
5968
+ basic_machine=abacus-unknown
5971
basic_machine=m68010-adobe
5973
@@ -367,6 +410,12 @@ case $basic_machine in
5974
basic_machine=a29k-none
5978
+ basic_machine=x86_64-pc
5981
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
5984
basic_machine=580-amdahl
5986
@@ -398,6 +447,14 @@ case $basic_machine in
5987
basic_machine=ns32k-sequent
5991
+ basic_machine=bfin-unknown
5995
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
5999
basic_machine=c90-cray
6001
@@ -426,12 +483,27 @@ case $basic_machine in
6002
basic_machine=j90-cray
6006
+ basic_machine=craynv-cray
6010
+ basic_machine=cr16-unknown
6014
basic_machine=m68k-crds
6016
+ crisv32 | crisv32-* | etraxfs*)
6017
+ basic_machine=crisv32-axis
6019
cris | cris-* | etrax*)
6020
basic_machine=cris-axis
6023
+ basic_machine=crx-unknown
6027
basic_machine=m68k-da30
6029
@@ -454,6 +526,10 @@ case $basic_machine in
6030
basic_machine=m88k-motorola
6034
+ basic_machine=i586-pc
6038
basic_machine=rs6000-bull
6040
@@ -604,6 +680,14 @@ case $basic_machine in
6041
basic_machine=m68k-isi
6045
+ basic_machine=m68k-unknown
6049
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
6053
basic_machine=m88k-omron
6055
@@ -619,6 +703,10 @@ case $basic_machine in
6056
basic_machine=i386-pc
6060
+ basic_machine=arm-unknown
6064
basic_machine=m68000-convergent
6066
@@ -632,10 +720,6 @@ case $basic_machine in
6068
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
6071
- basic_machine=mmix-knuth
6075
basic_machine=m68k-rom68k
6077
@@ -648,6 +732,9 @@ case $basic_machine in
6078
basic_machine=i386-pc
6082
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
6085
basic_machine=i370-ibm
6087
@@ -723,9 +810,12 @@ case $basic_machine in
6088
basic_machine=hppa1.1-oki
6092
+ openrisc | openrisc-*)
6093
basic_machine=or32-unknown
6097
+ basic_machine=powerpc-ibm
6100
OSE68000 | ose68000)
6101
basic_machine=m68000-ericsson
6102
@@ -743,6 +833,14 @@ case $basic_machine in
6103
basic_machine=i860-intel
6107
+ basic_machine=hppa-unknown
6111
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
6115
basic_machine=sparc-tti
6117
@@ -752,24 +850,36 @@ case $basic_machine in
6119
basic_machine=ns32k-pc532
6122
+ basic_machine=i386-pc
6125
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
6127
pentium | p5 | k5 | k6 | nexgen | viac3)
6128
basic_machine=i586-pc
6130
pentiumpro | p6 | 6x86 | athlon | athlon_*)
6131
basic_machine=i686-pc
6133
- pentiumii | pentium2)
6134
+ pentiumii | pentium2 | pentiumiii | pentium3)
6135
basic_machine=i686-pc
6138
+ basic_machine=i786-pc
6140
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
6141
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
6143
pentiumpro-* | p6-* | 6x86-* | athlon-*)
6144
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
6146
- pentiumii-* | pentium2-*)
6147
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
6148
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
6151
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
6154
basic_machine=pn-gould
6156
@@ -802,6 +912,10 @@ case $basic_machine in
6157
basic_machine=i586-unknown
6161
+ basic_machine=i386-pc
6165
basic_machine=m68k-rom68k
6167
@@ -828,6 +942,14 @@ case $basic_machine in
6169
basic_machine=mipsisa64sb1el-unknown
6172
+ basic_machine=mipsisa32-sde
6176
+ basic_machine=mips-sei
6180
basic_machine=i386-sequent
6182
@@ -835,6 +957,12 @@ case $basic_machine in
6183
basic_machine=sh-hitachi
6187
+ basic_machine=sh5le-unknown
6190
+ basic_machine=sh64-unknown
6192
sparclite-wrs | simso-wrs)
6193
basic_machine=sparclite-wrs
6195
@@ -901,10 +1029,6 @@ case $basic_machine in
6196
basic_machine=i386-sequent
6200
- basic_machine=alpha-cray
6204
basic_machine=alphaev5-cray
6206
@@ -913,14 +1037,22 @@ case $basic_machine in
6207
basic_machine=t90-cray
6211
- basic_machine=tic4x-unknown
6215
basic_machine=tic54x-unknown
6219
+ basic_machine=tic55x-unknown
6223
+ basic_machine=tic6x-unknown
6227
+ basic_machine=tile-unknown
6231
basic_machine=mipstx39-unknown
6233
@@ -934,6 +1066,10 @@ case $basic_machine in
6235
basic_machine=m68k-ncr
6238
+ basic_machine=s390x-ibm
6242
basic_machine=a29k-amd
6244
@@ -977,9 +1113,9 @@ case $basic_machine in
6245
basic_machine=hppa1.1-winbond
6249
- basic_machine=i386-pc
6250
- os=-windows32-msvcrt
6252
+ basic_machine=i686-pc
6256
basic_machine=xps100-honeywell
6257
@@ -1011,6 +1147,9 @@ case $basic_machine in
6259
basic_machine=romp-ibm
6262
+ basic_machine=mmix-knuth
6265
basic_machine=rs6000-ibm
6267
@@ -1027,13 +1166,10 @@ case $basic_machine in
6269
basic_machine=we32k-att
6271
- sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
6272
+ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
6273
basic_machine=sh-unknown
6276
- basic_machine=sh64-unknown
6278
- sparc | sparcv9 | sparcv9b)
6279
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
6280
basic_machine=sparc-sun
6283
@@ -1106,18 +1242,23 @@ case $os in
6285
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
6286
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
6287
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
6288
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6289
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
6290
+ | -openbsd* | -solidbsd* \
6291
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
6292
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
6293
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
6294
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
6295
| -chorusos* | -chorusrdb* \
6296
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
6297
- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
6298
- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
6299
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
6300
+ | -uxpv* | -beos* | -mpeix* | -udk* \
6301
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
6302
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
6303
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
6304
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
6305
- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
6306
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
6307
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
6308
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
6309
# Remember, each alternative MUST END IN *, to match a version number.
6312
@@ -1129,16 +1270,21 @@ case $os in
6320
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
6322
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
6323
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
6324
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
6325
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
6328
os=`echo $os | sed -e 's|mac|macos|'`
6331
+ os=-linux-dietlibc
6334
os=`echo $os | sed -e 's|linux|linux-gnu|'`
6336
@@ -1151,6 +1297,9 @@ case $os in
6346
@@ -1172,6 +1321,9 @@ case $os in
6356
@@ -1194,6 +1346,9 @@ case $os in
6366
@@ -1224,6 +1379,15 @@ case $os in
6367
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
6382
@@ -1246,6 +1410,12 @@ else
6383
# system, and we'll never get to this point.
6385
case $basic_machine in
6395
@@ -1255,6 +1425,9 @@ case $basic_machine in
6402
# This must come before the *-dec entry.
6405
@@ -1280,6 +1453,9 @@ case $basic_machine in
6415
@@ -1298,9 +1474,15 @@ case $basic_machine in
6431
@@ -1433,9 +1615,15 @@ case $basic_machine in
6444
-vxsim* | -vxworks* | -windiss*)
6447
@@ -1460,7 +1648,7 @@ case $basic_machine in
6450
echo $basic_machine$os
6455
# eval: (add-hook 'write-file-hooks 'time-stamp)
6456
--- gnats-4.1.0.orig/config.guess
6457
+++ gnats-4.1.0/config.guess
6460
# Attempt to guess a canonical system name.
6461
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6462
-# 2000, 2001, 2002 Free Software Foundation, Inc.
6463
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6464
+# Free Software Foundation, Inc.
6466
-timestamp='2002-09-03'
6467
+timestamp='2008-01-23'
6469
# This file is free software; you can redistribute it and/or modify it
6470
# under the terms of the GNU General Public License as published by
6471
@@ -17,13 +18,15 @@ timestamp='2002-09-03'
6473
# You should have received a copy of the GNU General Public License
6474
# along with this program; if not, write to the Free Software
6475
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6476
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
6479
# As a special exception to the GNU General Public License, if you
6480
# distribute this file as part of a program that contains a
6481
# configuration script generated by Autoconf, you may include it under
6482
# the same distribution terms that you use for the rest of that program.
6485
# Originally written by Per Bothner <per@bothner.com>.
6486
# Please send patches to <config-patches@gnu.org>. Submit a context
6487
# diff and a properly formatted ChangeLog entry.
6488
@@ -53,8 +56,8 @@ version="\
6489
GNU config.guess ($timestamp)
6491
Originally written by Per Bothner.
6492
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
6493
-Free Software Foundation, Inc.
6494
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6495
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6497
This is free software; see the source for copying conditions. There is NO
6498
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
6499
@@ -66,11 +69,11 @@ Try \`$me --help' for more information."
6500
while test $# -gt 0 ; do
6502
--time-stamp | --time* | -t )
6503
- echo "$timestamp" ; exit 0 ;;
6504
+ echo "$timestamp" ; exit ;;
6506
- echo "$version" ; exit 0 ;;
6507
+ echo "$version" ; exit ;;
6508
--help | --h* | -h )
6509
- echo "$usage"; exit 0 ;;
6510
+ echo "$usage"; exit ;;
6511
-- ) # Stop option processing
6513
- ) # Use stdin as input.
6514
@@ -98,30 +101,32 @@ trap 'exit 1' 1 2 15
6515
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
6516
# use `HOST_CC' if defined, but it is deprecated.
6518
-# This shell variable is my proudest work .. or something. --bje
6519
+# Portable tmp directory creation inspired by the Autoconf team.
6521
-set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
6522
-(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
6523
- || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
6524
-dummy=$tmpdir/dummy ;
6525
-files="$dummy.c $dummy.o $dummy.rel $dummy" ;
6526
-trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
6528
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
6529
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
6531
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
6532
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
6533
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
6534
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
6536
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
6537
case $CC_FOR_BUILD,$HOST_CC,$CC in
6538
,,) echo "int x;" > $dummy.c ;
6539
for c in cc gcc c89 c99 ; do
6540
- if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
6541
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
6542
CC_FOR_BUILD="$c"; break ;
6546
if test x"$CC_FOR_BUILD" = x ; then
6547
CC_FOR_BUILD=no_compiler_found ;
6550
,,*) CC_FOR_BUILD=$CC ;;
6551
,*,*) CC_FOR_BUILD=$HOST_CC ;;
6554
+esac ; set_cc_for_build= ;'
6556
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
6557
# (ghazi@noc.rutgers.edu 1994-08-24)
6558
@@ -156,6 +161,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
6559
arm*) machine=arm-unknown ;;
6560
sh3el) machine=shl-unknown ;;
6561
sh3eb) machine=sh-unknown ;;
6562
+ sh5el) machine=sh5le-unknown ;;
6563
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
6565
# The Operating System including object format, if it has switched
6566
@@ -178,144 +184,128 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
6570
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
6571
+ # Debian GNU/NetBSD machines have a different userland, and
6572
+ # thus, need a distinct triplet. However, they do not need
6573
+ # kernel version information, so it can be replaced with a
6574
+ # suitable tag, in the style of linux-gnu.
6575
+ case "${UNAME_VERSION}" in
6580
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
6583
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
6584
# contains redundant information, the shorter form:
6585
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
6586
echo "${machine}-${os}${release}"
6588
- amiga:OpenBSD:*:*)
6589
- echo m68k-unknown-openbsd${UNAME_RELEASE}
6592
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
6594
- hp300:OpenBSD:*:*)
6595
- echo m68k-unknown-openbsd${UNAME_RELEASE}
6597
- mac68k:OpenBSD:*:*)
6598
- echo m68k-unknown-openbsd${UNAME_RELEASE}
6600
- macppc:OpenBSD:*:*)
6601
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
6603
- mvme68k:OpenBSD:*:*)
6604
- echo m68k-unknown-openbsd${UNAME_RELEASE}
6606
- mvme88k:OpenBSD:*:*)
6607
- echo m88k-unknown-openbsd${UNAME_RELEASE}
6609
- mvmeppc:OpenBSD:*:*)
6610
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
6613
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
6616
- echo mipseb-unknown-openbsd${UNAME_RELEASE}
6619
- echo m68k-unknown-openbsd${UNAME_RELEASE}
6621
- wgrisc:OpenBSD:*:*)
6622
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
6626
- echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
6628
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
6629
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
6632
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
6635
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
6637
+ macppc:MirBSD:*:*)
6638
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
6641
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
6644
- if test $UNAME_RELEASE = "V4.0"; then
6645
+ case $UNAME_RELEASE in
6647
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
6651
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
6654
+ # According to Compaq, /usr/sbin/psrinfo has been available on
6655
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
6656
+ # covers most systems running today. This code pipes the CPU
6657
+ # types through head -n 1, so we only detect the type of CPU 0.
6658
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
6659
+ case "$ALPHA_CPU_TYPE" in
6661
+ UNAME_MACHINE="alpha" ;;
6663
+ UNAME_MACHINE="alpha" ;;
6664
+ "LCA4 (21066/21068)")
6665
+ UNAME_MACHINE="alpha" ;;
6667
+ UNAME_MACHINE="alphaev5" ;;
6669
+ UNAME_MACHINE="alphaev56" ;;
6670
+ "EV5.6 (21164PC)")
6671
+ UNAME_MACHINE="alphapca56" ;;
6672
+ "EV5.7 (21164PC)")
6673
+ UNAME_MACHINE="alphapca57" ;;
6675
+ UNAME_MACHINE="alphaev6" ;;
6677
+ UNAME_MACHINE="alphaev67" ;;
6678
+ "EV6.8CB (21264C)")
6679
+ UNAME_MACHINE="alphaev68" ;;
6680
+ "EV6.8AL (21264B)")
6681
+ UNAME_MACHINE="alphaev68" ;;
6682
+ "EV6.8CX (21264D)")
6683
+ UNAME_MACHINE="alphaev68" ;;
6684
+ "EV6.9A (21264/EV69A)")
6685
+ UNAME_MACHINE="alphaev69" ;;
6687
+ UNAME_MACHINE="alphaev7" ;;
6689
+ UNAME_MACHINE="alphaev79" ;;
6691
+ # A Pn.n version is a patched version.
6692
# A Vn.n version is a released version.
6693
# A Tn.n version is a released field test version.
6694
# A Xn.n version is an unreleased experimental baselevel.
6695
# 1.2 uses "1.2" for uname -r.
6696
- eval $set_cc_for_build
6697
- cat <<EOF >$dummy.s
6700
- .byte 37,100,45,37,120,10,0 # "%d-%x\n"
6707
- .frame \$30,16,\$26,0
6710
- .long 0x47e03d80 # implver \$0
6712
- .long 0x47e20c21 # amask \$2,\$1
6713
- lda \$16,\$Lformat
6722
- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
6723
- if test "$?" = 0 ; then
6726
- UNAME_MACHINE="alpha"
6729
- UNAME_MACHINE="alphaev5"
6732
- UNAME_MACHINE="alphaev56"
6735
- UNAME_MACHINE="alphapca56"
6738
- UNAME_MACHINE="alphaev6"
6741
- UNAME_MACHINE="alphaev67"
6744
- UNAME_MACHINE="alphaev68"
6747
- UNAME_MACHINE="alphaev7"
6751
- rm -f $dummy.s $dummy && rmdir $tmpdir
6752
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
6754
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
6756
Alpha\ *:Windows_NT*:*)
6757
# How do we know it's Interix rather than the generic POSIX subsystem?
6758
# Should we change UNAME_MACHINE based on the output of uname instead
6759
# of the specific Alpha model?
6760
echo alpha-pc-interix
6763
21064:Windows_NT:50:3)
6764
echo alpha-dec-winnt3.5
6767
Amiga*:UNIX_System_V:4.0:*)
6768
echo m68k-unknown-sysv4
6771
*:[Aa]miga[Oo][Ss]:*:*)
6772
echo ${UNAME_MACHINE}-unknown-amigaos
6775
*:[Mm]orph[Oo][Ss]:*:*)
6776
echo ${UNAME_MACHINE}-unknown-morphos
6780
echo i370-ibm-openedition
6784
+ echo s390-ibm-zvmoe
6787
+ echo powerpc-ibm-os400
6789
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
6790
echo arm-acorn-riscix${UNAME_RELEASE}
6793
+ arm:riscos:*:*|arm:RISCOS:*:*)
6794
+ echo arm-unknown-riscos
6796
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
6797
echo hppa1.1-hitachi-hiuxmpp
6800
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
6801
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
6802
if test "`(/bin/universe) 2>/dev/null`" = att ; then
6803
@@ -323,29 +313,32 @@ EOF
6805
echo pyramid-pyramid-bsd
6810
echo pyramid-pyramid-svr4
6812
- DRS?6000:UNIX_SV:4.2*:7*)
6814
+ DRS?6000:unix:4.0:6*)
6815
+ echo sparc-icl-nx6
6817
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
6818
case `/usr/bin/uname -p` in
6819
- sparc) echo sparc-icl-nx7 && exit 0 ;;
6820
+ sparc) echo sparc-icl-nx7; exit ;;
6823
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
6826
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
6827
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
6829
- i86pc:SunOS:5.*:*)
6831
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
6832
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
6836
# According to config.sub, this is the proper way to canonicalize
6837
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
6838
# it's likely to be more like Solaris than SunOS4.
6839
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
6843
case "`/usr/bin/arch -k`" in
6845
@@ -354,10 +347,10 @@ EOF
6847
# Japanese Language versions have a version number like `4.1.3-JL'.
6848
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
6852
echo m68k-sun-sunos${UNAME_RELEASE}
6856
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
6857
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
6858
@@ -369,10 +362,10 @@ EOF
6859
echo sparc-sun-sunos${UNAME_RELEASE}
6865
echo sparc-auspex-sunos${UNAME_RELEASE}
6868
# The situation for MiNT is a little confusing. The machine name
6869
# can be virtually everything (everything which is not
6870
# "atarist" or "atariste" at least should have a processor
6871
@@ -383,37 +376,40 @@ EOF
6873
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
6874
echo m68k-atari-mint${UNAME_RELEASE}
6877
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
6878
echo m68k-atari-mint${UNAME_RELEASE}
6881
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
6882
echo m68k-atari-mint${UNAME_RELEASE}
6885
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
6886
echo m68k-milan-mint${UNAME_RELEASE}
6889
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
6890
echo m68k-hades-mint${UNAME_RELEASE}
6893
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
6894
echo m68k-unknown-mint${UNAME_RELEASE}
6898
+ echo m68k-apple-machten${UNAME_RELEASE}
6900
powerpc:machten:*:*)
6901
echo powerpc-apple-machten${UNAME_RELEASE}
6905
echo mips-dec-mach_bsd4.3
6909
echo mips-dec-ultrix${UNAME_RELEASE}
6913
echo vax-dec-ultrix${UNAME_RELEASE}
6916
2020:CLIX:*:* | 2430:CLIX:*:*)
6917
echo clipper-intergraph-clix${UNAME_RELEASE}
6920
mips:*:*:UMIPS | mips:*:*:RISCos)
6921
eval $set_cc_for_build
6922
sed 's/^ //' << EOF >$dummy.c
6923
@@ -437,33 +433,33 @@ EOF
6927
- $CC_FOR_BUILD $dummy.c -o $dummy \
6928
- && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
6929
- && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
6930
- rm -f $dummy.c $dummy && rmdir $tmpdir
6931
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
6932
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
6933
+ SYSTEM_NAME=`$dummy $dummyarg` &&
6934
+ { echo "$SYSTEM_NAME"; exit; }
6935
echo mips-mips-riscos${UNAME_RELEASE}
6938
Motorola:PowerMAX_OS:*:*)
6939
echo powerpc-motorola-powermax
6942
Motorola:*:4.3:PL8-*)
6943
echo powerpc-harris-powermax
6945
- Night_Hawk:*:*:PowerMAX_OS)
6947
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
6948
echo powerpc-harris-powermax
6951
Night_Hawk:Power_UNIX:*:*)
6952
echo powerpc-harris-powerunix
6956
echo m88k-harris-cxux7
6960
echo m88k-motorola-sysv4
6964
echo m88k-motorola-sysv3
6968
# DG/UX returns AViiON for all architectures
6969
UNAME_PROCESSOR=`/usr/bin/uname -p`
6970
@@ -479,29 +475,29 @@ EOF
6972
echo i586-dg-dgux${UNAME_RELEASE}
6976
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
6977
echo m88k-dolphin-sysv3
6981
# Delta 88k system running SVR3
6982
echo m88k-motorola-sysv3
6985
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
6986
echo m88k-tektronix-sysv3
6989
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
6990
echo m68k-tektronix-bsd
6994
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
6997
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
6998
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
6999
- exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
7000
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
7001
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
7007
if [ -x /usr/bin/oslevel ] ; then
7008
IBM_REV=`/usr/bin/oslevel`
7009
@@ -509,7 +505,7 @@ EOF
7010
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
7012
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
7016
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
7017
eval $set_cc_for_build
7018
@@ -524,16 +520,19 @@ EOF
7022
- $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
7023
- rm -f $dummy.c $dummy && rmdir $tmpdir
7024
- echo rs6000-ibm-aix3.2.5
7025
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
7027
+ echo "$SYSTEM_NAME"
7029
+ echo rs6000-ibm-aix3.2.5
7031
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
7032
echo rs6000-ibm-aix3.2.4
7034
echo rs6000-ibm-aix3.2
7040
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
7041
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
7043
@@ -546,28 +545,28 @@ EOF
7044
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
7046
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
7053
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
7054
echo romp-ibm-bsd4.4
7057
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
7058
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
7059
- exit 0 ;; # report: romp-ibm BSD 4.3
7060
+ exit ;; # report: romp-ibm BSD 4.3
7062
echo rs6000-bull-bosx
7065
DPX/2?00:B.O.S.:*:*)
7066
echo m68k-bull-sysv3
7069
9000/[34]??:4.3bsd:1.*:*)
7073
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
7077
9000/[34678]??:HP-UX:*:*)
7078
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
7079
case "${UNAME_MACHINE}" in
7080
@@ -623,17 +622,37 @@ EOF
7084
- (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy`
7085
- if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
7086
- rm -f $dummy.c $dummy && rmdir $tmpdir
7087
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
7088
+ test -z "$HP_ARCH" && HP_ARCH=hppa
7091
+ if [ ${HP_ARCH} = "hppa2.0w" ]
7093
+ eval $set_cc_for_build
7095
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
7096
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
7097
+ # generating 64-bit code. GNU and HP use different nomenclature:
7099
+ # $ CC_FOR_BUILD=cc ./config.guess
7100
+ # => hppa2.0w-hp-hpux11.23
7101
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
7102
+ # => hppa64-hp-hpux11.23
7104
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
7105
+ grep __LP64__ >/dev/null
7107
+ HP_ARCH="hppa2.0w"
7112
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
7116
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
7117
echo ia64-hp-hpux${HPUX_REV}
7121
eval $set_cc_for_build
7122
sed 's/^ //' << EOF >$dummy.c
7123
@@ -661,146 +680,192 @@ EOF
7127
- $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
7128
- rm -f $dummy.c $dummy && rmdir $tmpdir
7129
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
7130
+ { echo "$SYSTEM_NAME"; exit; }
7131
echo unknown-hitachi-hiuxwe2
7134
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
7138
9000/8??:4.3bsd:*:*)
7142
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
7143
echo hppa1.0-hp-mpeix
7146
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
7155
if [ -x /usr/sbin/sysversion ] ; then
7156
echo ${UNAME_MACHINE}-unknown-osf1mk
7158
echo ${UNAME_MACHINE}-unknown-osf1
7163
echo hppa1.1-hp-lites
7166
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
7170
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
7171
if getsysinfo -f scalar_acc
7172
then echo c32-convex-bsd
7173
else echo c2-convex-bsd
7177
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
7181
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
7185
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
7190
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7194
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
7195
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
7196
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
7201
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7204
- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7208
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7212
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7216
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
7218
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
7219
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
7220
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
7221
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
7222
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
7225
+ 5000:UNIX_System_V:4.*:*)
7226
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
7227
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
7228
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
7230
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
7231
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
7235
echo sparc-unknown-bsdi${UNAME_RELEASE}
7239
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
7243
- # Determine whether the default compiler uses glibc.
7244
- eval $set_cc_for_build
7245
- sed 's/^ //' << EOF >$dummy.c
7246
- #include <features.h>
7247
- #if __GLIBC__ >= 2
7253
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
7254
- rm -f $dummy.c && rmdir $tmpdir
7255
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
7257
+ case ${UNAME_MACHINE} in
7259
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7261
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7263
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
7267
echo ${UNAME_MACHINE}-pc-cygwin
7272
echo ${UNAME_MACHINE}-pc-mingw32
7276
+ # uname -m includes "-pc" on this system.
7277
+ echo ${UNAME_MACHINE}-mingw32
7280
echo ${UNAME_MACHINE}-pc-pw32
7283
- echo i386-pc-interix3
7286
+ *:Interix*:[3456]*)
7287
+ case ${UNAME_MACHINE} in
7289
+ echo i586-pc-interix${UNAME_RELEASE}
7291
+ EM64T | authenticamd)
7292
+ echo x86_64-unknown-interix${UNAME_RELEASE}
7295
+ echo ia64-unknown-interix${UNAME_RELEASE}
7298
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
7299
+ echo i${UNAME_MACHINE}-pc-mks
7301
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
7302
# How do we know it's Interix rather than the generic POSIX subsystem?
7303
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
7304
# UNAME_MACHINE based on the output of uname instead of i386?
7305
- echo i386-pc-interix
7307
+ echo i586-pc-interix
7310
echo ${UNAME_MACHINE}-pc-uwin
7313
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
7314
+ echo x86_64-unknown-cygwin
7317
echo powerpcle-unknown-cygwin
7321
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7326
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
7330
+ # other systems with GNU libc and userland
7331
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
7334
echo ${UNAME_MACHINE}-pc-minix
7338
+ eval $set_cc_for_build
7339
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
7340
+ | grep -q __ARM_EABI__
7342
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
7344
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
7348
echo ${UNAME_MACHINE}-unknown-linux-gnu
7352
+ echo cris-axis-linux-gnu
7354
+ crisv32:Linux:*:*)
7355
+ echo crisv32-axis-linux-gnu
7358
+ echo frv-unknown-linux-gnu
7361
echo ${UNAME_MACHINE}-unknown-linux-gnu
7365
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
7368
echo ${UNAME_MACHINE}-unknown-linux-gnu
7372
eval $set_cc_for_build
7373
sed 's/^ //' << EOF >$dummy.c
7374
@@ -817,16 +882,45 @@ EOF
7378
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
7379
- rm -f $dummy.c && rmdir $tmpdir
7380
- test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
7381
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7386
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
7389
+ eval $set_cc_for_build
7390
+ sed 's/^ //' << EOF >$dummy.c
7394
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
7397
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
7404
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7409
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
7412
+ echo or32-unknown-linux-gnu
7415
echo powerpc-unknown-linux-gnu
7419
echo powerpc64-unknown-linux-gnu
7423
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
7424
EV5) UNAME_MACHINE=alphaev5 ;;
7425
@@ -840,7 +934,7 @@ EOF
7426
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
7427
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
7428
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
7431
parisc:Linux:*:* | hppa:Linux:*:*)
7432
# Look for CPU level
7433
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
7434
@@ -848,22 +942,31 @@ EOF
7435
PA8*) echo hppa2.0-unknown-linux-gnu ;;
7436
*) echo hppa-unknown-linux-gnu ;;
7440
parisc64:Linux:*:* | hppa64:Linux:*:*)
7441
echo hppa64-unknown-linux-gnu
7444
s390:Linux:*:* | s390x:Linux:*:*)
7445
echo ${UNAME_MACHINE}-ibm-linux
7449
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
7452
echo ${UNAME_MACHINE}-unknown-linux-gnu
7455
sparc:Linux:*:* | sparc64:Linux:*:*)
7456
echo ${UNAME_MACHINE}-unknown-linux-gnu
7460
+ echo ${UNAME_MACHINE}-dec-linux-gnu
7463
echo x86_64-unknown-linux-gnu
7466
+ xtensa*:Linux:*:*)
7467
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
7470
# The BFD linker knows what the default object file format is, so
7471
# first see if it will tell us. cd to the root directory to prevent
7472
@@ -881,15 +984,15 @@ EOF
7475
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
7479
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
7483
# Either a pre-BFD a.out linker (linux-gnuoldld) or
7484
# one that does not give us useful --help.
7485
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
7489
# Determine whether the default compiler is a.out or elf
7490
eval $set_cc_for_build
7491
@@ -906,24 +1009,33 @@ EOF
7495
- #ifdef __INTEL_COMPILER
7496
+ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
7502
+ #ifdef __dietlibc__
7506
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
7507
- rm -f $dummy.c && rmdir $tmpdir
7508
- test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
7509
- test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
7510
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
7515
+ test x"${LIBC}" != x && {
7516
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
7519
+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
7521
i*86:DYNIX/ptx:4*:*)
7522
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
7523
# earlier versions are messed up and put the nodename in both
7524
# sysname and nodename.
7525
echo i386-sequent-sysv4
7528
i*86:UNIX_SV:4.2MP:2.*)
7529
# Unixware is an offshoot of SVR4, but it has its own version
7530
# number series starting with 2...
7531
@@ -931,7 +1043,27 @@ EOF
7532
# I just have to hope. -- rms.
7533
# Use sysv4.2uw... so that sysv4* matches it.
7534
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
7538
+ # If we were able to find `uname', then EMX Unix compatibility
7539
+ # is probably installed.
7540
+ echo ${UNAME_MACHINE}-pc-os2-emx
7542
+ i*86:XTS-300:*:STOP)
7543
+ echo ${UNAME_MACHINE}-unknown-stop
7546
+ echo ${UNAME_MACHINE}-unknown-atheos
7548
+ i*86:syllable:*:*)
7549
+ echo ${UNAME_MACHINE}-pc-syllable
7551
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
7552
+ echo i386-unknown-lynxos${UNAME_RELEASE}
7555
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
7557
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
7558
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
7559
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
7560
@@ -939,15 +1071,16 @@ EOF
7562
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
7568
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
7569
case `/bin/uname -X | grep "^Machine"` in
7570
*486*) UNAME_MACHINE=i486 ;;
7571
*Pentium) UNAME_MACHINE=i586 ;;
7572
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
7574
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
7578
if test -f /usr/options/cb.name; then
7579
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
7580
@@ -965,76 +1098,73 @@ EOF
7582
echo ${UNAME_MACHINE}-pc-sysv32
7586
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
7590
# Left here for compatibility:
7591
# uname -m prints for DJGPP always 'pc', but it prints nothing about
7592
# the processor, so we play safe by assuming i386.
7593
echo i386-pc-msdosdjgpp
7601
echo i860-intel-osf1
7604
i860:*:4.*:*) # i860-SVR4
7605
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
7606
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
7607
else # Add other i860-SVR4 vendors below as they are discovered.
7608
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
7614
echo m68010-convergent-sysv
7617
mc68k:UNIX:SYSTEM5:3.51m)
7618
echo m68k-convergent-sysv
7620
- M68*:*:R3V[567]*:*)
7621
- test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
7622
- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
7624
+ M680?0:D-NIX:5.3:*)
7625
+ echo m68k-diab-dnix
7627
+ M68*:*:R3V[5678]*:*)
7628
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
7629
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
7631
test -r /etc/.relid \
7632
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
7633
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
7634
- && echo i486-ncr-sysv4.3${OS_REL} && exit 0
7635
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
7636
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
7637
- && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
7638
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
7639
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
7640
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
7641
- && echo i486-ncr-sysv4 && exit 0 ;;
7642
+ && { echo i486-ncr-sysv4; exit; } ;;
7643
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
7644
echo m68k-unknown-lynxos${UNAME_RELEASE}
7647
mc68030:UNIX_System_V:4.*:*)
7648
echo m68k-atari-sysv4
7650
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
7651
- echo i386-unknown-lynxos${UNAME_RELEASE}
7654
TSUNAMI:LynxOS:2.*:*)
7655
echo sparc-unknown-lynxos${UNAME_RELEASE}
7658
rs6000:LynxOS:2.*:*)
7659
echo rs6000-unknown-lynxos${UNAME_RELEASE}
7662
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
7663
echo powerpc-unknown-lynxos${UNAME_RELEASE}
7666
SM[BE]S:UNIX_SV:*:*)
7667
echo mips-dde-sysv${UNAME_RELEASE}
7670
RM*:ReliantUNIX-*:*:*)
7679
if uname -p 2>/dev/null >/dev/null ; then
7680
UNAME_MACHINE=`(uname -p) 2>/dev/null`
7681
@@ -1042,64 +1172,81 @@ EOF
7687
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
7688
# says <Richard.M.Bartel@ccMail.Census.GOV>
7689
echo i586-unisys-sysv4
7692
*:UNIX_System_V:4*:FTX*)
7693
# From Gerald Hewes <hewes@openmarket.com>.
7694
# How about differentiating between stratus architectures? -djm
7695
echo hppa1.1-stratus-sysv4
7699
# From seanf@swdc.stratus.com.
7700
echo i860-stratus-sysv4
7704
+ # From Paul.Green@stratus.com.
7705
+ echo ${UNAME_MACHINE}-stratus-vos
7708
# From Paul.Green@stratus.com.
7709
echo hppa1.1-stratus-vos
7713
echo m68k-apple-aux${UNAME_RELEASE}
7717
echo mips-sony-newsos6
7720
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
7721
if [ -d /usr/nec ]; then
7722
echo mips-nec-sysv${UNAME_RELEASE}
7724
echo mips-unknown-sysv${UNAME_RELEASE}
7728
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
7729
echo powerpc-be-beos
7732
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
7733
echo powerpc-apple-beos
7736
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
7741
echo sx4-nec-superux${UNAME_RELEASE}
7745
echo sx5-nec-superux${UNAME_RELEASE}
7749
echo sx6-nec-superux${UNAME_RELEASE}
7752
+ SX-7:SUPER-UX:*:*)
7753
+ echo sx7-nec-superux${UNAME_RELEASE}
7755
+ SX-8:SUPER-UX:*:*)
7756
+ echo sx8-nec-superux${UNAME_RELEASE}
7758
+ SX-8R:SUPER-UX:*:*)
7759
+ echo sx8r-nec-superux${UNAME_RELEASE}
7761
Power*:Rhapsody:*:*)
7762
echo powerpc-apple-rhapsody${UNAME_RELEASE}
7766
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
7770
- echo `uname -p`-apple-darwin${UNAME_RELEASE}
7772
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
7773
+ case $UNAME_PROCESSOR in
7774
+ unknown) UNAME_PROCESSOR=powerpc ;;
7776
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
7778
*:procnto*:*:* | *:QNX:[0123456789]*:*)
7779
UNAME_PROCESSOR=`uname -p`
7780
if test "$UNAME_PROCESSOR" = "x86"; then
7781
@@ -1107,22 +1254,25 @@ EOF
7784
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
7790
- NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
7792
+ NSE-?:NONSTOP_KERNEL:*:*)
7793
+ echo nse-tandem-nsk${UNAME_RELEASE}
7795
+ NSR-?:NONSTOP_KERNEL:*:*)
7796
echo nsr-tandem-nsk${UNAME_RELEASE}
7800
echo mips-compaq-nonstopux
7804
echo bs2000-siemens-sysv
7807
DS/*:UNIX_System_V:*:*)
7808
echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
7812
# "uname -m" is not consistent, so use $cputype instead. 386
7813
# is converted to i386 for consistency with other x86
7814
@@ -1133,36 +1283,47 @@ EOF
7815
UNAME_MACHINE="$cputype"
7817
echo ${UNAME_MACHINE}-unknown-plan9
7820
- # If we were able to find `uname', then EMX Unix compatibility
7821
- # is probably installed.
7822
- echo ${UNAME_MACHINE}-pc-os2-emx
7826
echo pdp10-unknown-tops10
7830
echo pdp10-unknown-tenex
7833
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
7834
echo pdp10-dec-tops20
7837
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
7838
echo pdp10-xkl-tops20
7842
echo pdp10-unknown-tops20
7846
echo pdp10-unknown-its
7848
- i*86:XTS-300:*:STOP)
7849
- echo ${UNAME_MACHINE}-unknown-stop
7852
- echo ${UNAME_MACHINE}-unknown-atheos
7856
+ echo mips-sei-seiux${UNAME_RELEASE}
7859
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
7862
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
7863
+ case "${UNAME_MACHINE}" in
7864
+ A*) echo alpha-dec-vms ; exit ;;
7865
+ I*) echo ia64-dec-vms ; exit ;;
7866
+ V*) echo vax-dec-vms ; exit ;;
7869
+ echo i386-pc-xenix
7872
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
7875
+ echo ${UNAME_MACHINE}-pc-rdos
7879
#echo '(No uname command or uname output not recognized.)' 1>&2
7880
@@ -1194,7 +1355,7 @@ main ()
7883
#if defined (__arm) && defined (__acorn) && defined (__unix)
7884
- printf ("arm-acorn-riscix"); exit (0);
7885
+ printf ("arm-acorn-riscix\n"); exit (0);
7888
#if defined (hp300) && !defined (hpux)
7889
@@ -1283,12 +1444,12 @@ main ()
7893
-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
7894
-rm -f $dummy.c $dummy && rmdir $tmpdir
7895
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
7896
+ { echo "$SYSTEM_NAME"; exit; }
7898
# Apollos put the system type in the environment.
7900
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
7901
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
7903
# Convex versions that predate uname can use getsysinfo(1)
7905
@@ -1297,22 +1458,22 @@ then
7906
case `getsysinfo -f cpu_type` in
7912
if getsysinfo -f scalar_acc
7913
then echo c32-convex-bsd
7914
else echo c2-convex-bsd
7933
@@ -1323,7 +1484,9 @@ This script, last modified $timestamp, h
7934
the operating system you are using. It is advised that you
7935
download the most up to date version of the config scripts from
7937
- ftp://ftp.gnu.org/pub/gnu/config/
7938
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
7940
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
7942
If the version you run ($0) is already up to date, please
7943
send the following data and any information you think might be
7944
--- gnats-4.1.0.orig/gnats/aclocal.m4
7945
+++ gnats-4.1.0/gnats/aclocal.m4
7947
-dnl aclocal.m4 generated automatically by aclocal 1.4-p4
7948
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
7950
-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
7951
-dnl This file is free software; the Free Software Foundation
7952
-dnl gives unlimited permission to copy and/or distribute it,
7953
-dnl with or without modifications, as long as this notice is preserved.
7955
-dnl This program is distributed in the hope that it will be useful,
7956
-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
7957
-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
7958
-dnl PARTICULAR PURPOSE.
7961
-# This test replaces the one in autoconf.
7962
-# Currently this macro should have the same name as the autoconf macro
7963
-# because gettext's gettext.m4 (distributed in the automake package)
7964
-# still uses it. Otherwise, the use in gettext.m4 makes autoheader
7965
-# give these diagnostics:
7966
-# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
7967
-# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
7969
-undefine([AC_ISC_POSIX])
7971
-AC_DEFUN([AC_ISC_POSIX],
7973
- dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
7974
- AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
7981
-AC_DEFUN(AM_PATH_LISPDIR,
7982
- [# If set to t, that means we are running in a shell under Emacs.
7983
- # If you have an Emacs named "t", then use the full path.
7984
- test "$EMACS" = t && EMACS=
7985
- AC_PATH_PROGS(EMACS, emacs xemacs, no)
7986
- if test $EMACS != "no"; then
7987
- AC_MSG_CHECKING([where .elc files should go])
7988
- dnl Set default value
7989
- lispdir="\$(datadir)/emacs/site-lisp"
7990
- emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
7991
- if test "x$prefix" = "xNONE"; then
7992
- if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
7993
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
7995
- if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
7996
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
8000
- if test -d $prefix/share/$emacs_flavor/site-lisp; then
8001
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
8003
- if test -d $prefix/lib/$emacs_flavor/site-lisp; then
8004
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
8008
- AC_MSG_RESULT($lispdir)
8010
- AC_SUBST(lispdir)])
8011
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8012
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
8013
+# This file is free software; the Free Software Foundation
8014
+# gives unlimited permission to copy and/or distribute it,
8015
+# with or without modifications, as long as this notice is preserved.
8017
+# This program is distributed in the hope that it will be useful,
8018
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
8019
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8020
+# PARTICULAR PURPOSE.
8022
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
8023
+# 2006 Free Software Foundation, Inc.
8025
+# This file is free software; the Free Software Foundation
8026
+# gives unlimited permission to copy and/or distribute it,
8027
+# with or without modifications, as long as this notice is preserved.
8033
+AC_DEFUN([AM_PATH_LISPDIR],
8034
+[AC_PREREQ([2.60])dnl
8035
+ # If set to t, that means we are running in a shell under Emacs.
8036
+ # If you have an Emacs named "t", then use the full path.
8037
+ test x"$EMACS" = xt && EMACS=
8038
+ AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
8039
+ AC_ARG_VAR([EMACS], [the Emacs editor command])
8040
+ AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
8041
+ AC_ARG_WITH([lispdir],
8042
+ [ --with-lispdir override the default lisp directory],
8043
+ [ lispdir="$withval"
8044
+ AC_MSG_CHECKING([where .elc files should go])
8045
+ AC_MSG_RESULT([$lispdir])],
8047
+ AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [
8048
+ if test $EMACS != "no"; then
8049
+ if test x${lispdir+set} != xset; then
8050
+ # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
8051
+ # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
8052
+ # which is non-obvious for non-emacs users.
8053
+ # Redirecting /dev/null should help a bit; pity we can't detect "broken"
8054
+ # emacsen earlier and avoid running this altogether.
8055
+ AC_RUN_LOG([$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
8056
+ am_cv_lispdir=`sed -n \
8058
+ -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
8059
+ -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
8064
+ test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
8066
+ lispdir="$am_cv_lispdir"
8068
+AC_SUBST([lispdir])
8069
+])# AM_PATH_LISPDIR
8071
+AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
8073
--- gnats-4.1.0.orig/gnats/getdate.c
8074
+++ gnats-4.1.0/gnats/getdate.c
8076
-/* A Bison parser, made from ./getdate.y
8077
- by GNU bison 1.35. */
8078
+/* A Bison parser, made by GNU Bison 2.3. */
8080
-#define YYBISON 1 /* Identify Bison output. */
8081
+/* Skeleton implementation for Bison's Yacc-like parsers in C
8086
-# define tDAY_UNIT 260
8087
-# define tDAYZONE 261
8088
-# define tHOUR_UNIT 262
8089
-# define tLOCAL_ZONE 263
8090
-# define tMERIDIAN 264
8091
-# define tMINUTE_UNIT 265
8092
-# define tMONTH 266
8093
-# define tMONTH_UNIT 267
8094
-# define tSEC_UNIT 268
8095
-# define tYEAR_UNIT 269
8097
-# define tSNUMBER 271
8098
-# define tUNUMBER 272
8099
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
8100
+ Free Software Foundation, Inc.
8102
+ This program is free software; you can redistribute it and/or modify
8103
+ it under the terms of the GNU General Public License as published by
8104
+ the Free Software Foundation; either version 2, or (at your option)
8105
+ any later version.
8107
+ This program is distributed in the hope that it will be useful,
8108
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
8109
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8110
+ GNU General Public License for more details.
8112
+ You should have received a copy of the GNU General Public License
8113
+ along with this program; if not, write to the Free Software
8114
+ Foundation, Inc., 51 Franklin Street, Fifth Floor,
8115
+ Boston, MA 02110-1301, USA. */
8117
+/* As a special exception, you may create a larger work that contains
8118
+ part or all of the Bison parser skeleton and distribute that work
8119
+ under terms of your choice, so long as that work isn't itself a
8120
+ parser generator using the skeleton or a modified version thereof
8121
+ as a parser skeleton. Alternatively, if you modify or redistribute
8122
+ the parser skeleton itself, you may (at your option) remove this
8123
+ special exception, which will cause the skeleton and the resulting
8124
+ Bison output files to be licensed under the GNU General Public
8125
+ License without this special exception.
8127
+ This special exception was added by the Free Software Foundation in
8128
+ version 2.2 of Bison. */
8130
+/* C LALR(1) parser skeleton written by Richard Stallman, by
8131
+ simplifying the original so-called "semantic" parser. */
8133
+/* All symbols defined below should begin with yy or YY, to avoid
8134
+ infringing on user name space. This should be done even for local
8135
+ variables, as they might otherwise be expanded by user macros.
8136
+ There are some unavoidable exceptions within include files to
8137
+ define necessary library symbols; they are noted "INFRINGES ON
8138
+ USER NAME SPACE" below. */
8140
+/* Identify Bison output. */
8143
+/* Bison version. */
8144
+#define YYBISON_VERSION "2.3"
8146
+/* Skeleton name. */
8147
+#define YYSKELETON_NAME "yacc.c"
8149
+/* Pure parsers. */
8152
+/* Using locations. */
8153
+#define YYLSP_NEEDED 0
8158
+#ifndef YYTOKENTYPE
8159
+# define YYTOKENTYPE
8160
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
8161
+ know about them. */
8162
+ enum yytokentype {
8169
+ tLOCAL_ZONE = 264,
8171
+ tMINUTE_UNIT = 266,
8173
+ tMONTH_UNIT = 268,
8185
+#define tDAY_UNIT 261
8186
+#define tDAYZONE 262
8187
+#define tHOUR_UNIT 263
8188
+#define tLOCAL_ZONE 264
8189
+#define tMERIDIAN 265
8190
+#define tMINUTE_UNIT 266
8192
+#define tMONTH_UNIT 268
8193
+#define tSEC_UNIT 269
8194
+#define tYEAR_UNIT 270
8196
+#define tSNUMBER 272
8197
+#define tUNUMBER 273
8202
+/* Copy the first part of user declarations. */
8203
#line 1 "./getdate.y"
8205
/* Parse a string into an internal time stamp.
8206
@@ -185,321 +271,237 @@ static int yyerror ();
8207
static int yylex ();
8210
-#line 172 "./getdate.y"
8215
- textint textintval;
8217
-# define YYSTYPE yystype
8218
-# define YYSTYPE_IS_TRIVIAL 1
8221
+/* Enabling traces. */
8229
-#define YYFLAG -32768
8230
-#define YYNTBASE 22
8232
-/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
8233
-#define YYTRANSLATE(x) ((unsigned)(x) <= 272 ? yytranslate[x] : 33)
8235
-/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
8236
-static const char yytranslate[] =
8238
- 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8239
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8240
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8241
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8242
- 2, 2, 2, 2, 20, 2, 2, 21, 2, 2,
8243
- 2, 2, 2, 2, 2, 2, 2, 2, 19, 2,
8244
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8245
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8246
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8247
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8248
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8249
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8250
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8251
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8252
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8253
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8254
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8255
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8256
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8257
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8258
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8259
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8260
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8261
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8262
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8263
- 2, 2, 2, 2, 2, 2, 1, 3, 4, 5,
8264
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
8269
-static const short yyprhs[] =
8271
- 0, 0, 1, 4, 6, 8, 10, 12, 14, 16,
8272
- 18, 21, 26, 31, 38, 45, 47, 50, 52, 54,
8273
- 57, 59, 62, 65, 69, 75, 79, 83, 86, 91,
8274
- 94, 98, 101, 103, 106, 109, 111, 114, 117, 119,
8275
- 122, 125, 127, 130, 133, 135, 138, 141, 143, 146,
8276
- 149, 151, 153, 154
8278
-static const short yyrhs[] =
8280
- -1, 22, 23, 0, 24, 0, 25, 0, 26, 0,
8281
- 28, 0, 27, 0, 29, 0, 31, 0, 18, 10,
8282
- 0, 18, 19, 18, 32, 0, 18, 19, 18, 17,
8283
- 0, 18, 19, 18, 19, 18, 32, 0, 18, 19,
8284
- 18, 19, 18, 17, 0, 9, 0, 9, 4, 0,
8285
- 16, 0, 7, 0, 16, 4, 0, 5, 0, 5,
8286
- 20, 0, 18, 5, 0, 18, 21, 18, 0, 18,
8287
- 21, 18, 21, 18, 0, 18, 17, 17, 0, 18,
8288
- 12, 17, 0, 12, 18, 0, 12, 18, 20, 18,
8289
- 0, 18, 12, 0, 18, 12, 18, 0, 30, 3,
8290
- 0, 30, 0, 18, 15, 0, 17, 15, 0, 15,
8291
- 0, 18, 13, 0, 17, 13, 0, 13, 0, 18,
8292
- 6, 0, 17, 6, 0, 6, 0, 18, 8, 0,
8293
- 17, 8, 0, 8, 0, 18, 11, 0, 17, 11,
8294
- 0, 11, 0, 18, 14, 0, 17, 14, 0, 14,
8295
- 0, 18, 0, 0, 10, 0
8298
+/* Enabling verbose error messages. */
8299
+#ifdef YYERROR_VERBOSE
8300
+# undef YYERROR_VERBOSE
8301
+# define YYERROR_VERBOSE 1
8303
+# define YYERROR_VERBOSE 0
8307
-/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
8308
-static const short yyrline[] =
8310
- 0, 189, 191, 194, 197, 199, 201, 203, 205, 207,
8311
- 210, 218, 225, 233, 240, 251, 254, 258, 261, 263,
8312
- 267, 273, 278, 285, 291, 311, 318, 326, 331, 337,
8313
- 342, 350, 360, 363, 366, 368, 370, 372, 374, 376,
8314
- 378, 380, 382, 384, 386, 388, 390, 392, 394, 396,
8315
- 398, 402, 438, 441
8317
+/* Enabling the token table. */
8318
+#ifndef YYTOKEN_TABLE
8319
+# define YYTOKEN_TABLE 0
8323
-#if (YYDEBUG) || defined YYERROR_VERBOSE
8325
-/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
8326
-static const char *const yytname[] =
8327
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
8328
+typedef union YYSTYPE
8329
+#line 173 "./getdate.y"
8331
- "$", "error", "$undefined.", "tAGO", "tDST", "tDAY", "tDAY_UNIT",
8332
- "tDAYZONE", "tHOUR_UNIT", "tLOCAL_ZONE", "tMERIDIAN", "tMINUTE_UNIT",
8333
- "tMONTH", "tMONTH_UNIT", "tSEC_UNIT", "tYEAR_UNIT", "tZONE", "tSNUMBER",
8334
- "tUNUMBER", "':'", "','", "'/'", "spec", "item", "time", "local_zone",
8335
- "zone", "day", "date", "rel", "relunit", "number", "o_merid", 0
8338
+ textint textintval;
8340
+/* Line 187 of yacc.c. */
8341
+#line 302 "getdate.c"
8343
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
8344
+# define YYSTYPE_IS_DECLARED 1
8345
+# define YYSTYPE_IS_TRIVIAL 1
8348
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
8349
-static const short yyr1[] =
8351
- 0, 22, 22, 23, 23, 23, 23, 23, 23, 23,
8352
- 24, 24, 24, 24, 24, 25, 25, 26, 26, 26,
8353
- 27, 27, 27, 28, 28, 28, 28, 28, 28, 28,
8354
- 28, 29, 29, 30, 30, 30, 30, 30, 30, 30,
8355
- 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
8359
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
8360
-static const short yyr2[] =
8362
- 0, 0, 2, 1, 1, 1, 1, 1, 1, 1,
8363
- 2, 4, 4, 6, 6, 1, 2, 1, 1, 2,
8364
- 1, 2, 2, 3, 5, 3, 3, 2, 4, 2,
8365
- 3, 2, 1, 2, 2, 1, 2, 2, 1, 2,
8366
- 2, 1, 2, 2, 1, 2, 2, 1, 2, 2,
8370
-/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE
8371
- doesn't specify something else to do. Zero means the default is an
8373
-static const short yydefact[] =
8375
- 1, 0, 20, 41, 18, 44, 15, 47, 0, 38,
8376
- 50, 35, 17, 0, 51, 2, 3, 4, 5, 7,
8377
- 6, 8, 32, 9, 21, 16, 27, 19, 40, 43,
8378
- 46, 37, 49, 34, 22, 39, 42, 10, 45, 29,
8379
- 36, 48, 33, 0, 0, 0, 31, 0, 26, 30,
8380
- 25, 52, 23, 28, 53, 12, 0, 11, 0, 52,
8383
+/* Copy the second part of user declarations. */
8385
-static const short yydefgoto[] =
8387
- 1, 15, 16, 17, 18, 19, 20, 21, 22, 23,
8391
-static const short yypact[] =
8393
- -32768, 0, 1,-32768,-32768,-32768, 19,-32768, -14,-32768,
8394
- -32768,-32768, 32, 26, 14,-32768,-32768,-32768,-32768,-32768,
8395
- -32768,-32768, 27,-32768,-32768,-32768, 22,-32768,-32768,-32768,
8396
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -16,
8397
- -32768,-32768,-32768, 29, 25, 30,-32768, 31,-32768,-32768,
8398
- -32768, 28, 23,-32768,-32768,-32768, 33,-32768, 34, -7,
8399
- -32768,-32768,-32768, 50,-32768
8402
-static const short yypgoto[] =
8404
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
8411
+/* Line 216 of yacc.c. */
8412
+#line 315 "getdate.c"
8414
-static const short yytable[] =
8416
- 63, 48, 49, 54, 26, 2, 3, 4, 5, 6,
8417
- 61, 7, 8, 9, 10, 11, 12, 13, 14, 34,
8418
- 35, 24, 36, 25, 37, 38, 39, 40, 41, 42,
8419
- 46, 43, 28, 44, 29, 45, 27, 30, 54, 31,
8420
- 32, 33, 47, 51, 58, 55, 50, 56, 52, 53,
8427
-static const short yycheck[] =
8429
- 0, 17, 18, 10, 18, 5, 6, 7, 8, 9,
8430
- 17, 11, 12, 13, 14, 15, 16, 17, 18, 5,
8431
- 6, 20, 8, 4, 10, 11, 12, 13, 14, 15,
8432
- 3, 17, 6, 19, 8, 21, 4, 11, 10, 13,
8433
- 14, 15, 20, 18, 21, 17, 17, 19, 18, 18,
8437
+#ifdef YYTYPE_UINT8
8438
+typedef YYTYPE_UINT8 yytype_uint8;
8440
+typedef unsigned char yytype_uint8;
8443
-/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
8444
-#line 3 "/usr/share/bison/bison.simple"
8446
+typedef YYTYPE_INT8 yytype_int8;
8447
+#elif (defined __STDC__ || defined __C99__FUNC__ \
8448
+ || defined __cplusplus || defined _MSC_VER)
8449
+typedef signed char yytype_int8;
8451
+typedef short int yytype_int8;
8454
-/* Skeleton output parser for bison,
8455
+#ifdef YYTYPE_UINT16
8456
+typedef YYTYPE_UINT16 yytype_uint16;
8458
+typedef unsigned short int yytype_uint16;
8461
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software
8463
+#ifdef YYTYPE_INT16
8464
+typedef YYTYPE_INT16 yytype_int16;
8466
+typedef short int yytype_int16;
8469
- This program is free software; you can redistribute it and/or modify
8470
- it under the terms of the GNU General Public License as published by
8471
- the Free Software Foundation; either version 2, or (at your option)
8472
- any later version.
8474
+# ifdef __SIZE_TYPE__
8475
+# define YYSIZE_T __SIZE_TYPE__
8476
+# elif defined size_t
8477
+# define YYSIZE_T size_t
8478
+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
8479
+ || defined __cplusplus || defined _MSC_VER)
8480
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
8481
+# define YYSIZE_T size_t
8483
+# define YYSIZE_T unsigned int
8487
- This program is distributed in the hope that it will be useful,
8488
- but WITHOUT ANY WARRANTY; without even the implied warranty of
8489
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8490
- GNU General Public License for more details.
8491
+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
8493
- You should have received a copy of the GNU General Public License
8494
- along with this program; if not, write to the Free Software
8495
- Foundation, Inc., 59 Temple Place - Suite 330,
8496
- Boston, MA 02111-1307, USA. */
8500
+# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
8501
+# define YY_(msgid) dgettext ("bison-runtime", msgid)
8505
+# define YY_(msgid) msgid
8509
-/* As a special exception, when this file is copied by Bison into a
8510
- Bison output file, you may use that output file without restriction.
8511
- This special exception was added by the Free Software Foundation
8512
- in version 1.24 of Bison. */
8514
-/* This is the parser code that is written into each bison parser when
8515
- the %semantic_parser declaration is not specified in the grammar.
8516
- It was written by Richard Stallman by simplifying the hairy parser
8517
- used when %semantic_parser is specified. */
8518
+/* Suppress unused-variable warnings by "using" E. */
8519
+#if ! defined lint || defined __GNUC__
8520
+# define YYUSE(e) ((void) (e))
8522
+# define YYUSE(e) /* empty */
8525
-/* All symbols defined below should begin with yy or YY, to avoid
8526
- infringing on user name space. This should be done even for local
8527
- variables, as they might otherwise be expanded by user macros.
8528
- There are some unavoidable exceptions within include files to
8529
- define necessary library symbols; they are noted "INFRINGES ON
8530
- USER NAME SPACE" below. */
8531
+/* Identity function, used to suppress warnings about constant conditions. */
8533
+# define YYID(n) (n)
8535
+#if (defined __STDC__ || defined __C99__FUNC__ \
8536
+ || defined __cplusplus || defined _MSC_VER)
8549
-#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE)
8550
+#if ! defined yyoverflow || YYERROR_VERBOSE
8552
/* The parser invokes alloca or malloc; define the necessary symbols. */
8554
-# if YYSTACK_USE_ALLOCA
8555
-# define YYSTACK_ALLOC alloca
8557
-# ifndef YYSTACK_USE_ALLOCA
8558
-# if defined (alloca) || defined (_ALLOCA_H)
8559
-# define YYSTACK_ALLOC alloca
8560
+# ifdef YYSTACK_USE_ALLOCA
8561
+# if YYSTACK_USE_ALLOCA
8563
+# define YYSTACK_ALLOC __builtin_alloca
8564
+# elif defined __BUILTIN_VA_ARG_INCR
8565
+# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
8566
+# elif defined _AIX
8567
+# define YYSTACK_ALLOC __alloca
8568
+# elif defined _MSC_VER
8569
+# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
8570
+# define alloca _alloca
8573
-# define YYSTACK_ALLOC __builtin_alloca
8574
+# define YYSTACK_ALLOC alloca
8575
+# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
8576
+ || defined __cplusplus || defined _MSC_VER)
8577
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
8579
+# define _STDLIB_H 1
8586
# ifdef YYSTACK_ALLOC
8587
- /* Pacify GCC's `empty if-body' warning. */
8588
-# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
8589
+ /* Pacify GCC's `empty if-body' warning. */
8590
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
8591
+# ifndef YYSTACK_ALLOC_MAXIMUM
8592
+ /* The OS might guarantee only one guard page at the bottom of the stack,
8593
+ and a page size can be as small as 4096 bytes. So we cannot safely
8594
+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
8595
+ to allow for a few compiler-allocated temporary stack slots. */
8596
+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
8599
-# if defined (__STDC__) || defined (__cplusplus)
8600
+# define YYSTACK_ALLOC YYMALLOC
8601
+# define YYSTACK_FREE YYFREE
8602
+# ifndef YYSTACK_ALLOC_MAXIMUM
8603
+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
8605
+# if (defined __cplusplus && ! defined _STDLIB_H \
8606
+ && ! ((defined YYMALLOC || defined malloc) \
8607
+ && (defined YYFREE || defined free)))
8608
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
8609
-# define YYSIZE_T size_t
8611
+# define _STDLIB_H 1
8615
+# define YYMALLOC malloc
8616
+# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
8617
+ || defined __cplusplus || defined _MSC_VER)
8618
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
8622
+# define YYFREE free
8623
+# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
8624
+ || defined __cplusplus || defined _MSC_VER)
8625
+void free (void *); /* INFRINGES ON USER NAME SPACE */
8628
-# define YYSTACK_ALLOC malloc
8629
-# define YYSTACK_FREE free
8631
-#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */
8632
+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
8635
-#if (! defined (yyoverflow) \
8636
- && (! defined (__cplusplus) \
8637
- || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
8638
+#if (! defined yyoverflow \
8639
+ && (! defined __cplusplus \
8640
+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
8642
/* A type that is properly aligned for any stack member. */
8646
+ yytype_int16 yyss;
8654
/* The size of the maximum gap between one aligned stack and the next. */
8655
-# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
8656
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
8658
/* The size of an array large to enough to hold all stacks, each with
8661
-# define YYSTACK_BYTES(N) \
8662
- ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
8663
- + 2 * YYSTACK_GAP_MAX)
8665
-# define YYSTACK_BYTES(N) \
8666
- ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
8667
- + YYSTACK_GAP_MAX)
8669
+# define YYSTACK_BYTES(N) \
8670
+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
8671
+ + YYSTACK_GAP_MAXIMUM)
8673
/* Copy COUNT objects from FROM to TO. The source and destination do
8677
+# if defined __GNUC__ && 1 < __GNUC__
8678
# define YYCOPY(To, From, Count) \
8679
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
8681
# define YYCOPY(To, From, Count) \
8684
- register YYSIZE_T yyi; \
8686
for (yyi = 0; yyi < (Count); yyi++) \
8687
(To)[yyi] = (From)[yyi]; \
8694
@@ -514,97 +516,329 @@ union yyalloc
8695
YYSIZE_T yynewbytes; \
8696
YYCOPY (&yyptr->Stack, Stack, yysize); \
8697
Stack = &yyptr->Stack; \
8698
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
8699
+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
8700
yyptr += yynewbytes / sizeof (*yyptr); \
8707
+/* YYFINAL -- State number of the termination state. */
8709
+/* YYLAST -- Last index in YYTABLE. */
8712
+/* YYNTOKENS -- Number of terminals. */
8713
+#define YYNTOKENS 22
8714
+/* YYNNTS -- Number of nonterminals. */
8716
+/* YYNRULES -- Number of rules. */
8717
+#define YYNRULES 54
8718
+/* YYNRULES -- Number of states. */
8719
+#define YYNSTATES 64
8721
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
8722
+#define YYUNDEFTOK 2
8723
+#define YYMAXUTOK 273
8725
+#define YYTRANSLATE(YYX) \
8726
+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
8728
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
8729
+static const yytype_uint8 yytranslate[] =
8731
+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8732
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8733
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8734
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8735
+ 2, 2, 2, 2, 20, 2, 2, 21, 2, 2,
8736
+ 2, 2, 2, 2, 2, 2, 2, 2, 19, 2,
8737
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8738
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8739
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8740
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8741
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8742
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8743
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8744
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8745
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8746
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8747
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8748
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8749
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8750
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8751
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8752
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8753
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8754
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8755
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
8756
+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
8757
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
8761
-#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
8762
-# define YYSIZE_T __SIZE_TYPE__
8764
+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
8766
+static const yytype_uint8 yyprhs[] =
8768
+ 0, 0, 3, 4, 7, 9, 11, 13, 15, 17,
8769
+ 19, 21, 24, 29, 34, 41, 48, 50, 53, 55,
8770
+ 57, 60, 62, 65, 68, 72, 78, 82, 86, 89,
8771
+ 94, 97, 101, 104, 106, 109, 112, 114, 117, 120,
8772
+ 122, 125, 128, 130, 133, 136, 138, 141, 144, 146,
8773
+ 149, 152, 154, 156, 157
8776
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
8777
+static const yytype_int8 yyrhs[] =
8779
+ 23, 0, -1, -1, 23, 24, -1, 25, -1, 26,
8780
+ -1, 27, -1, 29, -1, 28, -1, 30, -1, 32,
8781
+ -1, 18, 10, -1, 18, 19, 18, 33, -1, 18,
8782
+ 19, 18, 17, -1, 18, 19, 18, 19, 18, 33,
8783
+ -1, 18, 19, 18, 19, 18, 17, -1, 9, -1,
8784
+ 9, 4, -1, 16, -1, 7, -1, 16, 4, -1,
8785
+ 5, -1, 5, 20, -1, 18, 5, -1, 18, 21,
8786
+ 18, -1, 18, 21, 18, 21, 18, -1, 18, 17,
8787
+ 17, -1, 18, 12, 17, -1, 12, 18, -1, 12,
8788
+ 18, 20, 18, -1, 18, 12, -1, 18, 12, 18,
8789
+ -1, 31, 3, -1, 31, -1, 18, 15, -1, 17,
8790
+ 15, -1, 15, -1, 18, 13, -1, 17, 13, -1,
8791
+ 13, -1, 18, 6, -1, 17, 6, -1, 6, -1,
8792
+ 18, 8, -1, 17, 8, -1, 8, -1, 18, 11,
8793
+ -1, 17, 11, -1, 11, -1, 18, 14, -1, 17,
8794
+ 14, -1, 14, -1, 18, -1, -1, 10, -1
8797
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
8798
+static const yytype_uint16 yyrline[] =
8800
+ 0, 189, 189, 191, 195, 197, 199, 201, 203, 205,
8801
+ 207, 211, 218, 225, 233, 240, 252, 254, 259, 261,
8802
+ 263, 268, 273, 278, 286, 291, 311, 318, 326, 331,
8803
+ 337, 342, 351, 360, 364, 366, 368, 370, 372, 374,
8804
+ 376, 378, 380, 382, 384, 386, 388, 390, 392, 394,
8805
+ 396, 398, 403, 440, 441
8808
-#if ! defined (YYSIZE_T) && defined (size_t)
8809
-# define YYSIZE_T size_t
8811
+#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
8812
+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
8813
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
8814
+static const char *const yytname[] =
8816
+ "$end", "error", "$undefined", "tAGO", "tDST", "tDAY", "tDAY_UNIT",
8817
+ "tDAYZONE", "tHOUR_UNIT", "tLOCAL_ZONE", "tMERIDIAN", "tMINUTE_UNIT",
8818
+ "tMONTH", "tMONTH_UNIT", "tSEC_UNIT", "tYEAR_UNIT", "tZONE", "tSNUMBER",
8819
+ "tUNUMBER", "':'", "','", "'/'", "$accept", "spec", "item", "time",
8820
+ "local_zone", "zone", "day", "date", "rel", "relunit", "number",
8824
-#if ! defined (YYSIZE_T)
8825
-# if defined (__STDC__) || defined (__cplusplus)
8826
-# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
8827
-# define YYSIZE_T size_t
8830
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
8831
+ token YYLEX-NUM. */
8832
+static const yytype_uint16 yytoknum[] =
8834
+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
8835
+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 58,
8840
-#if ! defined (YYSIZE_T)
8841
-# define YYSIZE_T unsigned int
8844
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
8845
+static const yytype_uint8 yyr1[] =
8847
+ 0, 22, 23, 23, 24, 24, 24, 24, 24, 24,
8848
+ 24, 25, 25, 25, 25, 25, 26, 26, 27, 27,
8849
+ 27, 28, 28, 28, 29, 29, 29, 29, 29, 29,
8850
+ 29, 29, 30, 30, 31, 31, 31, 31, 31, 31,
8851
+ 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
8852
+ 31, 31, 32, 33, 33
8855
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
8856
+static const yytype_uint8 yyr2[] =
8858
+ 0, 2, 0, 2, 1, 1, 1, 1, 1, 1,
8859
+ 1, 2, 4, 4, 6, 6, 1, 2, 1, 1,
8860
+ 2, 1, 2, 2, 3, 5, 3, 3, 2, 4,
8861
+ 2, 3, 2, 1, 2, 2, 1, 2, 2, 1,
8862
+ 2, 2, 1, 2, 2, 1, 2, 2, 1, 2,
8866
+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
8867
+ STATE-NUM when YYTABLE doesn't specify something else to do. Zero
8868
+ means the default is an error. */
8869
+static const yytype_uint8 yydefact[] =
8871
+ 2, 0, 1, 21, 42, 19, 45, 16, 48, 0,
8872
+ 39, 51, 36, 18, 0, 52, 3, 4, 5, 6,
8873
+ 8, 7, 9, 33, 10, 22, 17, 28, 20, 41,
8874
+ 44, 47, 38, 50, 35, 23, 40, 43, 11, 46,
8875
+ 30, 37, 49, 34, 0, 0, 0, 32, 0, 27,
8876
+ 31, 26, 53, 24, 29, 54, 13, 0, 12, 0,
8880
+/* YYDEFGOTO[NTERM-NUM]. */
8881
+static const yytype_int8 yydefgoto[] =
8883
+ -1, 1, 16, 17, 18, 19, 20, 21, 22, 23,
8887
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
8889
+#define YYPACT_NINF -17
8890
+static const yytype_int8 yypact[] =
8892
+ -17, 0, -17, 1, -17, -17, -17, 19, -17, -14,
8893
+ -17, -17, -17, 32, 26, 14, -17, -17, -17, -17,
8894
+ -17, -17, -17, 27, -17, -17, -17, 22, -17, -17,
8895
+ -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
8896
+ -16, -17, -17, -17, 29, 25, 30, -17, 31, -17,
8897
+ -17, -17, 28, 23, -17, -17, -17, 33, -17, 34,
8901
+/* YYPGOTO[NTERM-NUM]. */
8902
+static const yytype_int8 yypgoto[] =
8904
+ -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
8908
+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
8909
+ positive, shift that token. If negative, reduce the rule which
8910
+ number is the opposite. If zero, do what YYDEFACT says.
8911
+ If YYTABLE_NINF, syntax error. */
8912
+#define YYTABLE_NINF -1
8913
+static const yytype_uint8 yytable[] =
8915
+ 2, 49, 50, 55, 27, 3, 4, 5, 6, 7,
8916
+ 62, 8, 9, 10, 11, 12, 13, 14, 15, 35,
8917
+ 36, 25, 37, 26, 38, 39, 40, 41, 42, 43,
8918
+ 47, 44, 29, 45, 30, 46, 28, 31, 55, 32,
8919
+ 33, 34, 48, 52, 59, 56, 51, 57, 53, 54,
8923
+static const yytype_uint8 yycheck[] =
8925
+ 0, 17, 18, 10, 18, 5, 6, 7, 8, 9,
8926
+ 17, 11, 12, 13, 14, 15, 16, 17, 18, 5,
8927
+ 6, 20, 8, 4, 10, 11, 12, 13, 14, 15,
8928
+ 3, 17, 6, 19, 8, 21, 4, 11, 10, 13,
8929
+ 14, 15, 20, 18, 21, 17, 17, 19, 18, 18,
8933
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
8934
+ symbol of state STATE-NUM. */
8935
+static const yytype_uint8 yystos[] =
8937
+ 0, 23, 0, 5, 6, 7, 8, 9, 11, 12,
8938
+ 13, 14, 15, 16, 17, 18, 24, 25, 26, 27,
8939
+ 28, 29, 30, 31, 32, 20, 4, 18, 4, 6,
8940
+ 8, 11, 13, 14, 15, 5, 6, 8, 10, 11,
8941
+ 12, 13, 14, 15, 17, 19, 21, 3, 20, 17,
8942
+ 18, 17, 18, 18, 18, 10, 17, 19, 33, 21,
8946
#define yyerrok (yyerrstatus = 0)
8947
#define yyclearin (yychar = YYEMPTY)
8949
+#define YYEMPTY (-2)
8952
#define YYACCEPT goto yyacceptlab
8953
-#define YYABORT goto yyabortlab
8954
-#define YYERROR goto yyerrlab1
8955
+#define YYABORT goto yyabortlab
8956
+#define YYERROR goto yyerrorlab
8959
/* Like YYERROR except do call yyerror. This remains here temporarily
8960
to ease the transition to the new meaning of YYERROR, for GCC.
8961
Once GCC version 2 has supplanted version 1, this can go. */
8963
#define YYFAIL goto yyerrlab
8965
#define YYRECOVERING() (!!yyerrstatus)
8967
#define YYBACKUP(Token, Value) \
8969
if (yychar == YYEMPTY && yylen == 1) \
8973
- yychar1 = YYTRANSLATE (yychar); \
8975
+ yytoken = YYTRANSLATE (yychar); \
8981
- yyerror ("syntax error: cannot back up"); \
8983
+ yyerror (YY_("syntax error: cannot back up")); \
8991
#define YYERRCODE 256
8994
-/* YYLLOC_DEFAULT -- Compute the default location (before the actions
8997
- When YYLLOC_DEFAULT is run, CURRENT is set the location of the
8998
- first token. By default, to implement support for ranges, extend
8999
- its range to the last symbol. */
9000
+/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
9001
+ If N is 0, then set CURRENT to the empty location which ends
9002
+ the previous symbol: RHS[0] (always defined). */
9004
+#define YYRHSLOC(Rhs, K) ((Rhs)[K])
9005
#ifndef YYLLOC_DEFAULT
9006
-# define YYLLOC_DEFAULT(Current, Rhs, N) \
9007
- Current.last_line = Rhs[N].last_line; \
9008
- Current.last_column = Rhs[N].last_column;
9009
+# define YYLLOC_DEFAULT(Current, Rhs, N) \
9013
+ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
9014
+ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
9015
+ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
9016
+ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
9020
+ (Current).first_line = (Current).last_line = \
9021
+ YYRHSLOC (Rhs, 0).last_line; \
9022
+ (Current).first_column = (Current).last_column = \
9023
+ YYRHSLOC (Rhs, 0).last_column; \
9029
-/* YYLEX -- calling `yylex' with the right arguments. */
9030
+/* YY_LOCATION_PRINT -- Print the location on the stream.
9031
+ This macro was not mandated originally: define only if we know
9032
+ we won't break user code: when these are the locations we know. */
9034
+#ifndef YY_LOCATION_PRINT
9035
+# if YYLTYPE_IS_TRIVIAL
9036
+# define YY_LOCATION_PRINT(File, Loc) \
9037
+ fprintf (File, "%d.%d-%d.%d", \
9038
+ (Loc).first_line, (Loc).first_column, \
9039
+ (Loc).last_line, (Loc).last_column)
9041
+# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
9047
-# ifdef YYLEX_PARAM
9048
-# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
9050
-# define YYLEX yylex (&yylval, &yylloc)
9052
-# else /* !YYLSP_NEEDED */
9053
-# ifdef YYLEX_PARAM
9054
-# define YYLEX yylex (&yylval, YYLEX_PARAM)
9056
-# define YYLEX yylex (&yylval)
9058
-# endif /* !YYLSP_NEEDED */
9059
-#else /* !YYPURE */
9060
-# define YYLEX yylex ()
9061
-#endif /* !YYPURE */
9063
+/* YYLEX -- calling `yylex' with the right arguments. */
9066
+# define YYLEX yylex (&yylval, YYLEX_PARAM)
9068
+# define YYLEX yylex (&yylval)
9071
/* Enable debugging if requested. */
9073
@@ -618,14 +852,155 @@ while (0)
9080
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
9084
+ YYFPRINTF (stderr, "%s ", Title); \
9085
+ yy_symbol_print (stderr, \
9087
+ YYFPRINTF (stderr, "\n"); \
9092
+/*--------------------------------.
9093
+| Print this symbol on YYOUTPUT. |
9094
+`--------------------------------*/
9097
+#if (defined __STDC__ || defined __C99__FUNC__ \
9098
+ || defined __cplusplus || defined _MSC_VER)
9100
+yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
9103
+yy_symbol_value_print (yyoutput, yytype, yyvaluep)
9106
+ YYSTYPE const * const yyvaluep;
9112
+ if (yytype < YYNTOKENS)
9113
+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
9125
+/*--------------------------------.
9126
+| Print this symbol on YYOUTPUT. |
9127
+`--------------------------------*/
9129
+#if (defined __STDC__ || defined __C99__FUNC__ \
9130
+ || defined __cplusplus || defined _MSC_VER)
9132
+yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
9135
+yy_symbol_print (yyoutput, yytype, yyvaluep)
9138
+ YYSTYPE const * const yyvaluep;
9141
+ if (yytype < YYNTOKENS)
9142
+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
9144
+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
9146
+ yy_symbol_value_print (yyoutput, yytype, yyvaluep);
9147
+ YYFPRINTF (yyoutput, ")");
9150
+/*------------------------------------------------------------------.
9151
+| yy_stack_print -- Print the state stack from its BOTTOM up to its |
9152
+| TOP (included). |
9153
+`------------------------------------------------------------------*/
9155
+#if (defined __STDC__ || defined __C99__FUNC__ \
9156
+ || defined __cplusplus || defined _MSC_VER)
9158
+yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
9161
+yy_stack_print (bottom, top)
9162
+ yytype_int16 *bottom;
9163
+ yytype_int16 *top;
9166
+ YYFPRINTF (stderr, "Stack now");
9167
+ for (; bottom <= top; ++bottom)
9168
+ YYFPRINTF (stderr, " %d", *bottom);
9169
+ YYFPRINTF (stderr, "\n");
9172
+# define YY_STACK_PRINT(Bottom, Top) \
9175
+ yy_stack_print ((Bottom), (Top)); \
9179
+/*------------------------------------------------.
9180
+| Report that the YYRULE is going to be reduced. |
9181
+`------------------------------------------------*/
9183
+#if (defined __STDC__ || defined __C99__FUNC__ \
9184
+ || defined __cplusplus || defined _MSC_VER)
9186
+yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
9189
+yy_reduce_print (yyvsp, yyrule)
9194
+ int yynrhs = yyr2[yyrule];
9196
+ unsigned long int yylno = yyrline[yyrule];
9197
+ YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
9198
+ yyrule - 1, yylno);
9199
+ /* The symbols being reduced. */
9200
+ for (yyi = 0; yyi < yynrhs; yyi++)
9202
+ fprintf (stderr, " $%d = ", yyi + 1);
9203
+ yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
9204
+ &(yyvsp[(yyi + 1) - (yynrhs)])
9206
+ fprintf (stderr, "\n");
9210
+# define YY_REDUCE_PRINT(Rule) \
9213
+ yy_reduce_print (yyvsp, Rule); \
9216
/* Nonzero means print parse trace. It is left uninitialized so that
9217
multiple parsers can coexist. */
9219
#else /* !YYDEBUG */
9220
# define YYDPRINTF(Args)
9221
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
9222
+# define YY_STACK_PRINT(Bottom, Top)
9223
+# define YY_REDUCE_PRINT(Rule)
9224
#endif /* !YYDEBUG */
9227
/* YYINITDEPTH -- initial size of the parser's stacks. */
9229
# define YYINITDEPTH 200
9230
@@ -635,60 +1010,59 @@ int yydebug;
9231
if the built-in stack extension method is used).
9233
Do not make this value too large; the results are undefined if
9234
- SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
9235
+ YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
9236
evaluated with infinite-precision integer arithmetic. */
9238
-#if YYMAXDEPTH == 0
9243
# define YYMAXDEPTH 10000
9247
-#ifdef YYERROR_VERBOSE
9249
+#if YYERROR_VERBOSE
9252
-# if defined (__GLIBC__) && defined (_STRING_H)
9253
+# if defined __GLIBC__ && defined _STRING_H
9254
# define yystrlen strlen
9256
/* Return the length of YYSTR. */
9257
+#if (defined __STDC__ || defined __C99__FUNC__ \
9258
+ || defined __cplusplus || defined _MSC_VER)
9260
-# if defined (__STDC__) || defined (__cplusplus)
9261
yystrlen (const char *yystr)
9266
- const char *yystr;
9268
+ const char *yystr;
9271
- register const char *yys = yystr;
9273
- while (*yys++ != '\0')
9275
+ for (yylen = 0; yystr[yylen]; yylen++)
9278
- return yys - yystr - 1;
9285
-# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
9286
-# include <string.h>
9287
+# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
9288
# define yystpcpy stpcpy
9290
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
9292
+#if (defined __STDC__ || defined __C99__FUNC__ \
9293
+ || defined __cplusplus || defined _MSC_VER)
9295
-# if defined (__STDC__) || defined (__cplusplus)
9296
yystpcpy (char *yydest, const char *yysrc)
9300
yystpcpy (yydest, yysrc)
9302
- const char *yysrc;
9305
+ const char *yysrc;
9308
- register char *yyd = yydest;
9309
- register const char *yys = yysrc;
9310
+ char *yyd = yydest;
9311
+ const char *yys = yysrc;
9313
while ((*yyd++ = *yys++) != '\0')
9315
@@ -697,86 +1071,266 @@ yystpcpy (yydest, yysrc)
9322
+/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
9323
+ quotes and backslashes, so that it's suitable for yyerror. The
9324
+ heuristic is that double-quoting is unnecessary unless the string
9325
+ contains an apostrophe, a comma, or backslash (other than
9326
+ backslash-backslash). YYSTR is taken from yytname. If YYRES is
9327
+ null, do not copy; instead, return the length of what the result
9328
+ would have been. */
9330
+yytnamerr (char *yyres, const char *yystr)
9332
+ if (*yystr == '"')
9335
+ char const *yyp = yystr;
9342
+ goto do_not_strip_quotes;
9345
+ if (*++yyp != '\\')
9346
+ goto do_not_strip_quotes;
9347
+ /* Fall through. */
9350
+ yyres[yyn] = *yyp;
9356
+ yyres[yyn] = '\0';
9359
+ do_not_strip_quotes: ;
9363
+ return yystrlen (yystr);
9365
+ return yystpcpy (yyres, yystr) - yyres;
9369
+/* Copy into YYRESULT an error message about the unexpected token
9370
+ YYCHAR while in state YYSTATE. Return the number of bytes copied,
9371
+ including the terminating null byte. If YYRESULT is null, do not
9372
+ copy anything; just return the number of bytes that would be
9373
+ copied. As a special case, return 0 if an ordinary "syntax error"
9374
+ message will do. Return YYSIZE_MAXIMUM if overflow occurs during
9375
+ size calculation. */
9377
+yysyntax_error (char *yyresult, int yystate, int yychar)
9379
+ int yyn = yypact[yystate];
9381
+ if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
9385
+ int yytype = YYTRANSLATE (yychar);
9386
+ YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
9387
+ YYSIZE_T yysize = yysize0;
9389
+ int yysize_overflow = 0;
9390
+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
9391
+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
9395
+ /* This is so xgettext sees the translatable formats that are
9396
+ constructed on the fly. */
9397
+ YY_("syntax error, unexpected %s");
9398
+ YY_("syntax error, unexpected %s, expecting %s");
9399
+ YY_("syntax error, unexpected %s, expecting %s or %s");
9400
+ YY_("syntax error, unexpected %s, expecting %s or %s or %s");
9401
+ YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
9405
+ static char const yyunexpected[] = "syntax error, unexpected %s";
9406
+ static char const yyexpecting[] = ", expecting %s";
9407
+ static char const yyor[] = " or %s";
9408
+ char yyformat[sizeof yyunexpected
9409
+ + sizeof yyexpecting - 1
9410
+ + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
9411
+ * (sizeof yyor - 1))];
9412
+ char const *yyprefix = yyexpecting;
9414
+ /* Start YYX at -YYN if negative to avoid negative indexes in
9416
+ int yyxbegin = yyn < 0 ? -yyn : 0;
9418
+ /* Stay within bounds of both yycheck and yytname. */
9419
+ int yychecklim = YYLAST - yyn + 1;
9420
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
9423
+ yyarg[0] = yytname[yytype];
9424
+ yyfmt = yystpcpy (yyformat, yyunexpected);
9426
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
9427
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
9429
+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
9433
+ yyformat[sizeof yyunexpected - 1] = '\0';
9436
+ yyarg[yycount++] = yytname[yyx];
9437
+ yysize1 = yysize + yytnamerr (0, yytname[yyx]);
9438
+ yysize_overflow |= (yysize1 < yysize);
9440
+ yyfmt = yystpcpy (yyfmt, yyprefix);
9444
+ yyf = YY_(yyformat);
9445
+ yysize1 = yysize + yystrlen (yyf);
9446
+ yysize_overflow |= (yysize1 < yysize);
9449
+ if (yysize_overflow)
9450
+ return YYSIZE_MAXIMUM;
9454
+ /* Avoid sprintf, as that infringes on the user's name space.
9455
+ Don't have undefined behavior even if the translation
9456
+ produced a string with the wrong number of "%s"s. */
9457
+ char *yyp = yyresult;
9459
+ while ((*yyp = *yyf) != '\0')
9461
+ if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
9463
+ yyp += yytnamerr (yyp, yyarg[yyi++]);
9476
+#endif /* YYERROR_VERBOSE */
9478
-#line 316 "/usr/share/bison/bison.simple"
9480
+/*-----------------------------------------------.
9481
+| Release the memory associated to this symbol. |
9482
+`-----------------------------------------------*/
9485
+#if (defined __STDC__ || defined __C99__FUNC__ \
9486
+ || defined __cplusplus || defined _MSC_VER)
9488
+yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
9491
+yydestruct (yymsg, yytype, yyvaluep)
9492
+ const char *yymsg;
9494
+ YYSTYPE *yyvaluep;
9500
+ yymsg = "Deleting";
9501
+ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
9512
-/* The user can define YYPARSE_PARAM as the name of an argument to be passed
9513
- into yyparse. The argument should have type void *.
9514
- It should actually point to an object.
9515
- Grammar actions can access the variable by casting it
9516
- to the proper pointer type. */
9517
+/* Prevent warnings from -Wmissing-prototypes. */
9519
#ifdef YYPARSE_PARAM
9520
-# if defined (__STDC__) || defined (__cplusplus)
9521
-# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
9522
-# define YYPARSE_PARAM_DECL
9524
-# define YYPARSE_PARAM_ARG YYPARSE_PARAM
9525
-# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
9527
-#else /* !YYPARSE_PARAM */
9528
-# define YYPARSE_PARAM_ARG
9529
-# define YYPARSE_PARAM_DECL
9530
-#endif /* !YYPARSE_PARAM */
9532
-/* Prevent warning if -Wstrict-prototypes. */
9534
-# ifdef YYPARSE_PARAM
9535
-int yyparse (void *);
9537
+#if defined __STDC__ || defined __cplusplus
9538
+int yyparse (void *YYPARSE_PARAM);
9542
+#else /* ! YYPARSE_PARAM */
9543
+#if defined __STDC__ || defined __cplusplus
9549
+#endif /* ! YYPARSE_PARAM */
9553
-/* YY_DECL_VARIABLES -- depending whether we use a pure parser,
9554
- variables are global, or local to YYPARSE. */
9556
-#define YY_DECL_NON_LSP_VARIABLES \
9557
-/* The lookahead symbol. */ \
9560
-/* The semantic value of the lookahead symbol. */ \
9563
-/* Number of parse errors so far. */ \
9567
-# define YY_DECL_VARIABLES \
9568
-YY_DECL_NON_LSP_VARIABLES \
9570
-/* Location data for the lookahead symbol. */ \
9577
+#ifdef YYPARSE_PARAM
9578
+#if (defined __STDC__ || defined __C99__FUNC__ \
9579
+ || defined __cplusplus || defined _MSC_VER)
9581
+yyparse (void *YYPARSE_PARAM)
9583
-# define YY_DECL_VARIABLES \
9584
-YY_DECL_NON_LSP_VARIABLES
9586
+yyparse (YYPARSE_PARAM)
9587
+ void *YYPARSE_PARAM;
9589
+#else /* ! YYPARSE_PARAM */
9590
+#if (defined __STDC__ || defined __C99__FUNC__ \
9591
+ || defined __cplusplus || defined _MSC_VER)
9601
+ /* The look-ahead symbol. */
9604
-/* If nonreentrant, generate the variables here. */
9608
-#endif /* !YYPURE */
9609
+/* The semantic value of the look-ahead symbol. */
9613
-yyparse (YYPARSE_PARAM_ARG)
9614
- YYPARSE_PARAM_DECL
9616
- /* If reentrant, generate the variables here. */
9619
-#endif /* !YYPURE */
9620
+/* Number of syntax errors so far. */
9623
- register int yystate;
9628
/* Number of tokens to shift before error messages enabled. */
9630
- /* Lookahead token as an internal (translated) token number. */
9632
+ /* Look-ahead token as an internal (translated) token number. */
9634
+#if YYERROR_VERBOSE
9635
+ /* Buffer for error messages, and its allocated size. */
9636
+ char yymsgbuf[128];
9637
+ char *yymsg = yymsgbuf;
9638
+ YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
9641
/* Three stacks and their tools:
9642
`yyss': related to states,
9643
@@ -786,42 +1340,30 @@ yyparse (YYPARSE_PARAM_ARG)
9644
Refer to the stacks thru separate pointers, to allow yyoverflow
9645
to reallocate them elsewhere. */
9647
- /* The state stack. */
9648
- short yyssa[YYINITDEPTH];
9649
- short *yyss = yyssa;
9650
- register short *yyssp;
9651
+ /* The state stack. */
9652
+ yytype_int16 yyssa[YYINITDEPTH];
9653
+ yytype_int16 *yyss = yyssa;
9654
+ yytype_int16 *yyssp;
9656
/* The semantic value stack. */
9657
YYSTYPE yyvsa[YYINITDEPTH];
9658
YYSTYPE *yyvs = yyvsa;
9659
- register YYSTYPE *yyvsp;
9663
- /* The location stack. */
9664
- YYLTYPE yylsa[YYINITDEPTH];
9665
- YYLTYPE *yyls = yylsa;
9670
-# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
9672
-# define YYPOPSTACK (yyvsp--, yyssp--)
9675
- YYSIZE_T yystacksize = YYINITDEPTH;
9676
+#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
9678
+ YYSIZE_T yystacksize = YYINITDEPTH;
9680
/* The variables used to return semantic value and location from the
9687
- /* When reducing, the number of symbols on the RHS of the reduced
9691
+ /* The number of symbols on the RHS of the reduced rule.
9692
+ Keep to zero when no symbol should be popped. */
9695
YYDPRINTF ((stderr, "Starting parse\n"));
9697
@@ -837,9 +1379,7 @@ yyparse (YYPARSE_PARAM_ARG)
9707
/*------------------------------------------------------------.
9708
@@ -847,70 +1387,60 @@ yyparse (YYPARSE_PARAM_ARG)
9709
`------------------------------------------------------------*/
9711
/* In all cases, when you get here, the value and location stacks
9712
- have just been pushed. so pushing a state here evens the stacks.
9714
+ have just been pushed. So pushing a state here evens the stacks. */
9720
- if (yyssp >= yyss + yystacksize - 1)
9721
+ if (yyss + yystacksize - 1 <= yyssp)
9723
/* Get the current used size of the three stacks, in elements. */
9724
YYSIZE_T yysize = yyssp - yyss + 1;
9728
- /* Give user a chance to reallocate the stack. Use copies of
9729
+ /* Give user a chance to reallocate the stack. Use copies of
9730
these so that the &'s don't force the real ones into
9732
YYSTYPE *yyvs1 = yyvs;
9733
- short *yyss1 = yyss;
9734
+ yytype_int16 *yyss1 = yyss;
9737
/* Each stack pointer address is followed by the size of the
9738
- data in use in that stack, in bytes. */
9740
- YYLTYPE *yyls1 = yyls;
9741
- /* This used to be a conditional around just the two extra args,
9742
- but that might be undefined if yyoverflow is a macro. */
9743
- yyoverflow ("parser stack overflow",
9744
- &yyss1, yysize * sizeof (*yyssp),
9745
- &yyvs1, yysize * sizeof (*yyvsp),
9746
- &yyls1, yysize * sizeof (*yylsp),
9750
- yyoverflow ("parser stack overflow",
9751
+ data in use in that stack, in bytes. This used to be a
9752
+ conditional around just the two extra args, but that might
9753
+ be undefined if yyoverflow is a macro. */
9754
+ yyoverflow (YY_("memory exhausted"),
9755
&yyss1, yysize * sizeof (*yyssp),
9756
&yyvs1, yysize * sizeof (*yyvsp),
9764
#else /* no yyoverflow */
9765
# ifndef YYSTACK_RELOCATE
9766
- goto yyoverflowlab;
9767
+ goto yyexhaustedlab;
9769
/* Extend the stack our own way. */
9770
- if (yystacksize >= YYMAXDEPTH)
9771
- goto yyoverflowlab;
9772
+ if (YYMAXDEPTH <= yystacksize)
9773
+ goto yyexhaustedlab;
9775
- if (yystacksize > YYMAXDEPTH)
9776
+ if (YYMAXDEPTH < yystacksize)
9777
yystacksize = YYMAXDEPTH;
9780
- short *yyss1 = yyss;
9781
+ yytype_int16 *yyss1 = yyss;
9782
union yyalloc *yyptr =
9783
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
9785
- goto yyoverflowlab;
9786
+ goto yyexhaustedlab;
9787
YYSTACK_RELOCATE (yyss);
9788
YYSTACK_RELOCATE (yyvs);
9790
- YYSTACK_RELOCATE (yyls);
9792
-# undef YYSTACK_RELOCATE
9794
+# undef YYSTACK_RELOCATE
9796
YYSTACK_FREE (yyss1);
9798
@@ -919,14 +1449,12 @@ yyparse (YYPARSE_PARAM_ARG)
9800
yyssp = yyss + yysize - 1;
9801
yyvsp = yyvs + yysize - 1;
9803
- yylsp = yyls + yysize - 1;
9807
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
9808
(unsigned long int) yystacksize));
9810
- if (yyssp >= yyss + yystacksize - 1)
9811
+ if (yyss + yystacksize - 1 <= yyssp)
9815
@@ -934,108 +1462,71 @@ yyparse (YYPARSE_PARAM_ARG)
9825
-/* Do appropriate processing given the current state. */
9826
-/* Read a lookahead token if we need one and don't already have one. */
9829
- /* First try to decide what to do without reference to lookahead token. */
9830
+ /* Do appropriate processing given the current state. Read a
9831
+ look-ahead token if we need one and don't already have one. */
9833
+ /* First try to decide what to do without reference to look-ahead token. */
9834
yyn = yypact[yystate];
9835
- if (yyn == YYFLAG)
9836
+ if (yyn == YYPACT_NINF)
9839
- /* Not known => get a lookahead token if don't already have one. */
9841
- /* yychar is either YYEMPTY or YYEOF
9842
- or a valid token in external form. */
9843
+ /* Not known => get a look-ahead token if don't already have one. */
9845
+ /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
9846
if (yychar == YYEMPTY)
9848
YYDPRINTF ((stderr, "Reading a token: "));
9852
- /* Convert token to internal form (in yychar1) for indexing tables with */
9854
- if (yychar <= 0) /* This means end of input. */
9855
+ if (yychar <= YYEOF)
9858
- yychar = YYEOF; /* Don't call YYLEX any more */
9860
+ yychar = yytoken = YYEOF;
9861
YYDPRINTF ((stderr, "Now at end of input.\n"));
9865
- yychar1 = YYTRANSLATE (yychar);
9868
- /* We have to keep this `#if YYDEBUG', since we use variables
9869
- which are defined only if `YYDEBUG' is set. */
9872
- YYFPRINTF (stderr, "Next token is %d (%s",
9873
- yychar, yytname[yychar1]);
9874
- /* Give the individual parser a way to print the precise
9875
- meaning of a token, for further debugging info. */
9877
- YYPRINT (stderr, yychar, yylval);
9879
- YYFPRINTF (stderr, ")\n");
9882
+ yytoken = YYTRANSLATE (yychar);
9883
+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
9887
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
9888
+ /* If the proper action on seeing token YYTOKEN is to reduce or to
9889
+ detect an error, take that action. */
9891
+ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
9896
- /* yyn is what to do for this token type in this state.
9897
- Negative => reduce, -yyn is rule number.
9898
- Positive => shift, yyn is new state.
9899
- New state is final state => don't bother to shift,
9900
- just return success.
9901
- 0, or most negative number => error. */
9906
- if (yyn == YYFLAG)
9907
+ if (yyn == 0 || yyn == YYTABLE_NINF)
9912
- else if (yyn == 0)
9918
- /* Shift the lookahead token. */
9919
- YYDPRINTF ((stderr, "Shifting token %d (%s), ",
9920
- yychar, yytname[yychar1]));
9922
- /* Discard the token being shifted unless it is eof. */
9923
- if (yychar != YYEOF)
9926
- *++yyvsp = yylval;
9928
- *++yylsp = yylloc;
9931
/* Count tokens shifted since error; after three, turn off error
9936
+ /* Shift the look-ahead token. */
9937
+ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
9939
+ /* Discard the shifted token unless it is eof. */
9940
+ if (yychar != YYEOF)
9944
+ *++yyvsp = yylval;
9949
@@ -1059,382 +1550,396 @@ yyreduce:
9950
/* If YYLEN is nonzero, implement the default value of the action:
9953
- Otherwise, the following line sets YYVAL to the semantic value of
9954
- the lookahead token. This behavior is undocumented and Bison
9955
+ Otherwise, the following line sets YYVAL to garbage.
9956
+ This behavior is undocumented and Bison
9957
users should not rely upon it. Assigning to YYVAL
9958
unconditionally makes the parser a bit smaller, and it avoids a
9959
GCC warning that YYVAL may be used uninitialized. */
9960
yyval = yyvsp[1-yylen];
9963
- /* Similarly for the default location. Let the user run additional
9964
- commands if for instance locations are ranges. */
9965
- yyloc = yylsp[1-yylen];
9966
- YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
9970
- /* We have to keep this `#if YYDEBUG', since we use variables which
9971
- are defined only if `YYDEBUG' is set. */
9973
+ YY_REDUCE_PRINT (yyn);
9978
- YYFPRINTF (stderr, "Reducing via rule %d (line %d), ",
9979
- yyn, yyrline[yyn]);
9981
- /* Print the symbols being reduced, and their result. */
9982
- for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++)
9983
- YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);
9984
- YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]);
9992
#line 196 "./getdate.y"
9993
-{ PC.times_seen++; ;
9996
+ { PC.times_seen++; }
10000
#line 198 "./getdate.y"
10001
-{ PC.local_zones_seen++; ;
10004
+ { PC.local_zones_seen++; }
10008
#line 200 "./getdate.y"
10009
-{ PC.zones_seen++; ;
10012
+ { PC.zones_seen++; }
10016
#line 202 "./getdate.y"
10017
-{ PC.dates_seen++; ;
10020
+ { PC.dates_seen++; }
10024
#line 204 "./getdate.y"
10025
-{ PC.days_seen++; ;
10028
+ { PC.days_seen++; }
10032
#line 206 "./getdate.y"
10033
-{ PC.rels_seen++; ;
10036
+ { PC.rels_seen++; }
10040
#line 212 "./getdate.y"
10042
- PC.hour = yyvsp[-1].textintval.value;
10044
+ PC.hour = (yyvsp[(1) - (2)].textintval).value;
10047
- PC.meridian = yyvsp[0].intval;
10051
+ PC.meridian = (yyvsp[(2) - (2)].intval);
10056
#line 219 "./getdate.y"
10058
- PC.hour = yyvsp[-3].textintval.value;
10059
- PC.minutes = yyvsp[-1].textintval.value;
10061
+ PC.hour = (yyvsp[(1) - (4)].textintval).value;
10062
+ PC.minutes = (yyvsp[(3) - (4)].textintval).value;
10064
- PC.meridian = yyvsp[0].intval;
10068
+ PC.meridian = (yyvsp[(4) - (4)].intval);
10073
#line 226 "./getdate.y"
10075
- PC.hour = yyvsp[-3].textintval.value;
10076
- PC.minutes = yyvsp[-1].textintval.value;
10078
+ PC.hour = (yyvsp[(1) - (4)].textintval).value;
10079
+ PC.minutes = (yyvsp[(3) - (4)].textintval).value;
10080
PC.meridian = MER24;
10082
- PC.time_zone = yyvsp[0].textintval.value % 100 + (yyvsp[0].textintval.value / 100) * 60;
10086
+ PC.time_zone = (yyvsp[(4) - (4)].textintval).value % 100 + ((yyvsp[(4) - (4)].textintval).value / 100) * 60;
10091
#line 234 "./getdate.y"
10093
- PC.hour = yyvsp[-5].textintval.value;
10094
- PC.minutes = yyvsp[-3].textintval.value;
10095
- PC.seconds = yyvsp[-1].textintval.value;
10096
- PC.meridian = yyvsp[0].intval;
10101
+ PC.hour = (yyvsp[(1) - (6)].textintval).value;
10102
+ PC.minutes = (yyvsp[(3) - (6)].textintval).value;
10103
+ PC.seconds = (yyvsp[(5) - (6)].textintval).value;
10104
+ PC.meridian = (yyvsp[(6) - (6)].intval);
10109
#line 241 "./getdate.y"
10111
- PC.hour = yyvsp[-5].textintval.value;
10112
- PC.minutes = yyvsp[-3].textintval.value;
10113
- PC.seconds = yyvsp[-1].textintval.value;
10115
+ PC.hour = (yyvsp[(1) - (6)].textintval).value;
10116
+ PC.minutes = (yyvsp[(3) - (6)].textintval).value;
10117
+ PC.seconds = (yyvsp[(5) - (6)].textintval).value;
10118
PC.meridian = MER24;
10120
- PC.time_zone = yyvsp[0].textintval.value % 100 + (yyvsp[0].textintval.value / 100) * 60;
10124
+ PC.time_zone = (yyvsp[(6) - (6)].textintval).value % 100 + ((yyvsp[(6) - (6)].textintval).value / 100) * 60;
10129
#line 253 "./getdate.y"
10130
-{ PC.local_isdst = yyvsp[0].intval; ;
10133
+ { PC.local_isdst = (yyvsp[(1) - (1)].intval); }
10137
#line 255 "./getdate.y"
10138
-{ PC.local_isdst = yyvsp[-1].intval < 0 ? 1 : yyvsp[-1].intval + 1; ;
10141
+ { PC.local_isdst = (yyvsp[(1) - (2)].intval) < 0 ? 1 : (yyvsp[(1) - (2)].intval) + 1; }
10145
#line 260 "./getdate.y"
10146
-{ PC.time_zone = yyvsp[0].intval; ;
10149
+ { PC.time_zone = (yyvsp[(1) - (1)].intval); }
10153
#line 262 "./getdate.y"
10154
-{ PC.time_zone = yyvsp[0].intval + 60; ;
10157
+ { PC.time_zone = (yyvsp[(1) - (1)].intval) + 60; }
10161
#line 264 "./getdate.y"
10162
-{ PC.time_zone = yyvsp[-1].intval + 60; ;
10165
+ { PC.time_zone = (yyvsp[(1) - (2)].intval) + 60; }
10169
#line 269 "./getdate.y"
10172
PC.day_ordinal = 1;
10173
- PC.day_number = yyvsp[0].intval;
10177
+ PC.day_number = (yyvsp[(1) - (1)].intval);
10182
#line 274 "./getdate.y"
10185
PC.day_ordinal = 1;
10186
- PC.day_number = yyvsp[-1].intval;
10190
+ PC.day_number = (yyvsp[(1) - (2)].intval);
10195
#line 279 "./getdate.y"
10197
- PC.day_ordinal = yyvsp[-1].textintval.value;
10198
- PC.day_number = yyvsp[0].intval;
10203
+ PC.day_ordinal = (yyvsp[(1) - (2)].textintval).value;
10204
+ PC.day_number = (yyvsp[(2) - (2)].intval);
10209
#line 287 "./getdate.y"
10211
- PC.month = yyvsp[-2].textintval.value;
10212
- PC.day = yyvsp[0].textintval.value;
10217
+ PC.month = (yyvsp[(1) - (3)].textintval).value;
10218
+ PC.day = (yyvsp[(3) - (3)].textintval).value;
10223
#line 292 "./getdate.y"
10226
/* Interpret as YYYY/MM/DD if the first value has 4 or more digits,
10227
otherwise as MM/DD/YY.
10228
The goal in recognizing YYYY/MM/DD is solely to support legacy
10229
machine-generated dates like those in an RCS log listing. If
10230
you want portability, use the ISO 8601 format. */
10231
- if (4 <= yyvsp[-4].textintval.digits)
10232
+ if (4 <= (yyvsp[(1) - (5)].textintval).digits)
10234
- PC.year = yyvsp[-4].textintval;
10235
- PC.month = yyvsp[-2].textintval.value;
10236
- PC.day = yyvsp[0].textintval.value;
10237
+ PC.year = (yyvsp[(1) - (5)].textintval);
10238
+ PC.month = (yyvsp[(3) - (5)].textintval).value;
10239
+ PC.day = (yyvsp[(5) - (5)].textintval).value;
10243
- PC.month = yyvsp[-4].textintval.value;
10244
- PC.day = yyvsp[-2].textintval.value;
10245
- PC.year = yyvsp[0].textintval;
10246
+ PC.month = (yyvsp[(1) - (5)].textintval).value;
10247
+ PC.day = (yyvsp[(3) - (5)].textintval).value;
10248
+ PC.year = (yyvsp[(5) - (5)].textintval);
10257
#line 312 "./getdate.y"
10260
/* ISO 8601 format. YYYY-MM-DD. */
10261
- PC.year = yyvsp[-2].textintval;
10262
- PC.month = -yyvsp[-1].textintval.value;
10263
- PC.day = -yyvsp[0].textintval.value;
10267
+ PC.year = (yyvsp[(1) - (3)].textintval);
10268
+ PC.month = -(yyvsp[(2) - (3)].textintval).value;
10269
+ PC.day = -(yyvsp[(3) - (3)].textintval).value;
10274
#line 319 "./getdate.y"
10277
/* e.g. 17-JUN-1992. */
10278
- PC.day = yyvsp[-2].textintval.value;
10279
- PC.month = yyvsp[-1].intval;
10280
- PC.year.value = -yyvsp[0].textintval.value;
10281
- PC.year.digits = yyvsp[0].textintval.digits;
10285
+ PC.day = (yyvsp[(1) - (3)].textintval).value;
10286
+ PC.month = (yyvsp[(2) - (3)].intval);
10287
+ PC.year.value = -(yyvsp[(3) - (3)].textintval).value;
10288
+ PC.year.digits = (yyvsp[(3) - (3)].textintval).digits;
10293
#line 327 "./getdate.y"
10295
- PC.month = yyvsp[-1].intval;
10296
- PC.day = yyvsp[0].textintval.value;
10301
+ PC.month = (yyvsp[(1) - (2)].intval);
10302
+ PC.day = (yyvsp[(2) - (2)].textintval).value;
10307
#line 332 "./getdate.y"
10309
- PC.month = yyvsp[-3].intval;
10310
- PC.day = yyvsp[-2].textintval.value;
10311
- PC.year = yyvsp[0].textintval;
10316
+ PC.month = (yyvsp[(1) - (4)].intval);
10317
+ PC.day = (yyvsp[(2) - (4)].textintval).value;
10318
+ PC.year = (yyvsp[(4) - (4)].textintval);
10323
#line 338 "./getdate.y"
10325
- PC.day = yyvsp[-1].textintval.value;
10326
- PC.month = yyvsp[0].intval;
10331
+ PC.day = (yyvsp[(1) - (2)].textintval).value;
10332
+ PC.month = (yyvsp[(2) - (2)].intval);
10337
#line 343 "./getdate.y"
10339
- PC.day = yyvsp[-2].textintval.value;
10340
- PC.month = yyvsp[-1].intval;
10341
- PC.year = yyvsp[0].textintval;
10346
+ PC.day = (yyvsp[(1) - (3)].textintval).value;
10347
+ PC.month = (yyvsp[(2) - (3)].intval);
10348
+ PC.year = (yyvsp[(3) - (3)].textintval);
10353
#line 352 "./getdate.y"
10356
PC.rel_seconds = -PC.rel_seconds;
10357
PC.rel_minutes = -PC.rel_minutes;
10358
PC.rel_hour = -PC.rel_hour;
10359
PC.rel_day = -PC.rel_day;
10360
PC.rel_month = -PC.rel_month;
10361
PC.rel_year = -PC.rel_year;
10369
#line 365 "./getdate.y"
10370
-{ PC.rel_year += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10373
+ { PC.rel_year += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10377
#line 367 "./getdate.y"
10378
-{ PC.rel_year += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10381
+ { PC.rel_year += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10385
#line 369 "./getdate.y"
10386
-{ PC.rel_year += yyvsp[0].intval; ;
10389
+ { PC.rel_year += (yyvsp[(1) - (1)].intval); }
10393
#line 371 "./getdate.y"
10394
-{ PC.rel_month += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10397
+ { PC.rel_month += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10401
#line 373 "./getdate.y"
10402
-{ PC.rel_month += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10405
+ { PC.rel_month += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10409
#line 375 "./getdate.y"
10410
-{ PC.rel_month += yyvsp[0].intval; ;
10413
+ { PC.rel_month += (yyvsp[(1) - (1)].intval); }
10417
#line 377 "./getdate.y"
10418
-{ PC.rel_day += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10421
+ { PC.rel_day += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10425
#line 379 "./getdate.y"
10426
-{ PC.rel_day += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10429
+ { PC.rel_day += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10433
#line 381 "./getdate.y"
10434
-{ PC.rel_day += yyvsp[0].intval ;
10437
+ { PC.rel_day += (yyvsp[(1) - (1)].intval); }
10441
#line 383 "./getdate.y"
10442
-{ PC.rel_hour += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10445
+ { PC.rel_hour += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10449
#line 385 "./getdate.y"
10450
-{ PC.rel_hour += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10453
+ { PC.rel_hour += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10457
#line 387 "./getdate.y"
10458
-{ PC.rel_hour += yyvsp[0].intval ;
10461
+ { PC.rel_hour += (yyvsp[(1) - (1)].intval); }
10465
#line 389 "./getdate.y"
10466
-{ PC.rel_minutes += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10469
+ { PC.rel_minutes += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10473
#line 391 "./getdate.y"
10474
-{ PC.rel_minutes += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10477
+ { PC.rel_minutes += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10481
#line 393 "./getdate.y"
10482
-{ PC.rel_minutes += yyvsp[0].intval ;
10485
+ { PC.rel_minutes += (yyvsp[(1) - (1)].intval); }
10489
#line 395 "./getdate.y"
10490
-{ PC.rel_seconds += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10493
+ { PC.rel_seconds += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10497
#line 397 "./getdate.y"
10498
-{ PC.rel_seconds += yyvsp[-1].textintval.value * yyvsp[0].intval; ;
10501
+ { PC.rel_seconds += (yyvsp[(1) - (2)].textintval).value * (yyvsp[(2) - (2)].intval); }
10505
#line 399 "./getdate.y"
10506
-{ PC.rel_seconds += yyvsp[0].intval; ;
10509
+ { PC.rel_seconds += (yyvsp[(1) - (1)].intval); }
10513
#line 404 "./getdate.y"
10517
- && ! PC.rels_seen && (PC.times_seen || 2 < yyvsp[0].textintval.digits))
10518
- PC.year = yyvsp[0].textintval;
10519
+ && ! PC.rels_seen && (PC.times_seen || 2 < (yyvsp[(1) - (1)].textintval).digits))
10520
+ PC.year = (yyvsp[(1) - (1)].textintval);
10523
- if (4 < yyvsp[0].textintval.digits)
10524
+ if (4 < (yyvsp[(1) - (1)].textintval).digits)
10527
- PC.day = yyvsp[0].textintval.value % 100;
10528
- PC.month = (yyvsp[0].textintval.value / 100) % 100;
10529
- PC.year.value = yyvsp[0].textintval.value / 10000;
10530
- PC.year.digits = yyvsp[0].textintval.digits - 4;
10531
+ PC.day = (yyvsp[(1) - (1)].textintval).value % 100;
10532
+ PC.month = ((yyvsp[(1) - (1)].textintval).value / 100) % 100;
10533
+ PC.year.value = (yyvsp[(1) - (1)].textintval).value / 10000;
10534
+ PC.year.digits = (yyvsp[(1) - (1)].textintval).digits - 4;
10539
- if (yyvsp[0].textintval.digits <= 2)
10540
+ if ((yyvsp[(1) - (1)].textintval).digits <= 2)
10542
- PC.hour = yyvsp[0].textintval.value;
10543
+ PC.hour = (yyvsp[(1) - (1)].textintval).value;
10548
- PC.hour = yyvsp[0].textintval.value / 100;
10549
- PC.minutes = yyvsp[0].textintval.value % 100;
10550
+ PC.hour = (yyvsp[(1) - (1)].textintval).value / 100;
10551
+ PC.minutes = (yyvsp[(1) - (1)].textintval).value % 100;
10554
PC.meridian = MER24;
10564
#line 440 "./getdate.y"
10565
-{ yyval.intval = MER24; ;
10568
-#line 442 "./getdate.y"
10569
-{ yyval.intval = yyvsp[0].intval; ;
10572
+ { (yyval.intval) = MER24; }
10575
-#line 706 "/usr/share/bison/bison.simple"
10577
+#line 442 "./getdate.y"
10578
+ { (yyval.intval) = (yyvsp[(1) - (1)].intval); }
10591
- short *yyssp1 = yyss - 1;
10592
- YYFPRINTF (stderr, "state stack now");
10593
- while (yyssp1 != yyssp)
10594
- YYFPRINTF (stderr, " %d", *++yyssp1);
10595
- YYFPRINTF (stderr, "\n");
10596
+/* Line 1267 of yacc.c. */
10597
+#line 1933 "getdate.c"
10601
+ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
10603
+ YYPOPSTACK (yylen);
10605
+ YY_STACK_PRINT (yyss, yyssp);
10609
- *++yylsp = yyloc;
10613
/* Now `shift' the result of the reduction. Determine what state
10614
that goes to, based on the state we popped back to and the rule
10615
@@ -1442,11 +1947,11 @@ case 53:
10619
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
10620
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
10621
+ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
10622
+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
10623
yystate = yytable[yystate];
10625
- yystate = yydefgoto[yyn - YYNTBASE];
10626
+ yystate = yydefgoto[yyn - YYNTOKENS];
10630
@@ -1459,155 +1964,129 @@ yyerrlab:
10635
-#ifdef YYERROR_VERBOSE
10636
- yyn = yypact[yystate];
10638
- if (yyn > YYFLAG && yyn < YYLAST)
10640
- YYSIZE_T yysize = 0;
10642
- int yyx, yycount;
10645
- /* Start YYX at -YYN if negative to avoid negative indexes in
10647
- for (yyx = yyn < 0 ? -yyn : 0;
10648
- yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
10649
- if (yycheck[yyx + yyn] == yyx)
10650
- yysize += yystrlen (yytname[yyx]) + 15, yycount++;
10651
- yysize += yystrlen ("parse error, unexpected ") + 1;
10652
- yysize += yystrlen (yytname[YYTRANSLATE (yychar)]);
10653
- yymsg = (char *) YYSTACK_ALLOC (yysize);
10656
- char *yyp = yystpcpy (yymsg, "parse error, unexpected ");
10657
- yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]);
10662
- for (yyx = yyn < 0 ? -yyn : 0;
10663
- yyx < (int) (sizeof (yytname) / sizeof (char *));
10665
- if (yycheck[yyx + yyn] == yyx)
10667
- const char *yyq = ! yycount ? ", expecting " : " or ";
10668
- yyp = yystpcpy (yyp, yyq);
10669
- yyp = yystpcpy (yyp, yytname[yyx]);
10674
+#if ! YYERROR_VERBOSE
10675
+ yyerror (YY_("syntax error"));
10678
+ YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
10679
+ if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
10681
+ YYSIZE_T yyalloc = 2 * yysize;
10682
+ if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
10683
+ yyalloc = YYSTACK_ALLOC_MAXIMUM;
10684
+ if (yymsg != yymsgbuf)
10685
YYSTACK_FREE (yymsg);
10688
- yyerror ("parse error; also virtual memory exhausted");
10691
-#endif /* defined (YYERROR_VERBOSE) */
10692
- yyerror ("parse error");
10693
+ yymsg = (char *) YYSTACK_ALLOC (yyalloc);
10695
+ yymsg_alloc = yyalloc;
10698
+ yymsg = yymsgbuf;
10699
+ yymsg_alloc = sizeof yymsgbuf;
10703
+ if (0 < yysize && yysize <= yymsg_alloc)
10705
+ (void) yysyntax_error (yymsg, yystate, yychar);
10710
+ yyerror (YY_("syntax error"));
10712
+ goto yyexhaustedlab;
10720
-/*--------------------------------------------------.
10721
-| yyerrlab1 -- error raised explicitly by an action |
10722
-`--------------------------------------------------*/
10725
if (yyerrstatus == 3)
10727
- /* If just tried and failed to reuse lookahead token after an
10728
+ /* If just tried and failed to reuse look-ahead token after an
10729
error, discard it. */
10731
- /* return failure if at end of input */
10732
- if (yychar == YYEOF)
10734
- YYDPRINTF ((stderr, "Discarding token %d (%s).\n",
10735
- yychar, yytname[yychar1]));
10736
- yychar = YYEMPTY;
10737
+ if (yychar <= YYEOF)
10739
+ /* Return failure if at end of input. */
10740
+ if (yychar == YYEOF)
10745
+ yydestruct ("Error: discarding",
10746
+ yytoken, &yylval);
10747
+ yychar = YYEMPTY;
10751
- /* Else will try to reuse lookahead token after shifting the error
10752
+ /* Else will try to reuse look-ahead token after shifting the error
10756
- yyerrstatus = 3; /* Each real token shifted decrements this */
10758
- goto yyerrhandle;
10761
-/*-------------------------------------------------------------------.
10762
-| yyerrdefault -- current state does not do anything special for the |
10764
-`-------------------------------------------------------------------*/
10767
- /* This is wrong; only states that explicitly want error tokens
10768
- should shift them. */
10770
- /* If its default is to accept any token, ok. Otherwise pop it. */
10771
- yyn = yydefact[yystate];
10775
+/*---------------------------------------------------.
10776
+| yyerrorlab -- error raised explicitly by YYERROR. |
10777
+`---------------------------------------------------*/
10780
+ /* Pacify compilers like GCC when the user code never invokes
10781
+ YYERROR and the label yyerrorlab therefore never appears in user
10783
+ if (/*CONSTCOND*/ 0)
10786
+ /* Do not reclaim the symbols of the rule which action triggered
10788
+ YYPOPSTACK (yylen);
10790
+ YY_STACK_PRINT (yyss, yyssp);
10791
+ yystate = *yyssp;
10795
-/*---------------------------------------------------------------.
10796
-| yyerrpop -- pop the current state because it cannot handle the |
10798
-`---------------------------------------------------------------*/
10800
- if (yyssp == yyss)
10803
- yystate = *--yyssp;
10807
+/*-------------------------------------------------------------.
10808
+| yyerrlab1 -- common code for both syntax error and YYERROR. |
10809
+`-------------------------------------------------------------*/
10811
+ yyerrstatus = 3; /* Each real token shifted decrements this. */
10817
- short *yyssp1 = yyss - 1;
10818
- YYFPRINTF (stderr, "Error: state stack now");
10819
- while (yyssp1 != yyssp)
10820
- YYFPRINTF (stderr, " %d", *++yyssp1);
10821
- YYFPRINTF (stderr, "\n");
10824
+ yyn = yypact[yystate];
10825
+ if (yyn != YYPACT_NINF)
10828
+ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
10830
+ yyn = yytable[yyn];
10840
- yyn = yypact[yystate];
10841
- if (yyn == YYFLAG)
10842
- goto yyerrdefault;
10843
+ /* Pop the current state because it cannot handle the error token. */
10844
+ if (yyssp == yyss)
10848
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
10849
- goto yyerrdefault;
10851
- yyn = yytable[yyn];
10854
- if (yyn == YYFLAG)
10858
+ yydestruct ("Error: popping",
10859
+ yystos[yystate], yyvsp);
10861
+ yystate = *yyssp;
10862
+ YY_STACK_PRINT (yyss, yyssp);
10864
- else if (yyn == 0)
10867
if (yyn == YYFINAL)
10870
- YYDPRINTF ((stderr, "Shifting error token, "));
10874
- *++yylsp = yylloc;
10878
+ /* Shift the error token. */
10879
+ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
10883
@@ -1627,21 +2106,43 @@ yyabortlab:
10887
-/*---------------------------------------------.
10888
-| yyoverflowab -- parser overflow comes here. |
10889
-`---------------------------------------------*/
10891
- yyerror ("parser stack overflow");
10892
+#ifndef yyoverflow
10893
+/*-------------------------------------------------.
10894
+| yyexhaustedlab -- memory exhaustion comes here. |
10895
+`-------------------------------------------------*/
10897
+ yyerror (YY_("memory exhausted"));
10899
/* Fall through. */
10903
+ if (yychar != YYEOF && yychar != YYEMPTY)
10904
+ yydestruct ("Cleanup: discarding lookahead",
10905
+ yytoken, &yylval);
10906
+ /* Do not reclaim the symbols of the rule which action triggered
10907
+ this YYABORT or YYACCEPT. */
10908
+ YYPOPSTACK (yylen);
10909
+ YY_STACK_PRINT (yyss, yyssp);
10910
+ while (yyssp != yyss)
10912
+ yydestruct ("Cleanup: popping",
10913
+ yystos[*yyssp], yyvsp);
10918
YYSTACK_FREE (yyss);
10921
+#if YYERROR_VERBOSE
10922
+ if (yymsg != yymsgbuf)
10923
+ YYSTACK_FREE (yymsg);
10925
+ /* Make sure YYID is used. */
10926
+ return YYID (yyresult);
10930
#line 445 "./getdate.y"
10933
@@ -2312,3 +2813,4 @@ main (int ac, char **av)
10936
#endif /* defined TEST */
10938
--- gnats-4.1.0.orig/gnats/configure
10939
+++ gnats-4.1.0/gnats/configure
10942
# Guess values for system-dependent variables and create Makefiles.
10943
-# Generated by GNU Autoconf 2.59 for gnats 4.1.0.
10944
+# Generated by GNU Autoconf 2.65 for gnats 4.1.0.
10946
# Report bugs to <bug-gnats@gnu.org>.
10948
-# Copyright (C) 2003 Free Software Foundation, Inc.
10950
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10951
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10955
# This configure script is free software; the Free Software Foundation
10956
# gives unlimited permission to copy, distribute and modify it.
10957
-## --------------------- ##
10958
-## M4sh Initialization. ##
10959
-## --------------------- ##
10960
+## -------------------- ##
10961
+## M4sh Initialization. ##
10962
+## -------------------- ##
10964
-# Be Bourne compatible
10965
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10966
+# Be more Bourne compatible
10967
+DUALCASE=1; export DUALCASE # for MKS sh
10968
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10971
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10972
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10973
# is contrary to our usage. Disable this feature.
10974
alias -g '${1+"$@"}'='"$@"'
10975
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10977
+ setopt NO_GLOB_SUBST
10979
+ case `(set -o) 2>/dev/null` in #(
10981
+ set -o posix ;; #(
10986
-DUALCASE=1; export DUALCASE # for MKS sh
10988
-# Support unset when possible.
10989
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10997
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
10998
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10999
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11000
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11001
+# Prefer a ksh shell builtin over an external printf program on Solaris,
11002
+# but without wasting forks for bash or zsh.
11003
+if test -z "$BASH_VERSION$ZSH_VERSION" \
11004
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11005
+ as_echo='print -r --'
11006
+ as_echo_n='print -rn --'
11007
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11008
+ as_echo='printf %s\n'
11009
+ as_echo_n='printf %s'
11011
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11012
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11013
+ as_echo_n='/usr/ucb/echo -n'
11015
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11016
+ as_echo_n_body='eval
11020
+ expr "X$arg" : "X\\(.*\\)$as_nl";
11021
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11023
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11025
+ export as_echo_n_body
11026
+ as_echo_n='sh -c $as_echo_n_body as_echo'
11028
+ export as_echo_body
11029
+ as_echo='sh -c $as_echo_body as_echo'
11032
+# The user is always right.
11033
+if test "${PATH_SEPARATOR+set}" != set; then
11035
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11036
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11037
+ PATH_SEPARATOR=';'
11042
-# Work around bugs in pre-3.0 UWIN ksh.
11043
-$as_unset ENV MAIL MAILPATH
11045
+# We need space, tab and new line, in precisely that order. Quoting is
11046
+# there to prevent editors from complaining about space-tab.
11047
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11048
+# splitting by setting IFS to empty value.)
11051
+# Find who we are. Look in the path if we contain no directory separator.
11053
+ *[\\/]* ) as_myself=$0 ;;
11054
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11055
+for as_dir in $PATH
11058
+ test -z "$as_dir" && as_dir=.
11059
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11065
+# We did not find ourselves, most probably we were run as `sh COMMAND'
11066
+# in which case we are not to be found in the path.
11067
+if test "x$as_myself" = x; then
11070
+if test ! -f "$as_myself"; then
11071
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11075
+# Unset variables that we do not need and which cause bugs (e.g. in
11076
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11077
+# suppresses any "Segmentation fault" message there. '((' could
11078
+# trigger a bug in pdksh 5.2.14.
11079
+for as_var in BASH_ENV ENV MAIL MAILPATH
11080
+do eval test x\${$as_var+set} = xset \
11081
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11089
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11090
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11091
- LC_TELEPHONE LC_TIME
11098
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11100
+if test "x$CONFIG_SHELL" = x; then
11101
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
11104
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
11105
+ # is contrary to our usage. Disable this feature.
11106
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
11107
+ setopt NO_GLOB_SUBST
11109
+ case \`(set -o) 2>/dev/null\` in #(
11111
+ set -o posix ;; #(
11117
+ as_required="as_fn_return () { (exit \$1); }
11118
+as_fn_success () { as_fn_return 0; }
11119
+as_fn_failure () { as_fn_return 1; }
11120
+as_fn_ret_success () { return 0; }
11121
+as_fn_ret_failure () { return 1; }
11124
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
11125
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
11126
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
11127
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
11128
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
11131
+ exitcode=1; echo positional parameters were not saved.
11133
+test x\$exitcode = x0 || exit 1"
11134
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
11135
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
11136
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
11137
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
11138
+test \$(( 1 + 1 )) = 2 || exit 1"
11139
+ if (eval "$as_required") 2>/dev/null; then :
11140
+ as_have_required=yes
11142
+ as_have_required=no
11144
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
11147
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11149
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11151
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11152
- eval $as_var=C; export $as_var
11154
+ test -z "$as_dir" && as_dir=.
11156
+ case $as_dir in #(
11158
+ for as_base in sh bash ksh sh5; do
11159
+ # Try only shells that exist, to save several forks.
11160
+ as_shell=$as_dir/$as_base
11161
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
11162
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
11163
+ CONFIG_SHELL=$as_shell as_have_required=yes
11164
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
11172
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
11173
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
11174
+ CONFIG_SHELL=$SHELL as_have_required=yes
11179
+ if test "x$CONFIG_SHELL" != x; then :
11180
+ # We cannot yet assume a decent shell, so we have to provide a
11181
+ # neutralization value for shells without unset; and this also
11182
+ # works around shells that cannot unset nonexistent variables.
11183
+ BASH_ENV=/dev/null
11185
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
11186
+ export CONFIG_SHELL
11187
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
11190
+ if test x$as_have_required = xno; then :
11191
+ $as_echo "$0: This script requires a shell more modern than all"
11192
+ $as_echo "$0: the shells that I found on your system."
11193
+ if test x${ZSH_VERSION+set} = xset ; then
11194
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
11195
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
11197
- $as_unset $as_var
11198
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gnats@gnu.org
11199
+$0: about your system, including any error possibly output
11200
+$0: before this message. Then install a modern shell, or
11201
+$0: manually run the script under such a shell if you do
11209
+SHELL=${CONFIG_SHELL-/bin/sh}
11211
+# Unset more variables known to interfere with behavior of common tools.
11212
+CLICOLOR_FORCE= GREP_OPTIONS=
11213
+unset CLICOLOR_FORCE GREP_OPTIONS
11215
+## --------------------- ##
11216
+## M4sh Shell Functions. ##
11217
+## --------------------- ##
11220
+# Portably unset VAR.
11223
+ { eval $1=; unset $1;}
11225
+as_unset=as_fn_unset
11227
+# as_fn_set_status STATUS
11228
+# -----------------------
11229
+# Set $? to STATUS, without forking.
11230
+as_fn_set_status ()
11233
+} # as_fn_set_status
11235
+# as_fn_exit STATUS
11236
+# -----------------
11237
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11241
+ as_fn_set_status $1
11247
+# Create "$as_dir" as a directory, including parents if necessary.
11251
+ case $as_dir in #(
11252
+ -*) as_dir=./$as_dir;;
11254
+ test -d "$as_dir" || eval $as_mkdir_p || {
11257
+ case $as_dir in #(
11258
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11259
+ *) as_qdir=$as_dir;;
11261
+ as_dirs="'$as_qdir' $as_dirs"
11262
+ as_dir=`$as_dirname -- "$as_dir" ||
11263
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11264
+ X"$as_dir" : 'X\(//\)[^/]' \| \
11265
+ X"$as_dir" : 'X\(//\)$' \| \
11266
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11267
+$as_echo X"$as_dir" |
11268
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11272
+ /^X\(\/\/\)[^/].*/{
11285
+ test -d "$as_dir" && break
11287
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
11288
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
11292
+# as_fn_append VAR VALUE
11293
+# ----------------------
11294
+# Append the text in VALUE to the end of the definition contained in VAR. Take
11295
+# advantage of any shell optimizations that allow amortized linear growth over
11296
+# repeated appends, instead of the typical quadratic growth present in naive
11297
+# implementations.
11298
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11299
+ eval 'as_fn_append ()
11310
+# as_fn_arith ARG...
11311
+# ------------------
11312
+# Perform arithmetic evaluation on the ARGs, and store the result in the
11313
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
11314
+# must be portable across $(()) and expr.
11315
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11316
+ eval 'as_fn_arith ()
11323
+ as_val=`expr "$@" || test $? -eq 1`
11328
+# as_fn_error ERROR [LINENO LOG_FD]
11329
+# ---------------------------------
11330
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11331
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11332
+# script with status $?, using 1 if that was 0.
11335
+ as_status=$?; test $as_status -eq 0 && as_status=1
11336
+ if test "$3"; then
11337
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11338
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11340
+ $as_echo "$as_me: error: $1" >&2
11341
+ as_fn_exit $as_status
11344
-# Required to use basename.
11345
-if expr a : '\(a\)' >/dev/null 2>&1; then
11346
+if expr a : '\(a\)' >/dev/null 2>&1 &&
11347
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
11353
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11354
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11355
as_basename=basename
11360
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11361
+ as_dirname=dirname
11366
-# Name of the executable.
11367
-as_me=`$as_basename "$0" ||
11368
+as_me=`$as_basename -- "$0" ||
11369
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11370
X"$0" : 'X\(//\)$' \| \
11371
- X"$0" : 'X\(/\)$' \| \
11372
- . : '\(.\)' 2>/dev/null ||
11374
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11375
- /^X\/\(\/\/\)$/{ s//\1/; q; }
11376
- /^X\/\(\/\).*/{ s//\1/; q; }
11379
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11381
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
11395
-# PATH needs CR, and LINENO needs CR and PATH.
11396
# Avoid depending upon Character Ranges.
11397
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11398
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11399
@@ -85,146 +420,107 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
11400
as_cr_digits='0123456789'
11401
as_cr_alnum=$as_cr_Letters$as_cr_digits
11403
-# The user is always right.
11404
-if test "${PATH_SEPARATOR+set}" != set; then
11405
- echo "#! /bin/sh" >conf$$.sh
11406
- echo "exit 0" >>conf$$.sh
11407
- chmod +x conf$$.sh
11408
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11409
- PATH_SEPARATOR=';'
11417
- as_lineno_1=$LINENO
11418
- as_lineno_2=$LINENO
11419
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11420
- test "x$as_lineno_1" != "x$as_lineno_2" &&
11421
- test "x$as_lineno_3" = "x$as_lineno_2" || {
11422
- # Find who we are. Look in the path if we contain no path at all
11423
- # relative or not.
11425
- *[\\/]* ) as_myself=$0 ;;
11426
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11427
-for as_dir in $PATH
11430
- test -z "$as_dir" && as_dir=.
11431
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11436
- # We did not find ourselves, most probably we were run as `sh COMMAND'
11437
- # in which case we are not to be found in the path.
11438
- if test "x$as_myself" = x; then
11441
- if test ! -f "$as_myself"; then
11442
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
11443
- { (exit 1); exit 1; }; }
11445
- case $CONFIG_SHELL in
11447
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11448
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11451
- test -z "$as_dir" && as_dir=.
11452
- for as_base in sh bash ksh sh5; do
11455
- if ("$as_dir/$as_base" -c '
11456
- as_lineno_1=$LINENO
11457
- as_lineno_2=$LINENO
11458
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11459
- test "x$as_lineno_1" != "x$as_lineno_2" &&
11460
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11461
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11462
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11463
- CONFIG_SHELL=$as_dir/$as_base
11464
- export CONFIG_SHELL
11465
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11473
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11474
- # uniformly replaced by the line number. The first 'sed' inserts a
11475
- # line-number line before each line; the second 'sed' does the real
11476
- # work. The second script uses 'N' to pair each line-number line
11477
- # with the numbered line, and appends trailing '-' during
11478
- # substitution so that $LINENO is not a special case at line end.
11479
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11480
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11481
- sed '=' <$as_myself |
11482
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
11483
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
11484
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
11485
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
11486
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
11492
+ s/[$]LINENO.*/&-/
11499
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11501
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11504
- s,^['$as_cr_digits']*\n,,
11506
' >$as_me.lineno &&
11507
- chmod +x $as_me.lineno ||
11508
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11509
- { (exit 1); exit 1; }; }
11510
+ chmod +x "$as_me.lineno" ||
11511
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
11513
# Don't try to exec as it changes $[0], causing all sort of problems
11514
# (the dirname of $[0] is not the place where we might find the
11515
- # original and so on. Autoconf is especially sensible to this).
11516
- . ./$as_me.lineno
11517
+ # original and so on. Autoconf is especially sensitive to this).
11518
+ . "./$as_me.lineno"
11519
# Exit status is that of the last command.
11524
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11525
- *c*,-n*) ECHO_N= ECHO_C='
11527
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11528
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11529
+ECHO_C= ECHO_N= ECHO_T=
11530
+case `echo -n x` in #(((((
11532
+ case `echo 'xy\c'` in
11533
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11534
+ xy) ECHO_C='\c';;
11535
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11542
-if expr a : '\(a\)' >/dev/null 2>&1; then
11544
+rm -f conf$$ conf$$.exe conf$$.file
11545
+if test -d conf$$.dir; then
11546
+ rm -f conf$$.dir/conf$$.file
11550
+ mkdir conf$$.dir 2>/dev/null
11553
-rm -f conf$$ conf$$.exe conf$$.file
11555
-if ln -s conf$$.file conf$$ 2>/dev/null; then
11556
- # We could just check for DJGPP; but this test a) works b) is more generic
11557
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11558
- if test -f conf$$.exe; then
11559
- # Don't use ln at all; we don't have any links
11562
+if (echo >conf$$.file) 2>/dev/null; then
11563
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
11565
+ # ... but there are two gotchas:
11566
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11567
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11568
+ # In both cases, we have to default to `cp -p'.
11569
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11571
+ elif ln conf$$.file conf$$ 2>/dev/null; then
11576
-elif ln conf$$.file conf$$ 2>/dev/null; then
11581
-rm -f conf$$ conf$$.exe conf$$.file
11582
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11583
+rmdir conf$$.dir 2>/dev/null
11585
if mkdir -p . 2>/dev/null; then
11587
+ as_mkdir_p='mkdir -p "$as_dir"'
11589
test -d ./-p && rmdir ./-p
11593
-as_executable_p="test -f"
11594
+if test -x / >/dev/null 2>&1; then
11595
+ as_test_x='test -x'
11597
+ if ls -dL / >/dev/null 2>&1; then
11604
+ if test -d "$1"; then
11610
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11611
+ ???[sx]*):;;*)false;;esac;fi
11615
+as_executable_p=$as_test_x
11617
# Sed expression to map a string onto a valid CPP name.
11618
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11619
@@ -233,38 +529,25 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
11620
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11624
-# We need space, tab and new line, in precisely that order.
11632
+test -n "$DJDIR" || exec 7<&0 </dev/null
11635
# Name of the host.
11636
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
11637
# so uname gets run too.
11638
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
11645
ac_default_prefix=/usr/local
11647
ac_config_libobj_dir=.
11653
-SHELL=${CONFIG_SHELL-/bin/sh}
11655
-# Maximum number of lines to put in a shell here document.
11656
-# This variable seems obsolete. It should probably be removed, and
11657
-# only ac_max_sed_lines should be used.
11658
-: ${ac_max_here_lines=38}
11660
# Identity of this package.
11661
PACKAGE_NAME='gnats'
11662
@@ -272,50 +555,166 @@ PACKAGE_TARNAME='gnats'
11663
PACKAGE_VERSION='4.1.0'
11664
PACKAGE_STRING='gnats 4.1.0'
11665
PACKAGE_BUGREPORT='bug-gnats@gnu.org'
11668
# Factoring default headers for most tests.
11669
ac_includes_default="\
11671
-#if HAVE_SYS_TYPES_H
11672
+#ifdef HAVE_SYS_TYPES_H
11673
# include <sys/types.h>
11675
-#if HAVE_SYS_STAT_H
11676
+#ifdef HAVE_SYS_STAT_H
11677
# include <sys/stat.h>
11680
+#ifdef STDC_HEADERS
11681
# include <stdlib.h>
11682
# include <stddef.h>
11684
-# if HAVE_STDLIB_H
11685
+# ifdef HAVE_STDLIB_H
11686
# include <stdlib.h>
11690
-# if !STDC_HEADERS && HAVE_MEMORY_H
11691
+#ifdef HAVE_STRING_H
11692
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
11693
# include <memory.h>
11695
# include <string.h>
11697
-#if HAVE_STRINGS_H
11698
+#ifdef HAVE_STRINGS_H
11699
# include <strings.h>
11701
-#if HAVE_INTTYPES_H
11702
+#ifdef HAVE_INTTYPES_H
11703
# include <inttypes.h>
11705
-# if HAVE_STDINT_H
11706
-# include <stdint.h>
11710
+#ifdef HAVE_STDINT_H
11711
+# include <stdint.h>
11713
+#ifdef HAVE_UNISTD_H
11714
# include <unistd.h>
11717
-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 PROGS MAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT M4 AWK EGREP ALLOCA EMACS lispdir GNATS_ALL GNATS_INSTALL KRB4 HAVE_KERBEROS KRBINCLUDE EXTRA_OBJS GNATS_SERVICE GNATS_USER DEFAULT_RELEASE DEFAULT_ORGANIZATION SUBMITTER DEFAULT_MAIL_AGENT BWEEK_START BWEEK_END BDAY_START BDAY_END GNATSD_USER_ACCESS_FILE GNATSD_HOST_ACCESS_FILE GLOBAL_DB_LIST_FILE GNATS_DEFAULT_DB_DIR GCC_CFLAGS SENDMAIL LIBOBJS LTLIBOBJS'
11718
+ac_subst_vars='LTLIBOBJS
11722
+GNATS_DEFAULT_DB_DIR
11723
+GLOBAL_DB_LIST_FILE
11724
+GNATSD_HOST_ACCESS_FILE
11725
+GNATSD_USER_ACCESS_FILE
11730
+DEFAULT_MAIL_AGENT
11732
+DEFAULT_ORGANIZATION
11796
+program_transform_name
11809
+enable_option_checking
11811
+with_gnats_service
11813
+with_gnatsd_user_access_file
11814
+with_gnatsd_host_access_file
11815
+with_gnats_dblist_file
11816
+with_gnats_default_db
11820
+ ac_precious_vars='build_alias
11835
# Initialize some variables set by options.
11837
ac_init_version=false
11838
+ac_unrecognized_opts=
11839
+ac_unrecognized_sep=
11840
# The variables have the same names as the options, with
11841
# dashes changed to underlines.
11842
cache_file=/dev/null
11843
@@ -338,34 +737,48 @@ x_libraries=NONE
11844
# and all the variables that are supposed to be based on exec_prefix
11845
# by default will actually change.
11846
# Use braces instead of parens because sh, perl, etc. also accept them.
11847
+# (The list follows the same order as the GNU Coding Standards.)
11848
bindir='${exec_prefix}/bin'
11849
sbindir='${exec_prefix}/sbin'
11850
libexecdir='${exec_prefix}/libexec'
11851
-datadir='${prefix}/share'
11852
+datarootdir='${prefix}/share'
11853
+datadir='${datarootdir}'
11854
sysconfdir='${prefix}/etc'
11855
sharedstatedir='${prefix}/com'
11856
localstatedir='${prefix}/var'
11857
-libdir='${exec_prefix}/lib'
11858
includedir='${prefix}/include'
11859
oldincludedir='/usr/include'
11860
-infodir='${prefix}/info'
11861
-mandir='${prefix}/man'
11862
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
11863
+infodir='${datarootdir}/info'
11864
+htmldir='${docdir}'
11865
+dvidir='${docdir}'
11866
+pdfdir='${docdir}'
11868
+libdir='${exec_prefix}/lib'
11869
+localedir='${datarootdir}/locale'
11870
+mandir='${datarootdir}/man'
11876
# If the previous option needs an argument, assign it.
11877
if test -n "$ac_prev"; then
11878
- eval "$ac_prev=\$ac_option"
11879
+ eval $ac_prev=\$ac_option
11884
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
11885
+ case $ac_option in
11886
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
11887
+ *) ac_optarg=yes ;;
11890
# Accept the important Cygnus configure options, so we can diagnose typos.
11892
- case $ac_option in
11893
+ case $ac_dashdash$ac_option in
11895
+ ac_dashdash=yes ;;
11897
-bindir | --bindir | --bindi | --bind | --bin | --bi)
11899
@@ -387,33 +800,59 @@ do
11900
--config-cache | -C)
11901
cache_file=config.cache ;;
11903
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
11904
+ -datadir | --datadir | --datadi | --datad)
11906
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
11908
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
11909
datadir=$ac_optarg ;;
11911
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
11912
+ | --dataroo | --dataro | --datar)
11913
+ ac_prev=datarootdir ;;
11914
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
11915
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
11916
+ datarootdir=$ac_optarg ;;
11918
-disable-* | --disable-*)
11919
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
11920
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
11921
# Reject names that are not valid shell variable names.
11922
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
11923
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11924
- { (exit 1); exit 1; }; }
11925
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
11926
- eval "enable_$ac_feature=no" ;;
11927
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11928
+ as_fn_error "invalid feature name: $ac_useropt"
11929
+ ac_useropt_orig=$ac_useropt
11930
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11931
+ case $ac_user_opts in
11933
+"enable_$ac_useropt"
11935
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
11936
+ ac_unrecognized_sep=', ';;
11938
+ eval enable_$ac_useropt=no ;;
11940
+ -docdir | --docdir | --docdi | --doc | --do)
11941
+ ac_prev=docdir ;;
11942
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
11943
+ docdir=$ac_optarg ;;
11945
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
11946
+ ac_prev=dvidir ;;
11947
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
11948
+ dvidir=$ac_optarg ;;
11950
-enable-* | --enable-*)
11951
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
11952
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
11953
# Reject names that are not valid shell variable names.
11954
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
11955
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11956
- { (exit 1); exit 1; }; }
11957
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
11958
- case $ac_option in
11959
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
11960
- *) ac_optarg=yes ;;
11961
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11962
+ as_fn_error "invalid feature name: $ac_useropt"
11963
+ ac_useropt_orig=$ac_useropt
11964
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11965
+ case $ac_user_opts in
11967
+"enable_$ac_useropt"
11969
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
11970
+ ac_unrecognized_sep=', ';;
11972
- eval "enable_$ac_feature='$ac_optarg'" ;;
11973
+ eval enable_$ac_useropt=\$ac_optarg ;;
11975
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
11976
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11977
@@ -440,6 +879,12 @@ do
11978
-host=* | --host=* | --hos=* | --ho=*)
11979
host_alias=$ac_optarg ;;
11981
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
11982
+ ac_prev=htmldir ;;
11983
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
11985
+ htmldir=$ac_optarg ;;
11987
-includedir | --includedir | --includedi | --included | --include \
11988
| --includ | --inclu | --incl | --inc)
11989
ac_prev=includedir ;;
11990
@@ -464,13 +909,16 @@ do
11991
| --libexe=* | --libex=* | --libe=*)
11992
libexecdir=$ac_optarg ;;
11994
+ -localedir | --localedir | --localedi | --localed | --locale)
11995
+ ac_prev=localedir ;;
11996
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
11997
+ localedir=$ac_optarg ;;
11999
-localstatedir | --localstatedir | --localstatedi | --localstated \
12000
- | --localstate | --localstat | --localsta | --localst \
12001
- | --locals | --local | --loca | --loc | --lo)
12002
+ | --localstate | --localstat | --localsta | --localst | --locals)
12003
ac_prev=localstatedir ;;
12004
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
12005
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
12006
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
12007
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
12008
localstatedir=$ac_optarg ;;
12010
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
12011
@@ -535,6 +983,16 @@ do
12012
| --progr-tra=* | --program-tr=* | --program-t=*)
12013
program_transform_name=$ac_optarg ;;
12015
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
12016
+ ac_prev=pdfdir ;;
12017
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
12018
+ pdfdir=$ac_optarg ;;
12020
+ -psdir | --psdir | --psdi | --psd | --ps)
12022
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
12023
+ psdir=$ac_optarg ;;
12025
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
12026
| -silent | --silent | --silen | --sile | --sil)
12028
@@ -585,26 +1043,36 @@ do
12029
ac_init_version=: ;;
12031
-with-* | --with-*)
12032
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12033
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12034
# Reject names that are not valid shell variable names.
12035
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
12036
- { echo "$as_me: error: invalid package name: $ac_package" >&2
12037
- { (exit 1); exit 1; }; }
12038
- ac_package=`echo $ac_package| sed 's/-/_/g'`
12039
- case $ac_option in
12040
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
12041
- *) ac_optarg=yes ;;
12042
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
12043
+ as_fn_error "invalid package name: $ac_useropt"
12044
+ ac_useropt_orig=$ac_useropt
12045
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12046
+ case $ac_user_opts in
12048
+"with_$ac_useropt"
12050
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
12051
+ ac_unrecognized_sep=', ';;
12053
- eval "with_$ac_package='$ac_optarg'" ;;
12054
+ eval with_$ac_useropt=\$ac_optarg ;;
12056
-without-* | --without-*)
12057
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12058
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12059
# Reject names that are not valid shell variable names.
12060
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
12061
- { echo "$as_me: error: invalid package name: $ac_package" >&2
12062
- { (exit 1); exit 1; }; }
12063
- ac_package=`echo $ac_package | sed 's/-/_/g'`
12064
- eval "with_$ac_package=no" ;;
12065
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
12066
+ as_fn_error "invalid package name: $ac_useropt"
12067
+ ac_useropt_orig=$ac_useropt
12068
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12069
+ case $ac_user_opts in
12071
+"with_$ac_useropt"
12073
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
12074
+ ac_unrecognized_sep=', ';;
12076
+ eval with_$ac_useropt=no ;;
12079
# Obsolete; use --with-x.
12080
@@ -624,26 +1092,25 @@ do
12081
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12082
x_libraries=$ac_optarg ;;
12084
- -*) { echo "$as_me: error: unrecognized option: $ac_option
12085
-Try \`$0 --help' for more information." >&2
12086
- { (exit 1); exit 1; }; }
12087
+ -*) as_fn_error "unrecognized option: \`$ac_option'
12088
+Try \`$0 --help' for more information."
12092
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12093
# Reject names that are not valid shell variable names.
12094
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
12095
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
12096
- { (exit 1); exit 1; }; }
12097
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
12098
- eval "$ac_envvar='$ac_optarg'"
12099
+ case $ac_envvar in #(
12100
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
12101
+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
12103
+ eval $ac_envvar=\$ac_optarg
12104
export $ac_envvar ;;
12107
# FIXME: should be removed in autoconf 3.0.
12108
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12109
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12110
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12111
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12112
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12113
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
12116
@@ -652,31 +1119,36 @@ done
12118
if test -n "$ac_prev"; then
12119
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
12120
- { echo "$as_me: error: missing argument to $ac_option" >&2
12121
- { (exit 1); exit 1; }; }
12122
+ as_fn_error "missing argument to $ac_option"
12125
-# Be sure to have absolute paths.
12126
-for ac_var in exec_prefix prefix
12128
- eval ac_val=$`echo $ac_var`
12130
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
12131
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12132
- { (exit 1); exit 1; }; };;
12133
+if test -n "$ac_unrecognized_opts"; then
12134
+ case $enable_option_checking in
12136
+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
12137
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12142
-# Be sure to have absolute paths.
12143
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
12144
- localstatedir libdir includedir oldincludedir infodir mandir
12145
+# Check all directory arguments for consistency.
12146
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12147
+ datadir sysconfdir sharedstatedir localstatedir includedir \
12148
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12149
+ libdir localedir mandir
12151
- eval ac_val=$`echo $ac_var`
12152
+ eval ac_val=\$$ac_var
12153
+ # Remove trailing slashes.
12156
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12157
+ eval $ac_var=\$ac_val;;
12159
+ # Be sure to have absolute directory names.
12161
- [\\/$]* | ?:[\\/]* ) ;;
12162
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12163
- { (exit 1); exit 1; }; };;
12164
+ [\\/$]* | ?:[\\/]* ) continue;;
12165
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12167
+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
12170
# There might be people who depend on the old broken behavior: `$host'
12171
@@ -690,7 +1162,7 @@ target=$target_alias
12172
if test "x$host_alias" != x; then
12173
if test "x$build_alias" = x; then
12174
cross_compiling=maybe
12175
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
12176
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
12177
If a cross compiler is detected then cross compile mode will be used." >&2
12178
elif test "x$build_alias" != "x$host_alias"; then
12179
cross_compiling=yes
12180
@@ -703,74 +1175,72 @@ test -n "$host_alias" && ac_tool_prefix=
12181
test "$silent" = yes && exec 6>/dev/null
12184
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
12185
+ac_ls_di=`ls -di .` &&
12186
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12187
+ as_fn_error "working directory cannot be determined"
12188
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12189
+ as_fn_error "pwd does not report name of working directory"
12192
# Find the source files, if location was not specified.
12193
if test -z "$srcdir"; then
12194
ac_srcdir_defaulted=yes
12195
- # Try the directory containing this script, then its parent.
12196
- ac_confdir=`(dirname "$0") 2>/dev/null ||
12197
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12198
- X"$0" : 'X\(//\)[^/]' \| \
12199
- X"$0" : 'X\(//\)$' \| \
12200
- X"$0" : 'X\(/\)' \| \
12201
- . : '\(.\)' 2>/dev/null ||
12203
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12204
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12205
- /^X\(\/\/\)$/{ s//\1/; q; }
12206
- /^X\(\/\).*/{ s//\1/; q; }
12208
+ # Try the directory containing this script, then the parent directory.
12209
+ ac_confdir=`$as_dirname -- "$as_myself" ||
12210
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12211
+ X"$as_myself" : 'X\(//\)[^/]' \| \
12212
+ X"$as_myself" : 'X\(//\)$' \| \
12213
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12214
+$as_echo X"$as_myself" |
12215
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12219
+ /^X\(\/\/\)[^/].*/{
12233
- if test ! -r $srcdir/$ac_unique_file; then
12234
+ if test ! -r "$srcdir/$ac_unique_file"; then
12238
ac_srcdir_defaulted=no
12240
-if test ! -r $srcdir/$ac_unique_file; then
12241
- if test "$ac_srcdir_defaulted" = yes; then
12242
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
12243
- { (exit 1); exit 1; }; }
12245
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12246
- { (exit 1); exit 1; }; }
12249
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
12250
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
12251
- { (exit 1); exit 1; }; }
12252
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
12253
-ac_env_build_alias_set=${build_alias+set}
12254
-ac_env_build_alias_value=$build_alias
12255
-ac_cv_env_build_alias_set=${build_alias+set}
12256
-ac_cv_env_build_alias_value=$build_alias
12257
-ac_env_host_alias_set=${host_alias+set}
12258
-ac_env_host_alias_value=$host_alias
12259
-ac_cv_env_host_alias_set=${host_alias+set}
12260
-ac_cv_env_host_alias_value=$host_alias
12261
-ac_env_target_alias_set=${target_alias+set}
12262
-ac_env_target_alias_value=$target_alias
12263
-ac_cv_env_target_alias_set=${target_alias+set}
12264
-ac_cv_env_target_alias_value=$target_alias
12265
-ac_env_CC_set=${CC+set}
12266
-ac_env_CC_value=$CC
12267
-ac_cv_env_CC_set=${CC+set}
12268
-ac_cv_env_CC_value=$CC
12269
-ac_env_CFLAGS_set=${CFLAGS+set}
12270
-ac_env_CFLAGS_value=$CFLAGS
12271
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
12272
-ac_cv_env_CFLAGS_value=$CFLAGS
12273
-ac_env_LDFLAGS_set=${LDFLAGS+set}
12274
-ac_env_LDFLAGS_value=$LDFLAGS
12275
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
12276
-ac_cv_env_LDFLAGS_value=$LDFLAGS
12277
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
12278
-ac_env_CPPFLAGS_value=$CPPFLAGS
12279
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
12280
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
12281
-ac_env_CPP_set=${CPP+set}
12282
-ac_env_CPP_value=$CPP
12283
-ac_cv_env_CPP_set=${CPP+set}
12284
-ac_cv_env_CPP_value=$CPP
12285
+if test ! -r "$srcdir/$ac_unique_file"; then
12286
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12287
+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
12289
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12291
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
12293
+# When building in place, set srcdir=.
12294
+if test "$ac_abs_confdir" = "$ac_pwd"; then
12297
+# Remove unnecessary trailing slashes from srcdir.
12298
+# Double slashes in file names in object file debugging info
12299
+# mess up M-x gdb in Emacs.
12301
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12303
+for ac_var in $ac_precious_vars; do
12304
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
12305
+ eval ac_env_${ac_var}_value=\$${ac_var}
12306
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12307
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
12311
# Report the --help message.
12312
@@ -799,14 +1269,11 @@ Configuration:
12313
-n, --no-create do not create output files
12314
--srcdir=DIR find the sources in DIR [configure dir or \`..']
12319
Installation directories:
12320
--prefix=PREFIX install architecture-independent files in PREFIX
12321
- [$ac_default_prefix]
12322
+ [$ac_default_prefix]
12323
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
12327
By default, \`make install' will install all the files in
12328
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12329
@@ -816,18 +1283,25 @@ for instance \`--prefix=\$HOME'.
12330
For better control, use the options below.
12332
Fine tuning of the installation directories:
12333
- --bindir=DIR user executables [EPREFIX/bin]
12334
- --sbindir=DIR system admin executables [EPREFIX/sbin]
12335
- --libexecdir=DIR program executables [EPREFIX/libexec]
12336
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
12337
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12338
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12339
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
12340
- --libdir=DIR object code libraries [EPREFIX/lib]
12341
- --includedir=DIR C header files [PREFIX/include]
12342
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
12343
- --infodir=DIR info documentation [PREFIX/info]
12344
- --mandir=DIR man documentation [PREFIX/man]
12345
+ --bindir=DIR user executables [EPREFIX/bin]
12346
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
12347
+ --libexecdir=DIR program executables [EPREFIX/libexec]
12348
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12349
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12350
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
12351
+ --libdir=DIR object code libraries [EPREFIX/lib]
12352
+ --includedir=DIR C header files [PREFIX/include]
12353
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
12354
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
12355
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
12356
+ --infodir=DIR info documentation [DATAROOTDIR/info]
12357
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
12358
+ --mandir=DIR man documentation [DATAROOTDIR/man]
12359
+ --docdir=DIR documentation root [DATAROOTDIR/doc/gnats]
12360
+ --htmldir=DIR html documentation [DOCDIR]
12361
+ --dvidir=DIR dvi documentation [DOCDIR]
12362
+ --pdfdir=DIR pdf documentation [DOCDIR]
12363
+ --psdir=DIR ps documentation [DOCDIR]
12367
@@ -853,6 +1327,7 @@ Optional Packages:
12368
--with-gnats-dblist-file=PATH specify file containing list of databases
12369
--with-gnats-default-db=PATH specify the default database directory to use
12370
--with-lispdir=PATH specify the default lisp directory to use
12371
+ --with-lispdir override the default lisp directory
12372
--with-krb4 support Kerberos 4
12374
Some influential environment variables:
12375
@@ -860,161 +1335,550 @@ Some influential environment variables:
12376
CFLAGS C compiler flags
12377
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12378
nonstandard directory <lib dir>
12379
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
12380
- headers in a nonstandard directory <include dir>
12381
+ LIBS libraries to pass to the linker, e.g. -l<library>
12382
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
12383
+ you have headers in a nonstandard directory <include dir>
12385
+ YACC The `Yet Another C Compiler' implementation to use. Defaults to
12386
+ the first program found out of: `bison -y', `byacc', `yacc'.
12387
+ YFLAGS The list of arguments that will be passed by default to $YACC.
12388
+ This script will default YFLAGS to the empty string to avoid a
12389
+ default value of `-d' given by some make applications.
12390
+ EMACS the Emacs editor command
12392
+ the Emacs library search path
12394
Use these variables to override the choices made by `configure' or to help
12395
it to find libraries and programs with nonstandard names/locations.
12397
Report bugs to <bug-gnats@gnu.org>.
12402
if test "$ac_init_help" = "recursive"; then
12403
# If there are subdirs, report their specific --help.
12405
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
12406
- test -d $ac_dir || continue
12407
+ test -d "$ac_dir" ||
12408
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
12412
-if test "$ac_dir" != .; then
12413
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12414
- # A "../" for each directory in $ac_dir_suffix.
12415
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12417
- ac_dir_suffix= ac_top_builddir=
12420
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12422
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12423
+ # A ".." for each directory in $ac_dir_suffix.
12424
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12425
+ case $ac_top_builddir_sub in
12426
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12427
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12430
+ac_abs_top_builddir=$ac_pwd
12431
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
12432
+# for backward compatibility:
12433
+ac_top_builddir=$ac_top_build_prefix
12436
- .) # No --srcdir option. We are building in place.
12437
+ .) # We are building in place.
12439
- if test -z "$ac_top_builddir"; then
12442
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12444
- [\\/]* | ?:[\\/]* ) # Absolute path.
12445
+ ac_top_srcdir=$ac_top_builddir_sub
12446
+ ac_abs_top_srcdir=$ac_pwd ;;
12447
+ [\\/]* | ?:[\\/]* ) # Absolute name.
12448
ac_srcdir=$srcdir$ac_dir_suffix;
12449
- ac_top_srcdir=$srcdir ;;
12450
- *) # Relative path.
12451
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12452
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
12455
-# Do not use `cd foo && pwd` to compute absolute paths, because
12456
-# the directories may not exist.
12458
-.) ac_abs_builddir="$ac_dir";;
12460
- case "$ac_dir" in
12461
- .) ac_abs_builddir=`pwd`;;
12462
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12463
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
12466
-case $ac_abs_builddir in
12467
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
12469
- case ${ac_top_builddir}. in
12470
- .) ac_abs_top_builddir=$ac_abs_builddir;;
12471
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12472
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12475
-case $ac_abs_builddir in
12476
-.) ac_abs_srcdir=$ac_srcdir;;
12478
- case $ac_srcdir in
12479
- .) ac_abs_srcdir=$ac_abs_builddir;;
12480
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12481
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12484
-case $ac_abs_builddir in
12485
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
12487
- case $ac_top_srcdir in
12488
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
12489
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12490
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12492
+ ac_top_srcdir=$srcdir
12493
+ ac_abs_top_srcdir=$srcdir ;;
12494
+ *) # Relative name.
12495
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12496
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
12497
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12499
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12502
- # Check for guested configure; otherwise get Cygnus style configure.
12503
- if test -f $ac_srcdir/configure.gnu; then
12505
- $SHELL $ac_srcdir/configure.gnu --help=recursive
12506
- elif test -f $ac_srcdir/configure; then
12508
- $SHELL $ac_srcdir/configure --help=recursive
12509
- elif test -f $ac_srcdir/configure.ac ||
12510
- test -f $ac_srcdir/configure.in; then
12512
- $ac_configure --help
12513
+ cd "$ac_dir" || { ac_status=$?; continue; }
12514
+ # Check for guested configure.
12515
+ if test -f "$ac_srcdir/configure.gnu"; then
12517
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
12518
+ elif test -f "$ac_srcdir/configure"; then
12520
+ $SHELL "$ac_srcdir/configure" --help=recursive
12522
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
12525
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
12526
+ fi || ac_status=$?
12527
+ cd "$ac_pwd" || { ac_status=$?; break; }
12531
-test -n "$ac_init_help" && exit 0
12532
+test -n "$ac_init_help" && exit $ac_status
12533
if $ac_init_version; then
12535
gnats configure 4.1.0
12536
-generated by GNU Autoconf 2.59
12537
+generated by GNU Autoconf 2.65
12539
-Copyright (C) 2003 Free Software Foundation, Inc.
12540
+Copyright (C) 2009 Free Software Foundation, Inc.
12541
This configure script is free software; the Free Software Foundation
12542
gives unlimited permission to copy, distribute and modify it.
12549
-This file contains any messages produced by compilers while
12550
-running configure, to aid debugging if configure makes a mistake.
12552
-It was created by gnats $as_me 4.1.0, which was
12553
-generated by GNU Autoconf 2.59. Invocation command line was
12558
+## ------------------------ ##
12559
+## Autoconf initialization. ##
12560
+## ------------------------ ##
12562
+# ac_fn_c_try_compile LINENO
12563
+# --------------------------
12564
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
12565
+ac_fn_c_try_compile ()
12571
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12572
+ rm -f conftest.$ac_objext
12573
+ if { { ac_try="$ac_compile"
12574
+case "(($ac_try" in
12575
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12576
+ *) ac_try_echo=$ac_try;;
12578
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12579
+$as_echo "$ac_try_echo"; } >&5
12580
+ (eval "$ac_compile") 2>conftest.err
12582
+ if test -s conftest.err; then
12583
+ grep -v '^ *+' conftest.err >conftest.er1
12584
+ cat conftest.er1 >&5
12585
+ mv -f conftest.er1 conftest.err
12587
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12588
+ test $ac_status = 0; } && {
12589
+ test -z "$ac_c_werror_flag" ||
12590
+ test ! -s conftest.err
12591
+ } && test -s conftest.$ac_objext; then :
12594
+ $as_echo "$as_me: failed program was:" >&5
12595
+sed 's/^/| /' conftest.$ac_ext >&5
12597
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
12598
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
12599
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
12600
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
12601
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
12604
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12605
+ as_fn_set_status $ac_retval
12607
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
12608
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
12609
+} # ac_fn_c_try_compile
12611
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
12612
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
12613
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
12614
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
12615
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
12616
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
12617
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
12618
+# ac_fn_c_try_cpp LINENO
12619
+# ----------------------
12620
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
12621
+ac_fn_c_try_cpp ()
12623
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12624
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
12625
+case "(($ac_try" in
12626
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627
+ *) ac_try_echo=$ac_try;;
12629
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12630
+$as_echo "$ac_try_echo"; } >&5
12631
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
12633
+ if test -s conftest.err; then
12634
+ grep -v '^ *+' conftest.err >conftest.er1
12635
+ cat conftest.er1 >&5
12636
+ mv -f conftest.er1 conftest.err
12638
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12639
+ test $ac_status = 0; } >/dev/null && {
12640
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12641
+ test ! -s conftest.err
12645
+ $as_echo "$as_me: failed program was:" >&5
12646
+sed 's/^/| /' conftest.$ac_ext >&5
12650
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12651
+ as_fn_set_status $ac_retval
12653
+} # ac_fn_c_try_cpp
12655
+# ac_fn_c_try_link LINENO
12656
+# -----------------------
12657
+# Try to link conftest.$ac_ext, and return whether this succeeded.
12658
+ac_fn_c_try_link ()
12660
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12661
+ rm -f conftest.$ac_objext conftest$ac_exeext
12662
+ if { { ac_try="$ac_link"
12663
+case "(($ac_try" in
12664
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665
+ *) ac_try_echo=$ac_try;;
12667
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12668
+$as_echo "$ac_try_echo"; } >&5
12669
+ (eval "$ac_link") 2>conftest.err
12671
+ if test -s conftest.err; then
12672
+ grep -v '^ *+' conftest.err >conftest.er1
12673
+ cat conftest.er1 >&5
12674
+ mv -f conftest.er1 conftest.err
12676
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677
+ test $ac_status = 0; } && {
12678
+ test -z "$ac_c_werror_flag" ||
12679
+ test ! -s conftest.err
12680
+ } && test -s conftest$ac_exeext && {
12681
+ test "$cross_compiling" = yes ||
12682
+ $as_test_x conftest$ac_exeext
12686
+ $as_echo "$as_me: failed program was:" >&5
12687
+sed 's/^/| /' conftest.$ac_ext >&5
12691
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
12692
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
12693
+ # interfere with the next link command; also delete a directory that is
12694
+ # left behind by Apple's compiler. We do this before executing the actions.
12695
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
12696
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12697
+ as_fn_set_status $ac_retval
12699
+} # ac_fn_c_try_link
12701
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
12702
+# -------------------------------------------------------
12703
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
12704
+# the include files in INCLUDES and setting the cache variable VAR
12706
+ac_fn_c_check_header_mongrel ()
12708
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12709
+ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12710
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
12711
+$as_echo_n "checking for $2... " >&6; }
12712
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12713
+ $as_echo_n "(cached) " >&6
12716
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12717
+$as_echo "$ac_res" >&6; }
12719
+ # Is the header compilable?
12720
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
12721
+$as_echo_n "checking $2 usability... " >&6; }
12722
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723
+/* end confdefs.h. */
12727
+if ac_fn_c_try_compile "$LINENO"; then :
12728
+ ac_header_compiler=yes
12730
+ ac_header_compiler=no
12732
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12733
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
12734
+$as_echo "$ac_header_compiler" >&6; }
12737
+# Is the header present?
12738
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
12739
+$as_echo_n "checking $2 presence... " >&6; }
12740
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741
+/* end confdefs.h. */
12744
+if ac_fn_c_try_cpp "$LINENO"; then :
12745
+ ac_header_preproc=yes
12747
+ ac_header_preproc=no
12749
+rm -f conftest.err conftest.$ac_ext
12750
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
12751
+$as_echo "$ac_header_preproc" >&6; }
12753
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754
-for as_dir in $PATH
12757
- test -z "$as_dir" && as_dir=.
12758
- echo "PATH: $as_dir"
12760
+# So? What about this header?
12761
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
12763
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
12764
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
12765
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
12766
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
12769
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
12770
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
12771
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
12772
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
12773
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
12774
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
12775
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
12776
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
12777
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
12778
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
12780
+## -------------------------------- ##
12781
+## Report this to bug-gnats@gnu.org ##
12782
+## -------------------------------- ##
12784
+ ) | sed "s/^/$as_me: WARNING: /" >&2
12787
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
12788
+$as_echo_n "checking for $2... " >&6; }
12789
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12790
+ $as_echo_n "(cached) " >&6
12792
+ eval "$3=\$ac_header_compiler"
12795
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12796
+$as_echo "$ac_res" >&6; }
12798
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12800
+} # ac_fn_c_check_header_mongrel
12802
+# ac_fn_c_try_run LINENO
12803
+# ----------------------
12804
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
12805
+# that executables *can* be run.
12806
+ac_fn_c_try_run ()
12808
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12809
+ if { { ac_try="$ac_link"
12810
+case "(($ac_try" in
12811
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12812
+ *) ac_try_echo=$ac_try;;
12814
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12815
+$as_echo "$ac_try_echo"; } >&5
12816
+ (eval "$ac_link") 2>&5
12818
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
12820
+ { { case "(($ac_try" in
12821
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822
+ *) ac_try_echo=$ac_try;;
12824
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12825
+$as_echo "$ac_try_echo"; } >&5
12826
+ (eval "$ac_try") 2>&5
12828
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12829
+ test $ac_status = 0; }; }; then :
12832
+ $as_echo "$as_me: program exited with status $ac_status" >&5
12833
+ $as_echo "$as_me: failed program was:" >&5
12834
+sed 's/^/| /' conftest.$ac_ext >&5
12836
+ ac_retval=$ac_status
12838
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
12839
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12840
+ as_fn_set_status $ac_retval
12842
+} # ac_fn_c_try_run
12844
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
12845
+# -------------------------------------------------------
12846
+# Tests whether HEADER exists and can be compiled using the include files in
12847
+# INCLUDES, setting the cache variable VAR accordingly.
12848
+ac_fn_c_check_header_compile ()
12850
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12851
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
12852
+$as_echo_n "checking for $2... " >&6; }
12853
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12854
+ $as_echo_n "(cached) " >&6
12856
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857
+/* end confdefs.h. */
12861
+if ac_fn_c_try_compile "$LINENO"; then :
12866
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12869
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12870
+$as_echo "$ac_res" >&6; }
12871
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12873
+} # ac_fn_c_check_header_compile
12875
+# ac_fn_c_check_func LINENO FUNC VAR
12876
+# ----------------------------------
12877
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
12878
+ac_fn_c_check_func ()
12880
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12881
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
12882
+$as_echo_n "checking for $2... " >&6; }
12883
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12884
+ $as_echo_n "(cached) " >&6
12886
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887
+/* end confdefs.h. */
12888
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
12889
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
12890
+#define $2 innocuous_$2
12892
+/* System header to define __stub macros and hopefully few prototypes,
12893
+ which can conflict with char $2 (); below.
12894
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12895
+ <limits.h> exists even on freestanding compilers. */
12898
+# include <limits.h>
12900
+# include <assert.h>
12905
+/* Override any GCC internal prototype to avoid an error.
12906
+ Use char because int might match the return type of a GCC
12907
+ builtin and then its argument prototype would still apply. */
12908
+#ifdef __cplusplus
12912
+/* The GNU C library defines this for functions which it implements
12913
+ to always fail with ENOSYS. Some functions are actually named
12914
+ something starting with __ and the normal name is an alias. */
12915
+#if defined __stub_$2 || defined __stub___$2
12927
+if ac_fn_c_try_link "$LINENO"; then :
12932
+rm -f core conftest.err conftest.$ac_objext \
12933
+ conftest$ac_exeext conftest.$ac_ext
12936
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12937
+$as_echo "$ac_res" >&6; }
12938
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12940
+} # ac_fn_c_check_func
12942
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
12943
+# -------------------------------------------
12944
+# Tests whether TYPE exists after having included INCLUDES, setting cache
12945
+# variable VAR accordingly.
12946
+ac_fn_c_check_type ()
12948
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12949
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
12950
+$as_echo_n "checking for $2... " >&6; }
12951
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
12952
+ $as_echo_n "(cached) " >&6
12955
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956
+/* end confdefs.h. */
12967
+if ac_fn_c_try_compile "$LINENO"; then :
12968
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969
+/* end confdefs.h. */
12974
+if (sizeof (($2)))
12980
+if ac_fn_c_try_compile "$LINENO"; then :
12985
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12987
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12990
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12991
+$as_echo "$ac_res" >&6; }
12992
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
12994
+} # ac_fn_c_check_type
12995
+cat >config.log <<_ACEOF
12996
+This file contains any messages produced by compilers while
12997
+running configure, to aid debugging if configure makes a mistake.
12999
+It was created by gnats $as_me 4.1.0, which was
13000
+generated by GNU Autoconf 2.65. Invocation command line was
13005
+exec 5>>config.log
13012
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
13013
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
13014
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
13015
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
13016
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
13018
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
13019
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
13021
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
13022
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
13023
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
13024
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
13025
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
13026
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
13027
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
13031
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13032
+for as_dir in $PATH
13035
+ test -z "$as_dir" && as_dir=.
13036
+ $as_echo "PATH: $as_dir"
13042
@@ -1036,7 +1900,6 @@ _ACEOF
13044
ac_configure_args0=
13045
ac_configure_args1=
13047
ac_must_keep_next=false
13050
@@ -1047,13 +1910,13 @@ do
13051
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13052
| -silent | --silent | --silen | --sile | --sil)
13054
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
13055
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13057
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13060
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
13061
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
13063
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
13064
+ as_fn_append ac_configure_args1 " '$ac_arg'"
13065
if test $ac_must_keep_next = true; then
13066
ac_must_keep_next=false # Got value, back to normal.
13068
@@ -1069,21 +1932,19 @@ do
13069
-* ) ac_must_keep_next=true ;;
13072
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
13073
- # Get rid of the leading space.
13075
+ as_fn_append ac_configure_args " '$ac_arg'"
13080
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
13081
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
13082
+{ ac_configure_args0=; unset ac_configure_args0;}
13083
+{ ac_configure_args1=; unset ac_configure_args1;}
13085
# When interrupted or exit'd, cleanup temporary files, and complete
13086
# config.log. We remove comments because anyway the quotes in there
13087
# would cause problems or look ugly.
13088
-# WARNING: Be sure not to use single quotes in there, as some shells,
13089
-# such as our DU 5.0 friend, will then `close' the trap.
13090
+# WARNING: Use '\'' to represent an apostrophe within the trap.
13091
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
13092
trap 'exit_status=$?
13093
# Save into config.log some information that might help in debugging.
13095
@@ -1096,20 +1957,35 @@ trap 'exit_status=$?
13098
# The following way of writing the cache mishandles newlines in values,
13101
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
13102
+ eval ac_val=\$$ac_var
13103
+ case $ac_val in #(
13105
+ case $ac_var in #(
13106
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13107
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13109
+ case $ac_var in #(
13110
+ _ | IFS | as_nl) ;; #(
13111
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13112
+ *) { eval $ac_var=; unset $ac_var;} ;;
13117
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
13119
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
13120
+ *${as_nl}ac_space=\ *)
13122
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
13123
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
13125
+ "s/'\''/'\''\\\\'\'''\''/g;
13126
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
13130
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13131
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13141
@@ -1120,22 +1996,28 @@ _ASBOX
13143
for ac_var in $ac_subst_vars
13145
- eval ac_val=$`echo $ac_var`
13146
- echo "$ac_var='"'"'$ac_val'"'"'"
13147
+ eval ac_val=\$$ac_var
13149
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
13151
+ $as_echo "$ac_var='\''$ac_val'\''"
13155
if test -n "$ac_subst_files"; then
13157
-## ------------- ##
13158
-## Output files. ##
13159
-## ------------- ##
13160
+## ------------------- ##
13161
+## File substitutions. ##
13162
+## ------------------- ##
13165
for ac_var in $ac_subst_files
13167
- eval ac_val=$`echo $ac_var`
13168
- echo "$ac_var='"'"'$ac_val'"'"'"
13169
+ eval ac_val=\$$ac_var
13171
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
13173
+ $as_echo "$ac_var='\''$ac_val'\''"
13177
@@ -1147,26 +2029,26 @@ _ASBOX
13181
- sed "/^$/d" confdefs.h | sort
13185
test "$ac_signal" != 0 &&
13186
- echo "$as_me: caught signal $ac_signal"
13187
- echo "$as_me: exit $exit_status"
13188
+ $as_echo "$as_me: caught signal $ac_signal"
13189
+ $as_echo "$as_me: exit $exit_status"
13191
- rm -f core *.core &&
13192
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
13193
+ rm -f core *.core core.conftest.* &&
13194
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
13198
for ac_signal in 1 2 13 15; do
13199
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
13200
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
13204
# confdefs.h avoids OS command line length limits that DEFS can exceed.
13205
-rm -rf conftest* confdefs.h
13206
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
13208
+rm -f -r conftest* confdefs.h
13210
+$as_echo "/* confdefs.h */" > confdefs.h
13212
# Predefined preprocessor variables.
13214
@@ -1174,112 +2056,128 @@ cat >>confdefs.h <<_ACEOF
13215
#define PACKAGE_NAME "$PACKAGE_NAME"
13219
cat >>confdefs.h <<_ACEOF
13220
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
13224
cat >>confdefs.h <<_ACEOF
13225
#define PACKAGE_VERSION "$PACKAGE_VERSION"
13229
cat >>confdefs.h <<_ACEOF
13230
#define PACKAGE_STRING "$PACKAGE_STRING"
13234
cat >>confdefs.h <<_ACEOF
13235
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
13238
+cat >>confdefs.h <<_ACEOF
13239
+#define PACKAGE_URL "$PACKAGE_URL"
13243
# Let the site file select an alternate cache file if it wants to.
13244
-# Prefer explicitly selected file to automatically selected ones.
13245
-if test -z "$CONFIG_SITE"; then
13246
- if test "x$prefix" != xNONE; then
13247
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
13249
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
13252
-for ac_site_file in $CONFIG_SITE; do
13253
- if test -r "$ac_site_file"; then
13254
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
13255
-echo "$as_me: loading site script $ac_site_file" >&6;}
13256
+# Prefer an explicitly selected file to automatically selected ones.
13257
+ac_site_file1=NONE
13258
+ac_site_file2=NONE
13259
+if test -n "$CONFIG_SITE"; then
13260
+ ac_site_file1=$CONFIG_SITE
13261
+elif test "x$prefix" != xNONE; then
13262
+ ac_site_file1=$prefix/share/config.site
13263
+ ac_site_file2=$prefix/etc/config.site
13265
+ ac_site_file1=$ac_default_prefix/share/config.site
13266
+ ac_site_file2=$ac_default_prefix/etc/config.site
13268
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
13270
+ test "x$ac_site_file" = xNONE && continue
13271
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
13272
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
13273
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
13274
sed 's/^/| /' "$ac_site_file" >&5
13279
if test -r "$cache_file"; then
13280
- # Some versions of bash will fail to source /dev/null (special
13281
- # files actually), so we avoid doing that.
13282
- if test -f "$cache_file"; then
13283
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
13284
-echo "$as_me: loading cache $cache_file" >&6;}
13285
+ # Some versions of bash will fail to source /dev/null (special files
13286
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
13287
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
13288
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
13289
+$as_echo "$as_me: loading cache $cache_file" >&6;}
13290
case $cache_file in
13291
- [\\/]* | ?:[\\/]* ) . $cache_file;;
13292
- *) . ./$cache_file;;
13293
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
13294
+ *) . "./$cache_file";;
13298
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
13299
-echo "$as_me: creating cache $cache_file" >&6;}
13300
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
13301
+$as_echo "$as_me: creating cache $cache_file" >&6;}
13305
# Check that the precious variables saved in the cache have kept the same
13307
ac_cache_corrupted=false
13308
-for ac_var in `(set) 2>&1 |
13309
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
13310
+for ac_var in $ac_precious_vars; do
13311
eval ac_old_set=\$ac_cv_env_${ac_var}_set
13312
eval ac_new_set=\$ac_env_${ac_var}_set
13313
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
13314
- eval ac_new_val="\$ac_env_${ac_var}_value"
13315
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
13316
+ eval ac_new_val=\$ac_env_${ac_var}_value
13317
case $ac_old_set,$ac_new_set in
13319
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
13320
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
13321
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
13322
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
13323
ac_cache_corrupted=: ;;
13325
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
13326
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
13327
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
13328
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
13329
ac_cache_corrupted=: ;;
13332
if test "x$ac_old_val" != "x$ac_new_val"; then
13333
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
13334
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
13335
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
13336
-echo "$as_me: former value: $ac_old_val" >&2;}
13337
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
13338
-echo "$as_me: current value: $ac_new_val" >&2;}
13339
- ac_cache_corrupted=:
13340
+ # differences in whitespace do not lead to failure.
13341
+ ac_old_val_w=`echo x $ac_old_val`
13342
+ ac_new_val_w=`echo x $ac_new_val`
13343
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
13344
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
13345
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
13346
+ ac_cache_corrupted=:
13348
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
13349
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
13350
+ eval $ac_var=\$ac_old_val
13352
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
13353
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
13354
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
13355
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
13358
# Pass precious variables to config.status.
13359
if test "$ac_new_set" = set; then
13360
case $ac_new_val in
13361
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
13362
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
13363
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
13364
*) ac_arg=$ac_var=$ac_new_val ;;
13366
case " $ac_configure_args " in
13367
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
13368
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
13369
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
13373
if $ac_cache_corrupted; then
13374
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
13375
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
13376
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
13377
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
13378
- { (exit 1); exit 1; }; }
13380
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13381
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13382
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
13383
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
13384
+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
13386
+## -------------------- ##
13387
+## Main body of script. ##
13388
+## -------------------- ##
13391
ac_cpp='$CPP $CPPFLAGS'
13392
@@ -1289,84 +2187,59 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
13396
+ac_config_headers="$ac_config_headers autoconf.h"
13400
+# Check whether --with-kerberos was given.
13401
+if test "${with_kerberos+set}" = set; then :
13402
+ withval=$with_kerberos;
13406
+# Check whether --with-gnats-service was given.
13407
+if test "${with_gnats_service+set}" = set; then :
13408
+ withval=$with_gnats_service;
13412
+# Check whether --with-gnats-user was given.
13413
+if test "${with_gnats_user+set}" = set; then :
13414
+ withval=$with_gnats_user;
13418
+# Check whether --with-gnatsd-user-access-file was given.
13419
+if test "${with_gnatsd_user_access_file+set}" = set; then :
13420
+ withval=$with_gnatsd_user_access_file;
13424
+# Check whether --with-gnatsd-host-access-file was given.
13425
+if test "${with_gnatsd_host_access_file+set}" = set; then :
13426
+ withval=$with_gnatsd_host_access_file;
13430
+# Check whether --with-gnats-dblist-file was given.
13431
+if test "${with_gnats_dblist_file+set}" = set; then :
13432
+ withval=$with_gnats_dblist_file;
13436
+# Check whether --with-gnats-default-db was given.
13437
+if test "${with_gnats_default_db+set}" = set; then :
13438
+ withval=$with_gnats_default_db;
13442
+# Check whether --with-lispdir was given.
13443
+if test "${with_lispdir+set}" = set; then :
13444
+ withval=$with_lispdir;
13454
- ac_config_headers="$ac_config_headers autoconf.h"
13458
-# Check whether --with-kerberos or --without-kerberos was given.
13459
-if test "${with_kerberos+set}" = set; then
13460
- withval="$with_kerberos"
13464
-# Check whether --with-gnats-service or --without-gnats-service was given.
13465
-if test "${with_gnats_service+set}" = set; then
13466
- withval="$with_gnats_service"
13470
-# Check whether --with-gnats-user or --without-gnats-user was given.
13471
-if test "${with_gnats_user+set}" = set; then
13472
- withval="$with_gnats_user"
13476
-# Check whether --with-gnatsd-user-access-file or --without-gnatsd-user-access-file was given.
13477
-if test "${with_gnatsd_user_access_file+set}" = set; then
13478
- withval="$with_gnatsd_user_access_file"
13482
-# Check whether --with-gnatsd-host-access-file or --without-gnatsd-host-access-file was given.
13483
-if test "${with_gnatsd_host_access_file+set}" = set; then
13484
- withval="$with_gnatsd_host_access_file"
13488
-# Check whether --with-gnats-dblist-file or --without-gnats-dblist-file was given.
13489
-if test "${with_gnats_dblist_file+set}" = set; then
13490
- withval="$with_gnats_dblist_file"
13494
-# Check whether --with-gnats-default-db or --without-gnats-default-db was given.
13495
-if test "${with_gnats_default_db+set}" = set; then
13496
- withval="$with_gnats_default_db"
13500
-# Check whether --with-lispdir or --without-lispdir was given.
13501
-if test "${with_lispdir+set}" = set; then
13502
- withval="$with_lispdir"
13508
ac_cpp='$CPP $CPPFLAGS'
13509
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510
@@ -1375,10 +2248,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
13511
if test -n "$ac_tool_prefix"; then
13512
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13513
set dummy ${ac_tool_prefix}gcc; ac_word=$2
13514
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13515
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13516
-if test "${ac_cv_prog_CC+set}" = set; then
13517
- echo $ECHO_N "(cached) $ECHO_C" >&6
13518
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13519
+$as_echo_n "checking for $ac_word... " >&6; }
13520
+if test "${ac_cv_prog_CC+set}" = set; then :
13521
+ $as_echo_n "(cached) " >&6
13523
if test -n "$CC"; then
13524
ac_cv_prog_CC="$CC" # Let the user override the test.
13525
@@ -1388,35 +2261,37 @@ for as_dir in $PATH
13528
test -z "$as_dir" && as_dir=.
13529
- for ac_exec_ext in '' $ac_executable_extensions; do
13530
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13531
+ for ac_exec_ext in '' $ac_executable_extensions; do
13532
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13533
ac_cv_prog_CC="${ac_tool_prefix}gcc"
13534
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13535
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13546
if test -n "$CC"; then
13547
- echo "$as_me:$LINENO: result: $CC" >&5
13548
-echo "${ECHO_T}$CC" >&6
13549
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13550
+$as_echo "$CC" >&6; }
13552
- echo "$as_me:$LINENO: result: no" >&5
13553
-echo "${ECHO_T}no" >&6
13554
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555
+$as_echo "no" >&6; }
13560
if test -z "$ac_cv_prog_CC"; then
13562
# Extract the first word of "gcc", so it can be a program name with args.
13563
set dummy gcc; ac_word=$2
13564
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13565
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13566
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13567
- echo $ECHO_N "(cached) $ECHO_C" >&6
13568
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13569
+$as_echo_n "checking for $ac_word... " >&6; }
13570
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13571
+ $as_echo_n "(cached) " >&6
13573
if test -n "$ac_ct_CC"; then
13574
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13575
@@ -1426,39 +2301,50 @@ for as_dir in $PATH
13578
test -z "$as_dir" && as_dir=.
13579
- for ac_exec_ext in '' $ac_executable_extensions; do
13580
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13581
+ for ac_exec_ext in '' $ac_executable_extensions; do
13582
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13583
ac_cv_prog_ac_ct_CC="gcc"
13584
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13585
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13595
ac_ct_CC=$ac_cv_prog_ac_ct_CC
13596
if test -n "$ac_ct_CC"; then
13597
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13598
-echo "${ECHO_T}$ac_ct_CC" >&6
13599
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13600
+$as_echo "$ac_ct_CC" >&6; }
13602
- echo "$as_me:$LINENO: result: no" >&5
13603
-echo "${ECHO_T}no" >&6
13604
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605
+$as_echo "no" >&6; }
13609
+ if test "x$ac_ct_CC" = x; then
13612
+ case $cross_compiling:$ac_tool_warned in
13614
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13615
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13616
+ac_tool_warned=yes ;;
13621
CC="$ac_cv_prog_CC"
13624
if test -z "$CC"; then
13625
- if test -n "$ac_tool_prefix"; then
13626
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13627
+ if test -n "$ac_tool_prefix"; then
13628
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13629
set dummy ${ac_tool_prefix}cc; ac_word=$2
13630
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13631
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13632
-if test "${ac_cv_prog_CC+set}" = set; then
13633
- echo $ECHO_N "(cached) $ECHO_C" >&6
13634
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13635
+$as_echo_n "checking for $ac_word... " >&6; }
13636
+if test "${ac_cv_prog_CC+set}" = set; then :
13637
+ $as_echo_n "(cached) " >&6
13639
if test -n "$CC"; then
13640
ac_cv_prog_CC="$CC" # Let the user override the test.
13641
@@ -1468,77 +2354,37 @@ for as_dir in $PATH
13644
test -z "$as_dir" && as_dir=.
13645
- for ac_exec_ext in '' $ac_executable_extensions; do
13646
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13647
+ for ac_exec_ext in '' $ac_executable_extensions; do
13648
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13649
ac_cv_prog_CC="${ac_tool_prefix}cc"
13650
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13651
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13662
if test -n "$CC"; then
13663
- echo "$as_me:$LINENO: result: $CC" >&5
13664
-echo "${ECHO_T}$CC" >&6
13666
- echo "$as_me:$LINENO: result: no" >&5
13667
-echo "${ECHO_T}no" >&6
13671
-if test -z "$ac_cv_prog_CC"; then
13673
- # Extract the first word of "cc", so it can be a program name with args.
13674
-set dummy cc; ac_word=$2
13675
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13676
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13677
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13678
- echo $ECHO_N "(cached) $ECHO_C" >&6
13680
- if test -n "$ac_ct_CC"; then
13681
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13683
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13684
-for as_dir in $PATH
13687
- test -z "$as_dir" && as_dir=.
13688
- for ac_exec_ext in '' $ac_executable_extensions; do
13689
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13690
- ac_cv_prog_ac_ct_CC="cc"
13691
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13699
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
13700
-if test -n "$ac_ct_CC"; then
13701
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13702
-echo "${ECHO_T}$ac_ct_CC" >&6
13703
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13704
+$as_echo "$CC" >&6; }
13706
- echo "$as_me:$LINENO: result: no" >&5
13707
-echo "${ECHO_T}no" >&6
13708
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709
+$as_echo "no" >&6; }
13714
- CC="$ac_cv_prog_CC"
13719
if test -z "$CC"; then
13720
# Extract the first word of "cc", so it can be a program name with args.
13721
set dummy cc; ac_word=$2
13722
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13723
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13724
-if test "${ac_cv_prog_CC+set}" = set; then
13725
- echo $ECHO_N "(cached) $ECHO_C" >&6
13726
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727
+$as_echo_n "checking for $ac_word... " >&6; }
13728
+if test "${ac_cv_prog_CC+set}" = set; then :
13729
+ $as_echo_n "(cached) " >&6
13731
if test -n "$CC"; then
13732
ac_cv_prog_CC="$CC" # Let the user override the test.
13733
@@ -1549,18 +2395,19 @@ for as_dir in $PATH
13736
test -z "$as_dir" && as_dir=.
13737
- for ac_exec_ext in '' $ac_executable_extensions; do
13738
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13739
+ for ac_exec_ext in '' $ac_executable_extensions; do
13740
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13741
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13742
ac_prog_rejected=yes
13746
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13747
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13755
if test $ac_prog_rejected = yes; then
13756
# We found a bogon in the path, so make sure we never use it.
13757
@@ -1578,24 +2425,25 @@ fi
13760
if test -n "$CC"; then
13761
- echo "$as_me:$LINENO: result: $CC" >&5
13762
-echo "${ECHO_T}$CC" >&6
13763
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13764
+$as_echo "$CC" >&6; }
13766
- echo "$as_me:$LINENO: result: no" >&5
13767
-echo "${ECHO_T}no" >&6
13768
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769
+$as_echo "no" >&6; }
13774
if test -z "$CC"; then
13775
if test -n "$ac_tool_prefix"; then
13776
- for ac_prog in cl
13777
+ for ac_prog in cl.exe
13779
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13780
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13781
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13782
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13783
-if test "${ac_cv_prog_CC+set}" = set; then
13784
- echo $ECHO_N "(cached) $ECHO_C" >&6
13785
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13786
+$as_echo_n "checking for $ac_word... " >&6; }
13787
+if test "${ac_cv_prog_CC+set}" = set; then :
13788
+ $as_echo_n "(cached) " >&6
13790
if test -n "$CC"; then
13791
ac_cv_prog_CC="$CC" # Let the user override the test.
13792
@@ -1605,39 +2453,41 @@ for as_dir in $PATH
13795
test -z "$as_dir" && as_dir=.
13796
- for ac_exec_ext in '' $ac_executable_extensions; do
13797
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13798
+ for ac_exec_ext in '' $ac_executable_extensions; do
13799
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13800
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13801
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13802
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13813
if test -n "$CC"; then
13814
- echo "$as_me:$LINENO: result: $CC" >&5
13815
-echo "${ECHO_T}$CC" >&6
13816
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13817
+$as_echo "$CC" >&6; }
13819
- echo "$as_me:$LINENO: result: no" >&5
13820
-echo "${ECHO_T}no" >&6
13821
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13822
+$as_echo "no" >&6; }
13826
test -n "$CC" && break
13829
if test -z "$CC"; then
13831
- for ac_prog in cl
13832
+ for ac_prog in cl.exe
13834
# Extract the first word of "$ac_prog", so it can be a program name with args.
13835
set dummy $ac_prog; ac_word=$2
13836
-echo "$as_me:$LINENO: checking for $ac_word" >&5
13837
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13838
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13839
- echo $ECHO_N "(cached) $ECHO_C" >&6
13840
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13841
+$as_echo_n "checking for $ac_word... " >&6; }
13842
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13843
+ $as_echo_n "(cached) " >&6
13845
if test -n "$ac_ct_CC"; then
13846
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13847
@@ -1647,66 +2497,78 @@ for as_dir in $PATH
13850
test -z "$as_dir" && as_dir=.
13851
- for ac_exec_ext in '' $ac_executable_extensions; do
13852
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13853
+ for ac_exec_ext in '' $ac_executable_extensions; do
13854
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13855
ac_cv_prog_ac_ct_CC="$ac_prog"
13856
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13857
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13867
ac_ct_CC=$ac_cv_prog_ac_ct_CC
13868
if test -n "$ac_ct_CC"; then
13869
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13870
-echo "${ECHO_T}$ac_ct_CC" >&6
13871
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13872
+$as_echo "$ac_ct_CC" >&6; }
13874
- echo "$as_me:$LINENO: result: no" >&5
13875
-echo "${ECHO_T}no" >&6
13876
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13877
+$as_echo "no" >&6; }
13881
test -n "$ac_ct_CC" && break
13885
+ if test "x$ac_ct_CC" = x; then
13888
+ case $cross_compiling:$ac_tool_warned in
13890
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13891
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13892
+ac_tool_warned=yes ;;
13901
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13902
-See \`config.log' for more details." >&5
13903
-echo "$as_me: error: no acceptable C compiler found in \$PATH
13904
-See \`config.log' for more details." >&2;}
13905
- { (exit 1); exit 1; }; }
13906
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13907
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13908
+as_fn_error "no acceptable C compiler found in \$PATH
13909
+See \`config.log' for more details." "$LINENO" 5; }
13911
# Provide some information about the compiler.
13912
-echo "$as_me:$LINENO:" \
13913
- "checking for C compiler version" >&5
13914
-ac_compiler=`set X $ac_compile; echo $2`
13915
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13916
- (eval $ac_compiler --version </dev/null >&5) 2>&5
13918
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919
- (exit $ac_status); }
13920
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13921
- (eval $ac_compiler -v </dev/null >&5) 2>&5
13923
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924
- (exit $ac_status); }
13925
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13926
- (eval $ac_compiler -V </dev/null >&5) 2>&5
13927
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13930
+for ac_option in --version -v -V -qversion; do
13931
+ { { ac_try="$ac_compiler $ac_option >&5"
13932
+case "(($ac_try" in
13933
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13934
+ *) ac_try_echo=$ac_try;;
13936
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13937
+$as_echo "$ac_try_echo"; } >&5
13938
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13940
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941
- (exit $ac_status); }
13942
+ if test -s conftest.err; then
13944
+... rest of stderr output deleted ...
13945
+ 10q' conftest.err >conftest.er1
13946
+ cat conftest.er1 >&5
13948
+ rm -f conftest.er1 conftest.err
13949
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13950
+ test $ac_status = 0; }
13953
-cat >conftest.$ac_ext <<_ACEOF
13956
-cat confdefs.h >>conftest.$ac_ext
13957
-cat >>conftest.$ac_ext <<_ACEOF
13958
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959
/* end confdefs.h. */
13962
@@ -1718,112 +2580,109 @@ main ()
13965
ac_clean_files_save=$ac_clean_files
13966
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
13967
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
13968
# Try to create an executable without -o first, disregard a.out.
13969
# It will help us diagnose broken compilers, and finding out an intuition
13971
-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13972
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
13973
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13974
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
13975
- (eval $ac_link_default) 2>&5
13977
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978
- (exit $ac_status); }; then
13979
- # Find the output, starting from the most likely. This scheme is
13980
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13983
-# Be careful to initialize this variable, since it used to be cached.
13984
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
13986
-# b.out is created by i960 compilers.
13987
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
13988
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
13989
+$as_echo_n "checking whether the C compiler works... " >&6; }
13990
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13992
+# The possible output files:
13993
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
13996
+for ac_file in $ac_files
13999
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
14000
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14005
+if { { ac_try="$ac_link_default"
14006
+case "(($ac_try" in
14007
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008
+ *) ac_try_echo=$ac_try;;
14010
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14011
+$as_echo "$ac_try_echo"; } >&5
14012
+ (eval "$ac_link_default") 2>&5
14014
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14015
+ test $ac_status = 0; }; then :
14016
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14017
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14018
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
14019
+# so that the user can short-circuit this test for compilers unknown to
14021
+for ac_file in $ac_files ''
14023
test -f "$ac_file" || continue
14025
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
14027
- conftest.$ac_ext )
14028
- # This is the source file.
14029
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
14032
# We found the default executable, but exeext='' is most
14036
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14037
- # FIXME: I believe we export ac_cv_exeext for Libtool,
14038
- # but it would be cool to find out if it's true. Does anybody
14039
- # maintain Libtool? --akim.
14040
- export ac_cv_exeext
14041
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14043
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14045
+ # We set ac_cv_exeext here because the later test for it is not
14046
+ # safe: cross compilers may not add the suffix if given an `-o'
14047
+ # argument, so we may need to know it at that point already.
14048
+ # Even if this section looks crufty: it has the advantage of
14049
+ # actually working.
14055
+test "$ac_cv_exeext" = no && ac_cv_exeext=
14058
- echo "$as_me: failed program was:" >&5
14061
+if test -z "$ac_file"; then :
14062
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14063
+$as_echo "no" >&6; }
14064
+$as_echo "$as_me: failed program was:" >&5
14065
sed 's/^/| /' conftest.$ac_ext >&5
14067
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
14068
-See \`config.log' for more details." >&5
14069
-echo "$as_me: error: C compiler cannot create executables
14070
-See \`config.log' for more details." >&2;}
14071
- { (exit 77); exit 77; }; }
14072
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14073
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14074
+{ as_fn_set_status 77
14075
+as_fn_error "C compiler cannot create executables
14076
+See \`config.log' for more details." "$LINENO" 5; }; }
14078
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14079
+$as_echo "yes" >&6; }
14082
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
14083
+$as_echo_n "checking for C compiler default output file name... " >&6; }
14084
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
14085
+$as_echo "$ac_file" >&6; }
14086
ac_exeext=$ac_cv_exeext
14087
-echo "$as_me:$LINENO: result: $ac_file" >&5
14088
-echo "${ECHO_T}$ac_file" >&6
14090
-# Check the compiler produces executables we can run. If not, either
14091
-# the compiler is broken, or we cross compile.
14092
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14093
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
14094
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14095
-# If not cross compiling, check that we can run a simple program.
14096
-if test "$cross_compiling" != yes; then
14097
- if { ac_try='./$ac_file'
14098
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099
- (eval $ac_try) 2>&5
14101
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102
- (exit $ac_status); }; }; then
14103
- cross_compiling=no
14105
- if test "$cross_compiling" = maybe; then
14106
- cross_compiling=yes
14108
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14109
-If you meant to cross compile, use \`--host'.
14110
-See \`config.log' for more details." >&5
14111
-echo "$as_me: error: cannot run C compiled programs.
14112
-If you meant to cross compile, use \`--host'.
14113
-See \`config.log' for more details." >&2;}
14114
- { (exit 1); exit 1; }; }
14118
-echo "$as_me:$LINENO: result: yes" >&5
14119
-echo "${ECHO_T}yes" >&6
14121
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
14122
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
14123
ac_clean_files=$ac_clean_files_save
14124
-# Check the compiler produces executables we can run. If not, either
14125
-# the compiler is broken, or we cross compile.
14126
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14127
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
14128
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
14129
-echo "${ECHO_T}$cross_compiling" >&6
14131
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
14132
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
14133
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14134
- (eval $ac_link) 2>&5
14135
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
14136
+$as_echo_n "checking for suffix of executables... " >&6; }
14137
+if { { ac_try="$ac_link"
14138
+case "(($ac_try" in
14139
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14140
+ *) ac_try_echo=$ac_try;;
14142
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14143
+$as_echo "$ac_try_echo"; } >&5
14144
+ (eval "$ac_link") 2>&5
14146
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147
- (exit $ac_status); }; then
14148
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14149
+ test $ac_status = 0; }; then :
14150
# If both `conftest.exe' and `conftest' are `present' (well, observable)
14151
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14152
# work properly (i.e., refer to `conftest.exe'), while it won't with
14153
@@ -1831,38 +2690,90 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
14154
for ac_file in conftest.exe conftest conftest.*; do
14155
test -f "$ac_file" || continue
14157
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
14158
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
14159
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14160
- export ac_cv_exeext
14166
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14167
-See \`config.log' for more details." >&5
14168
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14169
-See \`config.log' for more details." >&2;}
14170
- { (exit 1); exit 1; }; }
14173
-rm -f conftest$ac_cv_exeext
14174
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14175
-echo "${ECHO_T}$ac_cv_exeext" >&6
14176
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14177
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14178
+as_fn_error "cannot compute suffix of executables: cannot compile and link
14179
+See \`config.log' for more details." "$LINENO" 5; }
14181
+rm -f conftest conftest$ac_cv_exeext
14182
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
14183
+$as_echo "$ac_cv_exeext" >&6; }
14185
rm -f conftest.$ac_ext
14186
EXEEXT=$ac_cv_exeext
14188
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
14189
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
14190
-if test "${ac_cv_objext+set}" = set; then
14191
- echo $ECHO_N "(cached) $ECHO_C" >&6
14193
- cat >conftest.$ac_ext <<_ACEOF
14195
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196
+/* end confdefs.h. */
14197
+#include <stdio.h>
14201
+FILE *f = fopen ("conftest.out", "w");
14202
+ return ferror (f) || fclose (f) != 0;
14208
-cat confdefs.h >>conftest.$ac_ext
14209
-cat >>conftest.$ac_ext <<_ACEOF
14210
+ac_clean_files="$ac_clean_files conftest.out"
14211
+# Check that the compiler produces executables we can run. If not, either
14212
+# the compiler is broken, or we cross compile.
14213
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
14214
+$as_echo_n "checking whether we are cross compiling... " >&6; }
14215
+if test "$cross_compiling" != yes; then
14216
+ { { ac_try="$ac_link"
14217
+case "(($ac_try" in
14218
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219
+ *) ac_try_echo=$ac_try;;
14221
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14222
+$as_echo "$ac_try_echo"; } >&5
14223
+ (eval "$ac_link") 2>&5
14225
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14226
+ test $ac_status = 0; }
14227
+ if { ac_try='./conftest$ac_cv_exeext'
14228
+ { { case "(($ac_try" in
14229
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230
+ *) ac_try_echo=$ac_try;;
14232
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14233
+$as_echo "$ac_try_echo"; } >&5
14234
+ (eval "$ac_try") 2>&5
14236
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14237
+ test $ac_status = 0; }; }; then
14238
+ cross_compiling=no
14240
+ if test "$cross_compiling" = maybe; then
14241
+ cross_compiling=yes
14243
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14244
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14245
+as_fn_error "cannot run C compiled programs.
14246
+If you meant to cross compile, use \`--host'.
14247
+See \`config.log' for more details." "$LINENO" 5; }
14251
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
14252
+$as_echo "$cross_compiling" >&6; }
14254
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
14255
+ac_clean_files=$ac_clean_files_save
14256
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
14257
+$as_echo_n "checking for suffix of object files... " >&6; }
14258
+if test "${ac_cv_objext+set}" = set; then :
14259
+ $as_echo_n "(cached) " >&6
14261
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262
/* end confdefs.h. */
14265
@@ -1874,45 +2785,46 @@ main ()
14268
rm -f conftest.o conftest.obj
14269
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14270
- (eval $ac_compile) 2>&5
14272
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273
- (exit $ac_status); }; then
14274
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14275
+if { { ac_try="$ac_compile"
14276
+case "(($ac_try" in
14277
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278
+ *) ac_try_echo=$ac_try;;
14280
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14281
+$as_echo "$ac_try_echo"; } >&5
14282
+ (eval "$ac_compile") 2>&5
14284
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14285
+ test $ac_status = 0; }; then :
14286
+ for ac_file in conftest.o conftest.obj conftest.*; do
14287
+ test -f "$ac_file" || continue;
14289
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
14290
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
14291
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14296
- echo "$as_me: failed program was:" >&5
14297
+ $as_echo "$as_me: failed program was:" >&5
14298
sed 's/^/| /' conftest.$ac_ext >&5
14300
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14301
-See \`config.log' for more details." >&5
14302
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
14303
-See \`config.log' for more details." >&2;}
14304
- { (exit 1); exit 1; }; }
14305
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14306
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14307
+as_fn_error "cannot compute suffix of object files: cannot compile
14308
+See \`config.log' for more details." "$LINENO" 5; }
14311
rm -f conftest.$ac_cv_objext conftest.$ac_ext
14313
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14314
-echo "${ECHO_T}$ac_cv_objext" >&6
14315
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
14316
+$as_echo "$ac_cv_objext" >&6; }
14317
OBJEXT=$ac_cv_objext
14319
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14320
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14321
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
14322
- echo $ECHO_N "(cached) $ECHO_C" >&6
14323
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14324
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14325
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
14326
+ $as_echo_n "(cached) " >&6
14328
- cat >conftest.$ac_ext <<_ACEOF
14331
-cat confdefs.h >>conftest.$ac_ext
14332
-cat >>conftest.$ac_ext <<_ACEOF
14333
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334
/* end confdefs.h. */
14337
@@ -1926,55 +2838,34 @@ main ()
14341
-rm -f conftest.$ac_objext
14342
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14343
- (eval $ac_compile) 2>conftest.er1
14345
- grep -v '^ *+' conftest.er1 >conftest.err
14346
- rm -f conftest.er1
14347
- cat conftest.err >&5
14348
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349
- (exit $ac_status); } &&
14350
- { ac_try='test -z "$ac_c_werror_flag"
14351
- || test ! -s conftest.err'
14352
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353
- (eval $ac_try) 2>&5
14355
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356
- (exit $ac_status); }; } &&
14357
- { ac_try='test -s conftest.$ac_objext'
14358
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359
- (eval $ac_try) 2>&5
14361
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362
- (exit $ac_status); }; }; then
14363
+if ac_fn_c_try_compile "$LINENO"; then :
14364
ac_compiler_gnu=yes
14366
- echo "$as_me: failed program was:" >&5
14367
-sed 's/^/| /' conftest.$ac_ext >&5
14369
-ac_compiler_gnu=no
14370
+ ac_compiler_gnu=no
14372
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14373
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14374
ac_cv_c_compiler_gnu=$ac_compiler_gnu
14377
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14378
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14379
-GCC=`test $ac_compiler_gnu = yes && echo yes`
14380
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14381
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
14382
+if test $ac_compiler_gnu = yes; then
14387
ac_test_CFLAGS=${CFLAGS+set}
14388
ac_save_CFLAGS=$CFLAGS
14390
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14391
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14392
-if test "${ac_cv_prog_cc_g+set}" = set; then
14393
- echo $ECHO_N "(cached) $ECHO_C" >&6
14394
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14395
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
14396
+if test "${ac_cv_prog_cc_g+set}" = set; then :
14397
+ $as_echo_n "(cached) " >&6
14399
- cat >conftest.$ac_ext <<_ACEOF
14402
-cat confdefs.h >>conftest.$ac_ext
14403
-cat >>conftest.$ac_ext <<_ACEOF
14404
+ ac_save_c_werror_flag=$ac_c_werror_flag
14405
+ ac_c_werror_flag=yes
14406
+ ac_cv_prog_cc_g=no
14408
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409
/* end confdefs.h. */
14412
@@ -1985,39 +2876,49 @@ main ()
14416
-rm -f conftest.$ac_objext
14417
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418
- (eval $ac_compile) 2>conftest.er1
14420
- grep -v '^ *+' conftest.er1 >conftest.err
14421
- rm -f conftest.er1
14422
- cat conftest.err >&5
14423
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424
- (exit $ac_status); } &&
14425
- { ac_try='test -z "$ac_c_werror_flag"
14426
- || test ! -s conftest.err'
14427
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428
- (eval $ac_try) 2>&5
14430
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431
- (exit $ac_status); }; } &&
14432
- { ac_try='test -s conftest.$ac_objext'
14433
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434
- (eval $ac_try) 2>&5
14436
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437
- (exit $ac_status); }; }; then
14438
+if ac_fn_c_try_compile "$LINENO"; then :
14439
ac_cv_prog_cc_g=yes
14441
- echo "$as_me: failed program was:" >&5
14442
-sed 's/^/| /' conftest.$ac_ext >&5
14444
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14445
+/* end confdefs.h. */
14455
+if ac_fn_c_try_compile "$LINENO"; then :
14458
+ ac_c_werror_flag=$ac_save_c_werror_flag
14460
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461
+/* end confdefs.h. */
14467
-ac_cv_prog_cc_g=no
14472
+if ac_fn_c_try_compile "$LINENO"; then :
14473
+ ac_cv_prog_cc_g=yes
14475
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14477
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14478
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14481
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14482
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14483
+ ac_c_werror_flag=$ac_save_c_werror_flag
14485
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14486
+$as_echo "$ac_cv_prog_cc_g" >&6; }
14487
if test "$ac_test_CFLAGS" = set; then
14488
CFLAGS=$ac_save_CFLAGS
14489
elif test $ac_cv_prog_cc_g = yes; then
14490
@@ -2033,18 +2934,14 @@ else
14494
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
14495
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
14496
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
14497
- echo $ECHO_N "(cached) $ECHO_C" >&6
14498
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14499
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14500
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
14501
+ $as_echo_n "(cached) " >&6
14503
- ac_cv_prog_cc_stdc=no
14504
+ ac_cv_prog_cc_c89=no
14506
-cat >conftest.$ac_ext <<_ACEOF
14509
-cat confdefs.h >>conftest.$ac_ext
14510
-cat >>conftest.$ac_ext <<_ACEOF
14511
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512
/* end confdefs.h. */
14513
#include <stdarg.h>
14515
@@ -2072,12 +2969,17 @@ static char *f (char * (*g) (char **, in
14516
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14517
function prototypes and stuff, but not '\xHH' hex character constants.
14518
These don't provoke an error unfortunately, instead are silently treated
14519
- as 'x'. The following induces an error, until -std1 is added to get
14520
+ as 'x'. The following induces an error, until -std is added to get
14521
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14522
array size at least. It's necessary to write '\x00'==0 to get something
14523
- that's true only with -std1. */
14524
+ that's true only with -std. */
14525
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14527
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14528
+ inside strings and character constants. */
14529
+#define FOO(x) 'x'
14530
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14532
int test (int i, double x);
14533
struct s1 {int (*f) (int a);};
14534
struct s2 {int (*f) (double a);};
14535
@@ -2092,205 +2994,37 @@ return f (e, argv, 0) != argv[0] || f
14539
-# Don't try gcc -ansi; that turns off useful extensions and
14540
-# breaks some systems' header files.
14541
-# AIX -qlanglvl=ansi
14542
-# Ultrix and OSF/1 -std1
14543
-# HP-UX 10.20 and later -Ae
14544
-# HP-UX older versions -Aa -D_HPUX_SOURCE
14545
-# SVR4 -Xc -D__EXTENSIONS__
14546
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14547
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14548
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14550
CC="$ac_save_CC $ac_arg"
14551
- rm -f conftest.$ac_objext
14552
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14553
- (eval $ac_compile) 2>conftest.er1
14555
- grep -v '^ *+' conftest.er1 >conftest.err
14556
- rm -f conftest.er1
14557
- cat conftest.err >&5
14558
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559
- (exit $ac_status); } &&
14560
- { ac_try='test -z "$ac_c_werror_flag"
14561
- || test ! -s conftest.err'
14562
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563
- (eval $ac_try) 2>&5
14565
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566
- (exit $ac_status); }; } &&
14567
- { ac_try='test -s conftest.$ac_objext'
14568
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569
- (eval $ac_try) 2>&5
14571
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572
- (exit $ac_status); }; }; then
14573
- ac_cv_prog_cc_stdc=$ac_arg
14576
- echo "$as_me: failed program was:" >&5
14577
-sed 's/^/| /' conftest.$ac_ext >&5
14579
+ if ac_fn_c_try_compile "$LINENO"; then :
14580
+ ac_cv_prog_cc_c89=$ac_arg
14582
-rm -f conftest.err conftest.$ac_objext
14583
+rm -f core conftest.err conftest.$ac_objext
14584
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
14586
-rm -f conftest.$ac_ext conftest.$ac_objext
14587
+rm -f conftest.$ac_ext
14592
-case "x$ac_cv_prog_cc_stdc" in
14594
- echo "$as_me:$LINENO: result: none needed" >&5
14595
-echo "${ECHO_T}none needed" >&6 ;;
14597
+case "x$ac_cv_prog_cc_c89" in
14599
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14600
+$as_echo "none needed" >&6; } ;;
14602
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14603
+$as_echo "unsupported" >&6; } ;;
14605
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
14606
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
14607
- CC="$CC $ac_cv_prog_cc_stdc" ;;
14608
+ CC="$CC $ac_cv_prog_cc_c89"
14609
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14610
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14612
+if test "x$ac_cv_prog_cc_c89" != xno; then :
14614
-# Some people use a C++ compiler to compile C. Since we use `exit',
14615
-# in C++ we need to declare it. In case someone uses the same compiler
14616
-# for both compiling C and C++ we need to have the C++ compiler decide
14617
-# the declaration of exit, since it's the most demanding environment.
14618
-cat >conftest.$ac_ext <<_ACEOF
14619
-#ifndef __cplusplus
14623
-rm -f conftest.$ac_objext
14624
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625
- (eval $ac_compile) 2>conftest.er1
14627
- grep -v '^ *+' conftest.er1 >conftest.err
14628
- rm -f conftest.er1
14629
- cat conftest.err >&5
14630
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631
- (exit $ac_status); } &&
14632
- { ac_try='test -z "$ac_c_werror_flag"
14633
- || test ! -s conftest.err'
14634
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635
- (eval $ac_try) 2>&5
14637
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638
- (exit $ac_status); }; } &&
14639
- { ac_try='test -s conftest.$ac_objext'
14640
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641
- (eval $ac_try) 2>&5
14643
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644
- (exit $ac_status); }; }; then
14645
- for ac_declaration in \
14647
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
14648
- 'extern "C" void std::exit (int); using std::exit;' \
14649
- 'extern "C" void exit (int) throw ();' \
14650
- 'extern "C" void exit (int);' \
14651
- 'void exit (int);'
14653
- cat >conftest.$ac_ext <<_ACEOF
14656
-cat confdefs.h >>conftest.$ac_ext
14657
-cat >>conftest.$ac_ext <<_ACEOF
14658
-/* end confdefs.h. */
14660
-#include <stdlib.h>
14669
-rm -f conftest.$ac_objext
14670
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671
- (eval $ac_compile) 2>conftest.er1
14673
- grep -v '^ *+' conftest.er1 >conftest.err
14674
- rm -f conftest.er1
14675
- cat conftest.err >&5
14676
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677
- (exit $ac_status); } &&
14678
- { ac_try='test -z "$ac_c_werror_flag"
14679
- || test ! -s conftest.err'
14680
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681
- (eval $ac_try) 2>&5
14683
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684
- (exit $ac_status); }; } &&
14685
- { ac_try='test -s conftest.$ac_objext'
14686
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687
- (eval $ac_try) 2>&5
14689
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690
- (exit $ac_status); }; }; then
14693
- echo "$as_me: failed program was:" >&5
14694
-sed 's/^/| /' conftest.$ac_ext >&5
14698
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14699
- cat >conftest.$ac_ext <<_ACEOF
14702
-cat confdefs.h >>conftest.$ac_ext
14703
-cat >>conftest.$ac_ext <<_ACEOF
14704
-/* end confdefs.h. */
14714
-rm -f conftest.$ac_objext
14715
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716
- (eval $ac_compile) 2>conftest.er1
14718
- grep -v '^ *+' conftest.er1 >conftest.err
14719
- rm -f conftest.er1
14720
- cat conftest.err >&5
14721
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722
- (exit $ac_status); } &&
14723
- { ac_try='test -z "$ac_c_werror_flag"
14724
- || test ! -s conftest.err'
14725
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726
- (eval $ac_try) 2>&5
14728
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729
- (exit $ac_status); }; } &&
14730
- { ac_try='test -s conftest.$ac_objext'
14731
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732
- (eval $ac_try) 2>&5
14734
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735
- (exit $ac_status); }; }; then
14738
- echo "$as_me: failed program was:" >&5
14739
-sed 's/^/| /' conftest.$ac_ext >&5
14742
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14745
-if test -n "$ac_declaration"; then
14746
- echo '#ifdef __cplusplus' >>confdefs.h
14747
- echo $ac_declaration >>confdefs.h
14748
- echo '#endif' >>confdefs.h
14752
- echo "$as_me: failed program was:" >&5
14753
-sed 's/^/| /' conftest.$ac_ext >&5
14756
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14758
ac_cpp='$CPP $CPPFLAGS'
14759
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760
@@ -2302,15 +3036,15 @@ ac_cpp='$CPP $CPPFLAGS'
14761
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14762
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14763
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14764
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14765
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14766
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
14767
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
14768
# On Suns, sometimes $CPP names a directory.
14769
if test -n "$CPP" && test -d "$CPP"; then
14772
if test -z "$CPP"; then
14773
- if test "${ac_cv_prog_CPP+set}" = set; then
14774
- echo $ECHO_N "(cached) $ECHO_C" >&6
14775
+ if test "${ac_cv_prog_CPP+set}" = set; then :
14776
+ $as_echo_n "(cached) " >&6
14778
# Double quotes because CPP needs to be expanded
14779
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14780
@@ -2324,11 +3058,7 @@ do
14781
# <limits.h> exists even on freestanding compilers.
14782
# On the NeXT, cc -E runs the code through the compiler's parser,
14783
# not just through cpp. "Syntax error" is here to catch this case.
14784
- cat >conftest.$ac_ext <<_ACEOF
14787
-cat confdefs.h >>conftest.$ac_ext
14788
-cat >>conftest.$ac_ext <<_ACEOF
14789
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790
/* end confdefs.h. */
14792
# include <limits.h>
14793
@@ -2337,68 +3067,24 @@ cat >>conftest.$ac_ext <<_ACEOF
14797
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14798
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14800
- grep -v '^ *+' conftest.er1 >conftest.err
14801
- rm -f conftest.er1
14802
- cat conftest.err >&5
14803
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804
- (exit $ac_status); } >/dev/null; then
14805
- if test -s conftest.err; then
14806
- ac_cpp_err=$ac_c_preproc_warn_flag
14807
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14814
-if test -z "$ac_cpp_err"; then
14817
- echo "$as_me: failed program was:" >&5
14818
-sed 's/^/| /' conftest.$ac_ext >&5
14819
+if ac_fn_c_try_cpp "$LINENO"; then :
14822
# Broken: fails on valid input.
14825
rm -f conftest.err conftest.$ac_ext
14827
- # OK, works on sane cases. Now check whether non-existent headers
14828
+ # OK, works on sane cases. Now check whether nonexistent headers
14829
# can be detected and how.
14830
- cat >conftest.$ac_ext <<_ACEOF
14833
-cat confdefs.h >>conftest.$ac_ext
14834
-cat >>conftest.$ac_ext <<_ACEOF
14835
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836
/* end confdefs.h. */
14837
#include <ac_nonexistent.h>
14839
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14840
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14842
- grep -v '^ *+' conftest.er1 >conftest.err
14843
- rm -f conftest.er1
14844
- cat conftest.err >&5
14845
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846
- (exit $ac_status); } >/dev/null; then
14847
- if test -s conftest.err; then
14848
- ac_cpp_err=$ac_c_preproc_warn_flag
14849
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14856
-if test -z "$ac_cpp_err"; then
14857
+if ac_fn_c_try_cpp "$LINENO"; then :
14858
# Broken: success on invalid input.
14861
- echo "$as_me: failed program was:" >&5
14862
-sed 's/^/| /' conftest.$ac_ext >&5
14864
# Passes both tests.
14867
@@ -2408,7 +3094,7 @@ rm -f conftest.err conftest.$ac_ext
14869
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14870
rm -f conftest.err conftest.$ac_ext
14871
-if $ac_preproc_ok; then
14872
+if $ac_preproc_ok; then :
14876
@@ -2420,8 +3106,8 @@ fi
14878
ac_cv_prog_CPP=$CPP
14880
-echo "$as_me:$LINENO: result: $CPP" >&5
14881
-echo "${ECHO_T}$CPP" >&6
14882
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
14883
+$as_echo "$CPP" >&6; }
14884
ac_preproc_ok=false
14885
for ac_c_preproc_warn_flag in '' yes
14887
@@ -2431,11 +3117,7 @@ do
14888
# <limits.h> exists even on freestanding compilers.
14889
# On the NeXT, cc -E runs the code through the compiler's parser,
14890
# not just through cpp. "Syntax error" is here to catch this case.
14891
- cat >conftest.$ac_ext <<_ACEOF
14894
-cat confdefs.h >>conftest.$ac_ext
14895
-cat >>conftest.$ac_ext <<_ACEOF
14896
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897
/* end confdefs.h. */
14899
# include <limits.h>
14900
@@ -2444,68 +3126,24 @@ cat >>conftest.$ac_ext <<_ACEOF
14904
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14905
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14907
- grep -v '^ *+' conftest.er1 >conftest.err
14908
- rm -f conftest.er1
14909
- cat conftest.err >&5
14910
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911
- (exit $ac_status); } >/dev/null; then
14912
- if test -s conftest.err; then
14913
- ac_cpp_err=$ac_c_preproc_warn_flag
14914
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14921
-if test -z "$ac_cpp_err"; then
14924
- echo "$as_me: failed program was:" >&5
14925
-sed 's/^/| /' conftest.$ac_ext >&5
14926
+if ac_fn_c_try_cpp "$LINENO"; then :
14929
# Broken: fails on valid input.
14932
rm -f conftest.err conftest.$ac_ext
14934
- # OK, works on sane cases. Now check whether non-existent headers
14935
+ # OK, works on sane cases. Now check whether nonexistent headers
14936
# can be detected and how.
14937
- cat >conftest.$ac_ext <<_ACEOF
14940
-cat confdefs.h >>conftest.$ac_ext
14941
-cat >>conftest.$ac_ext <<_ACEOF
14942
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943
/* end confdefs.h. */
14944
#include <ac_nonexistent.h>
14946
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14947
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14949
- grep -v '^ *+' conftest.er1 >conftest.err
14950
- rm -f conftest.er1
14951
- cat conftest.err >&5
14952
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953
- (exit $ac_status); } >/dev/null; then
14954
- if test -s conftest.err; then
14955
- ac_cpp_err=$ac_c_preproc_warn_flag
14956
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14963
-if test -z "$ac_cpp_err"; then
14964
+if ac_fn_c_try_cpp "$LINENO"; then :
14965
# Broken: success on invalid input.
14968
- echo "$as_me: failed program was:" >&5
14969
-sed 's/^/| /' conftest.$ac_ext >&5
14971
# Passes both tests.
14974
@@ -2515,14 +3153,13 @@ rm -f conftest.err conftest.$ac_ext
14976
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14977
rm -f conftest.err conftest.$ac_ext
14978
-if $ac_preproc_ok; then
14980
+if $ac_preproc_ok; then :
14983
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14984
-See \`config.log' for more details." >&5
14985
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14986
-See \`config.log' for more details." >&2;}
14987
- { (exit 1); exit 1; }; }
14988
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14989
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14990
+as_fn_error "C preprocessor \"$CPP\" fails sanity check
14991
+See \`config.log' for more details." "$LINENO" 5; }
14995
@@ -2532,29 +3169,27 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
14996
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
15000
- if test -f $ac_dir/install-sh; then
15001
- ac_aux_dir=$ac_dir
15002
- ac_install_sh="$ac_aux_dir/install-sh -c"
15004
- elif test -f $ac_dir/install.sh; then
15005
- ac_aux_dir=$ac_dir
15006
- ac_install_sh="$ac_aux_dir/install.sh -c"
15008
- elif test -f $ac_dir/shtool; then
15009
- ac_aux_dir=$ac_dir
15010
- ac_install_sh="$ac_aux_dir/shtool install -c"
15013
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
15014
+ for ac_t in install-sh install.sh shtool; do
15015
+ if test -f "$ac_dir/$ac_t"; then
15016
+ ac_aux_dir=$ac_dir
15017
+ ac_install_sh="$ac_aux_dir/$ac_t -c"
15022
if test -z "$ac_aux_dir"; then
15023
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
15024
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
15025
- { (exit 1); exit 1; }; }
15027
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
15028
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
15029
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
15030
+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
15033
+# These three variables are undocumented and unsupported,
15034
+# and are intended to be withdrawn in a future Autoconf release.
15035
+# They can cause serious problems if a builder's source tree is in a directory
15036
+# whose full name contains unusual characters.
15037
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
15038
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
15039
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
15042
# Find a good install program. We prefer a C program (faster),
15043
# so one script is as good as another. But avoid the broken or
15044
@@ -2569,22 +3204,23 @@ ac_configure="$SHELL $ac_aux_dir/configu
15045
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15046
# OS/2's system install, which has a completely different semantic
15047
# ./install, which can be erroneously created by make from ./install.sh.
15048
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15049
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15050
+# Reject install programs that cannot install multiple files.
15051
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
15052
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
15053
if test -z "$INSTALL"; then
15054
-if test "${ac_cv_path_install+set}" = set; then
15055
- echo $ECHO_N "(cached) $ECHO_C" >&6
15056
+if test "${ac_cv_path_install+set}" = set; then :
15057
+ $as_echo_n "(cached) " >&6
15059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15060
for as_dir in $PATH
15063
test -z "$as_dir" && as_dir=.
15064
- # Account for people who put trailing slashes in PATH elements.
15066
- ./ | .// | /cC/* | \
15067
+ # Account for people who put trailing slashes in PATH elements.
15068
+case $as_dir/ in #((
15069
+ ./ | .// | /[cC]/* | \
15070
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15071
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15072
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
15075
# OSF1 and SCO ODT 3.0 have their own names for install.
15076
@@ -2592,7 +3228,7 @@ case $as_dir/ in
15078
for ac_prog in ginstall scoinst install; do
15079
for ac_exec_ext in '' $ac_executable_extensions; do
15080
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15081
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
15082
if test $ac_prog = install &&
15083
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15084
# AIX install. It has an incompatible calling convention.
15085
@@ -2602,30 +3238,43 @@ case $as_dir/ in
15086
# program-specific install script used by HP pwplus--don't use.
15089
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15091
+ rm -rf conftest.one conftest.two conftest.dir
15092
+ echo one > conftest.one
15093
+ echo two > conftest.two
15094
+ mkdir conftest.dir
15095
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
15096
+ test -s conftest.one && test -s conftest.two &&
15097
+ test -s conftest.dir/conftest.one &&
15098
+ test -s conftest.dir/conftest.two
15100
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15114
+rm -rf conftest.one conftest.two conftest.dir
15117
if test "${ac_cv_path_install+set}" = set; then
15118
INSTALL=$ac_cv_path_install
15120
- # As a last resort, use the slow shell script. We don't cache a
15121
- # path for INSTALL within a source directory, because that will
15122
+ # As a last resort, use the slow shell script. Don't cache a
15123
+ # value for INSTALL within a source directory, because that will
15124
# break other packages using the cache if that directory is
15125
- # removed, or if the path is relative.
15126
+ # removed, or if the value is a relative name.
15127
INSTALL=$ac_install_sh
15130
-echo "$as_me:$LINENO: result: $INSTALL" >&5
15131
-echo "${ECHO_T}$INSTALL" >&6
15132
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
15133
+$as_echo "$INSTALL" >&6; }
15135
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15136
# It thinks the first close brace ends the variable substitution.
15137
@@ -2638,10 +3287,10 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
15138
if test -n "$ac_tool_prefix"; then
15139
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15140
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15141
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15142
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15143
-if test "${ac_cv_prog_RANLIB+set}" = set; then
15144
- echo $ECHO_N "(cached) $ECHO_C" >&6
15145
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15146
+$as_echo_n "checking for $ac_word... " >&6; }
15147
+if test "${ac_cv_prog_RANLIB+set}" = set; then :
15148
+ $as_echo_n "(cached) " >&6
15150
if test -n "$RANLIB"; then
15151
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15152
@@ -2651,35 +3300,37 @@ for as_dir in $PATH
15155
test -z "$as_dir" && as_dir=.
15156
- for ac_exec_ext in '' $ac_executable_extensions; do
15157
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158
+ for ac_exec_ext in '' $ac_executable_extensions; do
15159
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15160
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15161
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15162
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15172
RANLIB=$ac_cv_prog_RANLIB
15173
if test -n "$RANLIB"; then
15174
- echo "$as_me:$LINENO: result: $RANLIB" >&5
15175
-echo "${ECHO_T}$RANLIB" >&6
15176
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
15177
+$as_echo "$RANLIB" >&6; }
15179
- echo "$as_me:$LINENO: result: no" >&5
15180
-echo "${ECHO_T}no" >&6
15181
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15182
+$as_echo "no" >&6; }
15187
if test -z "$ac_cv_prog_RANLIB"; then
15188
ac_ct_RANLIB=$RANLIB
15189
# Extract the first word of "ranlib", so it can be a program name with args.
15190
set dummy ranlib; ac_word=$2
15191
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15192
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15194
- echo $ECHO_N "(cached) $ECHO_C" >&6
15195
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15196
+$as_echo_n "checking for $ac_word... " >&6; }
15197
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
15198
+ $as_echo_n "(cached) " >&6
15200
if test -n "$ac_ct_RANLIB"; then
15201
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15202
@@ -2689,28 +3340,38 @@ for as_dir in $PATH
15205
test -z "$as_dir" && as_dir=.
15206
- for ac_exec_ext in '' $ac_executable_extensions; do
15207
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15208
+ for ac_exec_ext in '' $ac_executable_extensions; do
15209
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15210
ac_cv_prog_ac_ct_RANLIB="ranlib"
15211
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15212
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15220
- test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15223
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15224
if test -n "$ac_ct_RANLIB"; then
15225
- echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15226
-echo "${ECHO_T}$ac_ct_RANLIB" >&6
15227
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15228
+$as_echo "$ac_ct_RANLIB" >&6; }
15230
- echo "$as_me:$LINENO: result: no" >&5
15231
-echo "${ECHO_T}no" >&6
15232
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15233
+$as_echo "no" >&6; }
15236
- RANLIB=$ac_ct_RANLIB
15237
+ if test "x$ac_ct_RANLIB" = x; then
15240
+ case $cross_compiling:$ac_tool_warned in
15242
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15243
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15244
+ac_tool_warned=yes ;;
15246
+ RANLIB=$ac_ct_RANLIB
15249
RANLIB="$ac_cv_prog_RANLIB"
15251
@@ -2719,10 +3380,10 @@ for ac_prog in 'bison -y' byacc
15253
# Extract the first word of "$ac_prog", so it can be a program name with args.
15254
set dummy $ac_prog; ac_word=$2
15255
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15256
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15257
-if test "${ac_cv_prog_YACC+set}" = set; then
15258
- echo $ECHO_N "(cached) $ECHO_C" >&6
15259
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15260
+$as_echo_n "checking for $ac_word... " >&6; }
15261
+if test "${ac_cv_prog_YACC+set}" = set; then :
15262
+ $as_echo_n "(cached) " >&6
15264
if test -n "$YACC"; then
15265
ac_cv_prog_YACC="$YACC" # Let the user override the test.
15266
@@ -2732,26 +3393,28 @@ for as_dir in $PATH
15269
test -z "$as_dir" && as_dir=.
15270
- for ac_exec_ext in '' $ac_executable_extensions; do
15271
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15272
+ for ac_exec_ext in '' $ac_executable_extensions; do
15273
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15274
ac_cv_prog_YACC="$ac_prog"
15275
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15276
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15286
YACC=$ac_cv_prog_YACC
15287
if test -n "$YACC"; then
15288
- echo "$as_me:$LINENO: result: $YACC" >&5
15289
-echo "${ECHO_T}$YACC" >&6
15290
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
15291
+$as_echo "$YACC" >&6; }
15293
- echo "$as_me:$LINENO: result: no" >&5
15294
-echo "${ECHO_T}no" >&6
15295
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15296
+$as_echo "no" >&6; }
15300
test -n "$YACC" && break
15302
test -n "$YACC" || YACC="yacc"
15303
@@ -2761,10 +3424,10 @@ for ac_prog in flex lex
15305
# Extract the first word of "$ac_prog", so it can be a program name with args.
15306
set dummy $ac_prog; ac_word=$2
15307
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15308
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15309
-if test "${ac_cv_prog_LEX+set}" = set; then
15310
- echo $ECHO_N "(cached) $ECHO_C" >&6
15311
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15312
+$as_echo_n "checking for $ac_word... " >&6; }
15313
+if test "${ac_cv_prog_LEX+set}" = set; then :
15314
+ $as_echo_n "(cached) " >&6
15316
if test -n "$LEX"; then
15317
ac_cv_prog_LEX="$LEX" # Let the user override the test.
15318
@@ -2774,271 +3437,154 @@ for as_dir in $PATH
15321
test -z "$as_dir" && as_dir=.
15322
- for ac_exec_ext in '' $ac_executable_extensions; do
15323
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15324
+ for ac_exec_ext in '' $ac_executable_extensions; do
15325
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15326
ac_cv_prog_LEX="$ac_prog"
15327
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15328
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15338
LEX=$ac_cv_prog_LEX
15339
if test -n "$LEX"; then
15340
- echo "$as_me:$LINENO: result: $LEX" >&5
15341
-echo "${ECHO_T}$LEX" >&6
15342
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
15343
+$as_echo "$LEX" >&6; }
15345
- echo "$as_me:$LINENO: result: no" >&5
15346
-echo "${ECHO_T}no" >&6
15347
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15348
+$as_echo "no" >&6; }
15352
test -n "$LEX" && break
15354
test -n "$LEX" || LEX=":"
15356
-if test -z "$LEXLIB"
15358
- echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
15359
-echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
15360
-if test "${ac_cv_lib_fl_yywrap+set}" = set; then
15361
- echo $ECHO_N "(cached) $ECHO_C" >&6
15363
- ac_check_lib_save_LIBS=$LIBS
15365
-cat >conftest.$ac_ext <<_ACEOF
15368
-cat confdefs.h >>conftest.$ac_ext
15369
-cat >>conftest.$ac_ext <<_ACEOF
15370
-/* end confdefs.h. */
15372
-/* Override any gcc2 internal prototype to avoid an error. */
15373
-#ifdef __cplusplus
15375
+if test "x$LEX" != "x:"; then
15376
+ cat >conftest.l <<_ACEOF
15382
+e { yyless (input () != 0); }
15383
+f { unput (yytext[0]); }
15384
+. { BEGIN INITIAL; }
15386
+#ifdef YYTEXT_POINTER
15387
+extern char *yytext;
15389
-/* We use char because int might match the return type of a gcc2
15390
- builtin and then its argument prototype would still apply. */
15399
+ return ! yylex () + ! yywrap ();
15402
-rm -f conftest.$ac_objext conftest$ac_exeext
15403
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15404
- (eval $ac_link) 2>conftest.er1
15406
- grep -v '^ *+' conftest.er1 >conftest.err
15407
- rm -f conftest.er1
15408
- cat conftest.err >&5
15409
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410
- (exit $ac_status); } &&
15411
- { ac_try='test -z "$ac_c_werror_flag"
15412
- || test ! -s conftest.err'
15413
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414
- (eval $ac_try) 2>&5
15416
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417
- (exit $ac_status); }; } &&
15418
- { ac_try='test -s conftest$ac_exeext'
15419
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420
- (eval $ac_try) 2>&5
15422
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423
- (exit $ac_status); }; }; then
15424
- ac_cv_lib_fl_yywrap=yes
15425
+{ { ac_try="$LEX conftest.l"
15426
+case "(($ac_try" in
15427
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428
+ *) ac_try_echo=$ac_try;;
15430
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15431
+$as_echo "$ac_try_echo"; } >&5
15432
+ (eval "$LEX conftest.l") 2>&5
15434
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435
+ test $ac_status = 0; }
15436
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
15437
+$as_echo_n "checking lex output file root... " >&6; }
15438
+if test "${ac_cv_prog_lex_root+set}" = set; then :
15439
+ $as_echo_n "(cached) " >&6
15441
- echo "$as_me: failed program was:" >&5
15442
-sed 's/^/| /' conftest.$ac_ext >&5
15444
-ac_cv_lib_fl_yywrap=no
15445
+if test -f lex.yy.c; then
15446
+ ac_cv_prog_lex_root=lex.yy
15447
+elif test -f lexyy.c; then
15448
+ ac_cv_prog_lex_root=lexyy
15450
+ as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
15452
-rm -f conftest.err conftest.$ac_objext \
15453
- conftest$ac_exeext conftest.$ac_ext
15454
-LIBS=$ac_check_lib_save_LIBS
15456
-echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
15457
-echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
15458
-if test $ac_cv_lib_fl_yywrap = yes; then
15461
- echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
15462
-echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
15463
-if test "${ac_cv_lib_l_yywrap+set}" = set; then
15464
- echo $ECHO_N "(cached) $ECHO_C" >&6
15465
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
15466
+$as_echo "$ac_cv_prog_lex_root" >&6; }
15467
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
15469
+if test -z "${LEXLIB+set}"; then
15470
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
15471
+$as_echo_n "checking lex library... " >&6; }
15472
+if test "${ac_cv_lib_lex+set}" = set; then :
15473
+ $as_echo_n "(cached) " >&6
15475
- ac_check_lib_save_LIBS=$LIBS
15477
-cat >conftest.$ac_ext <<_ACEOF
15480
-cat confdefs.h >>conftest.$ac_ext
15481
-cat >>conftest.$ac_ext <<_ACEOF
15483
+ ac_save_LIBS=$LIBS
15484
+ ac_cv_lib_lex='none needed'
15485
+ for ac_lib in '' -lfl -ll; do
15486
+ LIBS="$ac_lib $ac_save_LIBS"
15487
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488
/* end confdefs.h. */
15490
-/* Override any gcc2 internal prototype to avoid an error. */
15491
-#ifdef __cplusplus
15494
-/* We use char because int might match the return type of a gcc2
15495
- builtin and then its argument prototype would still apply. */
15505
-rm -f conftest.$ac_objext conftest$ac_exeext
15506
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15507
- (eval $ac_link) 2>conftest.er1
15509
- grep -v '^ *+' conftest.er1 >conftest.err
15510
- rm -f conftest.er1
15511
- cat conftest.err >&5
15512
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513
- (exit $ac_status); } &&
15514
- { ac_try='test -z "$ac_c_werror_flag"
15515
- || test ! -s conftest.err'
15516
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517
- (eval $ac_try) 2>&5
15519
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520
- (exit $ac_status); }; } &&
15521
- { ac_try='test -s conftest$ac_exeext'
15522
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523
- (eval $ac_try) 2>&5
15525
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526
- (exit $ac_status); }; }; then
15527
- ac_cv_lib_l_yywrap=yes
15529
- echo "$as_me: failed program was:" >&5
15530
-sed 's/^/| /' conftest.$ac_ext >&5
15532
-ac_cv_lib_l_yywrap=no
15534
-rm -f conftest.err conftest.$ac_objext \
15535
- conftest$ac_exeext conftest.$ac_ext
15536
-LIBS=$ac_check_lib_save_LIBS
15538
-echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
15539
-echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
15540
-if test $ac_cv_lib_l_yywrap = yes; then
15543
+`cat $LEX_OUTPUT_ROOT.c`
15545
+if ac_fn_c_try_link "$LINENO"; then :
15546
+ ac_cv_lib_lex=$ac_lib
15548
+rm -f core conftest.err conftest.$ac_objext \
15549
+ conftest$ac_exeext conftest.$ac_ext
15550
+ test "$ac_cv_lib_lex" != 'none needed' && break
15552
+ LIBS=$ac_save_LIBS
15556
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
15557
+$as_echo "$ac_cv_lib_lex" >&6; }
15558
+ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
15561
-if test "x$LEX" != "x:"; then
15562
- echo "$as_me:$LINENO: checking lex output file root" >&5
15563
-echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
15564
-if test "${ac_cv_prog_lex_root+set}" = set; then
15565
- echo $ECHO_N "(cached) $ECHO_C" >&6
15567
- # The minimal lex program is just a single line: %%. But some broken lexes
15568
-# (Solaris, I think it was) want two %% lines, so accommodate them.
15569
-cat >conftest.l <<_ACEOF
15573
-{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
15574
- (eval $LEX conftest.l) 2>&5
15576
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577
- (exit $ac_status); }
15578
-if test -f lex.yy.c; then
15579
- ac_cv_prog_lex_root=lex.yy
15580
-elif test -f lexyy.c; then
15581
- ac_cv_prog_lex_root=lexyy
15583
- { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
15584
-echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
15585
- { (exit 1); exit 1; }; }
15588
-echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
15589
-echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
15591
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
15593
-echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
15594
-echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
15595
-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
15596
- echo $ECHO_N "(cached) $ECHO_C" >&6
15597
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
15598
+$as_echo_n "checking whether yytext is a pointer... " >&6; }
15599
+if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
15600
+ $as_echo_n "(cached) " >&6
15602
# POSIX says lex can declare yytext either as a pointer or an array; the
15603
-# default is implementation-dependent. Figure out which it is, since
15604
+# default is implementation-dependent. Figure out which it is, since
15605
# not all implementations provide the %pointer and %array declarations.
15606
ac_cv_prog_lex_yytext_pointer=no
15607
-echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
15609
-LIBS="$LIBS $LEXLIB"
15610
-cat >conftest.$ac_ext <<_ACEOF
15611
+LIBS="$LEXLIB $ac_save_LIBS"
15612
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613
+/* end confdefs.h. */
15614
+#define YYTEXT_POINTER 1
15615
`cat $LEX_OUTPUT_ROOT.c`
15617
-rm -f conftest.$ac_objext conftest$ac_exeext
15618
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619
- (eval $ac_link) 2>conftest.er1
15621
- grep -v '^ *+' conftest.er1 >conftest.err
15622
- rm -f conftest.er1
15623
- cat conftest.err >&5
15624
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625
- (exit $ac_status); } &&
15626
- { ac_try='test -z "$ac_c_werror_flag"
15627
- || test ! -s conftest.err'
15628
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629
- (eval $ac_try) 2>&5
15631
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632
- (exit $ac_status); }; } &&
15633
- { ac_try='test -s conftest$ac_exeext'
15634
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635
- (eval $ac_try) 2>&5
15637
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638
- (exit $ac_status); }; }; then
15639
+if ac_fn_c_try_link "$LINENO"; then :
15640
ac_cv_prog_lex_yytext_pointer=yes
15642
- echo "$as_me: failed program was:" >&5
15643
-sed 's/^/| /' conftest.$ac_ext >&5
15646
-rm -f conftest.err conftest.$ac_objext \
15647
- conftest$ac_exeext conftest.$ac_ext
15648
+rm -f core conftest.err conftest.$ac_objext \
15649
+ conftest$ac_exeext conftest.$ac_ext
15651
-rm -f "${LEX_OUTPUT_ROOT}.c"
15654
-echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
15655
-echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
15656
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
15657
+$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
15658
if test $ac_cv_prog_lex_yytext_pointer = yes; then
15660
-cat >>confdefs.h <<\_ACEOF
15661
-#define YYTEXT_POINTER 1
15663
+$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
15666
+rm -f conftest.l $LEX_OUTPUT_ROOT.c
15669
for ac_prog in gm4 gnum4 m4
15671
# Extract the first word of "$ac_prog", so it can be a program name with args.
15672
set dummy $ac_prog; ac_word=$2
15673
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15674
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15675
-if test "${ac_cv_path_M4+set}" = set; then
15676
- echo $ECHO_N "(cached) $ECHO_C" >&6
15677
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15678
+$as_echo_n "checking for $ac_word... " >&6; }
15679
+if test "${ac_cv_path_M4+set}" = set; then :
15680
+ $as_echo_n "(cached) " >&6
15684
@@ -3050,28 +3596,29 @@ for as_dir in $PATH
15687
test -z "$as_dir" && as_dir=.
15688
- for ac_exec_ext in '' $ac_executable_extensions; do
15689
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15690
+ for ac_exec_ext in '' $ac_executable_extensions; do
15691
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15692
ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
15693
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15694
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15707
if test -n "$M4"; then
15708
- echo "$as_me:$LINENO: result: $M4" >&5
15709
-echo "${ECHO_T}$M4" >&6
15710
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15711
+$as_echo "$M4" >&6; }
15713
- echo "$as_me:$LINENO: result: no" >&5
15714
-echo "${ECHO_T}no" >&6
15715
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15716
+$as_echo "no" >&6; }
15720
test -n "$M4" && break
15722
test -n "$M4" || M4="m4"
15723
@@ -3080,10 +3627,10 @@ for ac_prog in gawk mawk nawk awk
15725
# Extract the first word of "$ac_prog", so it can be a program name with args.
15726
set dummy $ac_prog; ac_word=$2
15727
-echo "$as_me:$LINENO: checking for $ac_word" >&5
15728
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15729
-if test "${ac_cv_prog_AWK+set}" = set; then
15730
- echo $ECHO_N "(cached) $ECHO_C" >&6
15731
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15732
+$as_echo_n "checking for $ac_word... " >&6; }
15733
+if test "${ac_cv_prog_AWK+set}" = set; then :
15734
+ $as_echo_n "(cached) " >&6
15736
if test -n "$AWK"; then
15737
ac_cv_prog_AWK="$AWK" # Let the user override the test.
15738
@@ -3093,85 +3640,169 @@ for as_dir in $PATH
15741
test -z "$as_dir" && as_dir=.
15742
- for ac_exec_ext in '' $ac_executable_extensions; do
15743
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15744
+ for ac_exec_ext in '' $ac_executable_extensions; do
15745
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15746
ac_cv_prog_AWK="$ac_prog"
15747
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15748
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15758
AWK=$ac_cv_prog_AWK
15759
if test -n "$AWK"; then
15760
- echo "$as_me:$LINENO: result: $AWK" >&5
15761
-echo "${ECHO_T}$AWK" >&6
15762
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15763
+$as_echo "$AWK" >&6; }
15765
- echo "$as_me:$LINENO: result: no" >&5
15766
-echo "${ECHO_T}no" >&6
15767
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15768
+$as_echo "no" >&6; }
15772
test -n "$AWK" && break
15777
-echo "$as_me:$LINENO: checking for egrep" >&5
15778
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
15779
-if test "${ac_cv_prog_egrep+set}" = set; then
15780
- echo $ECHO_N "(cached) $ECHO_C" >&6
15782
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
15783
- then ac_cv_prog_egrep='grep -E'
15784
- else ac_cv_prog_egrep='egrep'
15785
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
15786
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
15787
+if test "${ac_cv_path_GREP+set}" = set; then :
15788
+ $as_echo_n "(cached) " >&6
15790
+ if test -z "$GREP"; then
15791
+ ac_path_GREP_found=false
15792
+ # Loop through the user's path and test for each of PROGNAME-LIST
15793
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15794
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15797
+ test -z "$as_dir" && as_dir=.
15798
+ for ac_prog in grep ggrep; do
15799
+ for ac_exec_ext in '' $ac_executable_extensions; do
15800
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15801
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15802
+# Check for GNU ac_path_GREP and select it if it is found.
15803
+ # Check for GNU $ac_path_GREP
15804
+case `"$ac_path_GREP" --version 2>&1` in
15806
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15809
+ $as_echo_n 0123456789 >"conftest.in"
15812
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
15813
+ mv "conftest.tmp" "conftest.in"
15814
+ cp "conftest.in" "conftest.nl"
15815
+ $as_echo 'GREP' >> "conftest.nl"
15816
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15817
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15818
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
15819
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
15820
+ # Best one so far, save it but keep looking for a better one
15821
+ ac_cv_path_GREP="$ac_path_GREP"
15822
+ ac_path_GREP_max=$ac_count
15825
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
15826
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
15827
- EGREP=$ac_cv_prog_egrep
15828
+ # 10*(2^10) chars as input seems more than enough
15829
+ test $ac_count -gt 10 && break
15831
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15834
+ $ac_path_GREP_found && break 3
15839
+ if test -z "$ac_cv_path_GREP"; then
15840
+ as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
15843
+ ac_cv_path_GREP=$GREP
15847
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
15848
+$as_echo "$ac_cv_path_GREP" >&6; }
15849
+ GREP="$ac_cv_path_GREP"
15851
-echo "$as_me:$LINENO: checking for AIX" >&5
15852
-echo $ECHO_N "checking for AIX... $ECHO_C" >&6
15853
-cat >conftest.$ac_ext <<_ACEOF
15856
-cat confdefs.h >>conftest.$ac_ext
15857
-cat >>conftest.$ac_ext <<_ACEOF
15858
-/* end confdefs.h. */
15864
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865
- $EGREP "yes" >/dev/null 2>&1; then
15866
- echo "$as_me:$LINENO: result: yes" >&5
15867
-echo "${ECHO_T}yes" >&6
15868
-cat >>confdefs.h <<\_ACEOF
15869
-#define _ALL_SOURCE 1
15871
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
15872
+$as_echo_n "checking for egrep... " >&6; }
15873
+if test "${ac_cv_path_EGREP+set}" = set; then :
15874
+ $as_echo_n "(cached) " >&6
15876
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15877
+ then ac_cv_path_EGREP="$GREP -E"
15879
+ if test -z "$EGREP"; then
15880
+ ac_path_EGREP_found=false
15881
+ # Loop through the user's path and test for each of PROGNAME-LIST
15882
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15883
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15886
+ test -z "$as_dir" && as_dir=.
15887
+ for ac_prog in egrep; do
15888
+ for ac_exec_ext in '' $ac_executable_extensions; do
15889
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15890
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15891
+# Check for GNU ac_path_EGREP and select it if it is found.
15892
+ # Check for GNU $ac_path_EGREP
15893
+case `"$ac_path_EGREP" --version 2>&1` in
15895
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15898
+ $as_echo_n 0123456789 >"conftest.in"
15901
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
15902
+ mv "conftest.tmp" "conftest.in"
15903
+ cp "conftest.in" "conftest.nl"
15904
+ $as_echo 'EGREP' >> "conftest.nl"
15905
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15906
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15907
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
15908
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15909
+ # Best one so far, save it but keep looking for a better one
15910
+ ac_cv_path_EGREP="$ac_path_EGREP"
15911
+ ac_path_EGREP_max=$ac_count
15913
+ # 10*(2^10) chars as input seems more than enough
15914
+ test $ac_count -gt 10 && break
15916
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15919
+ $ac_path_EGREP_found && break 3
15924
+ if test -z "$ac_cv_path_EGREP"; then
15925
+ as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
15928
- echo "$as_me:$LINENO: result: no" >&5
15929
-echo "${ECHO_T}no" >&6
15930
+ ac_cv_path_EGREP=$EGREP
15936
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
15937
+$as_echo "$ac_cv_path_EGREP" >&6; }
15938
+ EGREP="$ac_cv_path_EGREP"
15941
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15942
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15943
-if test "${ac_cv_header_stdc+set}" = set; then
15944
- echo $ECHO_N "(cached) $ECHO_C" >&6
15945
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15946
+$as_echo_n "checking for ANSI C header files... " >&6; }
15947
+if test "${ac_cv_header_stdc+set}" = set; then :
15948
+ $as_echo_n "(cached) " >&6
15950
- cat >conftest.$ac_ext <<_ACEOF
15953
-cat confdefs.h >>conftest.$ac_ext
15954
-cat >>conftest.$ac_ext <<_ACEOF
15955
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15956
/* end confdefs.h. */
15957
#include <stdlib.h>
15958
#include <stdarg.h>
15959
@@ -3186,51 +3817,23 @@ main ()
15963
-rm -f conftest.$ac_objext
15964
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965
- (eval $ac_compile) 2>conftest.er1
15967
- grep -v '^ *+' conftest.er1 >conftest.err
15968
- rm -f conftest.er1
15969
- cat conftest.err >&5
15970
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971
- (exit $ac_status); } &&
15972
- { ac_try='test -z "$ac_c_werror_flag"
15973
- || test ! -s conftest.err'
15974
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975
- (eval $ac_try) 2>&5
15977
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978
- (exit $ac_status); }; } &&
15979
- { ac_try='test -s conftest.$ac_objext'
15980
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981
- (eval $ac_try) 2>&5
15983
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984
- (exit $ac_status); }; }; then
15985
+if ac_fn_c_try_compile "$LINENO"; then :
15986
ac_cv_header_stdc=yes
15988
- echo "$as_me: failed program was:" >&5
15989
-sed 's/^/| /' conftest.$ac_ext >&5
15991
-ac_cv_header_stdc=no
15992
+ ac_cv_header_stdc=no
15994
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15995
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15997
if test $ac_cv_header_stdc = yes; then
15998
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15999
- cat >conftest.$ac_ext <<_ACEOF
16002
-cat confdefs.h >>conftest.$ac_ext
16003
-cat >>conftest.$ac_ext <<_ACEOF
16004
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005
/* end confdefs.h. */
16006
#include <string.h>
16009
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16010
- $EGREP "memchr" >/dev/null 2>&1; then
16012
+ $EGREP "memchr" >/dev/null 2>&1; then :
16015
ac_cv_header_stdc=no
16017
@@ -3240,18 +3843,14 @@ fi
16019
if test $ac_cv_header_stdc = yes; then
16020
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16021
- cat >conftest.$ac_ext <<_ACEOF
16024
-cat confdefs.h >>conftest.$ac_ext
16025
-cat >>conftest.$ac_ext <<_ACEOF
16026
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027
/* end confdefs.h. */
16028
#include <stdlib.h>
16031
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16032
- $EGREP "free" >/dev/null 2>&1; then
16034
+ $EGREP "free" >/dev/null 2>&1; then :
16037
ac_cv_header_stdc=no
16039
@@ -3261,16 +3860,13 @@ fi
16041
if test $ac_cv_header_stdc = yes; then
16042
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16043
- if test "$cross_compiling" = yes; then
16044
+ if test "$cross_compiling" = yes; then :
16047
- cat >conftest.$ac_ext <<_ACEOF
16050
-cat confdefs.h >>conftest.$ac_ext
16051
-cat >>conftest.$ac_ext <<_ACEOF
16052
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053
/* end confdefs.h. */
16055
+#include <stdlib.h>
16056
#if ((' ' & 0x0FF) == 0x020)
16057
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16058
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16059
@@ -3290,423 +3886,207 @@ main ()
16060
for (i = 0; i < 256; i++)
16061
if (XOR (islower (i), ISLOWER (i))
16062
|| toupper (i) != TOUPPER (i))
16069
-rm -f conftest$ac_exeext
16070
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071
- (eval $ac_link) 2>&5
16073
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16075
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076
- (eval $ac_try) 2>&5
16078
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079
- (exit $ac_status); }; }; then
16082
- echo "$as_me: program exited with status $ac_status" >&5
16083
-echo "$as_me: failed program was:" >&5
16084
-sed 's/^/| /' conftest.$ac_ext >&5
16085
+if ac_fn_c_try_run "$LINENO"; then :
16087
-( exit $ac_status )
16088
-ac_cv_header_stdc=no
16090
+ ac_cv_header_stdc=no
16092
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16093
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16094
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
16099
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16100
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
16101
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16102
+$as_echo "$ac_cv_header_stdc" >&6; }
16103
if test $ac_cv_header_stdc = yes; then
16105
-cat >>confdefs.h <<\_ACEOF
16106
-#define STDC_HEADERS 1
16108
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
16112
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
16113
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16114
+ inttypes.h stdint.h unistd.h
16116
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16117
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16119
+eval as_val=\$$as_ac_Header
16120
+ if test "x$as_val" = x""yes; then :
16121
+ cat >>confdefs.h <<_ACEOF
16122
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16131
+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
16132
+if test "x$ac_cv_header_minix_config_h" = x""yes; then :
16139
+ if test "$MINIX" = yes; then
16141
+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
16143
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16144
- inttypes.h stdint.h unistd.h
16146
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16147
-echo "$as_me:$LINENO: checking for $ac_header" >&5
16148
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16149
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
16150
- echo $ECHO_N "(cached) $ECHO_C" >&6
16152
- cat >conftest.$ac_ext <<_ACEOF
16155
-cat confdefs.h >>conftest.$ac_ext
16156
-cat >>conftest.$ac_ext <<_ACEOF
16157
-/* end confdefs.h. */
16158
-$ac_includes_default
16160
-#include <$ac_header>
16162
-rm -f conftest.$ac_objext
16163
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16164
- (eval $ac_compile) 2>conftest.er1
16166
- grep -v '^ *+' conftest.er1 >conftest.err
16167
- rm -f conftest.er1
16168
- cat conftest.err >&5
16169
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170
- (exit $ac_status); } &&
16171
- { ac_try='test -z "$ac_c_werror_flag"
16172
- || test ! -s conftest.err'
16173
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174
- (eval $ac_try) 2>&5
16176
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177
- (exit $ac_status); }; } &&
16178
- { ac_try='test -s conftest.$ac_objext'
16179
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180
- (eval $ac_try) 2>&5
16182
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183
- (exit $ac_status); }; }; then
16184
- eval "$as_ac_Header=yes"
16186
- echo "$as_me: failed program was:" >&5
16187
-sed 's/^/| /' conftest.$ac_ext >&5
16188
+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
16190
-eval "$as_ac_Header=no"
16192
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16194
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16195
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16196
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
16197
- cat >>confdefs.h <<_ACEOF
16198
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16202
+$as_echo "#define _MINIX 1" >>confdefs.h
16208
-if test "${ac_cv_header_minix_config_h+set}" = set; then
16209
- echo "$as_me:$LINENO: checking for minix/config.h" >&5
16210
-echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
16211
-if test "${ac_cv_header_minix_config_h+set}" = set; then
16212
- echo $ECHO_N "(cached) $ECHO_C" >&6
16214
-echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
16215
-echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
16216
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
16217
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
16218
+if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
16219
+ $as_echo_n "(cached) " >&6
16221
- # Is the header compilable?
16222
-echo "$as_me:$LINENO: checking minix/config.h usability" >&5
16223
-echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
16224
-cat >conftest.$ac_ext <<_ACEOF
16227
-cat confdefs.h >>conftest.$ac_ext
16228
-cat >>conftest.$ac_ext <<_ACEOF
16229
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230
/* end confdefs.h. */
16231
-$ac_includes_default
16232
-#include <minix/config.h>
16234
-rm -f conftest.$ac_objext
16235
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16236
- (eval $ac_compile) 2>conftest.er1
16238
- grep -v '^ *+' conftest.er1 >conftest.err
16239
- rm -f conftest.er1
16240
- cat conftest.err >&5
16241
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242
- (exit $ac_status); } &&
16243
- { ac_try='test -z "$ac_c_werror_flag"
16244
- || test ! -s conftest.err'
16245
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246
- (eval $ac_try) 2>&5
16248
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249
- (exit $ac_status); }; } &&
16250
- { ac_try='test -s conftest.$ac_objext'
16251
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252
- (eval $ac_try) 2>&5
16254
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255
- (exit $ac_status); }; }; then
16256
- ac_header_compiler=yes
16258
- echo "$as_me: failed program was:" >&5
16259
-sed 's/^/| /' conftest.$ac_ext >&5
16261
-ac_header_compiler=no
16263
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16264
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16265
-echo "${ECHO_T}$ac_header_compiler" >&6
16266
+# define __EXTENSIONS__ 1
16267
+ $ac_includes_default
16272
-# Is the header present?
16273
-echo "$as_me:$LINENO: checking minix/config.h presence" >&5
16274
-echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
16275
-cat >conftest.$ac_ext <<_ACEOF
16278
-cat confdefs.h >>conftest.$ac_ext
16279
-cat >>conftest.$ac_ext <<_ACEOF
16280
-/* end confdefs.h. */
16281
-#include <minix/config.h>
16286
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16287
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16289
- grep -v '^ *+' conftest.er1 >conftest.err
16290
- rm -f conftest.er1
16291
- cat conftest.err >&5
16292
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293
- (exit $ac_status); } >/dev/null; then
16294
- if test -s conftest.err; then
16295
- ac_cpp_err=$ac_c_preproc_warn_flag
16296
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16303
-if test -z "$ac_cpp_err"; then
16304
- ac_header_preproc=yes
16306
- echo "$as_me: failed program was:" >&5
16307
-sed 's/^/| /' conftest.$ac_ext >&5
16309
- ac_header_preproc=no
16311
-rm -f conftest.err conftest.$ac_ext
16312
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16313
-echo "${ECHO_T}$ac_header_preproc" >&6
16315
-# So? What about this header?
16316
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16318
- { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
16319
-echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16320
- { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
16321
-echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
16322
- ac_header_preproc=yes
16325
- { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
16326
-echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
16327
- { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
16328
-echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
16329
- { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
16330
-echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
16331
- { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
16332
-echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
16333
- { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
16334
-echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
16335
- { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
16336
-echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
16339
-## -------------------------------- ##
16340
-## Report this to bug-gnats@gnu.org ##
16341
-## -------------------------------- ##
16344
- sed "s/^/$as_me: WARNING: /" >&2
16347
-echo "$as_me:$LINENO: checking for minix/config.h" >&5
16348
-echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
16349
-if test "${ac_cv_header_minix_config_h+set}" = set; then
16350
- echo $ECHO_N "(cached) $ECHO_C" >&6
16351
+if ac_fn_c_try_compile "$LINENO"; then :
16352
+ ac_cv_safe_to_define___extensions__=yes
16354
- ac_cv_header_minix_config_h=$ac_header_preproc
16356
-echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
16357
-echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
16359
+ ac_cv_safe_to_define___extensions__=no
16361
-if test $ac_cv_header_minix_config_h = yes; then
16365
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16367
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
16368
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
16369
+ test $ac_cv_safe_to_define___extensions__ = yes &&
16370
+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
16372
+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
16374
-if test "$MINIX" = yes; then
16375
+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
16377
-cat >>confdefs.h <<\_ACEOF
16378
-#define _POSIX_SOURCE 1
16382
-cat >>confdefs.h <<\_ACEOF
16383
-#define _POSIX_1_SOURCE 2
16385
+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
16387
+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
16389
-cat >>confdefs.h <<\_ACEOF
16396
- echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
16397
-echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
16398
-if test "${ac_cv_lib_cposix_strerror+set}" = set; then
16399
- echo $ECHO_N "(cached) $ECHO_C" >&6
16400
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16401
+$as_echo_n "checking for library containing strerror... " >&6; }
16402
+if test "${ac_cv_search_strerror+set}" = set; then :
16403
+ $as_echo_n "(cached) " >&6
16405
- ac_check_lib_save_LIBS=$LIBS
16406
-LIBS="-lcposix $LIBS"
16407
-cat >conftest.$ac_ext <<_ACEOF
16410
-cat confdefs.h >>conftest.$ac_ext
16411
-cat >>conftest.$ac_ext <<_ACEOF
16412
+ ac_func_search_save_LIBS=$LIBS
16413
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414
/* end confdefs.h. */
16416
-/* Override any gcc2 internal prototype to avoid an error. */
16417
+/* Override any GCC internal prototype to avoid an error.
16418
+ Use char because int might match the return type of a GCC
16419
+ builtin and then its argument prototype would still apply. */
16423
-/* We use char because int might match the return type of a gcc2
16424
- builtin and then its argument prototype would still apply. */
16430
+return strerror ();
16435
-rm -f conftest.$ac_objext conftest$ac_exeext
16436
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437
- (eval $ac_link) 2>conftest.er1
16439
- grep -v '^ *+' conftest.er1 >conftest.err
16440
- rm -f conftest.er1
16441
- cat conftest.err >&5
16442
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443
- (exit $ac_status); } &&
16444
- { ac_try='test -z "$ac_c_werror_flag"
16445
- || test ! -s conftest.err'
16446
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447
- (eval $ac_try) 2>&5
16449
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450
- (exit $ac_status); }; } &&
16451
- { ac_try='test -s conftest$ac_exeext'
16452
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453
- (eval $ac_try) 2>&5
16455
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456
- (exit $ac_status); }; }; then
16457
- ac_cv_lib_cposix_strerror=yes
16459
- echo "$as_me: failed program was:" >&5
16460
-sed 's/^/| /' conftest.$ac_ext >&5
16462
-ac_cv_lib_cposix_strerror=no
16464
-rm -f conftest.err conftest.$ac_objext \
16465
- conftest$ac_exeext conftest.$ac_ext
16466
-LIBS=$ac_check_lib_save_LIBS
16467
+for ac_lib in '' cposix; do
16468
+ if test -z "$ac_lib"; then
16469
+ ac_res="none required"
16472
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16474
+ if ac_fn_c_try_link "$LINENO"; then :
16475
+ ac_cv_search_strerror=$ac_res
16477
-echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
16478
-echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
16479
-if test $ac_cv_lib_cposix_strerror = yes; then
16480
- LIBS="$LIBS -lcposix"
16481
+rm -f core conftest.err conftest.$ac_objext \
16482
+ conftest$ac_exeext
16483
+ if test "${ac_cv_search_strerror+set}" = set; then :
16487
+if test "${ac_cv_search_strerror+set}" = set; then :
16490
+ ac_cv_search_strerror=no
16492
+rm conftest.$ac_ext
16493
+LIBS=$ac_func_search_save_LIBS
16495
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16496
+$as_echo "$ac_cv_search_strerror" >&6; }
16497
+ac_res=$ac_cv_search_strerror
16498
+if test "$ac_res" != no; then :
16499
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16503
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16504
# for constant arguments. Useless!
16505
-echo "$as_me:$LINENO: checking for working alloca.h" >&5
16506
-echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16507
-if test "${ac_cv_working_alloca_h+set}" = set; then
16508
- echo $ECHO_N "(cached) $ECHO_C" >&6
16509
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16510
+$as_echo_n "checking for working alloca.h... " >&6; }
16511
+if test "${ac_cv_working_alloca_h+set}" = set; then :
16512
+ $as_echo_n "(cached) " >&6
16514
- cat >conftest.$ac_ext <<_ACEOF
16517
-cat confdefs.h >>conftest.$ac_ext
16518
-cat >>conftest.$ac_ext <<_ACEOF
16519
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520
/* end confdefs.h. */
16521
#include <alloca.h>
16525
char *p = (char *) alloca (2 * sizeof (int));
16531
-rm -f conftest.$ac_objext conftest$ac_exeext
16532
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16533
- (eval $ac_link) 2>conftest.er1
16535
- grep -v '^ *+' conftest.er1 >conftest.err
16536
- rm -f conftest.er1
16537
- cat conftest.err >&5
16538
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539
- (exit $ac_status); } &&
16540
- { ac_try='test -z "$ac_c_werror_flag"
16541
- || test ! -s conftest.err'
16542
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543
- (eval $ac_try) 2>&5
16545
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546
- (exit $ac_status); }; } &&
16547
- { ac_try='test -s conftest$ac_exeext'
16548
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549
- (eval $ac_try) 2>&5
16551
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552
- (exit $ac_status); }; }; then
16553
+if ac_fn_c_try_link "$LINENO"; then :
16554
ac_cv_working_alloca_h=yes
16556
- echo "$as_me: failed program was:" >&5
16557
-sed 's/^/| /' conftest.$ac_ext >&5
16559
-ac_cv_working_alloca_h=no
16560
+ ac_cv_working_alloca_h=no
16562
-rm -f conftest.err conftest.$ac_objext \
16563
- conftest$ac_exeext conftest.$ac_ext
16564
+rm -f core conftest.err conftest.$ac_objext \
16565
+ conftest$ac_exeext conftest.$ac_ext
16567
-echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16568
-echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16569
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16570
+$as_echo "$ac_cv_working_alloca_h" >&6; }
16571
if test $ac_cv_working_alloca_h = yes; then
16573
-cat >>confdefs.h <<\_ACEOF
16574
-#define HAVE_ALLOCA_H 1
16576
+$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16580
-echo "$as_me:$LINENO: checking for alloca" >&5
16581
-echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16582
-if test "${ac_cv_func_alloca_works+set}" = set; then
16583
- echo $ECHO_N "(cached) $ECHO_C" >&6
16584
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16585
+$as_echo_n "checking for alloca... " >&6; }
16586
+if test "${ac_cv_func_alloca_works+set}" = set; then :
16587
+ $as_echo_n "(cached) " >&6
16589
- cat >conftest.$ac_ext <<_ACEOF
16592
-cat confdefs.h >>conftest.$ac_ext
16593
-cat >>conftest.$ac_ext <<_ACEOF
16594
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595
/* end confdefs.h. */
16597
# define alloca __builtin_alloca
16598
@@ -3715,7 +4095,7 @@ cat >>conftest.$ac_ext <<_ACEOF
16599
# include <malloc.h>
16600
# define alloca _alloca
16602
-# if HAVE_ALLOCA_H
16603
+# ifdef HAVE_ALLOCA_H
16604
# include <alloca.h>
16607
@@ -3733,50 +4113,25 @@ int
16610
char *p = (char *) alloca (1);
16616
-rm -f conftest.$ac_objext conftest$ac_exeext
16617
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16618
- (eval $ac_link) 2>conftest.er1
16620
- grep -v '^ *+' conftest.er1 >conftest.err
16621
- rm -f conftest.er1
16622
- cat conftest.err >&5
16623
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624
- (exit $ac_status); } &&
16625
- { ac_try='test -z "$ac_c_werror_flag"
16626
- || test ! -s conftest.err'
16627
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628
- (eval $ac_try) 2>&5
16630
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631
- (exit $ac_status); }; } &&
16632
- { ac_try='test -s conftest$ac_exeext'
16633
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634
- (eval $ac_try) 2>&5
16636
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637
- (exit $ac_status); }; }; then
16638
+if ac_fn_c_try_link "$LINENO"; then :
16639
ac_cv_func_alloca_works=yes
16641
- echo "$as_me: failed program was:" >&5
16642
-sed 's/^/| /' conftest.$ac_ext >&5
16644
-ac_cv_func_alloca_works=no
16645
+ ac_cv_func_alloca_works=no
16647
-rm -f conftest.err conftest.$ac_objext \
16648
- conftest$ac_exeext conftest.$ac_ext
16649
+rm -f core conftest.err conftest.$ac_objext \
16650
+ conftest$ac_exeext conftest.$ac_ext
16652
-echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16653
-echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16654
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16655
+$as_echo "$ac_cv_func_alloca_works" >&6; }
16657
if test $ac_cv_func_alloca_works = yes; then
16659
-cat >>confdefs.h <<\_ACEOF
16660
-#define HAVE_ALLOCA 1
16662
+$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16665
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
16666
@@ -3784,25 +4139,19 @@ else
16667
# contain a buggy version. If you still want to use their alloca,
16668
# use ar to extract alloca.o from them instead of compiling alloca.c.
16670
-ALLOCA=alloca.$ac_objext
16671
+ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16673
-cat >>confdefs.h <<\_ACEOF
16674
-#define C_ALLOCA 1
16676
+$as_echo "#define C_ALLOCA 1" >>confdefs.h
16679
-echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16680
-echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16681
-if test "${ac_cv_os_cray+set}" = set; then
16682
- echo $ECHO_N "(cached) $ECHO_C" >&6
16683
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16684
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16685
+if test "${ac_cv_os_cray+set}" = set; then :
16686
+ $as_echo_n "(cached) " >&6
16688
- cat >conftest.$ac_ext <<_ACEOF
16691
-cat confdefs.h >>conftest.$ac_ext
16692
-cat >>conftest.$ac_ext <<_ACEOF
16693
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694
/* end confdefs.h. */
16695
-#if defined(CRAY) && ! defined(CRAY2)
16696
+#if defined CRAY && ! defined CRAY2
16700
@@ -3810,7 +4159,7 @@ wenotbecray
16703
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704
- $EGREP "webecray" >/dev/null 2>&1; then
16705
+ $EGREP "webecray" >/dev/null 2>&1; then :
16709
@@ -3818,127 +4167,36 @@ fi
16713
-echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16714
-echo "${ECHO_T}$ac_cv_os_cray" >&6
16715
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16716
+$as_echo "$ac_cv_os_cray" >&6; }
16717
if test $ac_cv_os_cray = yes; then
16718
for ac_func in _getb67 GETB67 getb67; do
16719
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16720
-echo "$as_me:$LINENO: checking for $ac_func" >&5
16721
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16722
-if eval "test \"\${$as_ac_var+set}\" = set"; then
16723
- echo $ECHO_N "(cached) $ECHO_C" >&6
16725
- cat >conftest.$ac_ext <<_ACEOF
16727
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16728
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16729
+eval as_val=\$$as_ac_var
16730
+ if test "x$as_val" = x""yes; then :
16732
+cat >>confdefs.h <<_ACEOF
16733
+#define CRAY_STACKSEG_END $ac_func
16735
-cat confdefs.h >>conftest.$ac_ext
16736
-cat >>conftest.$ac_ext <<_ACEOF
16737
-/* end confdefs.h. */
16738
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16739
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
16740
-#define $ac_func innocuous_$ac_func
16742
-/* System header to define __stub macros and hopefully few prototypes,
16743
- which can conflict with char $ac_func (); below.
16744
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16745
- <limits.h> exists even on freestanding compilers. */
16748
-# include <limits.h>
16750
-# include <assert.h>
16755
-/* Override any gcc2 internal prototype to avoid an error. */
16756
-#ifdef __cplusplus
16760
-/* We use char because int might match the return type of a gcc2
16761
- builtin and then its argument prototype would still apply. */
16763
-/* The GNU C library defines this for functions which it implements
16764
- to always fail with ENOSYS. Some functions are actually named
16765
- something starting with __ and the normal name is an alias. */
16766
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16769
-char (*f) () = $ac_func;
16771
-#ifdef __cplusplus
16778
-return f != $ac_func;
16783
-rm -f conftest.$ac_objext conftest$ac_exeext
16784
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16785
- (eval $ac_link) 2>conftest.er1
16787
- grep -v '^ *+' conftest.er1 >conftest.err
16788
- rm -f conftest.er1
16789
- cat conftest.err >&5
16790
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791
- (exit $ac_status); } &&
16792
- { ac_try='test -z "$ac_c_werror_flag"
16793
- || test ! -s conftest.err'
16794
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795
- (eval $ac_try) 2>&5
16797
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798
- (exit $ac_status); }; } &&
16799
- { ac_try='test -s conftest$ac_exeext'
16800
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801
- (eval $ac_try) 2>&5
16803
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804
- (exit $ac_status); }; }; then
16805
- eval "$as_ac_var=yes"
16807
- echo "$as_me: failed program was:" >&5
16808
-sed 's/^/| /' conftest.$ac_ext >&5
16810
-eval "$as_ac_var=no"
16812
-rm -f conftest.err conftest.$ac_objext \
16813
- conftest$ac_exeext conftest.$ac_ext
16815
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16816
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16817
-if test `eval echo '${'$as_ac_var'}'` = yes; then
16819
-cat >>confdefs.h <<_ACEOF
16820
-#define CRAY_STACKSEG_END $ac_func
16831
-echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16832
-echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16833
-if test "${ac_cv_c_stack_direction+set}" = set; then
16834
- echo $ECHO_N "(cached) $ECHO_C" >&6
16835
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16836
+$as_echo_n "checking stack direction for C alloca... " >&6; }
16837
+if test "${ac_cv_c_stack_direction+set}" = set; then :
16838
+ $as_echo_n "(cached) " >&6
16840
- if test "$cross_compiling" = yes; then
16841
+ if test "$cross_compiling" = yes; then :
16842
ac_cv_c_stack_direction=0
16844
- cat >conftest.$ac_ext <<_ACEOF
16847
-cat confdefs.h >>conftest.$ac_ext
16848
-cat >>conftest.$ac_ext <<_ACEOF
16849
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850
/* end confdefs.h. */
16851
+$ac_includes_default
16853
find_stack_direction ()
16855
@@ -3956,35 +4214,21 @@ find_stack_direction ()
16859
- exit (find_stack_direction () < 0);
16860
+ return find_stack_direction () < 0;
16863
-rm -f conftest$ac_exeext
16864
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16865
- (eval $ac_link) 2>&5
16867
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16869
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870
- (eval $ac_try) 2>&5
16872
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873
- (exit $ac_status); }; }; then
16874
+if ac_fn_c_try_run "$LINENO"; then :
16875
ac_cv_c_stack_direction=1
16877
- echo "$as_me: program exited with status $ac_status" >&5
16878
-echo "$as_me: failed program was:" >&5
16879
-sed 's/^/| /' conftest.$ac_ext >&5
16881
-( exit $ac_status )
16882
-ac_cv_c_stack_direction=-1
16884
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16885
+ ac_cv_c_stack_direction=-1
16887
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16888
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
16890
-echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16891
-echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16894
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16895
+$as_echo "$ac_cv_c_stack_direction" >&6; }
16896
cat >>confdefs.h <<_ACEOF
16897
#define STACK_DIRECTION $ac_cv_c_stack_direction
16899
@@ -3993,17 +4237,13 @@ _ACEOF
16902
# Some Solaris C compilers have const problems without a special ANSI option
16903
-echo "$as_me:$LINENO: checking for really working const" >&5
16904
-echo $ECHO_N "checking for really working const... $ECHO_C" >&6
16905
-if test "${gnats_really_working_const+set}" = set; then
16906
- echo $ECHO_N "(cached) $ECHO_C" >&6
16907
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for really working const" >&5
16908
+$as_echo_n "checking for really working const... " >&6; }
16909
+if test "${gnats_really_working_const+set}" = set; then :
16910
+ $as_echo_n "(cached) " >&6
16913
-cat >conftest.$ac_ext <<_ACEOF
16916
-cat confdefs.h >>conftest.$ac_ext
16917
-cat >>conftest.$ac_ext <<_ACEOF
16918
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919
/* end confdefs.h. */
16922
@@ -4015,103 +4255,50 @@ const char *foo(const char *x) { return
16926
-rm -f conftest.$ac_objext
16927
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928
- (eval $ac_compile) 2>conftest.er1
16930
- grep -v '^ *+' conftest.er1 >conftest.err
16931
- rm -f conftest.er1
16932
- cat conftest.err >&5
16933
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934
- (exit $ac_status); } &&
16935
- { ac_try='test -z "$ac_c_werror_flag"
16936
- || test ! -s conftest.err'
16937
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938
- (eval $ac_try) 2>&5
16940
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941
- (exit $ac_status); }; } &&
16942
- { ac_try='test -s conftest.$ac_objext'
16943
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944
- (eval $ac_try) 2>&5
16946
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947
- (exit $ac_status); }; }; then
16948
+if ac_fn_c_try_compile "$LINENO"; then :
16949
gnats_really_working_const=yes
16951
- echo "$as_me: failed program was:" >&5
16952
-sed 's/^/| /' conftest.$ac_ext >&5
16954
-gnats_really_working_const=no
16955
+ gnats_really_working_const=no
16957
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16958
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959
if test "$gnats_really_working_const" = no; then
16960
CFLAGS="$CFLAGS -Dconst= "
16963
-echo "$as_me:$LINENO: result: $gnats_really_working_const" >&5
16964
-echo "${ECHO_T}$gnats_really_working_const" >&6
16965
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnats_really_working_const" >&5
16966
+$as_echo "$gnats_really_working_const" >&6; }
16967
# Needed on SCO for something or other.
16969
-echo "$as_me:$LINENO: checking for main in -lintl" >&5
16970
-echo $ECHO_N "checking for main in -lintl... $ECHO_C" >&6
16971
-if test "${ac_cv_lib_intl_main+set}" = set; then
16972
- echo $ECHO_N "(cached) $ECHO_C" >&6
16973
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lintl" >&5
16974
+$as_echo_n "checking for main in -lintl... " >&6; }
16975
+if test "${ac_cv_lib_intl_main+set}" = set; then :
16976
+ $as_echo_n "(cached) " >&6
16978
ac_check_lib_save_LIBS=$LIBS
16979
LIBS="-lintl $LIBS"
16980
-cat >conftest.$ac_ext <<_ACEOF
16983
-cat confdefs.h >>conftest.$ac_ext
16984
-cat >>conftest.$ac_ext <<_ACEOF
16985
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986
/* end confdefs.h. */
16998
-rm -f conftest.$ac_objext conftest$ac_exeext
16999
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17000
- (eval $ac_link) 2>conftest.er1
17002
- grep -v '^ *+' conftest.er1 >conftest.err
17003
- rm -f conftest.er1
17004
- cat conftest.err >&5
17005
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006
- (exit $ac_status); } &&
17007
- { ac_try='test -z "$ac_c_werror_flag"
17008
- || test ! -s conftest.err'
17009
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010
- (eval $ac_try) 2>&5
17012
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013
- (exit $ac_status); }; } &&
17014
- { ac_try='test -s conftest$ac_exeext'
17015
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016
- (eval $ac_try) 2>&5
17018
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019
- (exit $ac_status); }; }; then
17020
+if ac_fn_c_try_link "$LINENO"; then :
17021
ac_cv_lib_intl_main=yes
17023
- echo "$as_me: failed program was:" >&5
17024
-sed 's/^/| /' conftest.$ac_ext >&5
17026
-ac_cv_lib_intl_main=no
17027
+ ac_cv_lib_intl_main=no
17029
-rm -f conftest.err conftest.$ac_objext \
17030
- conftest$ac_exeext conftest.$ac_ext
17031
+rm -f core conftest.err conftest.$ac_objext \
17032
+ conftest$ac_exeext conftest.$ac_ext
17033
LIBS=$ac_check_lib_save_LIBS
17035
-echo "$as_me:$LINENO: result: $ac_cv_lib_intl_main" >&5
17036
-echo "${ECHO_T}$ac_cv_lib_intl_main" >&6
17037
-if test $ac_cv_lib_intl_main = yes; then
17038
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_main" >&5
17039
+$as_echo "$ac_cv_lib_intl_main" >&6; }
17040
+if test "x$ac_cv_lib_intl_main" = x""yes; then :
17041
cat >>confdefs.h <<_ACEOF
17042
#define HAVE_LIBINTL 1
17044
@@ -4125,161 +4312,43 @@ fi
17045
# libsocket.so which has a bad implementation of gethostbyname (it
17046
# only looks in /etc/hosts), so we only look for -lsocket if we need
17048
-echo "$as_me:$LINENO: checking for connect" >&5
17049
-echo $ECHO_N "checking for connect... $ECHO_C" >&6
17050
-if test "${ac_cv_func_connect+set}" = set; then
17051
- echo $ECHO_N "(cached) $ECHO_C" >&6
17053
- cat >conftest.$ac_ext <<_ACEOF
17056
-cat confdefs.h >>conftest.$ac_ext
17057
-cat >>conftest.$ac_ext <<_ACEOF
17058
-/* end confdefs.h. */
17059
-/* Define connect to an innocuous variant, in case <limits.h> declares connect.
17060
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
17061
-#define connect innocuous_connect
17063
-/* System header to define __stub macros and hopefully few prototypes,
17064
- which can conflict with char connect (); below.
17065
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066
- <limits.h> exists even on freestanding compilers. */
17069
-# include <limits.h>
17071
-# include <assert.h>
17076
-/* Override any gcc2 internal prototype to avoid an error. */
17077
-#ifdef __cplusplus
17081
-/* We use char because int might match the return type of a gcc2
17082
- builtin and then its argument prototype would still apply. */
17084
-/* The GNU C library defines this for functions which it implements
17085
- to always fail with ENOSYS. Some functions are actually named
17086
- something starting with __ and the normal name is an alias. */
17087
-#if defined (__stub_connect) || defined (__stub___connect)
17090
-char (*f) () = connect;
17092
-#ifdef __cplusplus
17099
-return f != connect;
17104
-rm -f conftest.$ac_objext conftest$ac_exeext
17105
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17106
- (eval $ac_link) 2>conftest.er1
17108
- grep -v '^ *+' conftest.er1 >conftest.err
17109
- rm -f conftest.er1
17110
- cat conftest.err >&5
17111
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112
- (exit $ac_status); } &&
17113
- { ac_try='test -z "$ac_c_werror_flag"
17114
- || test ! -s conftest.err'
17115
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116
- (eval $ac_try) 2>&5
17118
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119
- (exit $ac_status); }; } &&
17120
- { ac_try='test -s conftest$ac_exeext'
17121
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122
- (eval $ac_try) 2>&5
17124
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125
- (exit $ac_status); }; }; then
17126
- ac_cv_func_connect=yes
17128
- echo "$as_me: failed program was:" >&5
17129
-sed 's/^/| /' conftest.$ac_ext >&5
17131
-ac_cv_func_connect=no
17133
-rm -f conftest.err conftest.$ac_objext \
17134
- conftest$ac_exeext conftest.$ac_ext
17136
-echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
17137
-echo "${ECHO_T}$ac_cv_func_connect" >&6
17138
-if test $ac_cv_func_connect = yes; then
17139
+ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
17140
+if test "x$ac_cv_func_connect" = x""yes; then :
17144
# Needed on SCO for syslog.
17146
-echo "$as_me:$LINENO: checking for main in -lsocket" >&5
17147
-echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
17148
-if test "${ac_cv_lib_socket_main+set}" = set; then
17149
- echo $ECHO_N "(cached) $ECHO_C" >&6
17150
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
17151
+$as_echo_n "checking for main in -lsocket... " >&6; }
17152
+if test "${ac_cv_lib_socket_main+set}" = set; then :
17153
+ $as_echo_n "(cached) " >&6
17155
ac_check_lib_save_LIBS=$LIBS
17156
LIBS="-lsocket $LIBS"
17157
-cat >conftest.$ac_ext <<_ACEOF
17160
-cat confdefs.h >>conftest.$ac_ext
17161
-cat >>conftest.$ac_ext <<_ACEOF
17162
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163
/* end confdefs.h. */
17175
-rm -f conftest.$ac_objext conftest$ac_exeext
17176
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177
- (eval $ac_link) 2>conftest.er1
17179
- grep -v '^ *+' conftest.er1 >conftest.err
17180
- rm -f conftest.er1
17181
- cat conftest.err >&5
17182
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183
- (exit $ac_status); } &&
17184
- { ac_try='test -z "$ac_c_werror_flag"
17185
- || test ! -s conftest.err'
17186
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187
- (eval $ac_try) 2>&5
17189
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190
- (exit $ac_status); }; } &&
17191
- { ac_try='test -s conftest$ac_exeext'
17192
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193
- (eval $ac_try) 2>&5
17195
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196
- (exit $ac_status); }; }; then
17197
+if ac_fn_c_try_link "$LINENO"; then :
17198
ac_cv_lib_socket_main=yes
17200
- echo "$as_me: failed program was:" >&5
17201
-sed 's/^/| /' conftest.$ac_ext >&5
17203
-ac_cv_lib_socket_main=no
17204
+ ac_cv_lib_socket_main=no
17206
-rm -f conftest.err conftest.$ac_objext \
17207
- conftest$ac_exeext conftest.$ac_ext
17208
+rm -f core conftest.err conftest.$ac_objext \
17209
+ conftest$ac_exeext conftest.$ac_ext
17210
LIBS=$ac_check_lib_save_LIBS
17212
-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
17213
-echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
17214
-if test $ac_cv_lib_socket_main = yes; then
17215
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
17216
+$as_echo "$ac_cv_lib_socket_main" >&6; }
17217
+if test "x$ac_cv_lib_socket_main" = x""yes; then :
17218
cat >>confdefs.h <<_ACEOF
17219
#define HAVE_LIBSOCKET 1
17221
@@ -4289,66 +4358,37 @@ _ACEOF
17224
# Needed under Solaris in addition to -lsocket for the network.
17226
-echo "$as_me:$LINENO: checking for main in -lnsl" >&5
17227
-echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
17228
-if test "${ac_cv_lib_nsl_main+set}" = set; then
17229
- echo $ECHO_N "(cached) $ECHO_C" >&6
17230
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
17231
+$as_echo_n "checking for main in -lnsl... " >&6; }
17232
+if test "${ac_cv_lib_nsl_main+set}" = set; then :
17233
+ $as_echo_n "(cached) " >&6
17235
ac_check_lib_save_LIBS=$LIBS
17237
-cat >conftest.$ac_ext <<_ACEOF
17240
-cat confdefs.h >>conftest.$ac_ext
17241
-cat >>conftest.$ac_ext <<_ACEOF
17242
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243
/* end confdefs.h. */
17255
-rm -f conftest.$ac_objext conftest$ac_exeext
17256
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17257
- (eval $ac_link) 2>conftest.er1
17259
- grep -v '^ *+' conftest.er1 >conftest.err
17260
- rm -f conftest.er1
17261
- cat conftest.err >&5
17262
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263
- (exit $ac_status); } &&
17264
- { ac_try='test -z "$ac_c_werror_flag"
17265
- || test ! -s conftest.err'
17266
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267
- (eval $ac_try) 2>&5
17269
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270
- (exit $ac_status); }; } &&
17271
- { ac_try='test -s conftest$ac_exeext'
17272
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273
- (eval $ac_try) 2>&5
17275
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276
- (exit $ac_status); }; }; then
17277
+if ac_fn_c_try_link "$LINENO"; then :
17278
ac_cv_lib_nsl_main=yes
17280
- echo "$as_me: failed program was:" >&5
17281
-sed 's/^/| /' conftest.$ac_ext >&5
17283
-ac_cv_lib_nsl_main=no
17284
+ ac_cv_lib_nsl_main=no
17286
-rm -f conftest.err conftest.$ac_objext \
17287
- conftest$ac_exeext conftest.$ac_ext
17288
+rm -f core conftest.err conftest.$ac_objext \
17289
+ conftest$ac_exeext conftest.$ac_ext
17290
LIBS=$ac_check_lib_save_LIBS
17292
-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
17293
-echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
17294
-if test $ac_cv_lib_nsl_main = yes; then
17295
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
17296
+$as_echo "$ac_cv_lib_nsl_main" >&6; }
17297
+if test "x$ac_cv_lib_nsl_main" = x""yes; then :
17298
cat >>confdefs.h <<_ACEOF
17299
#define HAVE_LIBNSL 1
17301
@@ -4361,66 +4401,37 @@ fi
17304
# Needed on ISC for syslog.
17306
-echo "$as_me:$LINENO: checking for main in -linet" >&5
17307
-echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6
17308
-if test "${ac_cv_lib_inet_main+set}" = set; then
17309
- echo $ECHO_N "(cached) $ECHO_C" >&6
17310
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5
17311
+$as_echo_n "checking for main in -linet... " >&6; }
17312
+if test "${ac_cv_lib_inet_main+set}" = set; then :
17313
+ $as_echo_n "(cached) " >&6
17315
ac_check_lib_save_LIBS=$LIBS
17316
LIBS="-linet $LIBS"
17317
-cat >conftest.$ac_ext <<_ACEOF
17320
-cat confdefs.h >>conftest.$ac_ext
17321
-cat >>conftest.$ac_ext <<_ACEOF
17322
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323
/* end confdefs.h. */
17335
-rm -f conftest.$ac_objext conftest$ac_exeext
17336
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17337
- (eval $ac_link) 2>conftest.er1
17339
- grep -v '^ *+' conftest.er1 >conftest.err
17340
- rm -f conftest.er1
17341
- cat conftest.err >&5
17342
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343
- (exit $ac_status); } &&
17344
- { ac_try='test -z "$ac_c_werror_flag"
17345
- || test ! -s conftest.err'
17346
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347
- (eval $ac_try) 2>&5
17349
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350
- (exit $ac_status); }; } &&
17351
- { ac_try='test -s conftest$ac_exeext'
17352
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353
- (eval $ac_try) 2>&5
17355
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356
- (exit $ac_status); }; }; then
17357
+if ac_fn_c_try_link "$LINENO"; then :
17358
ac_cv_lib_inet_main=yes
17360
- echo "$as_me: failed program was:" >&5
17361
-sed 's/^/| /' conftest.$ac_ext >&5
17363
-ac_cv_lib_inet_main=no
17364
+ ac_cv_lib_inet_main=no
17366
-rm -f conftest.err conftest.$ac_objext \
17367
- conftest$ac_exeext conftest.$ac_ext
17368
+rm -f core conftest.err conftest.$ac_objext \
17369
+ conftest$ac_exeext conftest.$ac_ext
17370
LIBS=$ac_check_lib_save_LIBS
17372
-echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
17373
-echo "${ECHO_T}$ac_cv_lib_inet_main" >&6
17374
-if test $ac_cv_lib_inet_main = yes; then
17375
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5
17376
+$as_echo "$ac_cv_lib_inet_main" >&6; }
17377
+if test "x$ac_cv_lib_inet_main" = x""yes; then :
17378
cat >>confdefs.h <<_ACEOF
17379
#define HAVE_LIBINET 1
17381
@@ -4430,66 +4441,37 @@ _ACEOF
17384
# Needed under IRIX for a usable malloc.
17386
-echo "$as_me:$LINENO: checking for main in -lmalloc" >&5
17387
-echo $ECHO_N "checking for main in -lmalloc... $ECHO_C" >&6
17388
-if test "${ac_cv_lib_malloc_main+set}" = set; then
17389
- echo $ECHO_N "(cached) $ECHO_C" >&6
17390
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmalloc" >&5
17391
+$as_echo_n "checking for main in -lmalloc... " >&6; }
17392
+if test "${ac_cv_lib_malloc_main+set}" = set; then :
17393
+ $as_echo_n "(cached) " >&6
17395
ac_check_lib_save_LIBS=$LIBS
17396
LIBS="-lmalloc $LIBS"
17397
-cat >conftest.$ac_ext <<_ACEOF
17400
-cat confdefs.h >>conftest.$ac_ext
17401
-cat >>conftest.$ac_ext <<_ACEOF
17402
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403
/* end confdefs.h. */
17415
-rm -f conftest.$ac_objext conftest$ac_exeext
17416
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17417
- (eval $ac_link) 2>conftest.er1
17419
- grep -v '^ *+' conftest.er1 >conftest.err
17420
- rm -f conftest.er1
17421
- cat conftest.err >&5
17422
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423
- (exit $ac_status); } &&
17424
- { ac_try='test -z "$ac_c_werror_flag"
17425
- || test ! -s conftest.err'
17426
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427
- (eval $ac_try) 2>&5
17429
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430
- (exit $ac_status); }; } &&
17431
- { ac_try='test -s conftest$ac_exeext'
17432
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433
- (eval $ac_try) 2>&5
17435
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436
- (exit $ac_status); }; }; then
17437
+if ac_fn_c_try_link "$LINENO"; then :
17438
ac_cv_lib_malloc_main=yes
17440
- echo "$as_me: failed program was:" >&5
17441
-sed 's/^/| /' conftest.$ac_ext >&5
17443
-ac_cv_lib_malloc_main=no
17444
+ ac_cv_lib_malloc_main=no
17446
-rm -f conftest.err conftest.$ac_objext \
17447
- conftest$ac_exeext conftest.$ac_ext
17448
+rm -f core conftest.err conftest.$ac_objext \
17449
+ conftest$ac_exeext conftest.$ac_ext
17450
LIBS=$ac_check_lib_save_LIBS
17452
-echo "$as_me:$LINENO: result: $ac_cv_lib_malloc_main" >&5
17453
-echo "${ECHO_T}$ac_cv_lib_malloc_main" >&6
17454
-if test $ac_cv_lib_malloc_main = yes; then
17455
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_malloc_main" >&5
17456
+$as_echo "$ac_cv_lib_malloc_main" >&6; }
17457
+if test "x$ac_cv_lib_malloc_main" = x""yes; then :
17458
cat >>confdefs.h <<_ACEOF
17459
#define HAVE_LIBMALLOC 1
17461
@@ -4499,66 +4481,37 @@ _ACEOF
17464
# Needed under Unixware 2.0 for syslog.
17466
-echo "$as_me:$LINENO: checking for main in -lgen" >&5
17467
-echo $ECHO_N "checking for main in -lgen... $ECHO_C" >&6
17468
-if test "${ac_cv_lib_gen_main+set}" = set; then
17469
- echo $ECHO_N "(cached) $ECHO_C" >&6
17470
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgen" >&5
17471
+$as_echo_n "checking for main in -lgen... " >&6; }
17472
+if test "${ac_cv_lib_gen_main+set}" = set; then :
17473
+ $as_echo_n "(cached) " >&6
17475
ac_check_lib_save_LIBS=$LIBS
17477
-cat >conftest.$ac_ext <<_ACEOF
17480
-cat confdefs.h >>conftest.$ac_ext
17481
-cat >>conftest.$ac_ext <<_ACEOF
17482
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483
/* end confdefs.h. */
17495
-rm -f conftest.$ac_objext conftest$ac_exeext
17496
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17497
- (eval $ac_link) 2>conftest.er1
17499
- grep -v '^ *+' conftest.er1 >conftest.err
17500
- rm -f conftest.er1
17501
- cat conftest.err >&5
17502
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503
- (exit $ac_status); } &&
17504
- { ac_try='test -z "$ac_c_werror_flag"
17505
- || test ! -s conftest.err'
17506
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507
- (eval $ac_try) 2>&5
17509
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510
- (exit $ac_status); }; } &&
17511
- { ac_try='test -s conftest$ac_exeext'
17512
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513
- (eval $ac_try) 2>&5
17515
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516
- (exit $ac_status); }; }; then
17517
+if ac_fn_c_try_link "$LINENO"; then :
17518
ac_cv_lib_gen_main=yes
17520
- echo "$as_me: failed program was:" >&5
17521
-sed 's/^/| /' conftest.$ac_ext >&5
17523
-ac_cv_lib_gen_main=no
17524
+ ac_cv_lib_gen_main=no
17526
-rm -f conftest.err conftest.$ac_objext \
17527
- conftest$ac_exeext conftest.$ac_ext
17528
+rm -f core conftest.err conftest.$ac_objext \
17529
+ conftest$ac_exeext conftest.$ac_ext
17530
LIBS=$ac_check_lib_save_LIBS
17532
-echo "$as_me:$LINENO: result: $ac_cv_lib_gen_main" >&5
17533
-echo "${ECHO_T}$ac_cv_lib_gen_main" >&6
17534
-if test $ac_cv_lib_gen_main = yes; then
17535
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_main" >&5
17536
+$as_echo "$ac_cv_lib_gen_main" >&6; }
17537
+if test "x$ac_cv_lib_gen_main" = x""yes; then :
17538
cat >>confdefs.h <<_ACEOF
17539
#define HAVE_LIBGEN 1
17541
@@ -4568,72 +4521,43 @@ _ACEOF
17544
# Needed generally for encrypted passwords.
17546
-echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
17547
-echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
17548
-if test "${ac_cv_lib_crypt_crypt+set}" = set; then
17549
- echo $ECHO_N "(cached) $ECHO_C" >&6
17550
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
17551
+$as_echo_n "checking for crypt in -lcrypt... " >&6; }
17552
+if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
17553
+ $as_echo_n "(cached) " >&6
17555
ac_check_lib_save_LIBS=$LIBS
17556
LIBS="-lcrypt $LIBS"
17557
-cat >conftest.$ac_ext <<_ACEOF
17560
-cat confdefs.h >>conftest.$ac_ext
17561
-cat >>conftest.$ac_ext <<_ACEOF
17562
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563
/* end confdefs.h. */
17565
-/* Override any gcc2 internal prototype to avoid an error. */
17566
+/* Override any GCC internal prototype to avoid an error.
17567
+ Use char because int might match the return type of a GCC
17568
+ builtin and then its argument prototype would still apply. */
17572
-/* We use char because int might match the return type of a gcc2
17573
- builtin and then its argument prototype would still apply. */
17584
-rm -f conftest.$ac_objext conftest$ac_exeext
17585
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17586
- (eval $ac_link) 2>conftest.er1
17588
- grep -v '^ *+' conftest.er1 >conftest.err
17589
- rm -f conftest.er1
17590
- cat conftest.err >&5
17591
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592
- (exit $ac_status); } &&
17593
- { ac_try='test -z "$ac_c_werror_flag"
17594
- || test ! -s conftest.err'
17595
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596
- (eval $ac_try) 2>&5
17598
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599
- (exit $ac_status); }; } &&
17600
- { ac_try='test -s conftest$ac_exeext'
17601
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602
- (eval $ac_try) 2>&5
17604
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605
- (exit $ac_status); }; }; then
17606
+if ac_fn_c_try_link "$LINENO"; then :
17607
ac_cv_lib_crypt_crypt=yes
17609
- echo "$as_me: failed program was:" >&5
17610
-sed 's/^/| /' conftest.$ac_ext >&5
17612
-ac_cv_lib_crypt_crypt=no
17613
+ ac_cv_lib_crypt_crypt=no
17615
-rm -f conftest.err conftest.$ac_objext \
17616
- conftest$ac_exeext conftest.$ac_ext
17617
+rm -f core conftest.err conftest.$ac_objext \
17618
+ conftest$ac_exeext conftest.$ac_ext
17619
LIBS=$ac_check_lib_save_LIBS
17621
-echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
17622
-echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
17623
-if test $ac_cv_lib_crypt_crypt = yes; then
17624
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
17625
+$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
17626
+if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
17627
cat >>confdefs.h <<_ACEOF
17628
#define HAVE_LIBCRYPT 1
17630
@@ -4643,16 +4567,12 @@ _ACEOF
17634
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17635
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
17636
-if test "${ac_cv_header_stdc+set}" = set; then
17637
- echo $ECHO_N "(cached) $ECHO_C" >&6
17638
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17639
+$as_echo_n "checking for ANSI C header files... " >&6; }
17640
+if test "${ac_cv_header_stdc+set}" = set; then :
17641
+ $as_echo_n "(cached) " >&6
17643
- cat >conftest.$ac_ext <<_ACEOF
17646
-cat confdefs.h >>conftest.$ac_ext
17647
-cat >>conftest.$ac_ext <<_ACEOF
17648
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649
/* end confdefs.h. */
17650
#include <stdlib.h>
17651
#include <stdarg.h>
17652
@@ -4667,51 +4587,23 @@ main ()
17656
-rm -f conftest.$ac_objext
17657
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17658
- (eval $ac_compile) 2>conftest.er1
17660
- grep -v '^ *+' conftest.er1 >conftest.err
17661
- rm -f conftest.er1
17662
- cat conftest.err >&5
17663
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664
- (exit $ac_status); } &&
17665
- { ac_try='test -z "$ac_c_werror_flag"
17666
- || test ! -s conftest.err'
17667
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668
- (eval $ac_try) 2>&5
17670
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671
- (exit $ac_status); }; } &&
17672
- { ac_try='test -s conftest.$ac_objext'
17673
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17674
- (eval $ac_try) 2>&5
17676
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677
- (exit $ac_status); }; }; then
17678
+if ac_fn_c_try_compile "$LINENO"; then :
17679
ac_cv_header_stdc=yes
17681
- echo "$as_me: failed program was:" >&5
17682
-sed 's/^/| /' conftest.$ac_ext >&5
17684
-ac_cv_header_stdc=no
17685
+ ac_cv_header_stdc=no
17687
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17688
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690
if test $ac_cv_header_stdc = yes; then
17691
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17692
- cat >conftest.$ac_ext <<_ACEOF
17695
-cat confdefs.h >>conftest.$ac_ext
17696
-cat >>conftest.$ac_ext <<_ACEOF
17697
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698
/* end confdefs.h. */
17699
#include <string.h>
17702
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17703
- $EGREP "memchr" >/dev/null 2>&1; then
17705
+ $EGREP "memchr" >/dev/null 2>&1; then :
17708
ac_cv_header_stdc=no
17710
@@ -4721,18 +4613,14 @@ fi
17712
if test $ac_cv_header_stdc = yes; then
17713
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17714
- cat >conftest.$ac_ext <<_ACEOF
17717
-cat confdefs.h >>conftest.$ac_ext
17718
-cat >>conftest.$ac_ext <<_ACEOF
17719
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720
/* end confdefs.h. */
17721
#include <stdlib.h>
17724
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17725
- $EGREP "free" >/dev/null 2>&1; then
17727
+ $EGREP "free" >/dev/null 2>&1; then :
17730
ac_cv_header_stdc=no
17732
@@ -4742,16 +4630,13 @@ fi
17734
if test $ac_cv_header_stdc = yes; then
17735
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17736
- if test "$cross_compiling" = yes; then
17737
+ if test "$cross_compiling" = yes; then :
17740
- cat >conftest.$ac_ext <<_ACEOF
17743
-cat confdefs.h >>conftest.$ac_ext
17744
-cat >>conftest.$ac_ext <<_ACEOF
17745
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746
/* end confdefs.h. */
17748
+#include <stdlib.h>
17749
#if ((' ' & 0x0FF) == 0x020)
17750
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17751
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17752
@@ -4771,871 +4656,367 @@ main ()
17753
for (i = 0; i < 256; i++)
17754
if (XOR (islower (i), ISLOWER (i))
17755
|| toupper (i) != TOUPPER (i))
17762
-rm -f conftest$ac_exeext
17763
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17764
- (eval $ac_link) 2>&5
17766
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17768
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769
- (eval $ac_try) 2>&5
17771
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772
- (exit $ac_status); }; }; then
17775
- echo "$as_me: program exited with status $ac_status" >&5
17776
-echo "$as_me: failed program was:" >&5
17777
-sed 's/^/| /' conftest.$ac_ext >&5
17778
+if ac_fn_c_try_run "$LINENO"; then :
17780
-( exit $ac_status )
17781
-ac_cv_header_stdc=no
17783
+ ac_cv_header_stdc=no
17785
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17786
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17787
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
17792
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17793
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
17794
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17795
+$as_echo "$ac_cv_header_stdc" >&6; }
17796
if test $ac_cv_header_stdc = yes; then
17798
-cat >>confdefs.h <<\_ACEOF
17799
-#define STDC_HEADERS 1
17801
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
17805
+for ac_header in crypt.h fcntl.h libgen.h limits.h memory.h netdb.h string.h syslog.h unistd.h machine/endian.h sys/select.h
17807
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17808
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17809
+eval as_val=\$$as_ac_Header
17810
+ if test "x$as_val" = x""yes; then :
17811
+ cat >>confdefs.h <<_ACEOF
17812
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17819
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820
+/* end confdefs.h. */
17821
+#include <stdlib.h>
17824
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17825
+ $EGREP "\<unsetenv\>" >/dev/null 2>&1; then :
17827
+$as_echo "#define HAVE_DECL_UNSETENV 1" >>confdefs.h
17831
+$as_echo "#define HAVE_DECL_UNSETENV 0" >>confdefs.h
17836
+for ac_func in basename ftime getopt getopt_long mkdir mktemp mkstemp unsetenv asprintf vasprintf
17838
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17839
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17840
+eval as_val=\$$as_ac_var
17841
+ if test "x$as_val" = x""yes; then :
17842
+ cat >>confdefs.h <<_ACEOF
17843
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17847
-for ac_header in crypt.h fcntl.h libgen.h limits.h memory.h netdb.h string.h syslog.h unistd.h machine/endian.h sys/select.h
17849
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17850
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
17851
- echo "$as_me:$LINENO: checking for $ac_header" >&5
17852
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17853
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
17854
- echo $ECHO_N "(cached) $ECHO_C" >&6
17856
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17857
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17860
+ac_header_dirent=no
17861
+for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17862
+ as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17863
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17864
+$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17865
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
17866
+ $as_echo_n "(cached) " >&6
17868
- # Is the header compilable?
17869
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
17870
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17871
-cat >conftest.$ac_ext <<_ACEOF
17874
-cat confdefs.h >>conftest.$ac_ext
17875
-cat >>conftest.$ac_ext <<_ACEOF
17876
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877
/* end confdefs.h. */
17878
-$ac_includes_default
17879
-#include <$ac_header>
17880
+#include <sys/types.h>
17881
+#include <$ac_hdr>
17892
-rm -f conftest.$ac_objext
17893
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894
- (eval $ac_compile) 2>conftest.er1
17896
- grep -v '^ *+' conftest.er1 >conftest.err
17897
- rm -f conftest.er1
17898
- cat conftest.err >&5
17899
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900
- (exit $ac_status); } &&
17901
- { ac_try='test -z "$ac_c_werror_flag"
17902
- || test ! -s conftest.err'
17903
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904
- (eval $ac_try) 2>&5
17906
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907
- (exit $ac_status); }; } &&
17908
- { ac_try='test -s conftest.$ac_objext'
17909
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910
- (eval $ac_try) 2>&5
17912
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913
- (exit $ac_status); }; }; then
17914
- ac_header_compiler=yes
17915
+if ac_fn_c_try_compile "$LINENO"; then :
17916
+ eval "$as_ac_Header=yes"
17918
- echo "$as_me: failed program was:" >&5
17919
-sed 's/^/| /' conftest.$ac_ext >&5
17920
+ eval "$as_ac_Header=no"
17922
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924
+eval ac_res=\$$as_ac_Header
17925
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17926
+$as_echo "$ac_res" >&6; }
17927
+eval as_val=\$$as_ac_Header
17928
+ if test "x$as_val" = x""yes; then :
17929
+ cat >>confdefs.h <<_ACEOF
17930
+#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17933
-ac_header_compiler=no
17934
+ac_header_dirent=$ac_hdr; break
17936
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17937
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17938
-echo "${ECHO_T}$ac_header_compiler" >&6
17940
-# Is the header present?
17941
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
17942
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17943
-cat >conftest.$ac_ext <<_ACEOF
17946
-cat confdefs.h >>conftest.$ac_ext
17947
-cat >>conftest.$ac_ext <<_ACEOF
17949
+# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17950
+if test $ac_header_dirent = dirent.h; then
17951
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17952
+$as_echo_n "checking for library containing opendir... " >&6; }
17953
+if test "${ac_cv_search_opendir+set}" = set; then :
17954
+ $as_echo_n "(cached) " >&6
17956
+ ac_func_search_save_LIBS=$LIBS
17957
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958
/* end confdefs.h. */
17959
-#include <$ac_header>
17961
+/* Override any GCC internal prototype to avoid an error.
17962
+ Use char because int might match the return type of a GCC
17963
+ builtin and then its argument prototype would still apply. */
17964
+#ifdef __cplusplus
17971
+return opendir ();
17976
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17977
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17979
- grep -v '^ *+' conftest.er1 >conftest.err
17980
- rm -f conftest.er1
17981
- cat conftest.err >&5
17982
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983
- (exit $ac_status); } >/dev/null; then
17984
- if test -s conftest.err; then
17985
- ac_cpp_err=$ac_c_preproc_warn_flag
17986
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17987
+for ac_lib in '' dir; do
17988
+ if test -z "$ac_lib"; then
17989
+ ac_res="none required"
17993
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17997
+ if ac_fn_c_try_link "$LINENO"; then :
17998
+ ac_cv_search_opendir=$ac_res
18000
-if test -z "$ac_cpp_err"; then
18001
- ac_header_preproc=yes
18003
- echo "$as_me: failed program was:" >&5
18004
-sed 's/^/| /' conftest.$ac_ext >&5
18006
- ac_header_preproc=no
18007
+rm -f core conftest.err conftest.$ac_objext \
18008
+ conftest$ac_exeext
18009
+ if test "${ac_cv_search_opendir+set}" = set; then :
18012
-rm -f conftest.err conftest.$ac_ext
18013
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18014
-echo "${ECHO_T}$ac_header_preproc" >&6
18016
-# So? What about this header?
18017
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18019
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18020
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18021
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18022
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18023
- ac_header_preproc=yes
18026
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18027
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18028
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18029
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18030
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18031
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18032
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18033
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18034
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18035
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18036
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18037
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18040
-## -------------------------------- ##
18041
-## Report this to bug-gnats@gnu.org ##
18042
-## -------------------------------- ##
18045
- sed "s/^/$as_me: WARNING: /" >&2
18048
-echo "$as_me:$LINENO: checking for $ac_header" >&5
18049
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18050
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
18051
- echo $ECHO_N "(cached) $ECHO_C" >&6
18053
- eval "$as_ac_Header=\$ac_header_preproc"
18055
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18056
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18059
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
18060
- cat >>confdefs.h <<_ACEOF
18061
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18068
-cat >conftest.$ac_ext <<_ACEOF
18071
-cat confdefs.h >>conftest.$ac_ext
18072
-cat >>conftest.$ac_ext <<_ACEOF
18073
-/* end confdefs.h. */
18074
-#include <stdlib.h>
18077
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18078
- $EGREP "\<unsetenv\>" >/dev/null 2>&1; then
18080
-cat >>confdefs.h <<\_ACEOF
18081
-#define HAVE_DECL_UNSETENV 1
18084
+if test "${ac_cv_search_opendir+set}" = set; then :
18088
-cat >>confdefs.h <<\_ACEOF
18089
-#define HAVE_DECL_UNSETENV 0
18092
+ ac_cv_search_opendir=no
18106
-for ac_func in basename ftime getopt getopt_long mkdir mktemp mkstemp unsetenv asprintf vasprintf
18108
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18109
-echo "$as_me:$LINENO: checking for $ac_func" >&5
18110
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18111
-if eval "test \"\${$as_ac_var+set}\" = set"; then
18112
- echo $ECHO_N "(cached) $ECHO_C" >&6
18114
- cat >conftest.$ac_ext <<_ACEOF
18117
-cat confdefs.h >>conftest.$ac_ext
18118
-cat >>conftest.$ac_ext <<_ACEOF
18119
-/* end confdefs.h. */
18120
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18121
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
18122
-#define $ac_func innocuous_$ac_func
18124
-/* System header to define __stub macros and hopefully few prototypes,
18125
- which can conflict with char $ac_func (); below.
18126
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18127
- <limits.h> exists even on freestanding compilers. */
18130
-# include <limits.h>
18132
-# include <assert.h>
18137
-/* Override any gcc2 internal prototype to avoid an error. */
18138
-#ifdef __cplusplus
18142
-/* We use char because int might match the return type of a gcc2
18143
- builtin and then its argument prototype would still apply. */
18145
-/* The GNU C library defines this for functions which it implements
18146
- to always fail with ENOSYS. Some functions are actually named
18147
- something starting with __ and the normal name is an alias. */
18148
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18151
-char (*f) () = $ac_func;
18153
-#ifdef __cplusplus
18160
-return f != $ac_func;
18165
-rm -f conftest.$ac_objext conftest$ac_exeext
18166
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18167
- (eval $ac_link) 2>conftest.er1
18169
- grep -v '^ *+' conftest.er1 >conftest.err
18170
- rm -f conftest.er1
18171
- cat conftest.err >&5
18172
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173
- (exit $ac_status); } &&
18174
- { ac_try='test -z "$ac_c_werror_flag"
18175
- || test ! -s conftest.err'
18176
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177
- (eval $ac_try) 2>&5
18179
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180
- (exit $ac_status); }; } &&
18181
- { ac_try='test -s conftest$ac_exeext'
18182
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183
- (eval $ac_try) 2>&5
18185
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186
- (exit $ac_status); }; }; then
18187
- eval "$as_ac_var=yes"
18189
- echo "$as_me: failed program was:" >&5
18190
-sed 's/^/| /' conftest.$ac_ext >&5
18192
-eval "$as_ac_var=no"
18194
-rm -f conftest.err conftest.$ac_objext \
18195
- conftest$ac_exeext conftest.$ac_ext
18196
+rm conftest.$ac_ext
18197
+LIBS=$ac_func_search_save_LIBS
18199
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18200
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18201
-if test `eval echo '${'$as_ac_var'}'` = yes; then
18202
- cat >>confdefs.h <<_ACEOF
18203
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18205
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18206
+$as_echo "$ac_cv_search_opendir" >&6; }
18207
+ac_res=$ac_cv_search_opendir
18208
+if test "$ac_res" != no; then :
18209
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18219
-ac_header_dirent=no
18220
-for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
18221
- as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18222
-echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
18223
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
18224
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
18225
- echo $ECHO_N "(cached) $ECHO_C" >&6
18227
- cat >conftest.$ac_ext <<_ACEOF
18230
-cat confdefs.h >>conftest.$ac_ext
18231
-cat >>conftest.$ac_ext <<_ACEOF
18232
-/* end confdefs.h. */
18233
-#include <sys/types.h>
18234
-#include <$ac_hdr>
18245
-rm -f conftest.$ac_objext
18246
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247
- (eval $ac_compile) 2>conftest.er1
18249
- grep -v '^ *+' conftest.er1 >conftest.err
18250
- rm -f conftest.er1
18251
- cat conftest.err >&5
18252
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253
- (exit $ac_status); } &&
18254
- { ac_try='test -z "$ac_c_werror_flag"
18255
- || test ! -s conftest.err'
18256
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257
- (eval $ac_try) 2>&5
18259
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260
- (exit $ac_status); }; } &&
18261
- { ac_try='test -s conftest.$ac_objext'
18262
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263
- (eval $ac_try) 2>&5
18265
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266
- (exit $ac_status); }; }; then
18267
- eval "$as_ac_Header=yes"
18269
- echo "$as_me: failed program was:" >&5
18270
-sed 's/^/| /' conftest.$ac_ext >&5
18272
-eval "$as_ac_Header=no"
18274
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18276
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18277
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18278
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
18279
- cat >>confdefs.h <<_ACEOF
18280
-#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18283
-ac_header_dirent=$ac_hdr; break
18287
-# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18288
-if test $ac_header_dirent = dirent.h; then
18289
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
18290
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18291
-if test "${ac_cv_search_opendir+set}" = set; then
18292
- echo $ECHO_N "(cached) $ECHO_C" >&6
18293
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18294
+$as_echo_n "checking for library containing opendir... " >&6; }
18295
+if test "${ac_cv_search_opendir+set}" = set; then :
18296
+ $as_echo_n "(cached) " >&6
18298
ac_func_search_save_LIBS=$LIBS
18299
-ac_cv_search_opendir=no
18300
-cat >conftest.$ac_ext <<_ACEOF
18303
-cat confdefs.h >>conftest.$ac_ext
18304
-cat >>conftest.$ac_ext <<_ACEOF
18305
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306
/* end confdefs.h. */
18308
-/* Override any gcc2 internal prototype to avoid an error. */
18309
-#ifdef __cplusplus
18312
-/* We use char because int might match the return type of a gcc2
18313
+/* Override any GCC internal prototype to avoid an error.
18314
+ Use char because int might match the return type of a GCC
18315
builtin and then its argument prototype would still apply. */
18325
-rm -f conftest.$ac_objext conftest$ac_exeext
18326
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18327
- (eval $ac_link) 2>conftest.er1
18329
- grep -v '^ *+' conftest.er1 >conftest.err
18330
- rm -f conftest.er1
18331
- cat conftest.err >&5
18332
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333
- (exit $ac_status); } &&
18334
- { ac_try='test -z "$ac_c_werror_flag"
18335
- || test ! -s conftest.err'
18336
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337
- (eval $ac_try) 2>&5
18339
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340
- (exit $ac_status); }; } &&
18341
- { ac_try='test -s conftest$ac_exeext'
18342
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343
- (eval $ac_try) 2>&5
18345
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346
- (exit $ac_status); }; }; then
18347
- ac_cv_search_opendir="none required"
18349
- echo "$as_me: failed program was:" >&5
18350
-sed 's/^/| /' conftest.$ac_ext >&5
18353
-rm -f conftest.err conftest.$ac_objext \
18354
- conftest$ac_exeext conftest.$ac_ext
18355
-if test "$ac_cv_search_opendir" = no; then
18356
- for ac_lib in dir; do
18357
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18358
- cat >conftest.$ac_ext <<_ACEOF
18361
-cat confdefs.h >>conftest.$ac_ext
18362
-cat >>conftest.$ac_ext <<_ACEOF
18363
-/* end confdefs.h. */
18365
-/* Override any gcc2 internal prototype to avoid an error. */
18369
-/* We use char because int might match the return type of a gcc2
18370
- builtin and then its argument prototype would still apply. */
18376
+return opendir ();
18381
-rm -f conftest.$ac_objext conftest$ac_exeext
18382
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18383
- (eval $ac_link) 2>conftest.er1
18385
- grep -v '^ *+' conftest.er1 >conftest.err
18386
- rm -f conftest.er1
18387
- cat conftest.err >&5
18388
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389
- (exit $ac_status); } &&
18390
- { ac_try='test -z "$ac_c_werror_flag"
18391
- || test ! -s conftest.err'
18392
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393
- (eval $ac_try) 2>&5
18395
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396
- (exit $ac_status); }; } &&
18397
- { ac_try='test -s conftest$ac_exeext'
18398
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399
- (eval $ac_try) 2>&5
18401
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402
- (exit $ac_status); }; }; then
18403
- ac_cv_search_opendir="-l$ac_lib"
18406
- echo "$as_me: failed program was:" >&5
18407
-sed 's/^/| /' conftest.$ac_ext >&5
18410
-rm -f conftest.err conftest.$ac_objext \
18411
- conftest$ac_exeext conftest.$ac_ext
18414
-LIBS=$ac_func_search_save_LIBS
18416
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18417
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
18418
-if test "$ac_cv_search_opendir" != no; then
18419
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
18421
+for ac_lib in '' x; do
18422
+ if test -z "$ac_lib"; then
18423
+ ac_res="none required"
18426
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18428
+ if ac_fn_c_try_link "$LINENO"; then :
18429
+ ac_cv_search_opendir=$ac_res
18433
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
18434
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18435
-if test "${ac_cv_search_opendir+set}" = set; then
18436
- echo $ECHO_N "(cached) $ECHO_C" >&6
18438
- ac_func_search_save_LIBS=$LIBS
18439
-ac_cv_search_opendir=no
18440
-cat >conftest.$ac_ext <<_ACEOF
18443
-cat confdefs.h >>conftest.$ac_ext
18444
-cat >>conftest.$ac_ext <<_ACEOF
18445
-/* end confdefs.h. */
18447
-/* Override any gcc2 internal prototype to avoid an error. */
18448
-#ifdef __cplusplus
18451
-/* We use char because int might match the return type of a gcc2
18452
- builtin and then its argument prototype would still apply. */
18462
-rm -f conftest.$ac_objext conftest$ac_exeext
18463
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464
- (eval $ac_link) 2>conftest.er1
18466
- grep -v '^ *+' conftest.er1 >conftest.err
18467
- rm -f conftest.er1
18468
- cat conftest.err >&5
18469
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470
- (exit $ac_status); } &&
18471
- { ac_try='test -z "$ac_c_werror_flag"
18472
- || test ! -s conftest.err'
18473
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474
- (eval $ac_try) 2>&5
18476
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477
- (exit $ac_status); }; } &&
18478
- { ac_try='test -s conftest$ac_exeext'
18479
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480
- (eval $ac_try) 2>&5
18482
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483
- (exit $ac_status); }; }; then
18484
- ac_cv_search_opendir="none required"
18486
- echo "$as_me: failed program was:" >&5
18487
-sed 's/^/| /' conftest.$ac_ext >&5
18489
+rm -f core conftest.err conftest.$ac_objext \
18490
+ conftest$ac_exeext
18491
+ if test "${ac_cv_search_opendir+set}" = set; then :
18494
-rm -f conftest.err conftest.$ac_objext \
18495
- conftest$ac_exeext conftest.$ac_ext
18496
-if test "$ac_cv_search_opendir" = no; then
18497
- for ac_lib in x; do
18498
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18499
- cat >conftest.$ac_ext <<_ACEOF
18502
-cat confdefs.h >>conftest.$ac_ext
18503
-cat >>conftest.$ac_ext <<_ACEOF
18504
-/* end confdefs.h. */
18506
+if test "${ac_cv_search_opendir+set}" = set; then :
18508
-/* Override any gcc2 internal prototype to avoid an error. */
18509
-#ifdef __cplusplus
18512
-/* We use char because int might match the return type of a gcc2
18513
- builtin and then its argument prototype would still apply. */
18523
-rm -f conftest.$ac_objext conftest$ac_exeext
18524
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18525
- (eval $ac_link) 2>conftest.er1
18527
- grep -v '^ *+' conftest.er1 >conftest.err
18528
- rm -f conftest.er1
18529
- cat conftest.err >&5
18530
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531
- (exit $ac_status); } &&
18532
- { ac_try='test -z "$ac_c_werror_flag"
18533
- || test ! -s conftest.err'
18534
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535
- (eval $ac_try) 2>&5
18537
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538
- (exit $ac_status); }; } &&
18539
- { ac_try='test -s conftest$ac_exeext'
18540
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541
- (eval $ac_try) 2>&5
18543
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544
- (exit $ac_status); }; }; then
18545
- ac_cv_search_opendir="-l$ac_lib"
18548
- echo "$as_me: failed program was:" >&5
18549
-sed 's/^/| /' conftest.$ac_ext >&5
18552
-rm -f conftest.err conftest.$ac_objext \
18553
- conftest$ac_exeext conftest.$ac_ext
18555
+ ac_cv_search_opendir=no
18557
+rm conftest.$ac_ext
18558
LIBS=$ac_func_search_save_LIBS
18560
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18561
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
18562
-if test "$ac_cv_search_opendir" != no; then
18563
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
18564
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18565
+$as_echo "$ac_cv_search_opendir" >&6; }
18566
+ac_res=$ac_cv_search_opendir
18567
+if test "$ac_res" != no; then :
18568
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18574
-echo "$as_me:$LINENO: checking for size_t" >&5
18575
-echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18576
-if test "${ac_cv_type_size_t+set}" = set; then
18577
- echo $ECHO_N "(cached) $ECHO_C" >&6
18579
- cat >conftest.$ac_ext <<_ACEOF
18582
-cat confdefs.h >>conftest.$ac_ext
18583
-cat >>conftest.$ac_ext <<_ACEOF
18584
-/* end confdefs.h. */
18585
-$ac_includes_default
18591
-if (sizeof (size_t))
18597
-rm -f conftest.$ac_objext
18598
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18599
- (eval $ac_compile) 2>conftest.er1
18601
- grep -v '^ *+' conftest.er1 >conftest.err
18602
- rm -f conftest.er1
18603
- cat conftest.err >&5
18604
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605
- (exit $ac_status); } &&
18606
- { ac_try='test -z "$ac_c_werror_flag"
18607
- || test ! -s conftest.err'
18608
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609
- (eval $ac_try) 2>&5
18611
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612
- (exit $ac_status); }; } &&
18613
- { ac_try='test -s conftest.$ac_objext'
18614
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615
- (eval $ac_try) 2>&5
18617
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618
- (exit $ac_status); }; }; then
18619
- ac_cv_type_size_t=yes
18621
- echo "$as_me: failed program was:" >&5
18622
-sed 's/^/| /' conftest.$ac_ext >&5
18623
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18624
+if test "x$ac_cv_type_size_t" = x""yes; then :
18626
-ac_cv_type_size_t=no
18628
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18630
-echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18631
-echo "${ECHO_T}$ac_cv_type_size_t" >&6
18632
-if test $ac_cv_type_size_t = yes; then
18636
cat >>confdefs.h <<_ACEOF
18637
-#define size_t unsigned
18638
+#define size_t unsigned int
18644
-echo "$as_me:$LINENO: checking for --with-lispdir" >&5
18645
-echo $ECHO_N "checking for --with-lispdir... $ECHO_C" >&6
18646
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lispdir" >&5
18647
+$as_echo_n "checking for --with-lispdir... " >&6; }
18648
if test -n "$with_lispdir" ; then
18649
- echo "$as_me:$LINENO: result: $with_lispdir" >&5
18650
-echo "${ECHO_T}$with_lispdir" >&6
18651
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_lispdir" >&5
18652
+$as_echo "$with_lispdir" >&6; }
18653
lispdir=$with_lispdir
18655
- # If set to t, that means we are running in a shell under Emacs.
18656
- # If you have an Emacs named "t", then use the full path.
18657
- test "$EMACS" = t && EMACS=
18658
- for ac_prog in emacs xemacs
18659
+ # If set to t, that means we are running in a shell under Emacs.
18660
+ # If you have an Emacs named "t", then use the full path.
18661
+ test x"$EMACS" = xt && EMACS=
18662
+ for ac_prog in emacs xemacs
18664
# Extract the first word of "$ac_prog", so it can be a program name with args.
18665
set dummy $ac_prog; ac_word=$2
18666
-echo "$as_me:$LINENO: checking for $ac_word" >&5
18667
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18668
-if test "${ac_cv_path_EMACS+set}" = set; then
18669
- echo $ECHO_N "(cached) $ECHO_C" >&6
18670
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18671
+$as_echo_n "checking for $ac_word... " >&6; }
18672
+if test "${ac_cv_prog_EMACS+set}" = set; then :
18673
+ $as_echo_n "(cached) " >&6
18676
- [\\/]* | ?:[\\/]*)
18677
- ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path.
18680
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18681
+ if test -n "$EMACS"; then
18682
+ ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
18684
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18685
for as_dir in $PATH
18688
test -z "$as_dir" && as_dir=.
18689
- for ac_exec_ext in '' $ac_executable_extensions; do
18690
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18691
- ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext"
18692
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18693
+ for ac_exec_ext in '' $ac_executable_extensions; do
18694
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18695
+ ac_cv_prog_EMACS="$ac_prog"
18696
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18707
-EMACS=$ac_cv_path_EMACS
18710
+EMACS=$ac_cv_prog_EMACS
18711
if test -n "$EMACS"; then
18712
- echo "$as_me:$LINENO: result: $EMACS" >&5
18713
-echo "${ECHO_T}$EMACS" >&6
18714
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
18715
+$as_echo "$EMACS" >&6; }
18717
- echo "$as_me:$LINENO: result: no" >&5
18718
-echo "${ECHO_T}no" >&6
18719
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18720
+$as_echo "no" >&6; }
18724
test -n "$EMACS" && break
18726
test -n "$EMACS" || EMACS="no"
18728
- if test $EMACS != "no"; then
18729
- echo "$as_me:$LINENO: checking where .elc files should go" >&5
18730
-echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
18731
- lispdir="\$(datadir)/emacs/site-lisp"
18732
- emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
18733
- if test "x$prefix" = "xNONE"; then
18734
- if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
18735
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
18737
- if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
18738
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
18742
- if test -d $prefix/share/$emacs_flavor/site-lisp; then
18743
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
18745
- if test -d $prefix/lib/$emacs_flavor/site-lisp; then
18746
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
18750
- echo "$as_me:$LINENO: result: $lispdir" >&5
18751
-echo "${ECHO_T}$lispdir" >&6
18754
- echo "$as_me:$LINENO: result: $lispdir" >&5
18755
-echo "${ECHO_T}$lispdir" >&6
18758
+# Check whether --with-lispdir was given.
18759
+if test "${with_lispdir+set}" = set; then :
18760
+ withval=$with_lispdir; lispdir="$withval"
18761
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
18762
+$as_echo_n "checking where .elc files should go... " >&6; }
18763
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
18764
+$as_echo "$lispdir" >&6; }
18767
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
18768
+$as_echo_n "checking where .elc files should go... " >&6; }
18769
+if test "${am_cv_lispdir+set}" = set; then :
18770
+ $as_echo_n "(cached) " >&6
18773
+ if test $EMACS != "no"; then
18774
+ if test x${lispdir+set} != xset; then
18775
+ # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
18776
+ # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
18777
+ # which is non-obvious for non-emacs users.
18778
+ # Redirecting /dev/null should help a bit; pity we can't detect "broken"
18779
+ # emacsen earlier and avoid running this altogether.
18780
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
18781
+ ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
18783
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18784
+ test $ac_status = 0; }
18785
+ am_cv_lispdir=`sed -n \
18787
+ -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
18788
+ -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
18793
+ test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
18796
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
18797
+$as_echo "$am_cv_lispdir" >&6; }
18798
+ lispdir="$am_cv_lispdir"
18804
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
18805
+$as_echo "$lispdir" >&6; }
18809
-cat >conftest.$ac_ext <<_ACEOF
18812
-cat confdefs.h >>conftest.$ac_ext
18813
-cat >>conftest.$ac_ext <<_ACEOF
18814
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815
/* end confdefs.h. */
18816
#include <sys/socket.h>
18818
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18819
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18821
- grep -v '^ *+' conftest.er1 >conftest.err
18822
- rm -f conftest.er1
18823
- cat conftest.err >&5
18824
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825
- (exit $ac_status); } >/dev/null; then
18826
- if test -s conftest.err; then
18827
- ac_cpp_err=$ac_c_preproc_warn_flag
18828
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18835
-if test -z "$ac_cpp_err"; then
18836
- cat >conftest.$ac_ext <<_ACEOF
18839
-cat confdefs.h >>conftest.$ac_ext
18840
-cat >>conftest.$ac_ext <<_ACEOF
18841
+if ac_fn_c_try_cpp "$LINENO"; then :
18842
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843
/* end confdefs.h. */
18844
#include <sys/socket.h>
18846
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18847
- $EGREP "socklen_t" >/dev/null 2>&1; then
18848
- cat >>confdefs.h <<\_ACEOF
18849
-#define HAVE_SOCKLEN_T 1
18851
+ $EGREP "socklen_t" >/dev/null 2>&1; then :
18852
+ $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
18858
- echo "$as_me: failed program was:" >&5
18859
-sed 's/^/| /' conftest.$ac_ext >&5
18863
rm -f conftest.err conftest.$ac_ext
18865
@@ -5646,25 +5027,24 @@ GNATS_ALL=all-gnats
18866
GNATS_INSTALL=install-gnats
18868
# See if we want Kerberos.
18869
-echo "$as_me:$LINENO: checking for --with-kerberos" >&5
18870
-echo $ECHO_N "checking for --with-kerberos... $ECHO_C" >&6
18871
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-kerberos" >&5
18872
+$as_echo_n "checking for --with-kerberos... " >&6; }
18873
if test -n "$with_kerberos" ; then
18874
- echo "$as_me:$LINENO: result: yes" >&5
18875
-echo "${ECHO_T}yes" >&6
18876
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18877
+$as_echo "yes" >&6; }
18880
- echo "$as_me:$LINENO: result: no" >&5
18881
-echo "${ECHO_T}no" >&6
18882
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18883
+$as_echo "no" >&6; }
18886
if test -n "$with_krb"; then
18887
-echo "$as_me:$LINENO: checking Kerberos path" >&5
18888
-echo $ECHO_N "checking Kerberos path... $ECHO_C" >&6
18889
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Kerberos path" >&5
18890
+$as_echo_n "checking Kerberos path... " >&6; }
18892
-# Check whether --with-krb4 or --without-krb4 was given.
18893
-if test "${with_krb4+set}" = set; then
18894
- withval="$with_krb4"
18896
+# Check whether --with-krb4 was given.
18897
+if test "${with_krb4+set}" = set; then :
18898
+ withval=$with_krb4; KRB4=$withval
18900
# Default to system version if BSD-style, else /usr/kerberos always.
18901
if test ! -d /usr/kerberos && test -d /usr/include/kerberosIV ; then
18902
@@ -5673,20 +5053,17 @@ else
18906
-fi; echo "$as_me:$LINENO: result: $KRB4" >&5
18907
-echo "${ECHO_T}$KRB4" >&6
18909
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB4" >&5
18910
+$as_echo "$KRB4" >&6; }
18915
# XXX this should use a different approach at some point
18916
-echo "$as_me:$LINENO: checking for krb.h" >&5
18917
-echo $ECHO_N "checking for krb.h... $ECHO_C" >&6
18918
-cat >conftest.$ac_ext <<_ACEOF
18921
-cat confdefs.h >>conftest.$ac_ext
18922
-cat >>conftest.$ac_ext <<_ACEOF
18923
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb.h" >&5
18924
+$as_echo_n "checking for krb.h... " >&6; }
18925
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926
/* end confdefs.h. */
18929
@@ -5698,37 +5075,13 @@ int i;
18933
-rm -f conftest.$ac_objext conftest$ac_exeext
18934
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935
- (eval $ac_link) 2>conftest.er1
18937
- grep -v '^ *+' conftest.er1 >conftest.err
18938
- rm -f conftest.er1
18939
- cat conftest.err >&5
18940
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941
- (exit $ac_status); } &&
18942
- { ac_try='test -z "$ac_c_werror_flag"
18943
- || test ! -s conftest.err'
18944
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945
- (eval $ac_try) 2>&5
18947
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948
- (exit $ac_status); }; } &&
18949
- { ac_try='test -s conftest$ac_exeext'
18950
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951
- (eval $ac_try) 2>&5
18953
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954
- (exit $ac_status); }; }; then
18955
+if ac_fn_c_try_link "$LINENO"; then :
18956
krb_h=yes krb_incdir=
18957
- echo "$as_me:$LINENO: result: yes" >&5
18958
-echo "${ECHO_T}yes" >&6
18959
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18960
+$as_echo "yes" >&6; }
18962
- echo "$as_me: failed program was:" >&5
18963
-sed 's/^/| /' conftest.$ac_ext >&5
18965
-echo "$as_me:$LINENO: result: no" >&5
18966
-echo "${ECHO_T}no" >&6
18967
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18968
+$as_echo "no" >&6; }
18969
if test -r "$KRB4/include/kerberosIV/krb.h" ; then
18970
krbincdir=$KRB4/include/kerberosIV
18972
@@ -5737,13 +5090,9 @@ echo "${ECHO_T}no" >&6
18973
if test "$cross_compiling" = "no" && test -r $krbincdir/krb.h; then
18974
hold_cflags=$CFLAGS
18975
CFLAGS="$CFLAGS -I$krbincdir"
18976
- echo "$as_me:$LINENO: checking for krb.h in $krbincdir" >&5
18977
-echo $ECHO_N "checking for krb.h in $krbincdir... $ECHO_C" >&6
18978
- cat >conftest.$ac_ext <<_ACEOF
18981
-cat confdefs.h >>conftest.$ac_ext
18982
-cat >>conftest.$ac_ext <<_ACEOF
18983
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb.h in $krbincdir" >&5
18984
+$as_echo_n "checking for krb.h in $krbincdir... " >&6; }
18985
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986
/* end confdefs.h. */
18989
@@ -5755,178 +5104,98 @@ int i;
18993
-rm -f conftest.$ac_objext conftest$ac_exeext
18994
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18995
- (eval $ac_link) 2>conftest.er1
18997
- grep -v '^ *+' conftest.er1 >conftest.err
18998
- rm -f conftest.er1
18999
- cat conftest.err >&5
19000
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001
- (exit $ac_status); } &&
19002
- { ac_try='test -z "$ac_c_werror_flag"
19003
- || test ! -s conftest.err'
19004
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005
- (eval $ac_try) 2>&5
19007
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008
- (exit $ac_status); }; } &&
19009
- { ac_try='test -s conftest$ac_exeext'
19010
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19011
- (eval $ac_try) 2>&5
19013
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014
- (exit $ac_status); }; }; then
19015
+if ac_fn_c_try_link "$LINENO"; then :
19016
krb_h=yes krb_incdir=$krbincdir
19017
- echo "$as_me:$LINENO: result: yes" >&5
19018
-echo "${ECHO_T}yes" >&6
19019
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19020
+$as_echo "yes" >&6; }
19022
- echo "$as_me: failed program was:" >&5
19023
-sed 's/^/| /' conftest.$ac_ext >&5
19025
-echo "$as_me:$LINENO: result: no" >&5
19026
-echo "${ECHO_T}no" >&6
19027
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19028
+$as_echo "no" >&6; }
19030
-rm -f conftest.err conftest.$ac_objext \
19031
- conftest$ac_exeext conftest.$ac_ext
19032
+rm -f core conftest.err conftest.$ac_objext \
19033
+ conftest$ac_exeext conftest.$ac_ext
19034
CFLAGS=$hold_cflags
19035
if test -n "$krb_incdir"; then
19036
KRBINCLUDE="-I$krb_incdir"
19040
-rm -f conftest.err conftest.$ac_objext \
19041
- conftest$ac_exeext conftest.$ac_ext
19042
+rm -f core conftest.err conftest.$ac_objext \
19043
+ conftest$ac_exeext conftest.$ac_ext
19044
if test -n "$krb_h"; then
19046
if test "$cross_compiling" = "no" && test -r $KRB4/lib/libkrb.a; then
19047
# Fake some sensible log messages.
19048
- echo "$as_me:$LINENO: checking for -lkrb in $KRB4/lib" >&5
19049
-echo $ECHO_N "checking for -lkrb in $KRB4/lib... $ECHO_C" >&6
19050
- echo "$as_me:$LINENO: result: yes" >&5
19051
-echo "${ECHO_T}yes" >&6
19052
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb in $KRB4/lib" >&5
19053
+$as_echo_n "checking for -lkrb in $KRB4/lib... " >&6; }
19054
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19055
+$as_echo "yes" >&6; }
19056
krb_lib=-lkrb krb_libdir=$KRB4/lib
19058
- echo "$as_me:$LINENO: checking for main in -lkrb" >&5
19059
-echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6
19060
-if test "${ac_cv_lib_krb_main+set}" = set; then
19061
- echo $ECHO_N "(cached) $ECHO_C" >&6
19062
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb" >&5
19063
+$as_echo_n "checking for main in -lkrb... " >&6; }
19064
+if test "${ac_cv_lib_krb_main+set}" = set; then :
19065
+ $as_echo_n "(cached) " >&6
19067
ac_check_lib_save_LIBS=$LIBS
19069
-cat >conftest.$ac_ext <<_ACEOF
19072
-cat confdefs.h >>conftest.$ac_ext
19073
-cat >>conftest.$ac_ext <<_ACEOF
19074
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075
/* end confdefs.h. */
19087
-rm -f conftest.$ac_objext conftest$ac_exeext
19088
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19089
- (eval $ac_link) 2>conftest.er1
19091
- grep -v '^ *+' conftest.er1 >conftest.err
19092
- rm -f conftest.er1
19093
- cat conftest.err >&5
19094
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095
- (exit $ac_status); } &&
19096
- { ac_try='test -z "$ac_c_werror_flag"
19097
- || test ! -s conftest.err'
19098
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099
- (eval $ac_try) 2>&5
19101
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102
- (exit $ac_status); }; } &&
19103
- { ac_try='test -s conftest$ac_exeext'
19104
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105
- (eval $ac_try) 2>&5
19107
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108
- (exit $ac_status); }; }; then
19109
+if ac_fn_c_try_link "$LINENO"; then :
19110
ac_cv_lib_krb_main=yes
19112
- echo "$as_me: failed program was:" >&5
19113
-sed 's/^/| /' conftest.$ac_ext >&5
19115
-ac_cv_lib_krb_main=no
19116
+ ac_cv_lib_krb_main=no
19118
-rm -f conftest.err conftest.$ac_objext \
19119
- conftest$ac_exeext conftest.$ac_ext
19120
+rm -f core conftest.err conftest.$ac_objext \
19121
+ conftest$ac_exeext conftest.$ac_ext
19122
LIBS=$ac_check_lib_save_LIBS
19124
-echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5
19125
-echo "${ECHO_T}$ac_cv_lib_krb_main" >&6
19126
-if test $ac_cv_lib_krb_main = yes; then
19127
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_main" >&5
19128
+$as_echo "$ac_cv_lib_krb_main" >&6; }
19129
+if test "x$ac_cv_lib_krb_main" = x""yes; then :
19132
- echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
19133
-echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6
19134
-if test "${ac_cv_lib_krb4_main+set}" = set; then
19135
- echo $ECHO_N "(cached) $ECHO_C" >&6
19136
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb4" >&5
19137
+$as_echo_n "checking for main in -lkrb4... " >&6; }
19138
+if test "${ac_cv_lib_krb4_main+set}" = set; then :
19139
+ $as_echo_n "(cached) " >&6
19141
ac_check_lib_save_LIBS=$LIBS
19142
LIBS="-lkrb4 $LIBS"
19143
-cat >conftest.$ac_ext <<_ACEOF
19146
-cat confdefs.h >>conftest.$ac_ext
19147
-cat >>conftest.$ac_ext <<_ACEOF
19148
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19149
/* end confdefs.h. */
19161
-rm -f conftest.$ac_objext conftest$ac_exeext
19162
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19163
- (eval $ac_link) 2>conftest.er1
19165
- grep -v '^ *+' conftest.er1 >conftest.err
19166
- rm -f conftest.er1
19167
- cat conftest.err >&5
19168
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169
- (exit $ac_status); } &&
19170
- { ac_try='test -z "$ac_c_werror_flag"
19171
- || test ! -s conftest.err'
19172
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173
- (eval $ac_try) 2>&5
19175
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176
- (exit $ac_status); }; } &&
19177
- { ac_try='test -s conftest$ac_exeext'
19178
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179
- (eval $ac_try) 2>&5
19181
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182
- (exit $ac_status); }; }; then
19183
+if ac_fn_c_try_link "$LINENO"; then :
19184
ac_cv_lib_krb4_main=yes
19186
- echo "$as_me: failed program was:" >&5
19187
-sed 's/^/| /' conftest.$ac_ext >&5
19189
-ac_cv_lib_krb4_main=no
19190
+ ac_cv_lib_krb4_main=no
19192
-rm -f conftest.err conftest.$ac_objext \
19193
- conftest$ac_exeext conftest.$ac_ext
19194
+rm -f core conftest.err conftest.$ac_objext \
19195
+ conftest$ac_exeext conftest.$ac_ext
19196
LIBS=$ac_check_lib_save_LIBS
19198
-echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5
19199
-echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6
19200
-if test $ac_cv_lib_krb4_main = yes; then
19201
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_main" >&5
19202
+$as_echo "$ac_cv_lib_krb4_main" >&6; }
19203
+if test "x$ac_cv_lib_krb4_main" = x""yes; then :
19207
@@ -5934,413 +5203,182 @@ fi
19210
if test x"$krb_lib" != x""; then
19211
- cat >>confdefs.h <<\_ACEOF
19212
-#define HAVE_KERBEROS 1
19214
+ $as_echo "#define HAVE_KERBEROS 1" >>confdefs.h
19216
test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}"
19217
LIBS="${LIBS} $krb_lib"
19218
- echo "$as_me:$LINENO: checking for main in -ldes" >&5
19219
-echo $ECHO_N "checking for main in -ldes... $ECHO_C" >&6
19220
-if test "${ac_cv_lib_des_main+set}" = set; then
19221
- echo $ECHO_N "(cached) $ECHO_C" >&6
19222
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldes" >&5
19223
+$as_echo_n "checking for main in -ldes... " >&6; }
19224
+if test "${ac_cv_lib_des_main+set}" = set; then :
19225
+ $as_echo_n "(cached) " >&6
19227
ac_check_lib_save_LIBS=$LIBS
19229
-cat >conftest.$ac_ext <<_ACEOF
19232
-cat confdefs.h >>conftest.$ac_ext
19233
-cat >>conftest.$ac_ext <<_ACEOF
19234
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235
/* end confdefs.h. */
19247
-rm -f conftest.$ac_objext conftest$ac_exeext
19248
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249
- (eval $ac_link) 2>conftest.er1
19251
- grep -v '^ *+' conftest.er1 >conftest.err
19252
- rm -f conftest.er1
19253
- cat conftest.err >&5
19254
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255
- (exit $ac_status); } &&
19256
- { ac_try='test -z "$ac_c_werror_flag"
19257
- || test ! -s conftest.err'
19258
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259
- (eval $ac_try) 2>&5
19261
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262
- (exit $ac_status); }; } &&
19263
- { ac_try='test -s conftest$ac_exeext'
19264
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265
- (eval $ac_try) 2>&5
19267
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268
- (exit $ac_status); }; }; then
19269
+if ac_fn_c_try_link "$LINENO"; then :
19270
ac_cv_lib_des_main=yes
19272
- echo "$as_me: failed program was:" >&5
19273
-sed 's/^/| /' conftest.$ac_ext >&5
19275
-ac_cv_lib_des_main=no
19276
+ ac_cv_lib_des_main=no
19278
-rm -f conftest.err conftest.$ac_objext \
19279
- conftest$ac_exeext conftest.$ac_ext
19280
+rm -f core conftest.err conftest.$ac_objext \
19281
+ conftest$ac_exeext conftest.$ac_ext
19282
LIBS=$ac_check_lib_save_LIBS
19284
-echo "$as_me:$LINENO: result: $ac_cv_lib_des_main" >&5
19285
-echo "${ECHO_T}$ac_cv_lib_des_main" >&6
19286
-if test $ac_cv_lib_des_main = yes; then
19287
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_main" >&5
19288
+$as_echo "$ac_cv_lib_des_main" >&6; }
19289
+if test "x$ac_cv_lib_des_main" = x""yes; then :
19290
LIBS="${LIBS} -ldes"
19293
- echo "$as_me:$LINENO: checking for main in -ldes425" >&5
19294
-echo $ECHO_N "checking for main in -ldes425... $ECHO_C" >&6
19295
-if test "${ac_cv_lib_des425_main+set}" = set; then
19296
- echo $ECHO_N "(cached) $ECHO_C" >&6
19297
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldes425" >&5
19298
+$as_echo_n "checking for main in -ldes425... " >&6; }
19299
+if test "${ac_cv_lib_des425_main+set}" = set; then :
19300
+ $as_echo_n "(cached) " >&6
19302
ac_check_lib_save_LIBS=$LIBS
19303
LIBS="-ldes425 $LIBS"
19304
-cat >conftest.$ac_ext <<_ACEOF
19307
-cat confdefs.h >>conftest.$ac_ext
19308
-cat >>conftest.$ac_ext <<_ACEOF
19309
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310
/* end confdefs.h. */
19322
-rm -f conftest.$ac_objext conftest$ac_exeext
19323
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19324
- (eval $ac_link) 2>conftest.er1
19326
- grep -v '^ *+' conftest.er1 >conftest.err
19327
- rm -f conftest.er1
19328
- cat conftest.err >&5
19329
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330
- (exit $ac_status); } &&
19331
- { ac_try='test -z "$ac_c_werror_flag"
19332
- || test ! -s conftest.err'
19333
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334
- (eval $ac_try) 2>&5
19336
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337
- (exit $ac_status); }; } &&
19338
- { ac_try='test -s conftest$ac_exeext'
19339
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340
- (eval $ac_try) 2>&5
19342
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343
- (exit $ac_status); }; }; then
19344
+if ac_fn_c_try_link "$LINENO"; then :
19345
ac_cv_lib_des425_main=yes
19347
- echo "$as_me: failed program was:" >&5
19348
-sed 's/^/| /' conftest.$ac_ext >&5
19350
-ac_cv_lib_des425_main=no
19351
+ ac_cv_lib_des425_main=no
19353
-rm -f conftest.err conftest.$ac_objext \
19354
- conftest$ac_exeext conftest.$ac_ext
19355
+rm -f core conftest.err conftest.$ac_objext \
19356
+ conftest$ac_exeext conftest.$ac_ext
19357
LIBS=$ac_check_lib_save_LIBS
19359
-echo "$as_me:$LINENO: result: $ac_cv_lib_des425_main" >&5
19360
-echo "${ECHO_T}$ac_cv_lib_des425_main" >&6
19361
-if test $ac_cv_lib_des425_main = yes; then
19362
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_main" >&5
19363
+$as_echo "$ac_cv_lib_des425_main" >&6; }
19364
+if test "x$ac_cv_lib_des425_main" = x""yes; then :
19365
LIBS="${LIBS} -ldes425"
19368
- echo "$as_me:$LINENO: checking for main in -lkrb5" >&5
19369
-echo $ECHO_N "checking for main in -lkrb5... $ECHO_C" >&6
19370
-if test "${ac_cv_lib_krb5_main+set}" = set; then
19371
- echo $ECHO_N "(cached) $ECHO_C" >&6
19372
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb5" >&5
19373
+$as_echo_n "checking for main in -lkrb5... " >&6; }
19374
+if test "${ac_cv_lib_krb5_main+set}" = set; then :
19375
+ $as_echo_n "(cached) " >&6
19377
ac_check_lib_save_LIBS=$LIBS
19378
LIBS="-lkrb5 $LIBS"
19379
-cat >conftest.$ac_ext <<_ACEOF
19382
-cat confdefs.h >>conftest.$ac_ext
19383
-cat >>conftest.$ac_ext <<_ACEOF
19384
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385
/* end confdefs.h. */
19397
-rm -f conftest.$ac_objext conftest$ac_exeext
19398
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19399
- (eval $ac_link) 2>conftest.er1
19401
- grep -v '^ *+' conftest.er1 >conftest.err
19402
- rm -f conftest.er1
19403
- cat conftest.err >&5
19404
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405
- (exit $ac_status); } &&
19406
- { ac_try='test -z "$ac_c_werror_flag"
19407
- || test ! -s conftest.err'
19408
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409
- (eval $ac_try) 2>&5
19411
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412
- (exit $ac_status); }; } &&
19413
- { ac_try='test -s conftest$ac_exeext'
19414
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415
- (eval $ac_try) 2>&5
19417
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418
- (exit $ac_status); }; }; then
19419
+if ac_fn_c_try_link "$LINENO"; then :
19420
ac_cv_lib_krb5_main=yes
19422
- echo "$as_me: failed program was:" >&5
19423
-sed 's/^/| /' conftest.$ac_ext >&5
19425
-ac_cv_lib_krb5_main=no
19426
+ ac_cv_lib_krb5_main=no
19428
-rm -f conftest.err conftest.$ac_objext \
19429
- conftest$ac_exeext conftest.$ac_ext
19430
+rm -f core conftest.err conftest.$ac_objext \
19431
+ conftest$ac_exeext conftest.$ac_ext
19432
LIBS=$ac_check_lib_save_LIBS
19434
-echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_main" >&5
19435
-echo "${ECHO_T}$ac_cv_lib_krb5_main" >&6
19436
-if test $ac_cv_lib_krb5_main = yes; then
19437
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_main" >&5
19438
+$as_echo "$ac_cv_lib_krb5_main" >&6; }
19439
+if test "x$ac_cv_lib_krb5_main" = x""yes; then :
19440
LIBS="${LIBS} -lkrb5"
19443
- echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
19444
-echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
19445
-if test "${ac_cv_lib_crypto_main+set}" = set; then
19446
- echo $ECHO_N "(cached) $ECHO_C" >&6
19447
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypto" >&5
19448
+$as_echo_n "checking for main in -lcrypto... " >&6; }
19449
+if test "${ac_cv_lib_crypto_main+set}" = set; then :
19450
+ $as_echo_n "(cached) " >&6
19452
ac_check_lib_save_LIBS=$LIBS
19453
LIBS="-lcrypto $LIBS"
19454
-cat >conftest.$ac_ext <<_ACEOF
19457
-cat confdefs.h >>conftest.$ac_ext
19458
-cat >>conftest.$ac_ext <<_ACEOF
19459
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19460
/* end confdefs.h. */
19472
-rm -f conftest.$ac_objext conftest$ac_exeext
19473
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19474
- (eval $ac_link) 2>conftest.er1
19476
- grep -v '^ *+' conftest.er1 >conftest.err
19477
- rm -f conftest.er1
19478
- cat conftest.err >&5
19479
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480
- (exit $ac_status); } &&
19481
- { ac_try='test -z "$ac_c_werror_flag"
19482
- || test ! -s conftest.err'
19483
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484
- (eval $ac_try) 2>&5
19486
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487
- (exit $ac_status); }; } &&
19488
- { ac_try='test -s conftest$ac_exeext'
19489
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490
- (eval $ac_try) 2>&5
19492
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493
- (exit $ac_status); }; }; then
19494
+if ac_fn_c_try_link "$LINENO"; then :
19495
ac_cv_lib_crypto_main=yes
19497
- echo "$as_me: failed program was:" >&5
19498
-sed 's/^/| /' conftest.$ac_ext >&5
19500
-ac_cv_lib_crypto_main=no
19501
+ ac_cv_lib_crypto_main=no
19503
-rm -f conftest.err conftest.$ac_objext \
19504
- conftest$ac_exeext conftest.$ac_ext
19505
+rm -f core conftest.err conftest.$ac_objext \
19506
+ conftest$ac_exeext conftest.$ac_ext
19507
LIBS=$ac_check_lib_save_LIBS
19509
-echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5
19510
-echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6
19511
-if test $ac_cv_lib_crypto_main = yes; then
19512
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_main" >&5
19513
+$as_echo "$ac_cv_lib_crypto_main" >&6; }
19514
+if test "x$ac_cv_lib_crypto_main" = x""yes; then :
19515
LIBS="${LIBS} -lcrypto"
19518
- echo "$as_me:$LINENO: checking for main in -lcom_err" >&5
19519
-echo $ECHO_N "checking for main in -lcom_err... $ECHO_C" >&6
19520
-if test "${ac_cv_lib_com_err_main+set}" = set; then
19521
- echo $ECHO_N "(cached) $ECHO_C" >&6
19522
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcom_err" >&5
19523
+$as_echo_n "checking for main in -lcom_err... " >&6; }
19524
+if test "${ac_cv_lib_com_err_main+set}" = set; then :
19525
+ $as_echo_n "(cached) " >&6
19527
ac_check_lib_save_LIBS=$LIBS
19528
LIBS="-lcom_err $LIBS"
19529
-cat >conftest.$ac_ext <<_ACEOF
19532
-cat confdefs.h >>conftest.$ac_ext
19533
-cat >>conftest.$ac_ext <<_ACEOF
19534
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535
/* end confdefs.h. */
19547
-rm -f conftest.$ac_objext conftest$ac_exeext
19548
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19549
- (eval $ac_link) 2>conftest.er1
19551
- grep -v '^ *+' conftest.er1 >conftest.err
19552
- rm -f conftest.er1
19553
- cat conftest.err >&5
19554
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555
- (exit $ac_status); } &&
19556
- { ac_try='test -z "$ac_c_werror_flag"
19557
- || test ! -s conftest.err'
19558
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559
- (eval $ac_try) 2>&5
19561
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562
- (exit $ac_status); }; } &&
19563
- { ac_try='test -s conftest$ac_exeext'
19564
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565
- (eval $ac_try) 2>&5
19567
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568
- (exit $ac_status); }; }; then
19569
+if ac_fn_c_try_link "$LINENO"; then :
19570
ac_cv_lib_com_err_main=yes
19572
- echo "$as_me: failed program was:" >&5
19573
-sed 's/^/| /' conftest.$ac_ext >&5
19575
-ac_cv_lib_com_err_main=no
19576
+ ac_cv_lib_com_err_main=no
19578
-rm -f conftest.err conftest.$ac_objext \
19579
- conftest$ac_exeext conftest.$ac_ext
19580
+rm -f core conftest.err conftest.$ac_objext \
19581
+ conftest$ac_exeext conftest.$ac_ext
19582
LIBS=$ac_check_lib_save_LIBS
19584
-echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_main" >&5
19585
-echo "${ECHO_T}$ac_cv_lib_com_err_main" >&6
19586
-if test $ac_cv_lib_com_err_main = yes; then
19587
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_main" >&5
19588
+$as_echo "$ac_cv_lib_com_err_main" >&6; }
19589
+if test "x$ac_cv_lib_com_err_main" = x""yes; then :
19590
LIBS="${LIBS} -lcom_err"
19593
- echo "$as_me:$LINENO: checking for krb_mk_auth" >&5
19594
-echo $ECHO_N "checking for krb_mk_auth... $ECHO_C" >&6
19595
-if test "${ac_cv_func_krb_mk_auth+set}" = set; then
19596
- echo $ECHO_N "(cached) $ECHO_C" >&6
19598
- cat >conftest.$ac_ext <<_ACEOF
19601
-cat confdefs.h >>conftest.$ac_ext
19602
-cat >>conftest.$ac_ext <<_ACEOF
19603
-/* end confdefs.h. */
19604
-/* Define krb_mk_auth to an innocuous variant, in case <limits.h> declares krb_mk_auth.
19605
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
19606
-#define krb_mk_auth innocuous_krb_mk_auth
19608
-/* System header to define __stub macros and hopefully few prototypes,
19609
- which can conflict with char krb_mk_auth (); below.
19610
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19611
- <limits.h> exists even on freestanding compilers. */
19614
-# include <limits.h>
19616
-# include <assert.h>
19619
-#undef krb_mk_auth
19621
-/* Override any gcc2 internal prototype to avoid an error. */
19622
-#ifdef __cplusplus
19626
-/* We use char because int might match the return type of a gcc2
19627
- builtin and then its argument prototype would still apply. */
19628
-char krb_mk_auth ();
19629
-/* The GNU C library defines this for functions which it implements
19630
- to always fail with ENOSYS. Some functions are actually named
19631
- something starting with __ and the normal name is an alias. */
19632
-#if defined (__stub_krb_mk_auth) || defined (__stub___krb_mk_auth)
19635
-char (*f) () = krb_mk_auth;
19637
-#ifdef __cplusplus
19644
-return f != krb_mk_auth;
19649
-rm -f conftest.$ac_objext conftest$ac_exeext
19650
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651
- (eval $ac_link) 2>conftest.er1
19653
- grep -v '^ *+' conftest.er1 >conftest.err
19654
- rm -f conftest.er1
19655
- cat conftest.err >&5
19656
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657
- (exit $ac_status); } &&
19658
- { ac_try='test -z "$ac_c_werror_flag"
19659
- || test ! -s conftest.err'
19660
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661
- (eval $ac_try) 2>&5
19663
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664
- (exit $ac_status); }; } &&
19665
- { ac_try='test -s conftest$ac_exeext'
19666
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667
- (eval $ac_try) 2>&5
19669
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670
- (exit $ac_status); }; }; then
19671
- ac_cv_func_krb_mk_auth=yes
19673
- echo "$as_me: failed program was:" >&5
19674
-sed 's/^/| /' conftest.$ac_ext >&5
19676
-ac_cv_func_krb_mk_auth=no
19678
-rm -f conftest.err conftest.$ac_objext \
19679
- conftest$ac_exeext conftest.$ac_ext
19681
-echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_auth" >&5
19682
-echo "${ECHO_T}$ac_cv_func_krb_mk_auth" >&6
19683
-if test $ac_cv_func_krb_mk_auth = yes; then
19684
+ ac_fn_c_check_func "$LINENO" "krb_mk_auth" "ac_cv_func_krb_mk_auth"
19685
+if test "x$ac_cv_func_krb_mk_auth" = x""yes; then :
19688
# BSD Kerberos doesn't have these functions.
19689
@@ -6350,103 +5388,12 @@ fi
19694
for ac_func in krb_get_err_text
19696
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19697
-echo "$as_me:$LINENO: checking for $ac_func" >&5
19698
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19699
-if eval "test \"\${$as_ac_var+set}\" = set"; then
19700
- echo $ECHO_N "(cached) $ECHO_C" >&6
19702
- cat >conftest.$ac_ext <<_ACEOF
19705
-cat confdefs.h >>conftest.$ac_ext
19706
-cat >>conftest.$ac_ext <<_ACEOF
19707
-/* end confdefs.h. */
19708
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19709
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
19710
-#define $ac_func innocuous_$ac_func
19712
-/* System header to define __stub macros and hopefully few prototypes,
19713
- which can conflict with char $ac_func (); below.
19714
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19715
- <limits.h> exists even on freestanding compilers. */
19718
-# include <limits.h>
19720
-# include <assert.h>
19725
-/* Override any gcc2 internal prototype to avoid an error. */
19726
-#ifdef __cplusplus
19730
-/* We use char because int might match the return type of a gcc2
19731
- builtin and then its argument prototype would still apply. */
19733
-/* The GNU C library defines this for functions which it implements
19734
- to always fail with ENOSYS. Some functions are actually named
19735
- something starting with __ and the normal name is an alias. */
19736
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19739
-char (*f) () = $ac_func;
19741
-#ifdef __cplusplus
19748
-return f != $ac_func;
19753
-rm -f conftest.$ac_objext conftest$ac_exeext
19754
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19755
- (eval $ac_link) 2>conftest.er1
19757
- grep -v '^ *+' conftest.er1 >conftest.err
19758
- rm -f conftest.er1
19759
- cat conftest.err >&5
19760
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761
- (exit $ac_status); } &&
19762
- { ac_try='test -z "$ac_c_werror_flag"
19763
- || test ! -s conftest.err'
19764
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765
- (eval $ac_try) 2>&5
19767
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768
- (exit $ac_status); }; } &&
19769
- { ac_try='test -s conftest$ac_exeext'
19770
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771
- (eval $ac_try) 2>&5
19773
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774
- (exit $ac_status); }; }; then
19775
- eval "$as_ac_var=yes"
19777
- echo "$as_me: failed program was:" >&5
19778
-sed 's/^/| /' conftest.$ac_ext >&5
19780
-eval "$as_ac_var=no"
19782
-rm -f conftest.err conftest.$ac_objext \
19783
- conftest$ac_exeext conftest.$ac_ext
19785
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19786
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19787
-if test `eval echo '${'$as_ac_var'}'` = yes; then
19789
+ ac_fn_c_check_func "$LINENO" "krb_get_err_text" "ac_cv_func_krb_get_err_text"
19790
+if test "x$ac_cv_func_krb_get_err_text" = x""yes; then :
19791
cat >>confdefs.h <<_ACEOF
19792
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19793
+#define HAVE_KRB_GET_ERR_TEXT 1
19797
@@ -6468,86 +5415,86 @@ fi
19800
# And GNATS_SERVICE
19801
-echo "$as_me:$LINENO: checking for --with-gnats-service" >&5
19802
-echo $ECHO_N "checking for --with-gnats-service... $ECHO_C" >&6
19803
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnats-service" >&5
19804
+$as_echo_n "checking for --with-gnats-service... " >&6; }
19805
if test -n "$with_gnats_service"; then
19806
- echo "$as_me:$LINENO: result: $with_gnats_service" >&5
19807
-echo "${ECHO_T}$with_gnats_service" >&6
19808
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnats_service" >&5
19809
+$as_echo "$with_gnats_service" >&6; }
19810
GNATS_SERVICE=$with_gnats_service
19812
if test -z "${GNATS_SERVICE}"; then
19813
- echo "$as_me:$LINENO: result: default to support" >&5
19814
-echo "${ECHO_T}default to support" >&6
19815
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to support" >&5
19816
+$as_echo "default to support" >&6; }
19817
GNATS_SERVICE=support
19821
-echo "$as_me:$LINENO: checking for --with-gnats-user" >&5
19822
-echo $ECHO_N "checking for --with-gnats-user... $ECHO_C" >&6
19823
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnats-user" >&5
19824
+$as_echo_n "checking for --with-gnats-user... " >&6; }
19825
if test -n "$with_gnats_user"; then
19826
- echo "$as_me:$LINENO: result: $with_gnats_user" >&5
19827
-echo "${ECHO_T}$with_gnats_user" >&6
19828
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnats_user" >&5
19829
+$as_echo "$with_gnats_user" >&6; }
19830
GNATS_USER=$with_gnats_user
19832
if test -z "${GNATS_USER}"; then
19833
- echo "$as_me:$LINENO: result: default to gnats" >&5
19834
-echo "${ECHO_T}default to gnats" >&6
19835
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to gnats" >&5
19836
+$as_echo "default to gnats" >&6; }
19840
-echo "$as_me:$LINENO: checking for --with-gnatsd-user-access-file" >&5
19841
-echo $ECHO_N "checking for --with-gnatsd-user-access-file... $ECHO_C" >&6
19842
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnatsd-user-access-file" >&5
19843
+$as_echo_n "checking for --with-gnatsd-user-access-file... " >&6; }
19844
if test -n "${with_gnatsd_user_access_file}"; then
19845
- echo "$as_me:$LINENO: result: $with_gnatsd_user_access_file" >&5
19846
-echo "${ECHO_T}$with_gnatsd_user_access_file" >&6
19847
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnatsd_user_access_file" >&5
19848
+$as_echo "$with_gnatsd_user_access_file" >&6; }
19849
GNATSD_USER_ACCESS_FILE=$with_gnatsd_user_access_file
19852
if test -z "${GNATSD_USER_ACCESS_FILE}"; then
19853
- echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/gnatsd.user_access" >&5
19854
-echo "${ECHO_T}default to ${sysconfdir}/gnats/gnatsd.user_access" >&6
19855
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to ${sysconfdir}/gnats/gnatsd.user_access" >&5
19856
+$as_echo "default to ${sysconfdir}/gnats/gnatsd.user_access" >&6; }
19857
GNATSD_USER_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.user_access
19860
-echo "$as_me:$LINENO: checking for --with-gnatsd-host-access-file" >&5
19861
-echo $ECHO_N "checking for --with-gnatsd-host-access-file... $ECHO_C" >&6
19862
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnatsd-host-access-file" >&5
19863
+$as_echo_n "checking for --with-gnatsd-host-access-file... " >&6; }
19864
if test -n "${with_gnatsd_host_access_file}"; then
19865
- echo "$as_me:$LINENO: result: $with_gnatsd_host_access_file" >&5
19866
-echo "${ECHO_T}$with_gnatsd_host_access_file" >&6
19867
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnatsd_host_access_file" >&5
19868
+$as_echo "$with_gnatsd_host_access_file" >&6; }
19869
GNATSD_HOST_ACCESS_FILE=$with_gnatsd_host_access_file
19872
if test -z "${GNATSD_HOST_ACCESS_FILE}"; then
19873
- echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/gnatsd.host_access" >&5
19874
-echo "${ECHO_T}default to ${sysconfdir}/gnats/gnatsd.host_access" >&6
19875
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to ${sysconfdir}/gnats/gnatsd.host_access" >&5
19876
+$as_echo "default to ${sysconfdir}/gnats/gnatsd.host_access" >&6; }
19877
GNATSD_HOST_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.host_access
19880
-echo "$as_me:$LINENO: checking for --with-gnats-dblist-file" >&5
19881
-echo $ECHO_N "checking for --with-gnats-dblist-file... $ECHO_C" >&6
19882
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnats-dblist-file" >&5
19883
+$as_echo_n "checking for --with-gnats-dblist-file... " >&6; }
19884
if test -n "${with_gnats_dblist_file}"; then
19885
- echo "$as_me:$LINENO: result: $with_gnats_dblist_file" >&5
19886
-echo "${ECHO_T}$with_gnats_dblist_file" >&6
19887
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnats_dblist_file" >&5
19888
+$as_echo "$with_gnats_dblist_file" >&6; }
19889
GLOBAL_DB_LIST_FILE=$with_gnats_dblist_file
19892
if test -z "${GLOBAL_DB_LIST_FILE}"; then
19893
- echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/databases" >&5
19894
-echo "${ECHO_T}default to ${sysconfdir}/gnats/databases" >&6
19895
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to ${sysconfdir}/gnats/databases" >&5
19896
+$as_echo "default to ${sysconfdir}/gnats/databases" >&6; }
19897
GLOBAL_DB_LIST_FILE=${sysconfdir}/gnats/databases
19900
-echo "$as_me:$LINENO: checking for --with-gnats-default-db" >&5
19901
-echo $ECHO_N "checking for --with-gnats-default-db... $ECHO_C" >&6
19902
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-gnats-default-db" >&5
19903
+$as_echo_n "checking for --with-gnats-default-db... " >&6; }
19904
if test -n "${with_gnats_default_db}"; then
19905
- echo "$as_me:$LINENO: result: $with_gnats_default_db" >&5
19906
-echo "${ECHO_T}$with_gnats_default_db" >&6
19907
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnats_default_db" >&5
19908
+$as_echo "$with_gnats_default_db" >&6; }
19909
GNATS_DEFAULT_DB_DIR="$with_gnats_default_db"
19912
if test -z "${GNATS_DEFAULT_DB_DIR}"; then
19913
- echo "$as_me:$LINENO: result: default to ${sharedstatedir}/gnatsdb" >&5
19914
-echo "${ECHO_T}default to ${sharedstatedir}/gnatsdb" >&6
19915
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to ${sharedstatedir}/gnatsdb" >&5
19916
+$as_echo "default to ${sharedstatedir}/gnatsdb" >&6; }
19917
GNATS_DEFAULT_DB_DIR=${sharedstatedir}/gnatsdb
19920
@@ -6566,10 +5513,10 @@ BWEEK_END=5
19922
# Extract the first word of "sendmail", so it can be a program name with args.
19923
set dummy sendmail; ac_word=$2
19924
-echo "$as_me:$LINENO: checking for $ac_word" >&5
19925
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19926
-if test "${ac_cv_path_SENDMAIL+set}" = set; then
19927
- echo $ECHO_N "(cached) $ECHO_C" >&6
19928
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19929
+$as_echo_n "checking for $ac_word... " >&6; }
19930
+if test "${ac_cv_path_SENDMAIL+set}" = set; then :
19931
+ $as_echo_n "(cached) " >&6
19935
@@ -6582,28 +5529,29 @@ for as_dir in $as_dummy
19938
test -z "$as_dir" && as_dir=.
19939
- for ac_exec_ext in '' $ac_executable_extensions; do
19940
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19941
+ for ac_exec_ext in '' $ac_executable_extensions; do
19942
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19943
ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
19944
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19945
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19956
SENDMAIL=$ac_cv_path_SENDMAIL
19958
if test -n "$SENDMAIL"; then
19959
- echo "$as_me:$LINENO: result: $SENDMAIL" >&5
19960
-echo "${ECHO_T}$SENDMAIL" >&6
19961
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
19962
+$as_echo "$SENDMAIL" >&6; }
19964
- echo "$as_me:$LINENO: result: no" >&5
19965
-echo "${ECHO_T}no" >&6
19966
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19967
+$as_echo "no" >&6; }
19971
if test -n "$SENDMAIL" ; then
19972
DEFAULT_MAIL_AGENT="$SENDMAIL -oi -t"
19974
@@ -6628,7 +5576,7 @@ fi
19976
# ***** End of configuration section *****
19978
- ac_config_files="$ac_config_files Makefile"
19979
+ac_config_files="$ac_config_files Makefile"
19981
cat >confcache <<\_ACEOF
19982
# This file is a shell script that caches the results of configure
19983
@@ -6648,39 +5596,59 @@ _ACEOF
19985
# The following way of writing the cache mishandles newlines in values,
19986
# but we know of no workaround that is simple, portable, and efficient.
19987
-# So, don't put newlines in cache variables' values.
19988
+# So, we kill variables containing newlines.
19989
# Ultrix sh set writes to stderr and can't be redirected directly,
19990
# and sets the high bit in the cache file unless we assign to the vars.
19993
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19994
+ eval ac_val=\$$ac_var
19995
+ case $ac_val in #(
19997
+ case $ac_var in #(
19998
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19999
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20001
+ case $ac_var in #(
20002
+ _ | IFS | as_nl) ;; #(
20003
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20004
+ *) { eval $ac_var=; unset $ac_var;} ;;
20010
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
20012
- # `set' does not quote correctly, so add quotes (double-quote
20013
- # substitution turns \\\\ into \\, and sed turns \\ into \).
20014
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
20015
+ *${as_nl}ac_space=\ *)
20016
+ # `set' does not quote correctly, so add quotes: double-quote
20017
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
20020
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20024
# `set' quotes correctly as required by POSIX, so do not add quotes.
20026
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20027
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20035
+ /^ac_cv_env_/b end
20039
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20041
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20042
- : end' >>confcache
20043
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
20044
- if test -w $cache_file; then
20045
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20046
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20047
+ :end' >>confcache
20048
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20049
+ if test -w "$cache_file"; then
20050
+ test "x$cache_file" != "x/dev/null" &&
20051
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20052
+$as_echo "$as_me: updating cache $cache_file" >&6;}
20053
cat confcache >$cache_file
20055
- echo "not updating unwritable cache $cache_file"
20056
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20057
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20061
@@ -6689,32 +5657,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
20062
# Let make expand exec_prefix.
20063
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20065
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
20066
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20067
-# trailing colons and then remove the whole line if VPATH becomes empty
20068
-# (actually we leave an empty line to preserve line numbers).
20069
-if test "x$srcdir" = x.; then
20070
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
20071
-s/:*\$(srcdir):*/:/;
20072
-s/:*\${srcdir}:*/:/;
20073
-s/:*@srcdir@:*/:/;
20074
-s/^\([^=]*=[ ]*\):*/\1/;
20080
DEFS=-DHAVE_CONFIG_H
20084
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20085
# 1. Remove the extension, and $U if already installed.
20086
- ac_i=`echo "$ac_i" |
20087
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20089
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20090
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20091
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20092
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20093
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20094
+ # will be set to the directory where LIBOBJS objects are built.
20095
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20096
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20098
LIBOBJS=$ac_libobjs
20100
@@ -6723,11 +5677,13 @@ LTLIBOBJS=$ac_ltlibobjs
20103
: ${CONFIG_STATUS=./config.status}
20105
ac_clean_files_save=$ac_clean_files
20106
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20107
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20108
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
20109
-cat >$CONFIG_STATUS <<_ACEOF
20110
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20111
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20113
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20115
# Generated by $as_me.
20116
# Run this file to recreate the current configuration.
20117
@@ -6737,81 +5693,252 @@ cat >$CONFIG_STATUS <<_ACEOF
20119
ac_cs_recheck=false
20121
-SHELL=\${CONFIG_SHELL-$SHELL}
20124
-cat >>$CONFIG_STATUS <<\_ACEOF
20125
-## --------------------- ##
20126
-## M4sh Initialization. ##
20127
-## --------------------- ##
20128
+SHELL=\${CONFIG_SHELL-$SHELL}
20131
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20132
+## -------------------- ##
20133
+## M4sh Initialization. ##
20134
+## -------------------- ##
20136
-# Be Bourne compatible
20137
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20138
+# Be more Bourne compatible
20139
+DUALCASE=1; export DUALCASE # for MKS sh
20140
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20143
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20144
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20145
# is contrary to our usage. Disable this feature.
20146
alias -g '${1+"$@"}'='"$@"'
20147
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20149
+ setopt NO_GLOB_SUBST
20151
+ case `(set -o) 2>/dev/null` in #(
20153
+ set -o posix ;; #(
20158
-DUALCASE=1; export DUALCASE # for MKS sh
20160
-# Support unset when possible.
20161
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20169
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
20170
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20171
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20172
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20173
+# Prefer a ksh shell builtin over an external printf program on Solaris,
20174
+# but without wasting forks for bash or zsh.
20175
+if test -z "$BASH_VERSION$ZSH_VERSION" \
20176
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20177
+ as_echo='print -r --'
20178
+ as_echo_n='print -rn --'
20179
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20180
+ as_echo='printf %s\n'
20181
+ as_echo_n='printf %s'
20183
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20184
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20185
+ as_echo_n='/usr/ucb/echo -n'
20187
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20188
+ as_echo_n_body='eval
20192
+ expr "X$arg" : "X\\(.*\\)$as_nl";
20193
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20195
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20197
+ export as_echo_n_body
20198
+ as_echo_n='sh -c $as_echo_n_body as_echo'
20200
+ export as_echo_body
20201
+ as_echo='sh -c $as_echo_body as_echo'
20204
+# The user is always right.
20205
+if test "${PATH_SEPARATOR+set}" != set; then
20207
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20208
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20209
+ PATH_SEPARATOR=';'
20214
-# Work around bugs in pre-3.0 UWIN ksh.
20215
-$as_unset ENV MAIL MAILPATH
20217
+# We need space, tab and new line, in precisely that order. Quoting is
20218
+# there to prevent editors from complaining about space-tab.
20219
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20220
+# splitting by setting IFS to empty value.)
20223
+# Find who we are. Look in the path if we contain no directory separator.
20225
+ *[\\/]* ) as_myself=$0 ;;
20226
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20227
+for as_dir in $PATH
20230
+ test -z "$as_dir" && as_dir=.
20231
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20237
+# We did not find ourselves, most probably we were run as `sh COMMAND'
20238
+# in which case we are not to be found in the path.
20239
+if test "x$as_myself" = x; then
20242
+if test ! -f "$as_myself"; then
20243
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20247
+# Unset variables that we do not need and which cause bugs (e.g. in
20248
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20249
+# suppresses any "Segmentation fault" message there. '((' could
20250
+# trigger a bug in pdksh 5.2.14.
20251
+for as_var in BASH_ENV ENV MAIL MAILPATH
20252
+do eval test x\${$as_var+set} = xset \
20253
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20261
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20262
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20263
- LC_TELEPHONE LC_TIME
20265
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20266
- eval $as_var=C; export $as_var
20268
- $as_unset $as_var
20277
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20280
+# as_fn_error ERROR [LINENO LOG_FD]
20281
+# ---------------------------------
20282
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20283
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20284
+# script with status $?, using 1 if that was 0.
20287
+ as_status=$?; test $as_status -eq 0 && as_status=1
20288
+ if test "$3"; then
20289
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20290
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
20292
+ $as_echo "$as_me: error: $1" >&2
20293
+ as_fn_exit $as_status
20297
+# as_fn_set_status STATUS
20298
+# -----------------------
20299
+# Set $? to STATUS, without forking.
20300
+as_fn_set_status ()
20303
+} # as_fn_set_status
20305
+# as_fn_exit STATUS
20306
+# -----------------
20307
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20311
+ as_fn_set_status $1
20317
+# Portably unset VAR.
20320
+ { eval $1=; unset $1;}
20322
+as_unset=as_fn_unset
20323
+# as_fn_append VAR VALUE
20324
+# ----------------------
20325
+# Append the text in VALUE to the end of the definition contained in VAR. Take
20326
+# advantage of any shell optimizations that allow amortized linear growth over
20327
+# repeated appends, instead of the typical quadratic growth present in naive
20328
+# implementations.
20329
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20330
+ eval 'as_fn_append ()
20341
+# as_fn_arith ARG...
20342
+# ------------------
20343
+# Perform arithmetic evaluation on the ARGs, and store the result in the
20344
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
20345
+# must be portable across $(()) and expr.
20346
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20347
+ eval 'as_fn_arith ()
20354
+ as_val=`expr "$@" || test $? -eq 1`
20358
-# Required to use basename.
20359
-if expr a : '\(a\)' >/dev/null 2>&1; then
20361
+if expr a : '\(a\)' >/dev/null 2>&1 &&
20362
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
20368
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20369
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20370
as_basename=basename
20375
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20376
+ as_dirname=dirname
20381
-# Name of the executable.
20382
-as_me=`$as_basename "$0" ||
20383
+as_me=`$as_basename -- "$0" ||
20384
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20385
X"$0" : 'X\(//\)$' \| \
20386
- X"$0" : 'X\(/\)$' \| \
20387
- . : '\(.\)' 2>/dev/null ||
20389
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20390
- /^X\/\(\/\/\)$/{ s//\1/; q; }
20391
- /^X\/\(\/\).*/{ s//\1/; q; }
20394
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20396
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
20410
-# PATH needs CR, and LINENO needs CR and PATH.
20411
# Avoid depending upon Character Ranges.
20412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20414
@@ -6819,148 +5946,123 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
20415
as_cr_digits='0123456789'
20416
as_cr_alnum=$as_cr_Letters$as_cr_digits
20418
-# The user is always right.
20419
-if test "${PATH_SEPARATOR+set}" != set; then
20420
- echo "#! /bin/sh" >conf$$.sh
20421
- echo "exit 0" >>conf$$.sh
20422
- chmod +x conf$$.sh
20423
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20424
- PATH_SEPARATOR=';'
20432
- as_lineno_1=$LINENO
20433
- as_lineno_2=$LINENO
20434
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20435
- test "x$as_lineno_1" != "x$as_lineno_2" &&
20436
- test "x$as_lineno_3" = "x$as_lineno_2" || {
20437
- # Find who we are. Look in the path if we contain no path at all
20438
- # relative or not.
20440
- *[\\/]* ) as_myself=$0 ;;
20441
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20442
-for as_dir in $PATH
20445
- test -z "$as_dir" && as_dir=.
20446
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20451
- # We did not find ourselves, most probably we were run as `sh COMMAND'
20452
- # in which case we are not to be found in the path.
20453
- if test "x$as_myself" = x; then
20456
- if test ! -f "$as_myself"; then
20457
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20458
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20459
- { (exit 1); exit 1; }; }
20461
- case $CONFIG_SHELL in
20463
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20464
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20467
- test -z "$as_dir" && as_dir=.
20468
- for as_base in sh bash ksh sh5; do
20471
- if ("$as_dir/$as_base" -c '
20472
- as_lineno_1=$LINENO
20473
- as_lineno_2=$LINENO
20474
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20475
- test "x$as_lineno_1" != "x$as_lineno_2" &&
20476
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20477
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20478
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20479
- CONFIG_SHELL=$as_dir/$as_base
20480
- export CONFIG_SHELL
20481
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20489
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20490
- # uniformly replaced by the line number. The first 'sed' inserts a
20491
- # line-number line before each line; the second 'sed' does the real
20492
- # work. The second script uses 'N' to pair each line-number line
20493
- # with the numbered line, and appends trailing '-' during
20494
- # substitution so that $LINENO is not a special case at line end.
20495
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20496
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20497
- sed '=' <$as_myself |
20502
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20505
- s,^['$as_cr_digits']*\n,,
20506
- ' >$as_me.lineno &&
20507
- chmod +x $as_me.lineno ||
20508
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20509
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20510
- { (exit 1); exit 1; }; }
20512
- # Don't try to exec as it changes $[0], causing all sort of problems
20513
- # (the dirname of $[0] is not the place where we might find the
20514
- # original and so on. Autoconf is especially sensible to this).
20515
- . ./$as_me.lineno
20516
- # Exit status is that of the last command.
20521
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20522
- *c*,-n*) ECHO_N= ECHO_C='
20524
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20525
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20526
+ECHO_C= ECHO_N= ECHO_T=
20527
+case `echo -n x` in #(((((
20529
+ case `echo 'xy\c'` in
20530
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20531
+ xy) ECHO_C='\c';;
20532
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20539
-if expr a : '\(a\)' >/dev/null 2>&1; then
20541
+rm -f conf$$ conf$$.exe conf$$.file
20542
+if test -d conf$$.dir; then
20543
+ rm -f conf$$.dir/conf$$.file
20547
+ mkdir conf$$.dir 2>/dev/null
20550
-rm -f conf$$ conf$$.exe conf$$.file
20552
-if ln -s conf$$.file conf$$ 2>/dev/null; then
20553
- # We could just check for DJGPP; but this test a) works b) is more generic
20554
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20555
- if test -f conf$$.exe; then
20556
- # Don't use ln at all; we don't have any links
20559
+if (echo >conf$$.file) 2>/dev/null; then
20560
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
20562
+ # ... but there are two gotchas:
20563
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20564
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20565
+ # In both cases, we have to default to `cp -p'.
20566
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20568
+ elif ln conf$$.file conf$$ 2>/dev/null; then
20573
-elif ln conf$$.file conf$$ 2>/dev/null; then
20578
-rm -f conf$$ conf$$.exe conf$$.file
20579
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20580
+rmdir conf$$.dir 2>/dev/null
20585
+# Create "$as_dir" as a directory, including parents if necessary.
20589
+ case $as_dir in #(
20590
+ -*) as_dir=./$as_dir;;
20592
+ test -d "$as_dir" || eval $as_mkdir_p || {
20595
+ case $as_dir in #(
20596
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20597
+ *) as_qdir=$as_dir;;
20599
+ as_dirs="'$as_qdir' $as_dirs"
20600
+ as_dir=`$as_dirname -- "$as_dir" ||
20601
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20602
+ X"$as_dir" : 'X\(//\)[^/]' \| \
20603
+ X"$as_dir" : 'X\(//\)$' \| \
20604
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20605
+$as_echo X"$as_dir" |
20606
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20610
+ /^X\(\/\/\)[^/].*/{
20623
+ test -d "$as_dir" && break
20625
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
20626
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
20630
if mkdir -p . 2>/dev/null; then
20632
+ as_mkdir_p='mkdir -p "$as_dir"'
20634
test -d ./-p && rmdir ./-p
20638
-as_executable_p="test -f"
20639
+if test -x / >/dev/null 2>&1; then
20640
+ as_test_x='test -x'
20642
+ if ls -dL / >/dev/null 2>&1; then
20649
+ if test -d "$1"; then
20655
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20656
+ ???[sx]*):;;*)false;;esac;fi
20660
+as_executable_p=$as_test_x
20662
# Sed expression to map a string onto a valid CPP name.
20663
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20664
@@ -6969,31 +6071,20 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
20665
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20669
-# We need space, tab and new line, in precisely that order.
20678
+## ----------------------------------- ##
20679
+## Main body of $CONFIG_STATUS script. ##
20680
+## ----------------------------------- ##
20682
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20684
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
20685
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20686
+# Save the log message, to keep $0 and so on meaningful, and to
20687
# report actual input values of CONFIG_FILES etc. instead of their
20688
-# values after options handling. Logging --version etc. is OK.
20689
-exec 5>>config.log
20692
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20693
-## Running $as_me. ##
20698
+# values after options handling.
20700
This file was extended by gnats $as_me 4.1.0, which was
20701
-generated by GNU Autoconf 2.59. Invocation command line was
20702
+generated by GNU Autoconf 2.65. Invocation command line was
20704
CONFIG_FILES = $CONFIG_FILES
20705
CONFIG_HEADERS = $CONFIG_HEADERS
20706
@@ -7001,45 +6092,46 @@ generated by GNU Autoconf 2.59. Invocat
20707
CONFIG_COMMANDS = $CONFIG_COMMANDS
20711
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20713
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
20718
-# Files that config.status was made for.
20719
-if test -n "$ac_config_files"; then
20720
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20722
+case $ac_config_files in *"
20723
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
20726
-if test -n "$ac_config_headers"; then
20727
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20729
+case $ac_config_headers in *"
20730
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20733
-if test -n "$ac_config_links"; then
20734
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20737
-if test -n "$ac_config_commands"; then
20738
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20740
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20741
+# Files that config.status was made for.
20742
+config_files="$ac_config_files"
20743
+config_headers="$ac_config_headers"
20745
-cat >>$CONFIG_STATUS <<\_ACEOF
20748
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20750
-\`$as_me' instantiates files from templates according to the
20751
-current configuration.
20752
+\`$as_me' instantiates files and other configuration actions
20753
+from templates according to the current configuration. Unless the files
20754
+and actions are specified as TAGs, all are instantiated by default.
20756
-Usage: $0 [OPTIONS] [FILE]...
20757
+Usage: $0 [OPTION]... [TAG]...
20759
-h, --help print this help, then exit
20760
- -V, --version print version number, then exit
20761
- -q, --quiet do not print progress messages
20762
+ -V, --version print version number and configuration settings, then exit
20763
+ --config print configuration, then exit
20764
+ -q, --quiet, --silent
20765
+ do not print progress messages
20766
-d, --debug don't remove temporary files
20767
--recheck update $as_me by reconfiguring in the same conditions
20768
- --file=FILE[:TEMPLATE]
20769
- instantiate the configuration file FILE
20770
- --header=FILE[:TEMPLATE]
20771
- instantiate the configuration header FILE
20772
+ --file=FILE[:TEMPLATE]
20773
+ instantiate the configuration file FILE
20774
+ --header=FILE[:TEMPLATE]
20775
+ instantiate the configuration header FILE
20777
Configuration files:
20779
@@ -7047,84 +6139,85 @@ $config_files
20780
Configuration headers:
20783
-Report bugs to <bug-autoconf@gnu.org>."
20785
+Report bugs to <bug-gnats@gnu.org>."
20787
-cat >>$CONFIG_STATUS <<_ACEOF
20789
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20790
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20792
gnats config.status 4.1.0
20793
-configured by $0, generated by GNU Autoconf 2.59,
20794
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20795
+configured by $0, generated by GNU Autoconf 2.65,
20796
+ with options \\"\$ac_cs_config\\"
20798
-Copyright (C) 2003 Free Software Foundation, Inc.
20799
+Copyright (C) 2009 Free Software Foundation, Inc.
20800
This config.status script is free software; the Free Software Foundation
20801
gives unlimited permission to copy, distribute and modify it."
20803
-INSTALL="$INSTALL"
20807
+INSTALL='$INSTALL'
20809
+test -n "\$AWK" || AWK=awk
20812
-cat >>$CONFIG_STATUS <<\_ACEOF
20813
-# If no file are specified by the user, then we need to provide default
20814
-# value. By we need to know if files were specified by the user.
20815
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20816
+# The default lists apply if the user does not specify any file.
20822
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
20823
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20824
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
20825
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20834
- *) # This is not an option, so the user has probably given explicit
20837
- ac_need_defaults=false;;
20841
# Handling of the options.
20843
-cat >>$CONFIG_STATUS <<\_ACEOF
20844
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20846
- --version | --vers* | -V )
20847
- echo "$ac_cs_version"; exit 0 ;;
20849
- # Conflict between --help and --header
20850
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
20851
-Try \`$0 --help' for more information." >&5
20852
-echo "$as_me: error: ambiguous option: $1
20853
-Try \`$0 --help' for more information." >&2;}
20854
- { (exit 1); exit 1; }; };;
20855
- --help | --hel | -h )
20856
- echo "$ac_cs_usage"; exit 0 ;;
20857
- --debug | --d* | -d )
20858
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20859
+ $as_echo "$ac_cs_version"; exit ;;
20860
+ --config | --confi | --conf | --con | --co | --c )
20861
+ $as_echo "$ac_cs_config"; exit ;;
20862
+ --debug | --debu | --deb | --de | --d | -d )
20864
--file | --fil | --fi | --f )
20866
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20867
+ case $ac_optarg in
20868
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20870
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
20871
ac_need_defaults=false;;
20872
--header | --heade | --head | --hea )
20874
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20875
+ case $ac_optarg in
20876
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20878
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20879
ac_need_defaults=false;;
20881
+ # Conflict between --help and --header
20882
+ as_fn_error "ambiguous option: \`$1'
20883
+Try \`$0 --help' for more information.";;
20884
+ --help | --hel | -h )
20885
+ $as_echo "$ac_cs_usage"; exit ;;
20886
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
20887
| -silent | --silent | --silen | --sile | --sil | --si | --s)
20890
# This is an error.
20891
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20892
-Try \`$0 --help' for more information." >&5
20893
-echo "$as_me: error: unrecognized option: $1
20894
-Try \`$0 --help' for more information." >&2;}
20895
- { (exit 1); exit 1; }; } ;;
20896
+ -*) as_fn_error "unrecognized option: \`$1'
20897
+Try \`$0 --help' for more information." ;;
20899
- *) ac_config_targets="$ac_config_targets $1" ;;
20900
+ *) as_fn_append ac_config_targets " $1"
20901
+ ac_need_defaults=false ;;
20905
@@ -7138,31 +6231,45 @@ if $ac_cs_silent; then
20909
-cat >>$CONFIG_STATUS <<_ACEOF
20910
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20911
if \$ac_cs_recheck; then
20912
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20913
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20914
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20916
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20917
+ CONFIG_SHELL='$SHELL'
20918
+ export CONFIG_SHELL
20923
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20924
+exec 5>>config.log
20927
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20928
+## Running $as_me. ##
20930
+ $as_echo "$ac_log"
20934
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20937
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20941
-cat >>$CONFIG_STATUS <<\_ACEOF
20942
+# Handling of arguments.
20943
for ac_config_target in $ac_config_targets
20945
- case "$ac_config_target" in
20946
- # Handling of arguments.
20947
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20948
- "autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;;
20949
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20950
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20951
- { (exit 1); exit 1; }; };;
20952
+ case $ac_config_target in
20953
+ "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;;
20954
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20956
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20961
# If the user did not use the arguments to specify the items to instantiate,
20962
# then the envvar interface is used. Set only those that are not.
20963
# We use the long form for the default assignment because of an extremely
20964
@@ -7173,592 +6280,539 @@ if $ac_need_defaults; then
20967
# Have a temporary directory for convenience. Make it in the build tree
20968
-# simply because there is no reason to put it here, and in addition,
20969
+# simply because there is no reason against having it here, and in addition,
20970
# creating and moving files from /tmp can sometimes cause problems.
20971
-# Create a temporary directory, and hook for its removal unless debugging.
20972
+# Hook for its removal unless debugging.
20973
+# Note that there is a small window in which the directory will not be cleaned:
20974
+# after its creation but before its name has been assigned to `$tmp'.
20977
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20978
- trap '{ (exit 1); exit 1; }' 1 2 13 15
20980
+ trap 'exit_status=$?
20981
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20983
+ trap 'as_fn_exit 1' 1 2 13 15
20986
# Create a (secure) tmp directory for tmp files.
20989
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20990
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20991
test -n "$tmp" && test -d "$tmp"
20994
- tmp=./confstat$$-$RANDOM
20995
- (umask 077 && mkdir $tmp)
20998
- echo "$me: cannot create a temporary directory in ." >&2
20999
- { (exit 1); exit 1; }
21001
+ tmp=./conf$$-$RANDOM
21002
+ (umask 077 && mkdir "$tmp")
21003
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
21005
+# Set up the scripts for CONFIG_FILES section.
21006
+# No need to generate them if there are no CONFIG_FILES.
21007
+# This happens for instance with `./config.status config.h'.
21008
+if test -n "$CONFIG_FILES"; then
21011
+ac_cr=`echo X | tr X '\015'`
21012
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
21013
+# But we know of no other shell where ac_cr would be empty at this
21014
+# point, so we can use a bashism as a fallback.
21015
+if test "x$ac_cr" = x; then
21016
+ eval ac_cr=\$\'\\r\'
21018
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21019
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21020
+ ac_cs_awk_cr='\r'
21022
+ ac_cs_awk_cr=$ac_cr
21025
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
21028
-cat >>$CONFIG_STATUS <<_ACEOF
21031
-# CONFIG_FILES section.
21034
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
21035
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21037
+} >conf$$subs.sh ||
21038
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21039
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21041
+for ac_last_try in false false false false false :; do
21042
+ . ./conf$$subs.sh ||
21043
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21045
-# No need to generate the scripts if there are no CONFIG_FILES.
21046
-# This happens for instance when ./config.status config.h
21047
-if test -n "\$CONFIG_FILES"; then
21048
- # Protect against being on the right side of a sed subst in config.status.
21049
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21050
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21051
-s,@SHELL@,$SHELL,;t t
21052
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21053
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21054
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21055
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21056
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21057
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21058
-s,@exec_prefix@,$exec_prefix,;t t
21059
-s,@prefix@,$prefix,;t t
21060
-s,@program_transform_name@,$program_transform_name,;t t
21061
-s,@bindir@,$bindir,;t t
21062
-s,@sbindir@,$sbindir,;t t
21063
-s,@libexecdir@,$libexecdir,;t t
21064
-s,@datadir@,$datadir,;t t
21065
-s,@sysconfdir@,$sysconfdir,;t t
21066
-s,@sharedstatedir@,$sharedstatedir,;t t
21067
-s,@localstatedir@,$localstatedir,;t t
21068
-s,@libdir@,$libdir,;t t
21069
-s,@includedir@,$includedir,;t t
21070
-s,@oldincludedir@,$oldincludedir,;t t
21071
-s,@infodir@,$infodir,;t t
21072
-s,@mandir@,$mandir,;t t
21073
-s,@build_alias@,$build_alias,;t t
21074
-s,@host_alias@,$host_alias,;t t
21075
-s,@target_alias@,$target_alias,;t t
21076
-s,@DEFS@,$DEFS,;t t
21077
-s,@ECHO_C@,$ECHO_C,;t t
21078
-s,@ECHO_N@,$ECHO_N,;t t
21079
-s,@ECHO_T@,$ECHO_T,;t t
21080
-s,@LIBS@,$LIBS,;t t
21081
-s,@PROGS@,$PROGS,;t t
21084
-s,@CFLAGS@,$CFLAGS,;t t
21085
-s,@LDFLAGS@,$LDFLAGS,;t t
21086
-s,@CPPFLAGS@,$CPPFLAGS,;t t
21087
-s,@ac_ct_CC@,$ac_ct_CC,;t t
21088
-s,@EXEEXT@,$EXEEXT,;t t
21089
-s,@OBJEXT@,$OBJEXT,;t t
21091
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21092
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21093
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21094
-s,@RANLIB@,$RANLIB,;t t
21095
-s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21096
-s,@YACC@,$YACC,;t t
21098
-s,@LEXLIB@,$LEXLIB,;t t
21099
-s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21102
-s,@EGREP@,$EGREP,;t t
21103
-s,@ALLOCA@,$ALLOCA,;t t
21104
-s,@EMACS@,$EMACS,;t t
21105
-s,@lispdir@,$lispdir,;t t
21106
-s,@GNATS_ALL@,$GNATS_ALL,;t t
21107
-s,@GNATS_INSTALL@,$GNATS_INSTALL,;t t
21108
-s,@KRB4@,$KRB4,;t t
21109
-s,@HAVE_KERBEROS@,$HAVE_KERBEROS,;t t
21110
-s,@KRBINCLUDE@,$KRBINCLUDE,;t t
21111
-s,@EXTRA_OBJS@,$EXTRA_OBJS,;t t
21112
-s,@GNATS_SERVICE@,$GNATS_SERVICE,;t t
21113
-s,@GNATS_USER@,$GNATS_USER,;t t
21114
-s,@DEFAULT_RELEASE@,$DEFAULT_RELEASE,;t t
21115
-s,@DEFAULT_ORGANIZATION@,$DEFAULT_ORGANIZATION,;t t
21116
-s,@SUBMITTER@,$SUBMITTER,;t t
21117
-s,@DEFAULT_MAIL_AGENT@,$DEFAULT_MAIL_AGENT,;t t
21118
-s,@BWEEK_START@,$BWEEK_START,;t t
21119
-s,@BWEEK_END@,$BWEEK_END,;t t
21120
-s,@BDAY_START@,$BDAY_START,;t t
21121
-s,@BDAY_END@,$BDAY_END,;t t
21122
-s,@GNATSD_USER_ACCESS_FILE@,$GNATSD_USER_ACCESS_FILE,;t t
21123
-s,@GNATSD_HOST_ACCESS_FILE@,$GNATSD_HOST_ACCESS_FILE,;t t
21124
-s,@GLOBAL_DB_LIST_FILE@,$GLOBAL_DB_LIST_FILE,;t t
21125
-s,@GNATS_DEFAULT_DB_DIR@,$GNATS_DEFAULT_DB_DIR,;t t
21126
-s,@GCC_CFLAGS@,$GCC_CFLAGS,;t t
21127
-s,@SENDMAIL@,$SENDMAIL,;t t
21128
-s,@LIBOBJS@,$LIBOBJS,;t t
21129
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21134
- cat >>$CONFIG_STATUS <<\_ACEOF
21135
- # Split the substitutions into bite-sized pieces for seds with
21136
- # small command number limits, like on Digital OSF/1 and HP-UX.
21137
- ac_max_sed_lines=48
21138
- ac_sed_frag=1 # Number of current file.
21139
- ac_beg=1 # First line for current file.
21140
- ac_end=$ac_max_sed_lines # Line after last line for current file.
21143
- while $ac_more_lines; do
21144
- if test $ac_beg -gt 1; then
21145
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21147
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21149
- if test ! -s $tmp/subs.frag; then
21150
- ac_more_lines=false
21152
- # The purpose of the label and of the branching condition is to
21153
- # speed up the sed processing (if there are no `@' at all, there
21154
- # is no need to browse any of the substitutions).
21155
- # These are the two extra sed commands mentioned above.
21157
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21158
- if test -z "$ac_sed_cmds"; then
21159
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21161
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21163
- ac_sed_frag=`expr $ac_sed_frag + 1`
21165
- ac_end=`expr $ac_end + $ac_max_sed_lines`
21168
- if test -z "$ac_sed_cmds"; then
21170
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21171
+ if test $ac_delim_n = $ac_delim_num; then
21173
+ elif $ac_last_try; then
21174
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21176
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21179
+rm -f conf$$subs.sh
21181
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21182
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
21186
+s/^/S["/; s/!.*/"]=/
21192
+s/'"$ac_delim"'$//
21196
+s/\(.\{148\}\)..*/\1/
21198
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21203
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21210
+s/\(.\{148\}\)..*/\1/
21212
+s/["\\]/\\&/g; s/^/"/; s/$/"/
21216
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21221
+' <conf$$subs.awk | sed '
21226
+' >>$CONFIG_STATUS || ac_write_fail=1
21227
+rm -f conf$$subs.awk
21228
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21230
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
21231
+ for (key in S) S_is_set[key] = 1
21237
+ nfields = split(line, field, "@")
21239
+ len = length(field[1])
21240
+ for (i = 2; i < nfields; i++) {
21242
+ keylen = length(key)
21243
+ if (S_is_set[key]) {
21245
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21246
+ len += length(value) + length(field[++i])
21249
+ len += 1 + keylen
21257
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21258
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21259
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21262
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
21263
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
21266
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
21267
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21268
+# trailing colons and then remove the whole line if VPATH becomes empty
21269
+# (actually we leave an empty line to preserve line numbers).
21270
+if test "x$srcdir" = x.; then
21271
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
21272
+s/:*\$(srcdir):*/:/
21273
+s/:*\${srcdir}:*/:/
21275
+s/^\([^=]*=[ ]*\):*/\1/
21281
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21282
fi # test -n "$CONFIG_FILES"
21284
+# Set up the scripts for CONFIG_HEADERS section.
21285
+# No need to generate them if there are no CONFIG_HEADERS.
21286
+# This happens for instance with `./config.status Makefile'.
21287
+if test -n "$CONFIG_HEADERS"; then
21288
+cat >"$tmp/defines.awk" <<\_ACAWK ||
21292
+# Transform confdefs.h into an awk script `defines.awk', embedded as
21293
+# here-document in config.status, that substitutes the proper values into
21294
+# config.h.in to produce config.h.
21296
+# Create a delimiter string that does not exist in confdefs.h, to ease
21297
+# handling of long lines.
21299
+for ac_last_try in false false :; do
21300
+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21301
+ if test -z "$ac_t"; then
21303
+ elif $ac_last_try; then
21304
+ as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
21306
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21310
+# For the awk script, D is an array of macro values keyed by name,
21311
+# likewise P contains macro parameters if any. Preserve backslash
21312
+# newline sequences.
21314
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21316
+s/.\{148\}/&'"$ac_delim"'/g
21319
+s/^[ ]*#[ ]*define[ ][ ]*/ /
21326
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21328
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21332
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21333
+D["\1"]=" \3\\\\\\n"\\/p
21335
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21340
+s/.\{148\}/&'"$ac_delim"'/g
21345
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
21348
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21350
+' <confdefs.h | sed '
21351
+s/'"$ac_delim"'/"\\\
21352
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
21354
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21355
+ for (key in D) D_is_set[key] = 1
21358
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21360
+ split(line, arg, " ")
21361
+ if (arg[1] == "#") {
21362
+ defundef = arg[2]
21365
+ defundef = substr(arg[1], 2)
21368
+ split(mac1, mac2, "(") #)
21370
+ prefix = substr(line, 1, index(line, defundef) - 1)
21371
+ if (D_is_set[macro]) {
21372
+ # Preserve the white space surrounding the "#".
21373
+ print prefix "define", macro P[macro] D[macro]
21376
+ # Replace #undef with comments. This is necessary, for example,
21377
+ # in the case of _POSIX_SOURCE, which is predefined and required
21378
+ # on some systems where configure will not decide to define it.
21379
+ if (defundef == "undef") {
21380
+ print "/*", prefix defundef, macro, "*/"
21388
-cat >>$CONFIG_STATUS <<\_ACEOF
21389
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21390
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21392
- - | *:- | *:-:* ) # input from stdin
21394
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21395
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21396
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21397
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21398
- * ) ac_file_in=$ac_file.in ;;
21399
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21400
+ as_fn_error "could not setup config headers machinery" "$LINENO" 5
21401
+fi # test -n "$CONFIG_HEADERS"
21404
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
21409
+ :[FHLC]) ac_mode=$ac_tag; continue;;
21411
+ case $ac_mode$ac_tag in
21413
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
21414
+ :[FH]-) ac_tag=-:-;;
21415
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21426
+ :L) ac_source=$1;;
21432
+ -) ac_f="$tmp/stdin";;
21433
+ *) # Look for the file first in the build tree, then in the source tree
21434
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
21435
+ # because $ac_f cannot contain `:'.
21436
+ test -f "$ac_f" ||
21439
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21441
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21443
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21444
+ as_fn_append ac_file_inputs " '$ac_f'"
21447
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
21448
+ # use $as_me), people would be surprised to read:
21449
+ # /* config.h. Generated by config.status. */
21450
+ configure_input='Generated from '`
21451
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21452
+ `' by configure.'
21453
+ if test x"$ac_file" != x-; then
21454
+ configure_input="$ac_file. $configure_input"
21455
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21456
+$as_echo "$as_me: creating $ac_file" >&6;}
21458
+ # Neutralize special characters interpreted by sed in replacement strings.
21459
+ case $configure_input in #(
21460
+ *\&* | *\|* | *\\* )
21461
+ ac_sed_conf_input=`$as_echo "$configure_input" |
21462
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
21463
+ *) ac_sed_conf_input=$configure_input;;
21467
+ *:-:* | *:-) cat >"$tmp/stdin" \
21468
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
21473
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21474
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21475
+ ac_dir=`$as_dirname -- "$ac_file" ||
21476
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21477
X"$ac_file" : 'X\(//\)[^/]' \| \
21478
X"$ac_file" : 'X\(//\)$' \| \
21479
- X"$ac_file" : 'X\(/\)' \| \
21480
- . : '\(.\)' 2>/dev/null ||
21481
-echo X"$ac_file" |
21482
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21483
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21484
- /^X\(\/\/\)$/{ s//\1/; q; }
21485
- /^X\(\/\).*/{ s//\1/; q; }
21487
- { if $as_mkdir_p; then
21488
- mkdir -p "$ac_dir"
21492
- while test ! -d "$as_dir"; do
21493
- as_dirs="$as_dir $as_dirs"
21494
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
21495
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21496
- X"$as_dir" : 'X\(//\)[^/]' \| \
21497
- X"$as_dir" : 'X\(//\)$' \| \
21498
- X"$as_dir" : 'X\(/\)' \| \
21499
- . : '\(.\)' 2>/dev/null ||
21501
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21502
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21503
- /^X\(\/\/\)$/{ s//\1/; q; }
21504
- /^X\(\/\).*/{ s//\1/; q; }
21507
- test ! -n "$as_dirs" || mkdir $as_dirs
21508
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21509
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21510
- { (exit 1); exit 1; }; }; }
21512
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21513
+$as_echo X"$ac_file" |
21514
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21518
+ /^X\(\/\/\)[^/].*/{
21531
+ as_dir="$ac_dir"; as_fn_mkdir_p
21534
-if test "$ac_dir" != .; then
21535
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21536
- # A "../" for each directory in $ac_dir_suffix.
21537
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21539
- ac_dir_suffix= ac_top_builddir=
21542
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21544
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21545
+ # A ".." for each directory in $ac_dir_suffix.
21546
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21547
+ case $ac_top_builddir_sub in
21548
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21549
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21552
+ac_abs_top_builddir=$ac_pwd
21553
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
21554
+# for backward compatibility:
21555
+ac_top_builddir=$ac_top_build_prefix
21558
- .) # No --srcdir option. We are building in place.
21559
+ .) # We are building in place.
21561
- if test -z "$ac_top_builddir"; then
21564
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21566
- [\\/]* | ?:[\\/]* ) # Absolute path.
21567
+ ac_top_srcdir=$ac_top_builddir_sub
21568
+ ac_abs_top_srcdir=$ac_pwd ;;
21569
+ [\\/]* | ?:[\\/]* ) # Absolute name.
21570
ac_srcdir=$srcdir$ac_dir_suffix;
21571
- ac_top_srcdir=$srcdir ;;
21572
- *) # Relative path.
21573
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21574
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
21575
+ ac_top_srcdir=$srcdir
21576
+ ac_abs_top_srcdir=$srcdir ;;
21577
+ *) # Relative name.
21578
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21579
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
21580
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21582
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21584
-# Do not use `cd foo && pwd` to compute absolute paths, because
21585
-# the directories may not exist.
21587
-.) ac_abs_builddir="$ac_dir";;
21589
- case "$ac_dir" in
21590
- .) ac_abs_builddir=`pwd`;;
21591
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21592
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
21595
-case $ac_abs_builddir in
21596
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
21598
- case ${ac_top_builddir}. in
21599
- .) ac_abs_top_builddir=$ac_abs_builddir;;
21600
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21601
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21604
-case $ac_abs_builddir in
21605
-.) ac_abs_srcdir=$ac_srcdir;;
21607
- case $ac_srcdir in
21608
- .) ac_abs_srcdir=$ac_abs_builddir;;
21609
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21610
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21613
-case $ac_abs_builddir in
21614
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
21616
- case $ac_top_srcdir in
21617
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
21618
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21619
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21630
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21631
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21632
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21636
- if test x"$ac_file" != x-; then
21637
- { echo "$as_me:$LINENO: creating $ac_file" >&5
21638
-echo "$as_me: creating $ac_file" >&6;}
21641
- # Let's still pretend it is `configure' which instantiates (i.e., don't
21642
- # use $as_me), people would be surprised to read:
21643
- # /* config.h. Generated by config.status. */
21644
- if test x"$ac_file" = x-; then
21647
- configure_input="$ac_file. "
21649
- configure_input=$configure_input"Generated from `echo $ac_file_in |
21650
- sed 's,.*/,,'` by configure."
21652
- # First look for the input files in the build tree, otherwise in the
21654
- ac_file_inputs=`IFS=:
21655
- for f in $ac_file_in; do
21657
- -) echo $tmp/stdin ;;
21659
- # Absolute (can't be DOS-style, as IFS=:)
21660
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21661
-echo "$as_me: error: cannot find input file: $f" >&2;}
21662
- { (exit 1); exit 1; }; }
21665
- if test -f "$f"; then
21668
- elif test -f "$srcdir/$f"; then
21670
- echo "$srcdir/$f"
21673
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21674
-echo "$as_me: error: cannot find input file: $f" >&2;}
21675
- { (exit 1); exit 1; }; }
21678
- done` || { (exit 1); exit 1; }
21679
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21680
+# If the template does not know about datarootdir, expand it.
21681
+# FIXME: This hack should be removed a few years after 2.60.
21682
+ac_datarootdir_hack=; ac_datarootdir_seen=
21693
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21694
+*datarootdir*) ac_datarootdir_seen=yes;;
21695
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21696
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21697
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21699
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21700
+ ac_datarootdir_hack='
21701
+ s&@datadir@&$datadir&g
21702
+ s&@docdir@&$docdir&g
21703
+ s&@infodir@&$infodir&g
21704
+ s&@localedir@&$localedir&g
21705
+ s&@mandir@&$mandir&g
21706
+ s&\\\${datarootdir}&$datarootdir&g' ;;
21709
-cat >>$CONFIG_STATUS <<_ACEOF
21712
+# Neutralize VPATH when `$srcdir' = `.'.
21713
+# Shell code in configure.ac might set extrasub.
21714
+# FIXME: do we really want to maintain this feature?
21715
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21716
+ac_sed_extra="$ac_vpsub
21719
-cat >>$CONFIG_STATUS <<\_ACEOF
21720
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21722
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21723
-s,@configure_input@,$configure_input,;t t
21724
-s,@srcdir@,$ac_srcdir,;t t
21725
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
21726
-s,@top_srcdir@,$ac_top_srcdir,;t t
21727
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21728
-s,@builddir@,$ac_builddir,;t t
21729
-s,@abs_builddir@,$ac_abs_builddir,;t t
21730
-s,@top_builddir@,$ac_top_builddir,;t t
21731
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21732
-s,@INSTALL@,$ac_INSTALL,;t t
21733
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21735
- if test x"$ac_file" != x-; then
21736
- mv $tmp/out $ac_file
21744
-cat >>$CONFIG_STATUS <<\_ACEOF
21747
-# CONFIG_HEADER section.
21750
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21751
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
21753
-# ac_d sets the value in "#define NAME VALUE" lines.
21754
-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21755
-ac_dB='[ ].*$,\1#\2'
21758
-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21759
-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21760
-ac_uB='$,\1#\2define\3'
21763
+s|@configure_input@|$ac_sed_conf_input|;t t
21764
+s&@top_builddir@&$ac_top_builddir_sub&;t t
21765
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
21766
+s&@srcdir@&$ac_srcdir&;t t
21767
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
21768
+s&@top_srcdir@&$ac_top_srcdir&;t t
21769
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21770
+s&@builddir@&$ac_builddir&;t t
21771
+s&@abs_builddir@&$ac_abs_builddir&;t t
21772
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21773
+s&@INSTALL@&$ac_INSTALL&;t t
21774
+$ac_datarootdir_hack
21776
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21777
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
21779
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21780
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21781
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21782
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21783
+which seems to be undefined. Please make sure it is defined." >&5
21784
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21785
+which seems to be undefined. Please make sure it is defined." >&2;}
21787
-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21788
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21789
+ rm -f "$tmp/stdin"
21791
- - | *:- | *:-:* ) # input from stdin
21793
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21794
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21795
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21796
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21797
- * ) ac_file_in=$ac_file.in ;;
21800
- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21801
-echo "$as_me: creating $ac_file" >&6;}
21803
- # First look for the input files in the build tree, otherwise in the
21805
- ac_file_inputs=`IFS=:
21806
- for f in $ac_file_in; do
21808
- -) echo $tmp/stdin ;;
21810
- # Absolute (can't be DOS-style, as IFS=:)
21811
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21812
-echo "$as_me: error: cannot find input file: $f" >&2;}
21813
- { (exit 1); exit 1; }; }
21814
- # Do quote $f, to prevent DOS paths from being IFS'd.
21817
- if test -f "$f"; then
21820
- elif test -f "$srcdir/$f"; then
21822
- echo "$srcdir/$f"
21825
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21826
-echo "$as_me: error: cannot find input file: $f" >&2;}
21827
- { (exit 1); exit 1; }; }
21830
- done` || { (exit 1); exit 1; }
21831
- # Remove the trailing spaces.
21832
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21836
-# Transform confdefs.h into two sed scripts, `conftest.defines' and
21837
-# `conftest.undefs', that substitutes the proper values into
21838
-# config.h.in to produce config.h. The first handles `#define'
21839
-# templates, and the second `#undef' templates.
21840
-# And first: Protect against being on the right side of a sed subst in
21841
-# config.status. Protect against being in an unquoted here document
21842
-# in config.status.
21843
-rm -f conftest.defines conftest.undefs
21844
-# Using a here document instead of a string reduces the quoting nightmare.
21845
-# Putting comments in sed scripts is not portable.
21847
-# `end' is used to avoid that the second main sed command (meant for
21848
-# 0-ary CPP macros) applies to n-ary macro definitions.
21849
-# See the Autoconf documentation for `clear'.
21850
-cat >confdef2sed.sed <<\_ACEOF
21855
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21857
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21860
-# If some macros were called several times there might be several times
21861
-# the same #defines, which is useless. Nevertheless, we may not want to
21862
-# sort them, since we want the *last* AC-DEFINE to be honored.
21863
-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21864
-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21865
-rm -f confdef2sed.sed
21867
-# This sed command replaces #undef with comments. This is necessary, for
21868
-# example, in the case of _POSIX_SOURCE, which is predefined and required
21869
-# on some systems where configure will not decide to define it.
21870
-cat >>conftest.undefs <<\_ACEOF
21871
-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21874
-# Break up conftest.defines because some shells have a limit on the size
21875
-# of here documents, and old seds have small limits too (100 cmds).
21876
-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21877
-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21878
-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21879
-echo ' :' >>$CONFIG_STATUS
21880
-rm -f conftest.tail
21881
-while grep . conftest.defines >/dev/null
21883
- # Write a limited-size here document to $tmp/defines.sed.
21884
- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21885
- # Speed up: don't consider the non `#define' lines.
21886
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21887
- # Work around the forget-to-reset-the-flag bug.
21888
- echo 't clr' >>$CONFIG_STATUS
21889
- echo ': clr' >>$CONFIG_STATUS
21890
- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21892
- sed -f $tmp/defines.sed $tmp/in >$tmp/out
21894
- mv $tmp/out $tmp/in
21895
-' >>$CONFIG_STATUS
21896
- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21897
- rm -f conftest.defines
21898
- mv conftest.tail conftest.defines
21900
-rm -f conftest.defines
21901
-echo ' fi # grep' >>$CONFIG_STATUS
21902
-echo >>$CONFIG_STATUS
21904
-# Break up conftest.undefs because some shells have a limit on the size
21905
-# of here documents, and old seds have small limits too (100 cmds).
21906
-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21907
-rm -f conftest.tail
21908
-while grep . conftest.undefs >/dev/null
21910
- # Write a limited-size here document to $tmp/undefs.sed.
21911
- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21912
- # Speed up: don't consider the non `#undef'
21913
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21914
- # Work around the forget-to-reset-the-flag bug.
21915
- echo 't clr' >>$CONFIG_STATUS
21916
- echo ': clr' >>$CONFIG_STATUS
21917
- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21919
- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21921
- mv $tmp/out $tmp/in
21922
-' >>$CONFIG_STATUS
21923
- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21924
- rm -f conftest.undefs
21925
- mv conftest.tail conftest.undefs
21927
-rm -f conftest.undefs
21929
-cat >>$CONFIG_STATUS <<\_ACEOF
21930
- # Let's still pretend it is `configure' which instantiates (i.e., don't
21931
- # use $as_me), people would be surprised to read:
21932
- # /* config.h. Generated by config.status. */
21933
- if test x"$ac_file" = x-; then
21934
- echo "/* Generated by configure. */" >$tmp/config.h
21936
- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21938
- cat $tmp/in >>$tmp/config.h
21940
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
21941
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21943
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
21949
if test x"$ac_file" != x-; then
21950
- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21951
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21952
-echo "$as_me: $ac_file is unchanged" >&6;}
21954
+ $as_echo "/* $configure_input */" \
21955
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21956
+ } >"$tmp/config.h" \
21957
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
21958
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21959
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21960
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
21962
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21963
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21964
- X"$ac_file" : 'X\(//\)[^/]' \| \
21965
- X"$ac_file" : 'X\(//\)$' \| \
21966
- X"$ac_file" : 'X\(/\)' \| \
21967
- . : '\(.\)' 2>/dev/null ||
21968
-echo X"$ac_file" |
21969
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21970
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21971
- /^X\(\/\/\)$/{ s//\1/; q; }
21972
- /^X\(\/\).*/{ s//\1/; q; }
21974
- { if $as_mkdir_p; then
21975
- mkdir -p "$ac_dir"
21979
- while test ! -d "$as_dir"; do
21980
- as_dirs="$as_dir $as_dirs"
21981
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
21982
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21983
- X"$as_dir" : 'X\(//\)[^/]' \| \
21984
- X"$as_dir" : 'X\(//\)$' \| \
21985
- X"$as_dir" : 'X\(/\)' \| \
21986
- . : '\(.\)' 2>/dev/null ||
21988
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21989
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21990
- /^X\(\/\/\)$/{ s//\1/; q; }
21991
- /^X\(\/\).*/{ s//\1/; q; }
21994
- test ! -n "$as_dirs" || mkdir $as_dirs
21995
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21996
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21997
- { (exit 1); exit 1; }; }; }
22000
- mv $tmp/config.h $ac_file
22002
+ mv "$tmp/config.h" "$ac_file" \
22003
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
22006
- cat $tmp/config.h
22007
- rm -f $tmp/config.h
22008
+ $as_echo "/* $configure_input */" \
22009
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22010
+ || as_fn_error "could not create -" "$LINENO" 5
22021
-cat >>$CONFIG_STATUS <<\_ACEOF
22023
-{ (exit 0); exit 0; }
22026
-chmod +x $CONFIG_STATUS
22027
ac_clean_files=$ac_clean_files_save
22029
+test $ac_write_fail = 0 ||
22030
+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
22033
# configure is writing to config.log, and then calls config.status.
22034
# config.status does its own redirection, appending to config.log.
22035
@@ -7778,6 +6832,10 @@ if test "$no_create" != yes; then
22037
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
22038
# would make configure fail if this is the last instruction.
22039
- $ac_cs_success || { (exit 1); exit 1; }
22040
+ $ac_cs_success || as_fn_exit $?
22042
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22043
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22044
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22047
--- gnats-4.1.0.orig/gnats/edit-pr.sh
22048
+++ gnats-4.1.0/gnats/edit-pr.sh
22049
@@ -169,7 +169,7 @@ do
22050
type="`$QUERY_PR --field-type $field`"
22053
- values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;`
22054
+ values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;'`
22055
valslen=`echo "$values" | wc -c`
22056
if [ "$valslen" -gt 160 ]
22058
--- gnats-4.1.0.orig/gnats/fconfig.h
22059
+++ gnats-4.1.0/gnats/fconfig.h
22061
-#ifndef BISON_FCONFIG_TAB_H
22062
-# define BISON_FCONFIG_TAB_H
22063
+/* A Bison parser, made by GNU Bison 1.875d. */
22067
+/* Skeleton parser for Yacc-like parsing with Bison,
22068
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
22070
+ This program is free software; you can redistribute it and/or modify
22071
+ it under the terms of the GNU General Public License as published by
22072
+ the Free Software Foundation; either version 2, or (at your option)
22073
+ any later version.
22075
+ This program is distributed in the hope that it will be useful,
22076
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22077
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22078
+ GNU General Public License for more details.
22080
+ You should have received a copy of the GNU General Public License
22081
+ along with this program; if not, write to the Free Software
22082
+ Foundation, Inc., 59 Temple Place - Suite 330,
22083
+ Boston, MA 02111-1307, USA. */
22085
+/* As a special exception, when this file is copied by Bison into a
22086
+ Bison output file, you may use that output file without restriction.
22087
+ This special exception was added by the Free Software Foundation
22088
+ in version 1.24 of Bison. */
22091
+#ifndef YYTOKENTYPE
22092
+# define YYTOKENTYPE
22093
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
22094
+ know about them. */
22095
+ enum yytokentype {
22097
+ STRINGTYPE = 259,
22101
+ MULTIENUMTOK = 263,
22104
+ EXACT_REGEXP = 266,
22105
+ INEXACT_REGEXP = 267,
22108
+ ENUMSEPARATORSTOK = 270,
22109
+ MULTITEXTTYPE = 271,
22111
+ ENUM_IN_FILE = 273,
22112
+ MULTI_ENUM_IN_FILE = 274,
22118
+ TEXTSEARCH = 280,
22122
+ SEPARATORTOK = 284,
22123
+ RESTRICTEDTOK = 285,
22124
+ NOSPACESTOK = 286,
22125
+ INTEGERTOK = 287,
22126
+ INPUTDEFAULTTOK = 288,
22127
+ BUILTINTOK = 289,
22128
+ ALLOWANYVALUETOK = 290,
22129
+ REQUIRETOK = 291,
22130
+ APPENDFIELDTOK = 292,
22131
+ SETFIELDTOK = 293,
22133
+ DESCRIPTIONTOK = 295,
22135
+ DATABASEINFOTOK = 297,
22136
+ DEBUGMODETOK = 298,
22137
+ KEEPRECTOK = 299,
22138
+ NOTIFYEXPTOK = 300,
22139
+ LIBEXECDIRTOK = 301,
22140
+ SUBMITTERACKTOK = 302,
22141
+ BUSINESSDAYTOK = 303,
22142
+ BUSINESSWEEKTOK = 304,
22143
+ CREATECATEGORYDIRSTOK = 305,
22146
+ MAILFORMATTOK = 308,
22147
+ TOADDRESSESTOK = 309,
22148
+ FROMADDRESSTOK = 310,
22149
+ REPLYTOTOK = 311,
22153
+ AUDITTRAILFMTTOK = 315,
22154
+ ADDAUDITTRAILTOK = 316,
22155
+ REQUIRECHANGEREASONTOK = 317,
22156
+ READONLYTOK = 318,
22157
+ BINARYINDEXTOK = 319,
22160
+ AUXFLAGSTOK = 322,
22163
+ EDITONLYTOK = 325,
22164
+ VIRTUALFORMATTOK = 326,
22165
+ CATPERMSTOK = 327
22169
+#define STRINGTYPE 259
22170
+#define QDEFAULT 260
22171
+#define MATCHING 261
22173
+#define MULTIENUMTOK 263
22174
+#define VALUES 264
22175
+#define DEFAULT 265
22176
+#define EXACT_REGEXP 266
22177
+#define INEXACT_REGEXP 267
22179
+#define FORMAT 269
22180
+#define ENUMSEPARATORSTOK 270
22181
+#define MULTITEXTTYPE 271
22182
+#define DATETYPE 272
22183
+#define ENUM_IN_FILE 273
22184
+#define MULTI_ENUM_IN_FILE 274
22185
+#define PATHTOK 275
22186
+#define FIELDSTOK 276
22187
+#define KEYTOK 277
22188
+#define QSTRING 278
22189
+#define INTVAL 279
22190
+#define TEXTSEARCH 280
22191
+#define QUERYTOK 281
22192
+#define FORMATTOK 282
22193
+#define INDEXTOK 283
22194
+#define SEPARATORTOK 284
22195
+#define RESTRICTEDTOK 285
22196
+#define NOSPACESTOK 286
22197
+#define INTEGERTOK 287
22198
+#define INPUTDEFAULTTOK 288
22199
+#define BUILTINTOK 289
22200
+#define ALLOWANYVALUETOK 290
22201
+#define REQUIRETOK 291
22202
+#define APPENDFIELDTOK 292
22203
+#define SETFIELDTOK 293
22204
+#define CHANGETOK 294
22205
+#define DESCRIPTIONTOK 295
22206
+#define INPUTTOK 296
22207
+#define DATABASEINFOTOK 297
22208
+#define DEBUGMODETOK 298
22209
+#define KEEPRECTOK 299
22210
+#define NOTIFYEXPTOK 300
22211
+#define LIBEXECDIRTOK 301
22212
+#define SUBMITTERACKTOK 302
22213
+#define BUSINESSDAYTOK 303
22214
+#define BUSINESSWEEKTOK 304
22215
+#define CREATECATEGORYDIRSTOK 305
22216
+#define FALSETOK 306
22217
+#define TRUETOK 307
22218
+#define MAILFORMATTOK 308
22219
+#define TOADDRESSESTOK 309
22220
+#define FROMADDRESSTOK 310
22221
+#define REPLYTOTOK 311
22222
+#define FIXEDTOK 312
22223
+#define BODYTOK 313
22224
+#define HEADERTOK 314
22225
+#define AUDITTRAILFMTTOK 315
22226
+#define ADDAUDITTRAILTOK 316
22227
+#define REQUIRECHANGEREASONTOK 317
22228
+#define READONLYTOK 318
22229
+#define BINARYINDEXTOK 319
22230
+#define RAWTOK 320
22231
+#define BADTOK 321
22232
+#define AUXFLAGSTOK 322
22233
+#define PRLISTTOK 323
22234
+#define MAXPRSTOK 324
22235
+#define EDITONLYTOK 325
22236
+#define VIRTUALFORMATTOK 326
22237
+#define CATPERMSTOK 327
22242
+#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
22243
+#line 21 "./fconfig.y"
22244
+typedef union YYSTYPE {
22247
struct qstring *qstr;
22248
@@ -12,82 +187,15 @@ typedef union {
22249
InputTemplate *inputlist;
22250
MailAddress *mailaddr;
22251
MailAddressList *mailaddrlist;
22253
-# define YYSTYPE yystype
22255
+/* Line 1285 of yacc.c. */
22256
+#line 193 "fconfig.tab.h"
22257
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
22258
+# define YYSTYPE_IS_DECLARED 1
22259
# define YYSTYPE_IS_TRIVIAL 1
22261
-# define FIELD 257
22262
-# define STRINGTYPE 258
22263
-# define QDEFAULT 259
22264
-# define MATCHING 260
22266
-# define MULTIENUMTOK 262
22267
-# define VALUES 263
22268
-# define DEFAULT 264
22269
-# define EXACT_REGEXP 265
22270
-# define INEXACT_REGEXP 266
22272
-# define FORMAT 268
22273
-# define ENUMSEPARATORSTOK 269
22274
-# define MULTITEXTTYPE 270
22275
-# define DATETYPE 271
22276
-# define ENUM_IN_FILE 272
22277
-# define MULTI_ENUM_IN_FILE 273
22278
-# define PATHTOK 274
22279
-# define FIELDSTOK 275
22280
-# define KEYTOK 276
22281
-# define QSTRING 277
22282
-# define INTVAL 278
22283
-# define TEXTSEARCH 279
22284
-# define QUERYTOK 280
22285
-# define FORMATTOK 281
22286
-# define INDEXTOK 282
22287
-# define SEPARATORTOK 283
22288
-# define RESTRICTEDTOK 284
22289
-# define NOSPACESTOK 285
22290
-# define INTEGERTOK 286
22291
-# define INPUTDEFAULTTOK 287
22292
-# define BUILTINTOK 288
22293
-# define ALLOWANYVALUETOK 289
22294
-# define REQUIRETOK 290
22295
-# define APPENDFIELDTOK 291
22296
-# define SETFIELDTOK 292
22297
-# define CHANGETOK 293
22298
-# define DESCRIPTIONTOK 294
22299
-# define INPUTTOK 295
22300
-# define DATABASEINFOTOK 296
22301
-# define DEBUGMODETOK 297
22302
-# define KEEPRECTOK 298
22303
-# define NOTIFYEXPTOK 299
22304
-# define LIBEXECDIRTOK 300
22305
-# define SUBMITTERACKTOK 301
22306
-# define BUSINESSDAYTOK 302
22307
-# define BUSINESSWEEKTOK 303
22308
-# define CREATECATEGORYDIRSTOK 304
22309
-# define FALSETOK 305
22310
-# define TRUETOK 306
22311
-# define MAILFORMATTOK 307
22312
-# define TOADDRESSESTOK 308
22313
-# define FROMADDRESSTOK 309
22314
-# define REPLYTOTOK 310
22315
-# define FIXEDTOK 311
22316
-# define BODYTOK 312
22317
-# define HEADERTOK 313
22318
-# define AUDITTRAILFMTTOK 314
22319
-# define ADDAUDITTRAILTOK 315
22320
-# define REQUIRECHANGEREASONTOK 316
22321
-# define READONLYTOK 317
22322
-# define BINARYINDEXTOK 318
22323
-# define RAWTOK 319
22324
-# define BADTOK 320
22325
-# define AUXFLAGSTOK 321
22326
-# define PRLISTTOK 322
22327
-# define MAXPRSTOK 323
22328
-# define EDITONLYTOK 324
22329
-# define VIRTUALFORMATTOK 325
22330
-# define CATPERMSTOK 326
22333
extern YYSTYPE fconflval;
22335
-#endif /* not BISON_FCONFIG_TAB_H */
22338
--- gnats-4.1.0.orig/gnats/mkdb.sh
22339
+++ gnats-4.1.0/gnats/mkdb.sh
22340
@@ -60,7 +60,7 @@ fi
22341
dbdir=`grep "^${database}:" $DATABASES | sed -n 's/^'${database}':[^:]*:\([^:]*\)$/\1/p'`
22342
if [ -z "${dbdir}" ]
22344
- echo "$prog: No proper entry for \`${database}' in \`$DATABASES':\n"`grep "^${database}:" $DATABASES`
22345
+ echo "$prog: No proper entry for "${database}" in "$DATABASES":\n"`grep "^${database}:" $DATABASES`
22349
--- gnats-4.1.0.orig/gnats/autoconf.h.in
22350
+++ gnats-4.1.0/gnats/autoconf.h.in
22352
/* autoconf.h.in. Generated from configure.in by autoheader. */
22353
/* GNATS specific autoconf symbols.
22354
- Copyright (C) 2004 Free Software Foundation, Inc.
22355
Copyright (C) 2001 Milan Zamazal
22356
Copyright (C) 1995, 1996 ??? (FIXME, see ChangeLog.v3)
22358
@@ -179,12 +178,15 @@ Software Foundation, 59 Temple Place - S
22359
/* Define to the one symbol short name of this package. */
22360
#undef PACKAGE_TARNAME
22362
+/* Define to the home page for this package. */
22363
+#undef PACKAGE_URL
22365
/* Define to the version of this package. */
22366
#undef PACKAGE_VERSION
22368
/* If using the C implementation of alloca, define if you know the
22369
direction of stack growth for your system; otherwise it will be
22370
- automatically deduced at run-time.
22371
+ automatically deduced at runtime.
22372
STACK_DIRECTION > 0 => grows toward higher addresses
22373
STACK_DIRECTION < 0 => grows toward lower addresses
22374
STACK_DIRECTION = 0 => direction of growth unknown */
22375
@@ -193,16 +195,31 @@ Software Foundation, 59 Temple Place - S
22376
/* Define to 1 if you have the ANSI C header files. */
22377
#undef STDC_HEADERS
22379
-/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
22381
-#undef YYTEXT_POINTER
22383
-/* Define to 1 if on AIX 3.
22384
- System headers sometimes define this.
22385
- We just want to avoid a redefinition error message. */
22386
+/* Enable extensions on AIX 3, Interix. */
22387
#ifndef _ALL_SOURCE
22388
# undef _ALL_SOURCE
22390
+/* Enable GNU extensions on systems that have them. */
22391
+#ifndef _GNU_SOURCE
22392
+# undef _GNU_SOURCE
22394
+/* Enable threading extensions on Solaris. */
22395
+#ifndef _POSIX_PTHREAD_SEMANTICS
22396
+# undef _POSIX_PTHREAD_SEMANTICS
22398
+/* Enable extensions on HP NonStop. */
22399
+#ifndef _TANDEM_SOURCE
22400
+# undef _TANDEM_SOURCE
22402
+/* Enable general extensions on Solaris. */
22403
+#ifndef __EXTENSIONS__
22404
+# undef __EXTENSIONS__
22408
+/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
22410
+#undef YYTEXT_POINTER
22412
/* Define to 1 if on MINIX. */
22414
@@ -214,5 +231,5 @@ Software Foundation, 59 Temple Place - S
22415
/* Define to 1 if you need to in order for `stat' and other things to work. */
22416
#undef _POSIX_SOURCE
22418
-/* Define to `unsigned' if <sys/types.h> does not define. */
22419
+/* Define to `unsigned int' if <sys/types.h> does not define. */
22421
--- gnats-4.1.0.orig/gnats/getdate.y
22422
+++ gnats-4.1.0/gnats/getdate.y
22423
@@ -378,19 +378,19 @@ relunit:
22424
| tSNUMBER tDAY_UNIT
22425
{ PC.rel_day += $1.value * $2; }
22427
- { PC.rel_day += $1 }
22428
+ { PC.rel_day += $1; }
22429
| tUNUMBER tHOUR_UNIT
22430
{ PC.rel_hour += $1.value * $2; }
22431
| tSNUMBER tHOUR_UNIT
22432
{ PC.rel_hour += $1.value * $2; }
22434
- { PC.rel_hour += $1 }
22435
+ { PC.rel_hour += $1; }
22436
| tUNUMBER tMINUTE_UNIT
22437
{ PC.rel_minutes += $1.value * $2; }
22438
| tSNUMBER tMINUTE_UNIT
22439
{ PC.rel_minutes += $1.value * $2; }
22441
- { PC.rel_minutes += $1 }
22442
+ { PC.rel_minutes += $1; }
22443
| tUNUMBER tSEC_UNIT
22444
{ PC.rel_seconds += $1.value * $2; }
22445
| tSNUMBER tSEC_UNIT
22446
--- gnats-4.1.0.orig/gnats/gnatsd.c
22447
+++ gnats-4.1.0/gnats/gnatsd.c
22448
@@ -287,7 +287,7 @@ password_match (const char *password, co
22452
-get_name (struct in_addr *host)
22453
+get_name (struct in_addr *host, int type)
22457
@@ -296,7 +296,7 @@ get_name (struct in_addr *host)
22461
- hp = gethostbyaddr ((char *) host, sizeof (*host), AF_INET);
22462
+ hp = gethostbyaddr ((char *) host, sizeof (*host), type);
22466
@@ -617,7 +617,7 @@ startConnection (void)
22470
- if (s.sin_family != AF_INET)
22471
+ if ((s.sin_family != AF_INET) && (s.sin_family != AF_INET6))
22473
syslog (LOG_ERR, "%s: bad address family %ld",
22474
"?", (long) s.sin_family);
22475
@@ -628,7 +628,7 @@ startConnection (void)
22478
current_addr = (char *) inet_ntoa (s.sin_addr);
22479
- current_host = get_name (&s.sin_addr);
22480
+ current_host = get_name (&s.sin_addr, s.sin_family);
22481
if (current_host == NULL)
22483
current_host = current_addr;
22484
--- gnats-4.1.0.orig/gnats/fconfig.c
22485
+++ gnats-4.1.0/gnats/fconfig.c
22487
-/* A Bison parser, made from ./fconfig.y
22488
- by GNU bison 1.35. */
22489
+/* A Bison parser, made by GNU Bison 1.875d. */
22491
-#define YYBISON 1 /* Identify Bison output. */
22492
+/* Skeleton parser for Yacc-like parsing with Bison,
22493
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
22495
+ This program is free software; you can redistribute it and/or modify
22496
+ it under the terms of the GNU General Public License as published by
22497
+ the Free Software Foundation; either version 2, or (at your option)
22498
+ any later version.
22500
+ This program is distributed in the hope that it will be useful,
22501
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22502
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22503
+ GNU General Public License for more details.
22505
+ You should have received a copy of the GNU General Public License
22506
+ along with this program; if not, write to the Free Software
22507
+ Foundation, Inc., 59 Temple Place - Suite 330,
22508
+ Boston, MA 02111-1307, USA. */
22510
+/* As a special exception, when this file is copied by Bison into a
22511
+ Bison output file, you may use that output file without restriction.
22512
+ This special exception was added by the Free Software Foundation
22513
+ in version 1.24 of Bison. */
22515
+/* Written by Richard Stallman by simplifying the original so called
22516
+ ``semantic'' parser. */
22518
+/* All symbols defined below should begin with yy or YY, to avoid
22519
+ infringing on user name space. This should be done even for local
22520
+ variables, as they might otherwise be expanded by user macros.
22521
+ There are some unavoidable exceptions within include files to
22522
+ define necessary library symbols; they are noted "INFRINGES ON
22523
+ USER NAME SPACE" below. */
22525
+/* Identify Bison output. */
22528
+/* Skeleton name. */
22529
+#define YYSKELETON_NAME "yacc.c"
22531
+/* Pure parsers. */
22534
+/* Using locations. */
22535
+#define YYLSP_NEEDED 0
22537
+/* If NAME_PREFIX is specified substitute the variables and functions
22539
#define yyparse fconfparse
22540
-#define yylex fconflex
22541
+#define yylex fconflex
22542
#define yyerror fconferror
22543
-#define yylval fconflval
22544
-#define yychar fconfchar
22545
+#define yylval fconflval
22546
+#define yychar fconfchar
22547
#define yydebug fconfdebug
22548
#define yynerrs fconfnerrs
22549
-# define FIELD 257
22550
-# define STRINGTYPE 258
22551
-# define QDEFAULT 259
22552
-# define MATCHING 260
22554
-# define MULTIENUMTOK 262
22555
-# define VALUES 263
22556
-# define DEFAULT 264
22557
-# define EXACT_REGEXP 265
22558
-# define INEXACT_REGEXP 266
22560
-# define FORMAT 268
22561
-# define ENUMSEPARATORSTOK 269
22562
-# define MULTITEXTTYPE 270
22563
-# define DATETYPE 271
22564
-# define ENUM_IN_FILE 272
22565
-# define MULTI_ENUM_IN_FILE 273
22566
-# define PATHTOK 274
22567
-# define FIELDSTOK 275
22568
-# define KEYTOK 276
22569
-# define QSTRING 277
22570
-# define INTVAL 278
22571
-# define TEXTSEARCH 279
22572
-# define QUERYTOK 280
22573
-# define FORMATTOK 281
22574
-# define INDEXTOK 282
22575
-# define SEPARATORTOK 283
22576
-# define RESTRICTEDTOK 284
22577
-# define NOSPACESTOK 285
22578
-# define INTEGERTOK 286
22579
-# define INPUTDEFAULTTOK 287
22580
-# define BUILTINTOK 288
22581
-# define ALLOWANYVALUETOK 289
22582
-# define REQUIRETOK 290
22583
-# define APPENDFIELDTOK 291
22584
-# define SETFIELDTOK 292
22585
-# define CHANGETOK 293
22586
-# define DESCRIPTIONTOK 294
22587
-# define INPUTTOK 295
22588
-# define DATABASEINFOTOK 296
22589
-# define DEBUGMODETOK 297
22590
-# define KEEPRECTOK 298
22591
-# define NOTIFYEXPTOK 299
22592
-# define LIBEXECDIRTOK 300
22593
-# define SUBMITTERACKTOK 301
22594
-# define BUSINESSDAYTOK 302
22595
-# define BUSINESSWEEKTOK 303
22596
-# define CREATECATEGORYDIRSTOK 304
22597
-# define FALSETOK 305
22598
-# define TRUETOK 306
22599
-# define MAILFORMATTOK 307
22600
-# define TOADDRESSESTOK 308
22601
-# define FROMADDRESSTOK 309
22602
-# define REPLYTOTOK 310
22603
-# define FIXEDTOK 311
22604
-# define BODYTOK 312
22605
-# define HEADERTOK 313
22606
-# define AUDITTRAILFMTTOK 314
22607
-# define ADDAUDITTRAILTOK 315
22608
-# define REQUIRECHANGEREASONTOK 316
22609
-# define READONLYTOK 317
22610
-# define BINARYINDEXTOK 318
22611
-# define RAWTOK 319
22612
-# define BADTOK 320
22613
-# define AUXFLAGSTOK 321
22614
-# define PRLISTTOK 322
22615
-# define MAXPRSTOK 323
22616
-# define EDITONLYTOK 324
22617
-# define VIRTUALFORMATTOK 325
22618
-# define CATPERMSTOK 326
22622
+#ifndef YYTOKENTYPE
22623
+# define YYTOKENTYPE
22624
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
22625
+ know about them. */
22626
+ enum yytokentype {
22628
+ STRINGTYPE = 259,
22632
+ MULTIENUMTOK = 263,
22635
+ EXACT_REGEXP = 266,
22636
+ INEXACT_REGEXP = 267,
22639
+ ENUMSEPARATORSTOK = 270,
22640
+ MULTITEXTTYPE = 271,
22642
+ ENUM_IN_FILE = 273,
22643
+ MULTI_ENUM_IN_FILE = 274,
22649
+ TEXTSEARCH = 280,
22653
+ SEPARATORTOK = 284,
22654
+ RESTRICTEDTOK = 285,
22655
+ NOSPACESTOK = 286,
22656
+ INTEGERTOK = 287,
22657
+ INPUTDEFAULTTOK = 288,
22658
+ BUILTINTOK = 289,
22659
+ ALLOWANYVALUETOK = 290,
22660
+ REQUIRETOK = 291,
22661
+ APPENDFIELDTOK = 292,
22662
+ SETFIELDTOK = 293,
22664
+ DESCRIPTIONTOK = 295,
22666
+ DATABASEINFOTOK = 297,
22667
+ DEBUGMODETOK = 298,
22668
+ KEEPRECTOK = 299,
22669
+ NOTIFYEXPTOK = 300,
22670
+ LIBEXECDIRTOK = 301,
22671
+ SUBMITTERACKTOK = 302,
22672
+ BUSINESSDAYTOK = 303,
22673
+ BUSINESSWEEKTOK = 304,
22674
+ CREATECATEGORYDIRSTOK = 305,
22677
+ MAILFORMATTOK = 308,
22678
+ TOADDRESSESTOK = 309,
22679
+ FROMADDRESSTOK = 310,
22680
+ REPLYTOTOK = 311,
22684
+ AUDITTRAILFMTTOK = 315,
22685
+ ADDAUDITTRAILTOK = 316,
22686
+ REQUIRECHANGEREASONTOK = 317,
22687
+ READONLYTOK = 318,
22688
+ BINARYINDEXTOK = 319,
22691
+ AUXFLAGSTOK = 322,
22694
+ EDITONLYTOK = 325,
22695
+ VIRTUALFORMATTOK = 326,
22696
+ CATPERMSTOK = 327
22700
+#define STRINGTYPE 259
22701
+#define QDEFAULT 260
22702
+#define MATCHING 261
22704
+#define MULTIENUMTOK 263
22705
+#define VALUES 264
22706
+#define DEFAULT 265
22707
+#define EXACT_REGEXP 266
22708
+#define INEXACT_REGEXP 267
22710
+#define FORMAT 269
22711
+#define ENUMSEPARATORSTOK 270
22712
+#define MULTITEXTTYPE 271
22713
+#define DATETYPE 272
22714
+#define ENUM_IN_FILE 273
22715
+#define MULTI_ENUM_IN_FILE 274
22716
+#define PATHTOK 275
22717
+#define FIELDSTOK 276
22718
+#define KEYTOK 277
22719
+#define QSTRING 278
22720
+#define INTVAL 279
22721
+#define TEXTSEARCH 280
22722
+#define QUERYTOK 281
22723
+#define FORMATTOK 282
22724
+#define INDEXTOK 283
22725
+#define SEPARATORTOK 284
22726
+#define RESTRICTEDTOK 285
22727
+#define NOSPACESTOK 286
22728
+#define INTEGERTOK 287
22729
+#define INPUTDEFAULTTOK 288
22730
+#define BUILTINTOK 289
22731
+#define ALLOWANYVALUETOK 290
22732
+#define REQUIRETOK 291
22733
+#define APPENDFIELDTOK 292
22734
+#define SETFIELDTOK 293
22735
+#define CHANGETOK 294
22736
+#define DESCRIPTIONTOK 295
22737
+#define INPUTTOK 296
22738
+#define DATABASEINFOTOK 297
22739
+#define DEBUGMODETOK 298
22740
+#define KEEPRECTOK 299
22741
+#define NOTIFYEXPTOK 300
22742
+#define LIBEXECDIRTOK 301
22743
+#define SUBMITTERACKTOK 302
22744
+#define BUSINESSDAYTOK 303
22745
+#define BUSINESSWEEKTOK 304
22746
+#define CREATECATEGORYDIRSTOK 305
22747
+#define FALSETOK 306
22748
+#define TRUETOK 307
22749
+#define MAILFORMATTOK 308
22750
+#define TOADDRESSESTOK 309
22751
+#define FROMADDRESSTOK 310
22752
+#define REPLYTOTOK 311
22753
+#define FIXEDTOK 312
22754
+#define BODYTOK 313
22755
+#define HEADERTOK 314
22756
+#define AUDITTRAILFMTTOK 315
22757
+#define ADDAUDITTRAILTOK 316
22758
+#define REQUIRECHANGEREASONTOK 317
22759
+#define READONLYTOK 318
22760
+#define BINARYINDEXTOK 319
22761
+#define RAWTOK 320
22762
+#define BADTOK 321
22763
+#define AUXFLAGSTOK 322
22764
+#define PRLISTTOK 323
22765
+#define MAXPRSTOK 324
22766
+#define EDITONLYTOK 325
22767
+#define VIRTUALFORMATTOK 326
22768
+#define CATPERMSTOK 327
22773
+/* Copy the first part of user declarations. */
22774
#line 1 "./fconfig.y"
22777
@@ -101,9 +229,23 @@
22778
extern char *takeQString (struct qstring *str);
22779
extern char *qStrVal (struct qstring *str);
22782
+/* Enabling traces. */
22784
+# define YYDEBUG 0
22787
+/* Enabling verbose error messages. */
22788
+#ifdef YYERROR_VERBOSE
22789
+# undef YYERROR_VERBOSE
22790
+# define YYERROR_VERBOSE 1
22792
+# define YYERROR_VERBOSE 0
22795
+#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
22796
#line 21 "./fconfig.y"
22799
+typedef union YYSTYPE {
22802
struct qstring *qstr;
22803
@@ -113,527 +255,43 @@ typedef union {
22804
InputTemplate *inputlist;
22805
MailAddress *mailaddr;
22806
MailAddressList *mailaddrlist;
22808
-# define YYSTYPE yystype
22810
+/* Line 191 of yacc.c. */
22811
+#line 261 "fconfig.tab.c"
22812
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
22813
+# define YYSTYPE_IS_DECLARED 1
22814
# define YYSTYPE_IS_TRIVIAL 1
22817
-# define YYDEBUG 0
22822
-#define YYFINAL 348
22823
-#define YYFLAG -32768
22824
-#define YYNTBASE 77
22826
-/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
22827
-#define YYTRANSLATE(x) ((unsigned)(x) <= 326 ? yytranslate[x] : 165)
22829
-/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
22830
-static const char yytranslate[] =
22832
- 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22833
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22834
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22835
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22836
- 2, 2, 2, 2, 2, 75, 2, 2, 2, 2,
22837
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22838
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22839
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22840
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22841
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22842
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22843
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22844
- 2, 2, 2, 73, 76, 74, 2, 2, 2, 2,
22845
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22846
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22847
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22848
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22849
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22850
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22851
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22852
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22853
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22854
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22855
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22856
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22857
- 2, 2, 2, 2, 2, 2, 1, 3, 4, 5,
22858
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
22859
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
22860
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
22861
- 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
22862
- 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
22863
- 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
22864
- 66, 67, 68, 69, 70, 71, 72
22868
-static const short yyprhs[] =
22870
- 0, 0, 2, 4, 13, 18, 23, 24, 26, 28,
22871
- 31, 34, 37, 40, 43, 46, 51, 56, 59, 62,
22872
- 64, 66, 68, 69, 71, 74, 79, 84, 87, 89,
22873
- 92, 94, 96, 98, 100, 103, 105, 107, 110, 112,
22874
- 115, 118, 120, 126, 132, 134, 137, 142, 147, 152,
22875
- 157, 162, 167, 168, 171, 175, 179, 183, 185, 186,
22876
- 188, 191, 196, 201, 204, 207, 209, 212, 214, 216,
22877
- 219, 221, 227, 232, 234, 236, 237, 239, 241, 244,
22878
- 245, 249, 253, 254, 258, 261, 263, 266, 268, 271,
22879
- 273, 276, 281, 286, 288, 290, 293, 295, 298, 301,
22880
- 308, 313, 315, 317, 319, 322, 324, 327, 330, 333,
22881
- 335, 338, 340, 343, 346, 348, 350, 352, 355, 357,
22882
- 360, 362, 367, 369, 371, 374, 375, 377, 379, 382,
22883
- 387, 392, 395, 398, 401, 404, 406, 409, 412, 413,
22884
- 415, 417, 420, 425, 430, 432, 435, 437, 442, 447,
22885
- 449, 451, 453, 456, 459, 464, 469, 471, 473, 476,
22886
- 479, 482, 487, 492, 495, 496, 501, 506, 508, 511,
22887
- 516, 521, 523, 526, 528, 531, 536, 541, 544, 546,
22888
- 549, 551, 553, 558, 563, 568, 571, 574, 578, 582,
22889
- 584, 586, 589, 592, 594, 596, 600, 602
22891
-static const short yyrhs[] =
22893
- 78, 0, 80, 0, 79, 84, 127, 164, 151, 95,
22894
- 139, 145, 0, 42, 73, 81, 74, 0, 42, 73,
22895
- 80, 74, 0, 0, 1, 0, 82, 0, 81, 82,
22896
- 0, 43, 83, 0, 44, 83, 0, 45, 83, 0,
22897
- 46, 23, 0, 47, 83, 0, 48, 24, 75, 24,
22898
- 0, 49, 24, 75, 24, 0, 50, 83, 0, 72,
22899
- 23, 0, 51, 0, 52, 0, 85, 0, 0, 86,
22900
- 0, 85, 86, 0, 87, 73, 88, 74, 0, 87,
22901
- 73, 80, 74, 0, 3, 23, 0, 89, 0, 88,
22902
- 89, 0, 91, 0, 125, 0, 124, 0, 90, 0,
22903
- 71, 158, 0, 92, 0, 94, 0, 16, 109, 0,
22904
- 17, 0, 32, 109, 0, 68, 110, 0, 4, 0,
22905
- 4, 6, 73, 93, 74, 0, 4, 6, 73, 80,
22906
- 74, 0, 23, 0, 93, 23, 0, 7, 73, 112,
22907
- 74, 0, 18, 73, 117, 74, 0, 19, 73, 119,
22908
- 74, 0, 8, 73, 113, 74, 0, 7, 73, 80,
22909
- 74, 0, 18, 73, 80, 74, 0, 0, 95, 96,
22910
- 0, 98, 100, 74, 0, 98, 100, 74, 0, 39,
22911
- 99, 73, 0, 23, 0, 0, 101, 0, 100, 101,
22912
- 0, 36, 73, 102, 74, 0, 36, 73, 80, 74,
22913
- 0, 38, 104, 0, 37, 104, 0, 61, 0, 60,
22914
- 158, 0, 62, 0, 103, 0, 102, 103, 0, 23,
22915
- 0, 105, 73, 106, 107, 74, 0, 105, 73, 80,
22916
- 74, 0, 23, 0, 23, 0, 0, 108, 0, 23,
22917
- 0, 108, 23, 0, 0, 73, 121, 74, 0, 73,
22918
- 80, 74, 0, 0, 73, 111, 74, 0, 69, 24,
22919
- 0, 115, 0, 112, 115, 0, 114, 0, 113, 114,
22920
- 0, 115, 0, 15, 23, 0, 9, 73, 116, 74,
22921
- 0, 9, 73, 80, 74, 0, 121, 0, 23, 0,
22922
- 116, 23, 0, 118, 0, 117, 118, 0, 20, 23,
22923
- 0, 21, 73, 122, 74, 22, 23, 0, 21, 73,
22924
- 80, 74, 0, 121, 0, 35, 0, 120, 0, 117,
22925
- 120, 0, 118, 0, 15, 23, 0, 10, 23, 0,
22926
- 33, 23, 0, 123, 0, 122, 123, 0, 23, 0,
22927
- 5, 11, 0, 5, 12, 0, 25, 0, 30, 0,
22928
- 31, 0, 34, 23, 0, 97, 0, 40, 23, 0,
22929
- 63, 0, 67, 73, 126, 74, 0, 70, 0, 23,
22930
- 0, 126, 23, 0, 0, 128, 0, 129, 0, 128,
22931
- 129, 0, 130, 73, 131, 74, 0, 130, 73, 80,
22932
- 74, 0, 26, 23, 0, 132, 133, 0, 134, 132,
22933
- 0, 21, 13, 0, 136, 0, 135, 136, 0, 136,
22934
- 135, 0, 0, 134, 0, 65, 0, 27, 23, 0,
22935
- 21, 73, 137, 74, 0, 21, 73, 80, 74, 0,
22936
- 138, 0, 137, 138, 0, 23, 0, 140, 73, 141,
22937
- 74, 0, 140, 73, 80, 74, 0, 80, 0, 28,
22938
- 0, 142, 0, 141, 142, 0, 20, 23, 0, 21,
22939
- 73, 143, 74, 0, 21, 73, 80, 74, 0, 144,
22940
- 0, 138, 0, 143, 138, 0, 29, 23, 0, 64,
22941
- 83, 0, 41, 73, 146, 74, 0, 41, 73, 80,
22942
- 74, 0, 149, 147, 0, 0, 36, 73, 148, 74,
22943
- 0, 36, 73, 80, 74, 0, 138, 0, 148, 138,
22944
- 0, 21, 73, 150, 74, 0, 21, 73, 80, 74,
22945
- 0, 23, 0, 150, 23, 0, 152, 0, 151, 152,
22946
- 0, 153, 73, 154, 74, 0, 153, 73, 80, 74,
22947
- 0, 53, 23, 0, 155, 0, 154, 155, 0, 156,
22948
- 0, 157, 0, 54, 73, 160, 74, 0, 55, 73,
22949
- 161, 74, 0, 56, 73, 160, 74, 0, 58, 158,
22950
- 0, 59, 158, 0, 159, 131, 74, 0, 159, 80,
22951
- 74, 0, 73, 0, 161, 0, 160, 161, 0, 57,
22952
- 23, 0, 162, 0, 163, 0, 162, 76, 163, 0,
22953
- 23, 0, 60, 158, 0
22957
+/* Copy the second part of user declarations. */
22960
-/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
22961
-static const short yyrline[] =
22963
- 0, 62, 63, 66, 69, 70, 71, 76, 78, 79,
22964
- 82, 85, 88, 91, 94, 97, 100, 103, 106, 111,
22965
- 112, 115, 116, 121, 122, 125, 128, 133, 148, 149,
22966
- 152, 153, 154, 155, 158, 164, 165, 166, 170, 174,
22967
- 178, 184, 187, 190, 193, 197, 203, 207, 212, 217,
22968
- 226, 227, 230, 231, 234, 240, 251, 260, 263, 268,
22969
- 269, 272, 273, 274, 278, 283, 286, 290, 295, 296,
22970
- 299, 307, 308, 311, 322, 327, 330, 334, 339, 346,
22971
- 347, 348, 351, 352, 355, 360, 361, 364, 365, 368,
22972
- 369, 374, 375, 376, 379, 383, 389, 390, 393, 396,
22973
- 423, 424, 425, 430, 431, 434, 435, 440, 443, 448,
22974
- 453, 460, 468, 471, 476, 479, 482, 485, 495, 496,
22975
- 499, 502, 505, 510, 514, 520, 521, 524, 525, 528,
22976
- 532, 538, 548, 549, 552, 553, 554, 555, 558, 559,
22977
- 562, 567, 572, 573, 576, 579, 585, 599, 603, 607,
22978
- 610, 615, 616, 619, 622, 623, 624, 627, 630, 635,
22979
- 638, 643, 644, 647, 652, 653, 656, 662, 665, 671,
22980
- 675, 680, 702, 729, 730, 733, 737, 743, 757, 758,
22981
- 761, 765, 769, 772, 775, 780, 783, 786, 787, 793,
22982
- 803, 808, 818, 823, 830, 833, 843, 849
22986
+/* Line 214 of yacc.c. */
22987
+#line 273 "fconfig.tab.c"
22989
-#if (YYDEBUG) || defined YYERROR_VERBOSE
22990
+#if ! defined (yyoverflow) || YYERROR_VERBOSE
22992
-/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
22993
-static const char *const yytname[] =
22995
- "$", "error", "$undefined.", "FIELD", "STRINGTYPE", "QDEFAULT",
22996
- "MATCHING", "ENUM", "MULTIENUMTOK", "VALUES", "DEFAULT", "EXACT_REGEXP",
22997
- "INEXACT_REGEXP", "ALL", "FORMAT", "ENUMSEPARATORSTOK", "MULTITEXTTYPE",
22998
- "DATETYPE", "ENUM_IN_FILE", "MULTI_ENUM_IN_FILE", "PATHTOK",
22999
- "FIELDSTOK", "KEYTOK", "QSTRING", "INTVAL", "TEXTSEARCH", "QUERYTOK",
23000
- "FORMATTOK", "INDEXTOK", "SEPARATORTOK", "RESTRICTEDTOK", "NOSPACESTOK",
23001
- "INTEGERTOK", "INPUTDEFAULTTOK", "BUILTINTOK", "ALLOWANYVALUETOK",
23002
- "REQUIRETOK", "APPENDFIELDTOK", "SETFIELDTOK", "CHANGETOK",
23003
- "DESCRIPTIONTOK", "INPUTTOK", "DATABASEINFOTOK", "DEBUGMODETOK",
23004
- "KEEPRECTOK", "NOTIFYEXPTOK", "LIBEXECDIRTOK", "SUBMITTERACKTOK",
23005
- "BUSINESSDAYTOK", "BUSINESSWEEKTOK", "CREATECATEGORYDIRSTOK",
23006
- "FALSETOK", "TRUETOK", "MAILFORMATTOK", "TOADDRESSESTOK",
23007
- "FROMADDRESSTOK", "REPLYTOTOK", "FIXEDTOK", "BODYTOK", "HEADERTOK",
23008
- "AUDITTRAILFMTTOK", "ADDAUDITTRAILTOK", "REQUIRECHANGEREASONTOK",
23009
- "READONLYTOK", "BINARYINDEXTOK", "RAWTOK", "BADTOK", "AUXFLAGSTOK",
23010
- "PRLISTTOK", "MAXPRSTOK", "EDITONLYTOK", "VIRTUALFORMATTOK",
23011
- "CATPERMSTOK", "'{'", "'}'", "'-'", "'|'", "config", "configEnts",
23012
- "databaseInfo", "parseError", "databaseInfoList", "databaseInfoEnt",
23013
- "booleanVal", "fieldDecStmt", "fieldDecList", "fieldDec",
23014
- "startFieldDec", "fieldDataList", "fieldData", "virtualFieldFormat",
23015
- "fieldDataType", "stringType", "regexpList", "enumType",
23016
- "globalChangeEnts", "globalChangeEnt", "changeClause", "changeHeader",
23017
- "optChangeExpr", "changeOpts", "changeOpt", "reqFieldNameList",
23018
- "reqFieldNameEnt", "fieldEditOpts", "fieldEditName", "fieldEditFormat",
23019
- "optFieldEditFieldList", "fieldEditFieldList", "optSimple",
23020
- "prListOpts", "prListOptList", "enumcontents", "multienumcontents",
23021
- "multiEnumItem", "enumItem", "enumValueList", "enumFileContents",
23022
- "enumFileItem", "multiEnumFileContents", "multiEnumFileItem",
23023
- "defaultFieldVal", "enumFieldList", "enumFieldMember", "queryDefault",
23024
- "miscOptions", "auxFlagsList", "optQueryList", "queryList", "query",
23025
- "queryBegin", "queryFmt", "queryFieldDesc", "optQueryOpts", "queryOpts",
23026
- "queryPrintf", "queryfields", "queryFieldsList", "FieldListMember",
23027
- "indexDescription", "indexheader", "indexlist", "indexEnt",
23028
- "indexFieldList", "indexSep", "inputDescription", "inputEnt",
23029
- "requiredFields", "requiredFieldsList", "inputFields",
23030
- "inputFieldsList", "mailFormatList", "mailFormat", "mailFormatHeader",
23031
- "mailFormatBody", "mailFormatEnt", "bodyFormat", "headerFormat",
23032
- "plainFormat", "plainFormatHeader", "mailAddressList", "mailAddress",
23033
- "mailAddressTries", "MailAddressMember", "auditTrailFmt", 0
23037
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
23038
-static const short yyr1[] =
23040
- 0, 77, 77, 78, 79, 79, 79, 80, 81, 81,
23041
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 83,
23042
- 83, 84, 84, 85, 85, 86, 86, 87, 88, 88,
23043
- 89, 89, 89, 89, 90, 91, 91, 91, 91, 91,
23044
- 91, 92, 92, 92, 93, 93, 94, 94, 94, 94,
23045
- 94, 94, 95, 95, 96, 97, 98, 99, 99, 100,
23046
- 100, 101, 101, 101, 101, 101, 101, 101, 102, 102,
23047
- 103, 104, 104, 105, 106, 107, 107, 108, 108, 109,
23048
- 109, 109, 110, 110, 111, 112, 112, 113, 113, 114,
23049
- 114, 115, 115, 115, 116, 116, 117, 117, 118, 118,
23050
- 118, 118, 118, 119, 119, 120, 120, 121, 121, 122,
23051
- 122, 123, 124, 124, 125, 125, 125, 125, 125, 125,
23052
- 125, 125, 125, 126, 126, 127, 127, 128, 128, 129,
23053
- 129, 130, 131, 131, 132, 132, 132, 132, 133, 133,
23054
- 134, 135, 136, 136, 137, 137, 138, 139, 139, 139,
23055
- 140, 141, 141, 142, 142, 142, 142, 143, 143, 144,
23056
- 144, 145, 145, 146, 147, 147, 147, 148, 148, 149,
23057
- 149, 150, 150, 151, 151, 152, 152, 153, 154, 154,
23058
- 155, 155, 155, 155, 155, 156, 157, 158, 158, 159,
23059
- 160, 160, 161, 161, 162, 162, 163, 164
23062
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
23063
-static const short yyr2[] =
23065
- 0, 1, 1, 8, 4, 4, 0, 1, 1, 2,
23066
- 2, 2, 2, 2, 2, 4, 4, 2, 2, 1,
23067
- 1, 1, 0, 1, 2, 4, 4, 2, 1, 2,
23068
- 1, 1, 1, 1, 2, 1, 1, 2, 1, 2,
23069
- 2, 1, 5, 5, 1, 2, 4, 4, 4, 4,
23070
- 4, 4, 0, 2, 3, 3, 3, 1, 0, 1,
23071
- 2, 4, 4, 2, 2, 1, 2, 1, 1, 2,
23072
- 1, 5, 4, 1, 1, 0, 1, 1, 2, 0,
23073
- 3, 3, 0, 3, 2, 1, 2, 1, 2, 1,
23074
- 2, 4, 4, 1, 1, 2, 1, 2, 2, 6,
23075
- 4, 1, 1, 1, 2, 1, 2, 2, 2, 1,
23076
- 2, 1, 2, 2, 1, 1, 1, 2, 1, 2,
23077
- 1, 4, 1, 1, 2, 0, 1, 1, 2, 4,
23078
- 4, 2, 2, 2, 2, 1, 2, 2, 0, 1,
23079
- 1, 2, 4, 4, 1, 2, 1, 4, 4, 1,
23080
- 1, 1, 2, 2, 4, 4, 1, 1, 2, 2,
23081
- 2, 4, 4, 2, 0, 4, 4, 1, 2, 4,
23082
- 4, 1, 2, 1, 2, 4, 4, 2, 1, 2,
23083
- 1, 1, 4, 4, 4, 2, 2, 3, 3, 1,
23084
- 1, 2, 2, 1, 1, 3, 1, 2
23087
-/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE
23088
- doesn't specify something else to do. Zero means the default is an
23090
-static const short yydefact[] =
23092
- 0, 7, 0, 1, 22, 2, 0, 0, 125, 21,
23093
- 23, 0, 0, 0, 0, 0, 0, 0, 0, 0,
23094
- 0, 0, 0, 8, 27, 0, 0, 126, 127, 0,
23095
- 24, 0, 19, 20, 10, 11, 12, 13, 14, 0,
23096
- 0, 17, 18, 5, 4, 9, 131, 0, 0, 128,
23097
- 0, 41, 0, 0, 0, 79, 38, 0, 0, 114,
23098
- 115, 116, 79, 0, 58, 0, 120, 0, 82, 122,
23099
- 0, 0, 0, 28, 33, 30, 35, 36, 118, 0,
23100
- 32, 31, 0, 0, 189, 197, 0, 0, 52, 173,
23101
- 0, 0, 0, 140, 0, 0, 138, 0, 0, 135,
23102
- 0, 112, 113, 0, 0, 0, 37, 0, 0, 39,
23103
- 117, 57, 0, 119, 0, 0, 40, 34, 26, 25,
23104
- 29, 0, 0, 0, 0, 65, 67, 0, 59, 15,
23105
- 16, 0, 0, 177, 0, 174, 0, 134, 0, 141,
23106
- 130, 129, 132, 139, 133, 0, 136, 137, 0, 0,
23107
- 0, 0, 0, 0, 85, 93, 0, 0, 87, 89,
23108
- 0, 0, 0, 0, 102, 0, 0, 96, 101, 0,
23109
- 0, 96, 0, 103, 56, 123, 0, 0, 0, 0,
23110
- 73, 64, 0, 63, 66, 55, 60, 188, 187, 150,
23111
- 149, 53, 0, 0, 0, 0, 0, 0, 0, 0,
23112
- 0, 0, 178, 180, 181, 146, 0, 0, 144, 44,
23113
- 0, 0, 0, 107, 108, 50, 46, 86, 90, 49,
23114
- 88, 81, 80, 98, 0, 51, 47, 97, 106, 97,
23115
- 104, 48, 124, 121, 84, 83, 70, 0, 0, 68,
23116
- 0, 0, 0, 3, 0, 0, 0, 0, 185, 186,
23117
- 176, 175, 179, 143, 142, 145, 43, 45, 42, 94,
23118
- 0, 0, 111, 0, 0, 109, 62, 61, 69, 74,
23119
- 0, 75, 54, 0, 0, 0, 0, 0, 0, 0,
23120
- 151, 156, 196, 0, 0, 190, 193, 194, 0, 0,
23121
- 92, 95, 91, 100, 0, 110, 72, 77, 0, 76,
23122
- 0, 0, 0, 164, 153, 0, 159, 160, 148, 147,
23123
- 152, 192, 182, 191, 0, 183, 184, 0, 71, 78,
23124
- 0, 162, 161, 0, 163, 0, 157, 0, 195, 99,
23125
- 171, 0, 0, 0, 155, 154, 158, 170, 172, 169,
23126
- 0, 167, 0, 166, 165, 168, 0, 0, 0
23129
-static const short yydefgoto[] =
23131
- 346, 3, 4, 5, 22, 23, 34, 8, 9, 10,
23132
- 11, 72, 73, 74, 75, 76, 211, 77, 134, 191,
23133
- 78, 79, 112, 127, 128, 238, 239, 181, 182, 271,
23134
- 298, 299, 106, 116, 178, 153, 157, 158, 159, 261,
23135
- 166, 167, 172, 173, 155, 264, 265, 80, 81, 176,
23136
- 26, 27, 28, 29, 95, 96, 142, 97, 98, 99,
23137
- 207, 208, 193, 194, 279, 280, 327, 281, 243, 302,
23138
- 324, 342, 303, 332, 88, 89, 90, 201, 202, 203,
23139
- 204, 85, 86, 284, 285, 286, 287, 48
23142
-static const short yypact[] =
23144
- 23,-32768, -52,-32768, 25,-32768, 7, 9, 12, 25,
23145
- -32768, -9, -15, -15, -15, 71, -15, 80, 82, -15,
23146
- 85, 36, 212,-32768,-32768, 96, 61, 12,-32768, 54,
23147
- -32768, 140,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 94,
23148
- 119,-32768,-32768,-32768,-32768,-32768,-32768, 79, 70,-32768,
23149
- 21, 154, 175, 108, 124, 127,-32768, 129, 131,-32768,
23150
- -32768,-32768, 127, 190, 213, 214,-32768, 162, 169,-32768,
23151
- 79, 171, 159,-32768,-32768,-32768,-32768,-32768,-32768, 187,
23152
- -32768,-32768, 219, 228,-32768,-32768, 21, 240, 70,-32768,
23153
- 193, 14, 245,-32768, 196, 197, 207, 2, 259, 256,
23154
- 215,-32768,-32768, 152, 186, 106,-32768, 211, 254,-32768,
23155
- -32768,-32768, 217,-32768, 262, 222,-32768,-32768,-32768,-32768,
23156
- -32768, 220, 269, 269, 79,-32768,-32768, 76,-32768,-32768,
23157
- -32768, 221, 224,-32768, 181,-32768, 34,-32768, 95,-32768,
23158
- -32768,-32768,-32768,-32768,-32768, 229,-32768,-32768, 132, 230,
23159
- 271, 273, 226, 8,-32768,-32768, 278, 0,-32768,-32768,
23160
- 231, 232, 281, 234,-32768, 235, 10,-32768,-32768, 285,
23161
- 254, 236, 237,-32768,-32768,-32768, 17, 288, 239, 182,
23162
- -32768,-32768, 242,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
23163
- -32768,-32768, 187, 275, 244, 246, 247, 248, 79, 79,
23164
- 249, 223,-32768,-32768,-32768,-32768, 251, 24,-32768,-32768,
23165
- 252, 46, 191,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
23166
- -32768,-32768,-32768,-32768, 227,-32768,-32768,-32768,-32768, 236,
23167
- -32768,-32768,-32768,-32768,-32768,-32768,-32768, 255, 48,-32768,
23168
- 250, 179, 257,-32768, 38, 86, 86, 86,-32768,-32768,
23169
- -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
23170
- 258, 50,-32768, 260, 52,-32768,-32768,-32768,-32768,-32768,
23171
- 261, 295,-32768, 167, 299, 263, 301, -15, 264, 41,
23172
- -32768,-32768,-32768, 305, -11,-32768, 265,-32768, 266, 11,
23173
- -32768,-32768,-32768,-32768, 309,-32768,-32768,-32768, 268, 310,
23174
- 270, 272, 274, 303,-32768, 95,-32768,-32768,-32768,-32768,
23175
- -32768,-32768,-32768,-32768, 314,-32768,-32768, 321,-32768,-32768,
23176
- 253,-32768,-32768, 276,-32768, 277,-32768, 55,-32768,-32768,
23177
- -32768, 279, 72, 95,-32768,-32768,-32768,-32768,-32768,-32768,
23178
- 280,-32768, 77,-32768,-32768,-32768, 345, 347,-32768
23181
-static const short yypgoto[] =
23183
- -32768,-32768,-32768, -6,-32768, 328, -12,-32768,-32768, 343,
23184
- -32768,-32768, 283,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
23185
- -32768, 225,-32768, 164, -124,-32768, 120, 238,-32768,-32768,
23186
- -32768,-32768, 298,-32768,-32768,-32768,-32768, 200, -87,-32768,
23187
- 267, -89,-32768, 192, -94,-32768, 99,-32768,-32768,-32768,
23188
- -32768,-32768, 337,-32768, 282, 284,-32768, 286, 287, 289,
23189
- -32768, -202,-32768,-32768,-32768, 87,-32768,-32768,-32768,-32768,
23190
- -32768,-32768,-32768,-32768,-32768, 290,-32768,-32768, 166,-32768,
23191
- -32768, -64,-32768, 118, -135,-32768, 56,-32768
23195
-#define YYLAST 387
23198
-static const short yytable[] =
23200
- 21, 35, 36, 186, 38, 255, 117, 41, 1, 149,
23201
- 150, 161, 282, 168, 168, 156, 154, 149, 150, 171,
23202
- 150, 6, 1, 91, 1, 71, -6, 137, 7, 92,
23203
- 162, 163, 24, 151, 282, 1, 32, 33, 25, 1,
23204
- 232, 151, 91, 151, 94, 164, 283, 205, 92, -6,
23205
- 12, 13, 14, 15, 16, 17, 18, 19, 274, 275,
23206
- 184, 274, 275, 312, 31, 2, 217, 276, 283, 257,
23207
- 276, 236, 168, 291, 219, 262, 168, 227, 205, 20,
23208
- 131, 229, 216, -6, 226, 316, 93, 138, 195, 196,
23209
- 197, 233, 198, 199, 37, 338, 1, 152, 254, 160,
23210
- 205, 165, 277, 326, 39, 277, 40, 1, 42, 282,
23211
- 43, 288, 121, 122, 123, 309, 150, 186, 205, 46,
23212
- 258, 47, 267, 87, 292, 336, 294, 50, 190, 335,
23213
- 200, 341, 206, 1, 248, 249, 124, 125, 126, 151,
23214
- 345, 1, 210, 283, 51, 52, 339, 53, 54, 313,
23215
- 185, 344, 84, 1, 313, 209, 55, 56, 57, 58,
23216
- 100, 149, 150, 51, 52, 59, 53, 54, 1, 82,
23217
- 60, 61, 62, 237, 63, 55, 56, 57, 58, 64,
23218
- 65, 103, 1, 1, 59, 151, 101, 102, 300, 60,
23219
- 61, 62, 1, 63, 83, 149, 150, 104, 64, 65,
23220
- 105, 156, 107, 66, 108, 236, 260, 67, 68, 189,
23221
- 69, 70, 1, 110, 259, 121, 122, 123, 263, 151,
23222
- 64, 150, 66, 121, 122, 123, 67, 68, 1, 69,
23223
- 70, 162, 163, 119, 270, 114, 111, 113, 278, 124,
23224
- 125, 126, 115, 129, 151, 118, 164, 124, 125, 126,
23225
- 262, 1, 130, 272, 1, 12, 13, 14, 15, 16,
23226
- 17, 18, 19, 133, 150, 307, 136, 301, 139, 169,
23227
- 140, 141, 93, 269, 162, 163, 330, 195, 196, 197,
23228
- 145, 198, 199, 92, 20, 175, 44, 151, 148, 164,
23229
- 174, 177, 180, 179, 213, 187, 214, 251, 188, 325,
23230
- 215, 218, 138, 212, 223, 221, 222, 224, 228, 225,
23231
- -105, 231, 234, 235, 331, 240, 242, 244, 297, 245,
23232
- 246, 247, 304, 250, 306, 253, 256, 340, 311, 266,
23233
- 273, 317, 290, 319, 293, 296, 305, 282, 308, 323,
23234
- 315, 314, 318, 320, 329, 347, 321, 348, 322, 333,
23235
- 45, 334, 30, 337, 343, 120, 241, 220, 268, 192,
23236
- 109, 183, 230, 295, 49, 289, 310, 252, 132, 0,
23237
- 328, 0, 0, 0, 0, 170, 0, 0, 135, 0,
23238
- 0, 144, 143, 0, 0, 0, 147, 146
23241
-static const short yycheck[] =
23243
- 6, 13, 14, 127, 16, 207, 70, 19, 1, 9,
23244
- 10, 105, 23, 107, 108, 15, 103, 9, 10, 108,
23245
- 10, 73, 1, 21, 1, 31, 3, 13, 3, 27,
23246
- 20, 21, 23, 33, 23, 1, 51, 52, 26, 1,
23247
- 23, 33, 21, 33, 50, 35, 57, 23, 27, 26,
23248
- 43, 44, 45, 46, 47, 48, 49, 50, 20, 21,
23249
- 124, 20, 21, 74, 73, 42, 153, 29, 57, 23,
23250
- 29, 23, 166, 23, 74, 23, 170, 166, 23, 72,
23251
- 86, 170, 74, 60, 74, 74, 65, 73, 54, 55,
23252
- 56, 74, 58, 59, 23, 23, 1, 103, 74, 105,
23253
- 23, 107, 64, 305, 24, 64, 24, 1, 23, 23,
23254
- 74, 246, 36, 37, 38, 74, 10, 241, 23, 23,
23255
- 74, 60, 74, 53, 74, 327, 74, 73, 134, 74,
23256
- 136, 333, 138, 1, 198, 199, 60, 61, 62, 33,
23257
- 342, 1, 148, 57, 4, 5, 74, 7, 8, 284,
23258
- 74, 74, 73, 1, 289, 23, 16, 17, 18, 19,
23259
- 6, 9, 10, 4, 5, 25, 7, 8, 1, 75,
23260
- 30, 31, 32, 179, 34, 16, 17, 18, 19, 39,
23261
- 40, 73, 1, 1, 25, 33, 11, 12, 21, 30,
23262
- 31, 32, 1, 34, 75, 9, 10, 73, 39, 40,
23263
- 73, 15, 73, 63, 73, 23, 212, 67, 68, 28,
23264
- 70, 71, 1, 23, 23, 36, 37, 38, 224, 33,
23265
- 39, 10, 63, 36, 37, 38, 67, 68, 1, 70,
23266
- 71, 20, 21, 74, 240, 73, 23, 23, 244, 60,
23267
- 61, 62, 73, 24, 33, 74, 35, 60, 61, 62,
23268
- 23, 1, 24, 74, 1, 43, 44, 45, 46, 47,
23269
- 48, 49, 50, 23, 10, 277, 73, 273, 23, 15,
23270
- 74, 74, 65, 23, 20, 21, 23, 54, 55, 56,
23271
- 21, 58, 59, 27, 72, 23, 74, 33, 73, 35,
23272
- 73, 69, 23, 73, 23, 74, 23, 74, 74, 305,
23273
- 74, 23, 73, 73, 23, 74, 74, 73, 23, 74,
23274
- 74, 74, 24, 74, 320, 73, 41, 73, 23, 73,
23275
- 73, 73, 23, 74, 23, 74, 74, 333, 23, 74,
23276
- 73, 22, 74, 23, 74, 74, 73, 23, 74, 36,
23277
- 74, 76, 74, 73, 23, 0, 74, 0, 74, 73,
23278
- 22, 74, 9, 74, 74, 72, 192, 157, 238, 134,
23279
- 62, 123, 170, 264, 27, 247, 279, 201, 86, -1,
23280
- 314, -1, -1, -1, -1, 108, -1, -1, 88, -1,
23281
- -1, 97, 96, -1, -1, -1, 99, 98
23283
-/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
23284
-#line 3 "/usr/share/bison/bison.simple"
23286
-/* Skeleton output parser for bison,
23288
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software
23291
- This program is free software; you can redistribute it and/or modify
23292
- it under the terms of the GNU General Public License as published by
23293
- the Free Software Foundation; either version 2, or (at your option)
23294
- any later version.
23296
- This program is distributed in the hope that it will be useful,
23297
- but WITHOUT ANY WARRANTY; without even the implied warranty of
23298
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23299
- GNU General Public License for more details.
23301
- You should have received a copy of the GNU General Public License
23302
- along with this program; if not, write to the Free Software
23303
- Foundation, Inc., 59 Temple Place - Suite 330,
23304
- Boston, MA 02111-1307, USA. */
23306
-/* As a special exception, when this file is copied by Bison into a
23307
- Bison output file, you may use that output file without restriction.
23308
- This special exception was added by the Free Software Foundation
23309
- in version 1.24 of Bison. */
23311
-/* This is the parser code that is written into each bison parser when
23312
- the %semantic_parser declaration is not specified in the grammar.
23313
- It was written by Richard Stallman by simplifying the hairy parser
23314
- used when %semantic_parser is specified. */
23316
-/* All symbols defined below should begin with yy or YY, to avoid
23317
- infringing on user name space. This should be done even for local
23318
- variables, as they might otherwise be expanded by user macros.
23319
- There are some unavoidable exceptions within include files to
23320
- define necessary library symbols; they are noted "INFRINGES ON
23321
- USER NAME SPACE" below. */
23323
-#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE)
23325
+# define YYFREE free
23328
+# define YYMALLOC malloc
23331
/* The parser invokes alloca or malloc; define the necessary symbols. */
23333
-# if YYSTACK_USE_ALLOCA
23334
-# define YYSTACK_ALLOC alloca
23335
+# ifdef YYSTACK_USE_ALLOCA
23336
+# if YYSTACK_USE_ALLOCA
23337
+# define YYSTACK_ALLOC alloca
23340
-# ifndef YYSTACK_USE_ALLOCA
23341
-# if defined (alloca) || defined (_ALLOCA_H)
23342
-# define YYSTACK_ALLOC alloca
23345
-# define YYSTACK_ALLOC __builtin_alloca
23347
+# if defined (alloca) || defined (_ALLOCA_H)
23348
+# define YYSTACK_ALLOC alloca
23351
+# define YYSTACK_ALLOC __builtin_alloca
23355
@@ -646,45 +304,36 @@ static const short yycheck[] =
23356
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
23357
# define YYSIZE_T size_t
23359
-# define YYSTACK_ALLOC malloc
23360
-# define YYSTACK_FREE free
23361
+# define YYSTACK_ALLOC YYMALLOC
23362
+# define YYSTACK_FREE YYFREE
23364
-#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */
23365
+#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
23368
#if (! defined (yyoverflow) \
23369
&& (! defined (__cplusplus) \
23370
- || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
23371
+ || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
23373
/* A type that is properly aligned for any stack member. */
23385
/* The size of the maximum gap between one aligned stack and the next. */
23386
-# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
23387
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
23389
/* The size of an array large to enough to hold all stacks, each with
23392
-# define YYSTACK_BYTES(N) \
23393
- ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
23394
- + 2 * YYSTACK_GAP_MAX)
23396
-# define YYSTACK_BYTES(N) \
23397
- ((N) * (sizeof (short) + sizeof (YYSTYPE)) \
23398
- + YYSTACK_GAP_MAX)
23400
+# define YYSTACK_BYTES(N) \
23401
+ ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \
23402
+ + YYSTACK_GAP_MAXIMUM)
23404
/* Copy COUNT objects from FROM to TO. The source and destination do
23408
+# if defined (__GNUC__) && 1 < __GNUC__
23409
# define YYCOPY(To, From, Count) \
23410
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
23412
@@ -710,13 +359,554 @@ union yyalloc
23413
YYSIZE_T yynewbytes; \
23414
YYCOPY (&yyptr->Stack, Stack, yysize); \
23415
Stack = &yyptr->Stack; \
23416
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
23417
+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
23418
yyptr += yynewbytes / sizeof (*yyptr); \
23424
+#if defined (__STDC__) || defined (__cplusplus)
23425
+ typedef signed char yysigned_char;
23427
+ typedef short int yysigned_char;
23430
+/* YYFINAL -- State number of the termination state. */
23432
+/* YYLAST -- Last index in YYTABLE. */
23433
+#define YYLAST 395
23435
+/* YYNTOKENS -- Number of terminals. */
23436
+#define YYNTOKENS 77
23437
+/* YYNNTS -- Number of nonterminals. */
23439
+/* YYNRULES -- Number of rules. */
23440
+#define YYNRULES 198
23441
+/* YYNRULES -- Number of states. */
23442
+#define YYNSTATES 348
23444
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
23445
+#define YYUNDEFTOK 2
23446
+#define YYMAXUTOK 327
23448
+#define YYTRANSLATE(YYX) \
23449
+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
23451
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
23452
+static const unsigned char yytranslate[] =
23454
+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23455
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23456
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23457
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23458
+ 2, 2, 2, 2, 2, 75, 2, 2, 2, 2,
23459
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23460
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23461
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23462
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23463
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23464
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23465
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23466
+ 2, 2, 2, 73, 76, 74, 2, 2, 2, 2,
23467
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23468
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23469
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23470
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23471
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23472
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23473
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23474
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23475
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23476
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23477
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23478
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
23479
+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
23480
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
23481
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
23482
+ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
23483
+ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
23484
+ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
23485
+ 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
23486
+ 65, 66, 67, 68, 69, 70, 71, 72
23490
+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
23492
+static const unsigned short int yyprhs[] =
23494
+ 0, 0, 3, 5, 7, 16, 21, 26, 27, 29,
23495
+ 31, 34, 37, 40, 43, 46, 49, 54, 59, 62,
23496
+ 65, 67, 69, 71, 72, 74, 77, 82, 87, 90,
23497
+ 92, 95, 97, 99, 101, 103, 106, 108, 110, 113,
23498
+ 115, 118, 121, 123, 129, 135, 137, 140, 145, 150,
23499
+ 155, 160, 165, 170, 171, 174, 178, 182, 186, 188,
23500
+ 189, 191, 194, 199, 204, 207, 210, 212, 215, 217,
23501
+ 219, 222, 224, 230, 235, 237, 239, 240, 242, 244,
23502
+ 247, 248, 252, 256, 257, 261, 264, 266, 269, 271,
23503
+ 274, 276, 279, 284, 289, 291, 293, 296, 298, 301,
23504
+ 304, 311, 316, 318, 320, 322, 325, 327, 330, 333,
23505
+ 336, 338, 341, 343, 346, 349, 351, 353, 355, 358,
23506
+ 360, 363, 365, 370, 372, 374, 377, 378, 380, 382,
23507
+ 385, 390, 395, 398, 401, 404, 407, 409, 412, 415,
23508
+ 416, 418, 420, 423, 428, 433, 435, 438, 440, 445,
23509
+ 450, 452, 454, 456, 459, 462, 467, 472, 474, 476,
23510
+ 479, 482, 485, 490, 495, 498, 499, 504, 509, 511,
23511
+ 514, 519, 524, 526, 529, 531, 534, 539, 544, 547,
23512
+ 549, 552, 554, 556, 561, 566, 571, 574, 577, 581,
23513
+ 585, 587, 589, 592, 595, 597, 599, 603, 605
23516
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
23517
+static const short int yyrhs[] =
23519
+ 78, 0, -1, 79, -1, 81, -1, 80, 85, 128,
23520
+ 165, 152, 96, 140, 146, -1, 42, 73, 82, 74,
23521
+ -1, 42, 73, 81, 74, -1, -1, 1, -1, 83,
23522
+ -1, 82, 83, -1, 43, 84, -1, 44, 84, -1,
23523
+ 45, 84, -1, 46, 23, -1, 47, 84, -1, 48,
23524
+ 24, 75, 24, -1, 49, 24, 75, 24, -1, 50,
23525
+ 84, -1, 72, 23, -1, 51, -1, 52, -1, 86,
23526
+ -1, -1, 87, -1, 86, 87, -1, 88, 73, 89,
23527
+ 74, -1, 88, 73, 81, 74, -1, 3, 23, -1,
23528
+ 90, -1, 89, 90, -1, 92, -1, 126, -1, 125,
23529
+ -1, 91, -1, 71, 159, -1, 93, -1, 95, -1,
23530
+ 16, 110, -1, 17, -1, 32, 110, -1, 68, 111,
23531
+ -1, 4, -1, 4, 6, 73, 94, 74, -1, 4,
23532
+ 6, 73, 81, 74, -1, 23, -1, 94, 23, -1,
23533
+ 7, 73, 113, 74, -1, 18, 73, 118, 74, -1,
23534
+ 19, 73, 120, 74, -1, 8, 73, 114, 74, -1,
23535
+ 7, 73, 81, 74, -1, 18, 73, 81, 74, -1,
23536
+ -1, 96, 97, -1, 99, 101, 74, -1, 99, 101,
23537
+ 74, -1, 39, 100, 73, -1, 23, -1, -1, 102,
23538
+ -1, 101, 102, -1, 36, 73, 103, 74, -1, 36,
23539
+ 73, 81, 74, -1, 38, 105, -1, 37, 105, -1,
23540
+ 61, -1, 60, 159, -1, 62, -1, 104, -1, 103,
23541
+ 104, -1, 23, -1, 106, 73, 107, 108, 74, -1,
23542
+ 106, 73, 81, 74, -1, 23, -1, 23, -1, -1,
23543
+ 109, -1, 23, -1, 109, 23, -1, -1, 73, 122,
23544
+ 74, -1, 73, 81, 74, -1, -1, 73, 112, 74,
23545
+ -1, 69, 24, -1, 116, -1, 113, 116, -1, 115,
23546
+ -1, 114, 115, -1, 116, -1, 15, 23, -1, 9,
23547
+ 73, 117, 74, -1, 9, 73, 81, 74, -1, 122,
23548
+ -1, 23, -1, 117, 23, -1, 119, -1, 118, 119,
23549
+ -1, 20, 23, -1, 21, 73, 123, 74, 22, 23,
23550
+ -1, 21, 73, 81, 74, -1, 122, -1, 35, -1,
23551
+ 121, -1, 118, 121, -1, 119, -1, 15, 23, -1,
23552
+ 10, 23, -1, 33, 23, -1, 124, -1, 123, 124,
23553
+ -1, 23, -1, 5, 11, -1, 5, 12, -1, 25,
23554
+ -1, 30, -1, 31, -1, 34, 23, -1, 98, -1,
23555
+ 40, 23, -1, 63, -1, 67, 73, 127, 74, -1,
23556
+ 70, -1, 23, -1, 127, 23, -1, -1, 129, -1,
23557
+ 130, -1, 129, 130, -1, 131, 73, 132, 74, -1,
23558
+ 131, 73, 81, 74, -1, 26, 23, -1, 133, 134,
23559
+ -1, 135, 133, -1, 21, 13, -1, 137, -1, 136,
23560
+ 137, -1, 137, 136, -1, -1, 135, -1, 65, -1,
23561
+ 27, 23, -1, 21, 73, 138, 74, -1, 21, 73,
23562
+ 81, 74, -1, 139, -1, 138, 139, -1, 23, -1,
23563
+ 141, 73, 142, 74, -1, 141, 73, 81, 74, -1,
23564
+ 81, -1, 28, -1, 143, -1, 142, 143, -1, 20,
23565
+ 23, -1, 21, 73, 144, 74, -1, 21, 73, 81,
23566
+ 74, -1, 145, -1, 139, -1, 144, 139, -1, 29,
23567
+ 23, -1, 64, 84, -1, 41, 73, 147, 74, -1,
23568
+ 41, 73, 81, 74, -1, 150, 148, -1, -1, 36,
23569
+ 73, 149, 74, -1, 36, 73, 81, 74, -1, 139,
23570
+ -1, 149, 139, -1, 21, 73, 151, 74, -1, 21,
23571
+ 73, 81, 74, -1, 23, -1, 151, 23, -1, 153,
23572
+ -1, 152, 153, -1, 154, 73, 155, 74, -1, 154,
23573
+ 73, 81, 74, -1, 53, 23, -1, 156, -1, 155,
23574
+ 156, -1, 157, -1, 158, -1, 54, 73, 161, 74,
23575
+ -1, 55, 73, 162, 74, -1, 56, 73, 161, 74,
23576
+ -1, 58, 159, -1, 59, 159, -1, 160, 132, 74,
23577
+ -1, 160, 81, 74, -1, 73, -1, 162, -1, 161,
23578
+ 162, -1, 57, 23, -1, 163, -1, 164, -1, 163,
23579
+ 76, 164, -1, 23, -1, 60, 159, -1
23582
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
23583
+static const unsigned short int yyrline[] =
23585
+ 0, 62, 62, 63, 66, 69, 70, 71, 76, 78,
23586
+ 79, 82, 85, 88, 91, 94, 97, 100, 103, 106,
23587
+ 111, 112, 115, 116, 121, 122, 125, 128, 133, 148,
23588
+ 149, 152, 153, 154, 155, 158, 164, 165, 166, 170,
23589
+ 174, 178, 184, 187, 190, 193, 197, 203, 207, 212,
23590
+ 217, 226, 227, 230, 231, 234, 240, 251, 260, 263,
23591
+ 268, 269, 272, 273, 274, 278, 283, 286, 290, 295,
23592
+ 296, 299, 307, 308, 311, 322, 327, 330, 334, 339,
23593
+ 346, 347, 348, 351, 352, 355, 360, 361, 364, 365,
23594
+ 368, 369, 374, 375, 376, 379, 383, 389, 390, 393,
23595
+ 396, 423, 424, 425, 430, 431, 434, 435, 440, 443,
23596
+ 448, 453, 460, 468, 471, 476, 479, 482, 485, 495,
23597
+ 496, 499, 502, 505, 510, 514, 520, 521, 524, 525,
23598
+ 528, 532, 538, 548, 549, 552, 553, 554, 555, 558,
23599
+ 559, 562, 567, 572, 573, 576, 579, 585, 599, 603,
23600
+ 607, 610, 615, 616, 619, 622, 623, 624, 627, 630,
23601
+ 635, 638, 643, 644, 647, 652, 653, 656, 662, 665,
23602
+ 671, 675, 680, 702, 729, 730, 733, 737, 743, 757,
23603
+ 758, 761, 765, 769, 772, 775, 780, 783, 786, 787,
23604
+ 793, 803, 808, 818, 823, 830, 833, 843, 849
23608
+#if YYDEBUG || YYERROR_VERBOSE
23609
+/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
23610
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
23611
+static const char *const yytname[] =
23613
+ "$end", "error", "$undefined", "FIELD", "STRINGTYPE", "QDEFAULT",
23614
+ "MATCHING", "ENUM", "MULTIENUMTOK", "VALUES", "DEFAULT", "EXACT_REGEXP",
23615
+ "INEXACT_REGEXP", "ALL", "FORMAT", "ENUMSEPARATORSTOK", "MULTITEXTTYPE",
23616
+ "DATETYPE", "ENUM_IN_FILE", "MULTI_ENUM_IN_FILE", "PATHTOK", "FIELDSTOK",
23617
+ "KEYTOK", "QSTRING", "INTVAL", "TEXTSEARCH", "QUERYTOK", "FORMATTOK",
23618
+ "INDEXTOK", "SEPARATORTOK", "RESTRICTEDTOK", "NOSPACESTOK", "INTEGERTOK",
23619
+ "INPUTDEFAULTTOK", "BUILTINTOK", "ALLOWANYVALUETOK", "REQUIRETOK",
23620
+ "APPENDFIELDTOK", "SETFIELDTOK", "CHANGETOK", "DESCRIPTIONTOK",
23621
+ "INPUTTOK", "DATABASEINFOTOK", "DEBUGMODETOK", "KEEPRECTOK",
23622
+ "NOTIFYEXPTOK", "LIBEXECDIRTOK", "SUBMITTERACKTOK", "BUSINESSDAYTOK",
23623
+ "BUSINESSWEEKTOK", "CREATECATEGORYDIRSTOK", "FALSETOK", "TRUETOK",
23624
+ "MAILFORMATTOK", "TOADDRESSESTOK", "FROMADDRESSTOK", "REPLYTOTOK",
23625
+ "FIXEDTOK", "BODYTOK", "HEADERTOK", "AUDITTRAILFMTTOK",
23626
+ "ADDAUDITTRAILTOK", "REQUIRECHANGEREASONTOK", "READONLYTOK",
23627
+ "BINARYINDEXTOK", "RAWTOK", "BADTOK", "AUXFLAGSTOK", "PRLISTTOK",
23628
+ "MAXPRSTOK", "EDITONLYTOK", "VIRTUALFORMATTOK", "CATPERMSTOK", "'{'",
23629
+ "'}'", "'-'", "'|'", "$accept", "config", "configEnts", "databaseInfo",
23630
+ "parseError", "databaseInfoList", "databaseInfoEnt", "booleanVal",
23631
+ "fieldDecStmt", "fieldDecList", "fieldDec", "startFieldDec",
23632
+ "fieldDataList", "fieldData", "virtualFieldFormat", "fieldDataType",
23633
+ "stringType", "regexpList", "enumType", "globalChangeEnts",
23634
+ "globalChangeEnt", "changeClause", "changeHeader", "optChangeExpr",
23635
+ "changeOpts", "changeOpt", "reqFieldNameList", "reqFieldNameEnt",
23636
+ "fieldEditOpts", "fieldEditName", "fieldEditFormat",
23637
+ "optFieldEditFieldList", "fieldEditFieldList", "optSimple", "prListOpts",
23638
+ "prListOptList", "enumcontents", "multienumcontents", "multiEnumItem",
23639
+ "enumItem", "enumValueList", "enumFileContents", "enumFileItem",
23640
+ "multiEnumFileContents", "multiEnumFileItem", "defaultFieldVal",
23641
+ "enumFieldList", "enumFieldMember", "queryDefault", "miscOptions",
23642
+ "auxFlagsList", "optQueryList", "queryList", "query", "queryBegin",
23643
+ "queryFmt", "queryFieldDesc", "optQueryOpts", "queryOpts", "queryPrintf",
23644
+ "queryfields", "queryFieldsList", "FieldListMember", "indexDescription",
23645
+ "indexheader", "indexlist", "indexEnt", "indexFieldList", "indexSep",
23646
+ "inputDescription", "inputEnt", "requiredFields", "requiredFieldsList",
23647
+ "inputFields", "inputFieldsList", "mailFormatList", "mailFormat",
23648
+ "mailFormatHeader", "mailFormatBody", "mailFormatEnt", "bodyFormat",
23649
+ "headerFormat", "plainFormat", "plainFormatHeader", "mailAddressList",
23650
+ "mailAddress", "mailAddressTries", "MailAddressMember", "auditTrailFmt", 0
23655
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
23656
+ token YYLEX-NUM. */
23657
+static const unsigned short int yytoknum[] =
23659
+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
23660
+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
23661
+ 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
23662
+ 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
23663
+ 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
23664
+ 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
23665
+ 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
23666
+ 325, 326, 327, 123, 125, 45, 124
23670
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
23671
+static const unsigned char yyr1[] =
23673
+ 0, 77, 78, 78, 79, 80, 80, 80, 81, 82,
23674
+ 82, 83, 83, 83, 83, 83, 83, 83, 83, 83,
23675
+ 84, 84, 85, 85, 86, 86, 87, 87, 88, 89,
23676
+ 89, 90, 90, 90, 90, 91, 92, 92, 92, 92,
23677
+ 92, 92, 93, 93, 93, 94, 94, 95, 95, 95,
23678
+ 95, 95, 95, 96, 96, 97, 98, 99, 100, 100,
23679
+ 101, 101, 102, 102, 102, 102, 102, 102, 102, 103,
23680
+ 103, 104, 105, 105, 106, 107, 108, 108, 109, 109,
23681
+ 110, 110, 110, 111, 111, 112, 113, 113, 114, 114,
23682
+ 115, 115, 116, 116, 116, 117, 117, 118, 118, 119,
23683
+ 119, 119, 119, 119, 120, 120, 121, 121, 122, 122,
23684
+ 123, 123, 124, 125, 125, 126, 126, 126, 126, 126,
23685
+ 126, 126, 126, 126, 127, 127, 128, 128, 129, 129,
23686
+ 130, 130, 131, 132, 132, 133, 133, 133, 133, 134,
23687
+ 134, 135, 136, 137, 137, 138, 138, 139, 140, 140,
23688
+ 140, 141, 142, 142, 143, 143, 143, 143, 144, 144,
23689
+ 145, 145, 146, 146, 147, 148, 148, 148, 149, 149,
23690
+ 150, 150, 151, 151, 152, 152, 153, 153, 154, 155,
23691
+ 155, 156, 156, 156, 156, 156, 157, 158, 159, 159,
23692
+ 160, 161, 161, 162, 162, 163, 163, 164, 165
23695
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
23696
+static const unsigned char yyr2[] =
23698
+ 0, 2, 1, 1, 8, 4, 4, 0, 1, 1,
23699
+ 2, 2, 2, 2, 2, 2, 4, 4, 2, 2,
23700
+ 1, 1, 1, 0, 1, 2, 4, 4, 2, 1,
23701
+ 2, 1, 1, 1, 1, 2, 1, 1, 2, 1,
23702
+ 2, 2, 1, 5, 5, 1, 2, 4, 4, 4,
23703
+ 4, 4, 4, 0, 2, 3, 3, 3, 1, 0,
23704
+ 1, 2, 4, 4, 2, 2, 1, 2, 1, 1,
23705
+ 2, 1, 5, 4, 1, 1, 0, 1, 1, 2,
23706
+ 0, 3, 3, 0, 3, 2, 1, 2, 1, 2,
23707
+ 1, 2, 4, 4, 1, 1, 2, 1, 2, 2,
23708
+ 6, 4, 1, 1, 1, 2, 1, 2, 2, 2,
23709
+ 1, 2, 1, 2, 2, 1, 1, 1, 2, 1,
23710
+ 2, 1, 4, 1, 1, 2, 0, 1, 1, 2,
23711
+ 4, 4, 2, 2, 2, 2, 1, 2, 2, 0,
23712
+ 1, 1, 2, 4, 4, 1, 2, 1, 4, 4,
23713
+ 1, 1, 1, 2, 2, 4, 4, 1, 1, 2,
23714
+ 2, 2, 4, 4, 2, 0, 4, 4, 1, 2,
23715
+ 4, 4, 1, 2, 1, 2, 4, 4, 2, 1,
23716
+ 2, 1, 1, 4, 4, 4, 2, 2, 3, 3,
23717
+ 1, 1, 2, 2, 1, 1, 3, 1, 2
23720
+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
23721
+ STATE-NUM when YYTABLE doesn't specify something else to do. Zero
23722
+ means the default is an error. */
23723
+static const unsigned char yydefact[] =
23725
+ 0, 8, 0, 0, 2, 23, 3, 0, 1, 0,
23726
+ 126, 22, 24, 0, 0, 0, 0, 0, 0, 0,
23727
+ 0, 0, 0, 0, 0, 9, 28, 0, 0, 127,
23728
+ 128, 0, 25, 0, 20, 21, 11, 12, 13, 14,
23729
+ 15, 0, 0, 18, 19, 6, 5, 10, 132, 0,
23730
+ 0, 129, 0, 42, 0, 0, 0, 80, 39, 0,
23731
+ 0, 115, 116, 117, 80, 0, 59, 0, 121, 0,
23732
+ 83, 123, 0, 0, 0, 29, 34, 31, 36, 37,
23733
+ 119, 0, 33, 32, 0, 0, 190, 198, 0, 0,
23734
+ 53, 174, 0, 0, 0, 141, 0, 0, 139, 0,
23735
+ 0, 136, 0, 113, 114, 0, 0, 0, 38, 0,
23736
+ 0, 40, 118, 58, 0, 120, 0, 0, 41, 35,
23737
+ 27, 26, 30, 0, 0, 0, 0, 66, 68, 0,
23738
+ 60, 16, 17, 0, 0, 178, 0, 175, 0, 135,
23739
+ 0, 142, 131, 130, 133, 140, 134, 0, 137, 138,
23740
+ 0, 0, 0, 0, 0, 0, 86, 94, 0, 0,
23741
+ 88, 90, 0, 0, 0, 0, 103, 0, 0, 97,
23742
+ 102, 0, 0, 97, 0, 104, 57, 124, 0, 0,
23743
+ 0, 0, 74, 65, 0, 64, 67, 56, 61, 189,
23744
+ 188, 151, 150, 54, 0, 0, 0, 0, 0, 0,
23745
+ 0, 0, 0, 0, 179, 181, 182, 147, 0, 0,
23746
+ 145, 45, 0, 0, 0, 108, 109, 51, 47, 87,
23747
+ 91, 50, 89, 82, 81, 99, 0, 52, 48, 98,
23748
+ 107, 98, 105, 49, 125, 122, 85, 84, 71, 0,
23749
+ 0, 69, 0, 0, 0, 4, 0, 0, 0, 0,
23750
+ 186, 187, 177, 176, 180, 144, 143, 146, 44, 46,
23751
+ 43, 95, 0, 0, 112, 0, 0, 110, 63, 62,
23752
+ 70, 75, 0, 76, 55, 0, 0, 0, 0, 0,
23753
+ 0, 0, 152, 157, 197, 0, 0, 191, 194, 195,
23754
+ 0, 0, 93, 96, 92, 101, 0, 111, 73, 78,
23755
+ 0, 77, 0, 0, 0, 165, 154, 0, 160, 161,
23756
+ 149, 148, 153, 193, 183, 192, 0, 184, 185, 0,
23757
+ 72, 79, 0, 163, 162, 0, 164, 0, 158, 0,
23758
+ 196, 100, 172, 0, 0, 0, 156, 155, 159, 171,
23759
+ 173, 170, 0, 168, 0, 167, 166, 169
23762
+/* YYDEFGOTO[NTERM-NUM]. */
23763
+static const short int yydefgoto[] =
23765
+ -1, 3, 4, 5, 6, 24, 25, 36, 10, 11,
23766
+ 12, 13, 74, 75, 76, 77, 78, 213, 79, 136,
23767
+ 193, 80, 81, 114, 129, 130, 240, 241, 183, 184,
23768
+ 273, 300, 301, 108, 118, 180, 155, 159, 160, 161,
23769
+ 263, 168, 169, 174, 175, 157, 266, 267, 82, 83,
23770
+ 178, 28, 29, 30, 31, 97, 98, 144, 99, 100,
23771
+ 101, 209, 210, 195, 196, 281, 282, 329, 283, 245,
23772
+ 304, 326, 344, 305, 334, 90, 91, 92, 203, 204,
23773
+ 205, 206, 87, 88, 286, 287, 288, 289, 50
23776
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
23778
+#define YYPACT_NINF -204
23779
+static const short int yypact[] =
23781
+ 65, -204, -52, 27, -204, 20, -204, 4, -204, 9,
23782
+ 14, 20, -204, -43, 206, 206, 206, 11, 206, 18,
23783
+ 70, 206, 21, 22, 197, -204, -204, 138, 52, 14,
23784
+ -204, 46, -204, 141, -204, -204, -204, -204, -204, -204,
23785
+ -204, 101, 124, -204, -204, -204, -204, -204, -204, 92,
23786
+ 110, -204, 38, 187, 158, 130, 145, 150, -204, 159,
23787
+ 186, -204, -204, -204, 150, 247, 250, 251, -204, 202,
23788
+ 203, -204, 92, 204, 53, -204, -204, -204, -204, -204,
23789
+ -204, 192, -204, -204, 253, 256, -204, -204, 38, 258,
23790
+ 110, -204, 210, 7, 261, -204, 211, 212, 222, -2,
23791
+ 267, 262, 217, -204, -204, 215, 246, 200, -204, 167,
23792
+ 216, -204, -204, -204, 218, -204, 269, 224, -204, -204,
23793
+ -204, -204, -204, 221, 272, 272, 92, -204, -204, 153,
23794
+ -204, -204, -204, 223, 225, -204, 166, -204, 96, -204,
23795
+ 23, -204, -204, -204, -204, -204, -204, 228, -204, -204,
23796
+ 107, 229, 273, 275, 230, 3, -204, -204, 280, 0,
23797
+ -204, -204, 231, 232, 284, 235, -204, 236, 8, -204,
23798
+ -204, 286, 216, 238, 239, -204, -204, -204, 12, 287,
23799
+ 240, 121, -204, -204, 243, -204, -204, -204, -204, -204,
23800
+ -204, -204, -204, -204, 192, 276, 245, 248, 252, 254,
23801
+ 92, 92, 255, 208, -204, -204, -204, -204, 257, 40,
23802
+ -204, -204, 259, 41, 183, -204, -204, -204, -204, -204,
23803
+ -204, -204, -204, -204, -204, -204, 194, -204, -204, -204,
23804
+ -204, 238, -204, -204, -204, -204, -204, -204, -204, 260,
23805
+ 82, -204, 237, 160, 263, -204, 89, 44, 44, 44,
23806
+ -204, -204, -204, -204, -204, -204, -204, -204, -204, -204,
23807
+ -204, -204, 264, 88, -204, 265, 90, -204, -204, -204,
23808
+ -204, -204, 266, 296, -204, 10, 297, 268, 299, 206,
23809
+ 270, 118, -204, -204, -204, 300, -1, -204, 271, -204,
23810
+ 274, 32, -204, -204, -204, -204, 302, -204, -204, -204,
23811
+ 277, 303, 279, 281, 282, 294, -204, 23, -204, -204,
23812
+ -204, -204, -204, -204, -204, -204, 309, -204, -204, 312,
23813
+ -204, -204, 249, -204, -204, 285, -204, 283, -204, 105,
23814
+ -204, -204, -204, 288, 111, 23, -204, -204, -204, -204,
23815
+ -204, -204, 289, -204, 112, -204, -204, -204
23818
+/* YYPGOTO[NTERM-NUM]. */
23819
+static const short int yypgoto[] =
23821
+ -204, -204, -204, -204, -7, -204, 313, -14, -204, -204,
23822
+ 331, -204, -204, 290, -204, -204, -204, -204, -204, -204,
23823
+ -204, -204, 207, -204, 151, -126, -204, 106, 234, -204,
23824
+ -204, -204, -204, 301, -204, -204, -204, -204, 190, -67,
23825
+ -204, 244, -73, -204, 178, -93, -204, 87, -204, -204,
23826
+ -204, -204, -204, 332, -204, 278, 291, -204, 293, 292,
23827
+ 295, -204, -203, -204, -204, -204, 79, -204, -204, -204,
23828
+ -204, -204, -204, -204, -204, -204, 298, -204, -204, 164,
23829
+ -204, -204, -64, -204, 119, -108, -204, 54, -204
23832
+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
23833
+ positive, shift that token. If negative, reduce the rule which
23834
+ number is the opposite. If zero, do what YYDEFACT says.
23835
+ If YYTABLE_NINF, syntax error. */
23836
+#define YYTABLE_NINF -107
23837
+static const short int yytable[] =
23839
+ 23, 37, 38, 188, 40, 1, 257, 43, 119, 151,
23840
+ 152, 1, 151, 152, 163, 158, 170, 170, 152, 93,
23841
+ 139, 7, 284, 9, 1, 94, 73, 8, 164, 165,
23842
+ 33, 302, 26, 153, 39, 234, 153, 173, 156, 1,
23843
+ 27, 153, 41, 166, 44, 96, 207, 14, 15, 16,
23844
+ 17, 18, 19, 20, 21, 284, 285, 53, 54, 93,
23845
+ 55, 56, 186, 207, 259, 94, 1, 284, -7, 57,
23846
+ 58, 59, 60, 314, 221, 170, 22, 218, 61, 170,
23847
+ 140, 133, 228, 62, 63, 64, 235, 65, 219, 285,
23848
+ 1, -7, 66, 67, 42, 229, 45, 1, 154, 231,
23849
+ 162, 285, 167, 95, 328, 238, 318, 2, 1, 276,
23850
+ 277, 293, 49, 264, 256, 260, 68, 188, 278, 52,
23851
+ 69, 70, 1, 71, 72, -7, 338, 121, 207, 192,
23852
+ 211, 202, 343, 208, 340, 207, 250, 251, 276, 277,
23853
+ 290, 347, 1, 212, 238, 53, 54, 278, 55, 56,
23854
+ 197, 198, 199, 279, 200, 201, 269, 57, 58, 59,
23855
+ 60, 48, 294, 89, 296, 86, 61, 1, 1, 103,
23856
+ 104, 62, 63, 64, 239, 65, 84, 152, 315, 337,
23857
+ 66, 67, 279, 315, 1, 341, 346, 164, 165, 123,
23858
+ 124, 125, 311, 102, 191, 1, 123, 124, 125, 85,
23859
+ 153, 1, 166, 105, 68, 66, 261, 262, 69, 70,
23860
+ 152, 71, 72, 126, 127, 128, 1, 264, 106, 265,
23861
+ 126, 127, 128, 107, 151, 152, 152, 187, 123, 124,
23862
+ 125, 171, 109, 153, 274, 272, 164, 165, 1, 280,
23863
+ 14, 15, 16, 17, 18, 19, 20, 21, 153, 153,
23864
+ 1, 166, 126, 127, 128, 151, 152, 34, 35, 110,
23865
+ 271, 158, 197, 198, 199, 309, 200, 201, 303, 22,
23866
+ 112, 46, 332, 113, 115, 116, 117, 131, 120, 153,
23867
+ 132, 135, 253, 138, 141, 142, 143, 95, 147, 94,
23868
+ 150, 176, 177, 179, 181, 182, 215, 189, 216, 190,
23869
+ 327, 140, 214, 220, 217, 223, 224, 225, 226, 230,
23870
+ 227, 236, -106, 233, 237, 333, 242, 244, 246, 299,
23871
+ 306, 247, 308, 313, 319, 248, 321, 249, 342, 252,
23872
+ 325, 255, 284, 258, 268, 331, 275, 47, 292, 295,
23873
+ 298, 307, 32, 194, 310, 243, 270, 316, 317, 222,
23874
+ 232, 320, 322, 297, 172, 323, 324, 336, 335, 185,
23875
+ 312, 51, 339, 345, 122, 111, 134, 254, 291, 0,
23876
+ 330, 0, 0, 0, 0, 0, 0, 0, 0, 0,
23877
+ 0, 0, 0, 0, 0, 0, 0, 0, 137, 0,
23878
+ 146, 145, 0, 149, 0, 148
23881
+static const short int yycheck[] =
23883
+ 7, 15, 16, 129, 18, 1, 209, 21, 72, 9,
23884
+ 10, 1, 9, 10, 107, 15, 109, 110, 10, 21,
23885
+ 13, 73, 23, 3, 1, 27, 33, 0, 20, 21,
23886
+ 73, 21, 23, 33, 23, 23, 33, 110, 105, 1,
23887
+ 26, 33, 24, 35, 23, 52, 23, 43, 44, 45,
23888
+ 46, 47, 48, 49, 50, 23, 57, 4, 5, 21,
23889
+ 7, 8, 126, 23, 23, 27, 1, 23, 3, 16,
23890
+ 17, 18, 19, 74, 74, 168, 72, 74, 25, 172,
23891
+ 73, 88, 74, 30, 31, 32, 74, 34, 155, 57,
23892
+ 1, 26, 39, 40, 24, 168, 74, 1, 105, 172,
23893
+ 107, 57, 109, 65, 307, 23, 74, 42, 1, 20,
23894
+ 21, 23, 60, 23, 74, 74, 63, 243, 29, 73,
23895
+ 67, 68, 1, 70, 71, 60, 329, 74, 23, 136,
23896
+ 23, 138, 335, 140, 23, 23, 200, 201, 20, 21,
23897
+ 248, 344, 1, 150, 23, 4, 5, 29, 7, 8,
23898
+ 54, 55, 56, 64, 58, 59, 74, 16, 17, 18,
23899
+ 19, 23, 74, 53, 74, 73, 25, 1, 1, 11,
23900
+ 12, 30, 31, 32, 181, 34, 75, 10, 286, 74,
23901
+ 39, 40, 64, 291, 1, 74, 74, 20, 21, 36,
23902
+ 37, 38, 74, 6, 28, 1, 36, 37, 38, 75,
23903
+ 33, 1, 35, 73, 63, 39, 23, 214, 67, 68,
23904
+ 10, 70, 71, 60, 61, 62, 1, 23, 73, 226,
23905
+ 60, 61, 62, 73, 9, 10, 10, 74, 36, 37,
23906
+ 38, 15, 73, 33, 74, 242, 20, 21, 1, 246,
23907
+ 43, 44, 45, 46, 47, 48, 49, 50, 33, 33,
23908
+ 1, 35, 60, 61, 62, 9, 10, 51, 52, 73,
23909
+ 23, 15, 54, 55, 56, 279, 58, 59, 275, 72,
23910
+ 23, 74, 23, 23, 23, 73, 73, 24, 74, 33,
23911
+ 24, 23, 74, 73, 23, 74, 74, 65, 21, 27,
23912
+ 73, 73, 23, 69, 73, 23, 23, 74, 23, 74,
23913
+ 307, 73, 73, 23, 74, 74, 74, 23, 73, 23,
23914
+ 74, 24, 74, 74, 74, 322, 73, 41, 73, 23,
23915
+ 23, 73, 23, 23, 22, 73, 23, 73, 335, 74,
23916
+ 36, 74, 23, 74, 74, 23, 73, 24, 74, 74,
23917
+ 74, 73, 11, 136, 74, 194, 240, 76, 74, 159,
23918
+ 172, 74, 73, 266, 110, 74, 74, 74, 73, 125,
23919
+ 281, 29, 74, 74, 74, 64, 88, 203, 249, -1,
23920
+ 316, -1, -1, -1, -1, -1, -1, -1, -1, -1,
23921
+ -1, -1, -1, -1, -1, -1, -1, -1, 90, -1,
23922
+ 99, 98, -1, 101, -1, 100
23925
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
23926
+ symbol of state STATE-NUM. */
23927
+static const unsigned char yystos[] =
23929
+ 0, 1, 42, 78, 79, 80, 81, 73, 0, 3,
23930
+ 85, 86, 87, 88, 43, 44, 45, 46, 47, 48,
23931
+ 49, 50, 72, 81, 82, 83, 23, 26, 128, 129,
23932
+ 130, 131, 87, 73, 51, 52, 84, 84, 84, 23,
23933
+ 84, 24, 24, 84, 23, 74, 74, 83, 23, 60,
23934
+ 165, 130, 73, 4, 5, 7, 8, 16, 17, 18,
23935
+ 19, 25, 30, 31, 32, 34, 39, 40, 63, 67,
23936
+ 68, 70, 71, 81, 89, 90, 91, 92, 93, 95,
23937
+ 98, 99, 125, 126, 75, 75, 73, 159, 160, 53,
23938
+ 152, 153, 154, 21, 27, 65, 81, 132, 133, 135,
23939
+ 136, 137, 6, 11, 12, 73, 73, 73, 110, 73,
23940
+ 73, 110, 23, 23, 100, 23, 73, 73, 111, 159,
23941
+ 74, 74, 90, 36, 37, 38, 60, 61, 62, 101,
23942
+ 102, 24, 24, 81, 132, 23, 96, 153, 73, 13,
23943
+ 73, 23, 74, 74, 134, 135, 133, 21, 137, 136,
23944
+ 73, 9, 10, 33, 81, 113, 116, 122, 15, 114,
23945
+ 115, 116, 81, 122, 20, 21, 35, 81, 118, 119,
23946
+ 122, 15, 118, 119, 120, 121, 73, 23, 127, 69,
23947
+ 112, 73, 23, 105, 106, 105, 159, 74, 102, 74,
23948
+ 74, 28, 81, 97, 99, 140, 141, 54, 55, 56,
23949
+ 58, 59, 81, 155, 156, 157, 158, 23, 81, 138,
23950
+ 139, 23, 81, 94, 73, 23, 23, 74, 74, 116,
23951
+ 23, 74, 115, 74, 74, 23, 73, 74, 74, 119,
23952
+ 23, 119, 121, 74, 23, 74, 24, 74, 23, 81,
23953
+ 103, 104, 73, 101, 41, 146, 73, 73, 73, 73,
23954
+ 159, 159, 74, 74, 156, 74, 74, 139, 74, 23,
23955
+ 74, 23, 81, 117, 23, 81, 123, 124, 74, 74,
23956
+ 104, 23, 81, 107, 74, 73, 20, 21, 29, 64,
23957
+ 81, 142, 143, 145, 23, 57, 161, 162, 163, 164,
23958
+ 162, 161, 74, 23, 74, 74, 74, 124, 74, 23,
23959
+ 108, 109, 21, 81, 147, 150, 23, 73, 23, 84,
23960
+ 74, 74, 143, 23, 74, 162, 76, 74, 74, 22,
23961
+ 74, 23, 73, 74, 74, 36, 148, 81, 139, 144,
23962
+ 164, 23, 23, 81, 151, 73, 74, 74, 139, 74,
23963
+ 23, 74, 81, 139, 149, 74, 74, 139
23966
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
23967
# define YYSIZE_T __SIZE_TYPE__
23968
@@ -736,29 +926,35 @@ union yyalloc
23970
#define yyerrok (yyerrstatus = 0)
23971
#define yyclearin (yychar = YYEMPTY)
23972
-#define YYEMPTY -2
23973
+#define YYEMPTY (-2)
23976
#define YYACCEPT goto yyacceptlab
23977
-#define YYABORT goto yyabortlab
23978
-#define YYERROR goto yyerrlab1
23979
+#define YYABORT goto yyabortlab
23980
+#define YYERROR goto yyerrorlab
23983
/* Like YYERROR except do call yyerror. This remains here temporarily
23984
to ease the transition to the new meaning of YYERROR, for GCC.
23985
Once GCC version 2 has supplanted version 1, this can go. */
23987
#define YYFAIL goto yyerrlab
23989
#define YYRECOVERING() (!!yyerrstatus)
23991
#define YYBACKUP(Token, Value) \
23993
if (yychar == YYEMPTY && yylen == 1) \
23995
yychar = (Token); \
23996
yylval = (Value); \
23997
- yychar1 = YYTRANSLATE (yychar); \
23998
+ yytoken = YYTRANSLATE (yychar); \
24004
- yyerror ("syntax error: cannot back up"); \
24005
+ yyerror ("syntax error: cannot back up");\
24009
@@ -766,41 +962,24 @@ while (0)
24011
#define YYERRCODE 256
24014
/* YYLLOC_DEFAULT -- Compute the default location (before the actions
24017
- When YYLLOC_DEFAULT is run, CURRENT is set the location of the
24018
- first token. By default, to implement support for ranges, extend
24019
- its range to the last symbol. */
24022
#ifndef YYLLOC_DEFAULT
24023
-# define YYLLOC_DEFAULT(Current, Rhs, N) \
24024
- Current.last_line = Rhs[N].last_line; \
24025
- Current.last_column = Rhs[N].last_column;
24026
+# define YYLLOC_DEFAULT(Current, Rhs, N) \
24027
+ ((Current).first_line = (Rhs)[1].first_line, \
24028
+ (Current).first_column = (Rhs)[1].first_column, \
24029
+ (Current).last_line = (Rhs)[N].last_line, \
24030
+ (Current).last_column = (Rhs)[N].last_column)
24034
/* YYLEX -- calling `yylex' with the right arguments. */
24038
-# ifdef YYLEX_PARAM
24039
-# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
24041
-# define YYLEX yylex (&yylval, &yylloc)
24043
-# else /* !YYLSP_NEEDED */
24044
-# ifdef YYLEX_PARAM
24045
-# define YYLEX yylex (&yylval, YYLEX_PARAM)
24047
-# define YYLEX yylex (&yylval)
24049
-# endif /* !YYLSP_NEEDED */
24050
-#else /* !YYPURE */
24051
-# define YYLEX yylex ()
24052
-#endif /* !YYPURE */
24054
+#ifdef YYLEX_PARAM
24055
+# define YYLEX yylex (YYLEX_PARAM)
24057
+# define YYLEX yylex ()
24060
/* Enable debugging if requested. */
24062
@@ -815,13 +994,93 @@ do { \
24067
+# define YYDSYMPRINT(Args) \
24070
+ yysymprint Args; \
24073
+# define YYDSYMPRINTF(Title, Token, Value, Location) \
24077
+ YYFPRINTF (stderr, "%s ", Title); \
24078
+ yysymprint (stderr, \
24080
+ YYFPRINTF (stderr, "\n"); \
24084
+/*------------------------------------------------------------------.
24085
+| yy_stack_print -- Print the state stack from its BOTTOM up to its |
24086
+| TOP (included). |
24087
+`------------------------------------------------------------------*/
24089
+#if defined (__STDC__) || defined (__cplusplus)
24091
+yy_stack_print (short int *bottom, short int *top)
24094
+yy_stack_print (bottom, top)
24095
+ short int *bottom;
24099
+ YYFPRINTF (stderr, "Stack now");
24100
+ for (/* Nothing. */; bottom <= top; ++bottom)
24101
+ YYFPRINTF (stderr, " %d", *bottom);
24102
+ YYFPRINTF (stderr, "\n");
24105
+# define YY_STACK_PRINT(Bottom, Top) \
24108
+ yy_stack_print ((Bottom), (Top)); \
24112
+/*------------------------------------------------.
24113
+| Report that the YYRULE is going to be reduced. |
24114
+`------------------------------------------------*/
24116
+#if defined (__STDC__) || defined (__cplusplus)
24118
+yy_reduce_print (int yyrule)
24121
+yy_reduce_print (yyrule)
24126
+ unsigned int yylno = yyrline[yyrule];
24127
+ YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
24128
+ yyrule - 1, yylno);
24129
+ /* Print the symbols being reduced, and their result. */
24130
+ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
24131
+ YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
24132
+ YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
24135
+# define YY_REDUCE_PRINT(Rule) \
24138
+ yy_reduce_print (Rule); \
24141
/* Nonzero means print parse trace. It is left uninitialized so that
24142
multiple parsers can coexist. */
24144
#else /* !YYDEBUG */
24145
# define YYDPRINTF(Args)
24146
+# define YYDSYMPRINT(Args)
24147
+# define YYDSYMPRINTF(Title, Token, Value, Location)
24148
+# define YY_STACK_PRINT(Bottom, Top)
24149
+# define YY_REDUCE_PRINT(Rule)
24150
#endif /* !YYDEBUG */
24153
/* YYINITDEPTH -- initial size of the parser's stacks. */
24154
#ifndef YYINITDEPTH
24155
# define YYINITDEPTH 200
24156
@@ -834,15 +1093,17 @@ int yydebug;
24157
SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
24158
evaluated with infinite-precision integer arithmetic. */
24160
-#if YYMAXDEPTH == 0
24161
+#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
24166
# define YYMAXDEPTH 10000
24170
-#ifdef YYERROR_VERBOSE
24172
+#if YYERROR_VERBOSE
24175
# if defined (__GLIBC__) && defined (_STRING_H)
24176
@@ -869,7 +1130,6 @@ yystrlen (yystr)
24179
# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
24180
-# include <string.h>
24181
# define yystpcpy stpcpy
24183
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
24184
@@ -893,86 +1153,134 @@ yystpcpy (yydest, yysrc)
24190
+#endif /* !YYERROR_VERBOSE */
24193
-#line 316 "/usr/share/bison/bison.simple"
24196
+/*--------------------------------.
24197
+| Print this symbol on YYOUTPUT. |
24198
+`--------------------------------*/
24200
+#if defined (__STDC__) || defined (__cplusplus)
24202
+yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
24205
+yysymprint (yyoutput, yytype, yyvaluep)
24208
+ YYSTYPE *yyvaluep;
24211
+ /* Pacify ``unused variable'' warnings. */
24214
+ if (yytype < YYNTOKENS)
24216
+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
24218
+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
24222
+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
24229
+ YYFPRINTF (yyoutput, ")");
24232
+#endif /* ! YYDEBUG */
24233
+/*-----------------------------------------------.
24234
+| Release the memory associated to this symbol. |
24235
+`-----------------------------------------------*/
24237
+#if defined (__STDC__) || defined (__cplusplus)
24239
+yydestruct (int yytype, YYSTYPE *yyvaluep)
24242
+yydestruct (yytype, yyvaluep)
24244
+ YYSTYPE *yyvaluep;
24247
+ /* Pacify ``unused variable'' warnings. */
24259
-/* The user can define YYPARSE_PARAM as the name of an argument to be passed
24260
- into yyparse. The argument should have type void *.
24261
- It should actually point to an object.
24262
- Grammar actions can access the variable by casting it
24263
- to the proper pointer type. */
24264
+/* Prevent warnings from -Wmissing-prototypes. */
24266
#ifdef YYPARSE_PARAM
24267
# if defined (__STDC__) || defined (__cplusplus)
24268
-# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
24269
-# define YYPARSE_PARAM_DECL
24270
+int yyparse (void *YYPARSE_PARAM);
24272
-# define YYPARSE_PARAM_ARG YYPARSE_PARAM
24273
-# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
24276
-#else /* !YYPARSE_PARAM */
24277
-# define YYPARSE_PARAM_ARG
24278
-# define YYPARSE_PARAM_DECL
24279
-#endif /* !YYPARSE_PARAM */
24281
-/* Prevent warning if -Wstrict-prototypes. */
24283
-# ifdef YYPARSE_PARAM
24284
-int yyparse (void *);
24286
+#else /* ! YYPARSE_PARAM */
24287
+#if defined (__STDC__) || defined (__cplusplus)
24288
int yyparse (void);
24293
+#endif /* ! YYPARSE_PARAM */
24295
-/* YY_DECL_VARIABLES -- depending whether we use a pure parser,
24296
- variables are global, or local to YYPARSE. */
24298
-#define YY_DECL_NON_LSP_VARIABLES \
24299
-/* The lookahead symbol. */ \
24302
-/* The semantic value of the lookahead symbol. */ \
24305
-/* Number of parse errors so far. */ \
24309
-# define YY_DECL_VARIABLES \
24310
-YY_DECL_NON_LSP_VARIABLES \
24312
-/* Location data for the lookahead symbol. */ \
24315
-# define YY_DECL_VARIABLES \
24316
-YY_DECL_NON_LSP_VARIABLES
24318
+/* The lookahead symbol. */
24321
+/* The semantic value of the lookahead symbol. */
24324
+/* Number of syntax errors so far. */
24327
-/* If nonreentrant, generate the variables here. */
24331
-#endif /* !YYPURE */
24337
+#ifdef YYPARSE_PARAM
24338
+# if defined (__STDC__) || defined (__cplusplus)
24339
+int yyparse (void *YYPARSE_PARAM)
24341
+int yyparse (YYPARSE_PARAM)
24342
+ void *YYPARSE_PARAM;
24344
+#else /* ! YYPARSE_PARAM */
24345
+#if defined (__STDC__) || defined (__cplusplus)
24347
-yyparse (YYPARSE_PARAM_ARG)
24348
- YYPARSE_PARAM_DECL
24350
- /* If reentrant, generate the variables here. */
24352
- YY_DECL_VARIABLES
24353
-#endif /* !YYPURE */
24363
register int yystate;
24366
/* Number of tokens to shift before error messages enabled. */
24368
/* Lookahead token as an internal (translated) token number. */
24372
/* Three stacks and their tools:
24373
`yyss': related to states,
24374
@@ -982,41 +1290,29 @@ yyparse (YYPARSE_PARAM_ARG)
24375
Refer to the stacks thru separate pointers, to allow yyoverflow
24376
to reallocate them elsewhere. */
24378
- /* The state stack. */
24379
- short yyssa[YYINITDEPTH];
24380
- short *yyss = yyssa;
24381
- register short *yyssp;
24382
+ /* The state stack. */
24383
+ short int yyssa[YYINITDEPTH];
24384
+ short int *yyss = yyssa;
24385
+ register short int *yyssp;
24387
/* The semantic value stack. */
24388
YYSTYPE yyvsa[YYINITDEPTH];
24389
YYSTYPE *yyvs = yyvsa;
24390
register YYSTYPE *yyvsp;
24393
- /* The location stack. */
24394
- YYLTYPE yylsa[YYINITDEPTH];
24395
- YYLTYPE *yyls = yylsa;
24400
-# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
24402
-# define YYPOPSTACK (yyvsp--, yyssp--)
24405
- YYSIZE_T yystacksize = YYINITDEPTH;
24406
+#define YYPOPSTACK (yyvsp--, yyssp--)
24408
+ YYSIZE_T yystacksize = YYINITDEPTH;
24410
/* The variables used to return semantic value and location from the
24411
action routines. */
24418
/* When reducing, the number of symbols on the RHS of the reduced
24423
YYDPRINTF ((stderr, "Starting parse\n"));
24424
@@ -1033,9 +1329,8 @@ yyparse (YYPARSE_PARAM_ARG)
24435
/*------------------------------------------------------------.
24436
@@ -1050,7 +1345,7 @@ yyparse (YYPARSE_PARAM_ARG)
24440
- if (yyssp >= yyss + yystacksize - 1)
24441
+ if (yyss + yystacksize - 1 <= yyssp)
24443
/* Get the current used size of the three stacks, in elements. */
24444
YYSIZE_T yysize = yyssp - yyss + 1;
24445
@@ -1061,26 +1356,19 @@ yyparse (YYPARSE_PARAM_ARG)
24446
these so that the &'s don't force the real ones into
24448
YYSTYPE *yyvs1 = yyvs;
24449
- short *yyss1 = yyss;
24450
+ short int *yyss1 = yyss;
24453
/* Each stack pointer address is followed by the size of the
24454
- data in use in that stack, in bytes. */
24456
- YYLTYPE *yyls1 = yyls;
24457
- /* This used to be a conditional around just the two extra args,
24458
- but that might be undefined if yyoverflow is a macro. */
24459
- yyoverflow ("parser stack overflow",
24460
- &yyss1, yysize * sizeof (*yyssp),
24461
- &yyvs1, yysize * sizeof (*yyvsp),
24462
- &yyls1, yysize * sizeof (*yylsp),
24466
+ data in use in that stack, in bytes. This used to be a
24467
+ conditional around just the two extra args, but that might
24468
+ be undefined if yyoverflow is a macro. */
24469
yyoverflow ("parser stack overflow",
24470
&yyss1, yysize * sizeof (*yyssp),
24471
&yyvs1, yysize * sizeof (*yyvsp),
24479
@@ -1089,24 +1377,22 @@ yyparse (YYPARSE_PARAM_ARG)
24480
goto yyoverflowlab;
24482
/* Extend the stack our own way. */
24483
- if (yystacksize >= YYMAXDEPTH)
24484
+ if (YYMAXDEPTH <= yystacksize)
24485
goto yyoverflowlab;
24487
- if (yystacksize > YYMAXDEPTH)
24488
+ if (YYMAXDEPTH < yystacksize)
24489
yystacksize = YYMAXDEPTH;
24492
- short *yyss1 = yyss;
24493
+ short int *yyss1 = yyss;
24494
union yyalloc *yyptr =
24495
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
24497
goto yyoverflowlab;
24498
YYSTACK_RELOCATE (yyss);
24499
YYSTACK_RELOCATE (yyvs);
24501
- YYSTACK_RELOCATE (yyls);
24503
-# undef YYSTACK_RELOCATE
24505
+# undef YYSTACK_RELOCATE
24506
if (yyss1 != yyssa)
24507
YYSTACK_FREE (yyss1);
24509
@@ -1115,14 +1401,12 @@ yyparse (YYPARSE_PARAM_ARG)
24511
yyssp = yyss + yysize - 1;
24512
yyvsp = yyvs + yysize - 1;
24514
- yylsp = yyls + yysize - 1;
24518
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
24519
(unsigned long int) yystacksize));
24521
- if (yyssp >= yyss + yystacksize - 1)
24522
+ if (yyss + yystacksize - 1 <= yyssp)
24526
@@ -1130,7 +1414,6 @@ yyparse (YYPARSE_PARAM_ARG)
24534
@@ -1143,88 +1426,55 @@ yybackup:
24535
/* First try to decide what to do without reference to lookahead token. */
24537
yyn = yypact[yystate];
24538
- if (yyn == YYFLAG)
24539
+ if (yyn == YYPACT_NINF)
24542
/* Not known => get a lookahead token if don't already have one. */
24544
- /* yychar is either YYEMPTY or YYEOF
24545
- or a valid token in external form. */
24547
+ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
24548
if (yychar == YYEMPTY)
24550
YYDPRINTF ((stderr, "Reading a token: "));
24554
- /* Convert token to internal form (in yychar1) for indexing tables with */
24556
- if (yychar <= 0) /* This means end of input. */
24557
+ if (yychar <= YYEOF)
24560
- yychar = YYEOF; /* Don't call YYLEX any more */
24562
+ yychar = yytoken = YYEOF;
24563
YYDPRINTF ((stderr, "Now at end of input.\n"));
24567
- yychar1 = YYTRANSLATE (yychar);
24570
- /* We have to keep this `#if YYDEBUG', since we use variables
24571
- which are defined only if `YYDEBUG' is set. */
24574
- YYFPRINTF (stderr, "Next token is %d (%s",
24575
- yychar, yytname[yychar1]);
24576
- /* Give the individual parser a way to print the precise
24577
- meaning of a token, for further debugging info. */
24579
- YYPRINT (stderr, yychar, yylval);
24581
- YYFPRINTF (stderr, ")\n");
24584
+ yytoken = YYTRANSLATE (yychar);
24585
+ YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
24589
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
24592
- yyn = yytable[yyn];
24594
- /* yyn is what to do for this token type in this state.
24595
- Negative => reduce, -yyn is rule number.
24596
- Positive => shift, yyn is new state.
24597
- New state is final state => don't bother to shift,
24598
- just return success.
24599
- 0, or most negative number => error. */
24602
+ /* If the proper action on seeing token YYTOKEN is to reduce or to
24603
+ detect an error, take that action. */
24605
+ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
24607
+ yyn = yytable[yyn];
24610
- if (yyn == YYFLAG)
24611
+ if (yyn == 0 || yyn == YYTABLE_NINF)
24616
- else if (yyn == 0)
24619
if (yyn == YYFINAL)
24622
/* Shift the lookahead token. */
24623
- YYDPRINTF ((stderr, "Shifting token %d (%s), ",
24624
- yychar, yytname[yychar1]));
24625
+ YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
24627
/* Discard the token being shifted unless it is eof. */
24628
if (yychar != YYEOF)
24633
- *++yylsp = yylloc;
24637
/* Count tokens shifted since error; after three, turn off error
24639
@@ -1255,132 +1505,126 @@ yyreduce:
24640
/* If YYLEN is nonzero, implement the default value of the action:
24643
- Otherwise, the following line sets YYVAL to the semantic value of
24644
- the lookahead token. This behavior is undocumented and Bison
24645
+ Otherwise, the following line sets YYVAL to garbage.
24646
+ This behavior is undocumented and Bison
24647
users should not rely upon it. Assigning to YYVAL
24648
unconditionally makes the parser a bit smaller, and it avoids a
24649
GCC warning that YYVAL may be used uninitialized. */
24650
yyval = yyvsp[1-yylen];
24653
- /* Similarly for the default location. Let the user run additional
24654
- commands if for instance locations are ranges. */
24655
- yyloc = yylsp[1-yylen];
24656
- YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
24660
- /* We have to keep this `#if YYDEBUG', since we use variables which
24661
- are defined only if `YYDEBUG' is set. */
24666
- YYFPRINTF (stderr, "Reducing via rule %d (line %d), ",
24667
- yyn, yyrline[yyn]);
24669
- /* Print the symbols being reduced, and their result. */
24670
- for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++)
24671
- YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);
24672
- YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]);
24679
+ YY_REDUCE_PRINT (yyn);
24683
#line 71 "./fconfig.y"
24686
fconferror ("Missing/bad database info section");
24694
#line 76 "./fconfig.y"
24702
#line 82 "./fconfig.y"
24705
setDebugMode (databaseBeingDefined, yyvsp[0].intval);
24713
#line 85 "./fconfig.y"
24716
setKeepReceivedHeaders (databaseBeingDefined, yyvsp[0].intval);
24724
#line 88 "./fconfig.y"
24727
setNotifyExpire (databaseBeingDefined, yyvsp[0].intval);
24735
#line 91 "./fconfig.y"
24738
setBinDir (databaseBeingDefined, qStrVal (yyvsp[0].qstr));
24746
#line 94 "./fconfig.y"
24749
setSubmitterAck (databaseBeingDefined, yyvsp[0].intval);
24757
#line 97 "./fconfig.y"
24760
setBusinessDay (databaseBeingDefined, yyvsp[-2].intval, yyvsp[0].intval);
24768
#line 100 "./fconfig.y"
24771
setBusinessWeek(databaseBeingDefined,yyvsp[-2].intval, yyvsp[0].intval);
24779
#line 103 "./fconfig.y"
24782
setCreateCategoryDirs (databaseBeingDefined, yyvsp[0].intval);
24790
#line 106 "./fconfig.y"
24793
setCategoryDirPerms (databaseBeingDefined, qStrVal (yyvsp[0].qstr));
24801
#line 111 "./fconfig.y"
24802
-{ yyval.intval = 0; ;
24805
+ { yyval.intval = 0; }
24809
#line 112 "./fconfig.y"
24810
-{ yyval.intval = 1; ;
24813
+ { yyval.intval = 1; }
24817
#line 116 "./fconfig.y"
24820
fconferror ("Missing/bad field declarations");
24828
#line 125 "./fconfig.y"
24839
#line 128 "./fconfig.y"
24850
#line 133 "./fconfig.y"
24853
char *fname = takeQString (yyvsp[0].qstr);
24854
currField = newFieldDef (databaseBeingDefined, fname);
24855
if (currField == NULL)
24856
@@ -1392,95 +1636,108 @@ case 27:
24859
currField->default_value = NULL;
24867
#line 158 "./fconfig.y"
24870
currField->virtualFormat = qformat;
24879
#line 166 "./fconfig.y"
24882
currField->datatype = MultiText;
24883
currField->defaultSearchType = NilSearch;
24891
#line 170 "./fconfig.y"
24894
currField->datatype = Date;
24895
currField->defaultSearchType = LessThan;
24903
#line 174 "./fconfig.y"
24906
currField->datatype = Integer;
24907
currField->defaultSearchType = NilSearch;
24915
#line 178 "./fconfig.y"
24918
currField->datatype = PRListType;
24919
currField->defaultSearchType = RegCmp;
24927
#line 184 "./fconfig.y"
24930
currField->datatype = Text;
24938
#line 187 "./fconfig.y"
24941
currField->datatype = TextWithRegex;
24949
#line 193 "./fconfig.y"
24952
yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
24953
currField->regex = yyval.stringlist;
24961
#line 197 "./fconfig.y"
24964
yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
24965
yyval.stringlist = yyvsp[-1].stringlist->next;
24973
#line 203 "./fconfig.y"
24976
currField->datatype = Enum;
24977
currField->defaultSearchType = RegCmp;
24985
#line 207 "./fconfig.y"
24988
currField->datatype = Enum;
24989
currField->defaultSearchType = RegCmp;
24990
initAdmField (currField);
24998
#line 212 "./fconfig.y"
25001
currField->datatype = MultiEnum;
25002
currField->defaultSearchType = RegCmp;
25003
initAdmField (currField);
25011
#line 217 "./fconfig.y"
25014
currField->datatype = MultiEnum;
25015
currField->defaultSearchType = RegCmp;
25016
if (currField->multiEnumSeparator == NULL)
25017
@@ -1488,18 +1745,20 @@ case 49:
25018
currField->multiEnumSeparator
25019
= xstrdup (DEFAULT_MULTIENUM_SEPARATOR);
25028
#line 234 "./fconfig.y"
25031
addGlobalChangeActions (databaseBeingDefined, currChange);
25040
#line 240 "./fconfig.y"
25043
ChangeActions *p = &(currField->changeActions);
25046
@@ -1507,76 +1766,86 @@ case 55:
25057
#line 251 "./fconfig.y"
25060
currChange = newChangeAction (databaseBeingDefined, yyvsp[-1].sval);
25061
if (yyvsp[-1].sval != NULL)
25063
free (yyvsp[-1].sval);
25072
#line 260 "./fconfig.y"
25075
yyval.sval = takeQString (yyvsp[0].qstr);
25083
#line 263 "./fconfig.y"
25094
#line 274 "./fconfig.y"
25097
currChange->edits = currEdit;
25106
#line 278 "./fconfig.y"
25109
currEdit->append = 1;
25110
currChange->edits = currEdit;
25119
#line 283 "./fconfig.y"
25122
currChange->addAuditTrail = 1;
25130
#line 286 "./fconfig.y"
25133
currChange->auditTrailFormat = qformat;
25142
#line 290 "./fconfig.y"
25145
currChange->requireChangeReason = 1;
25153
#line 299 "./fconfig.y"
25157
= newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr),
25158
currChange->requiredFields);
25159
currChange->requiredFields = foo;
25167
#line 311 "./fconfig.y"
25170
currEdit = (FieldEdit *) xmalloc (sizeof (FieldEdit));
25171
currEdit->expr = NULL;
25172
currEdit->fieldToEditName = takeQString (yyvsp[0].qstr);
25173
@@ -1584,76 +1853,87 @@ case 73:
25174
currEdit->textFormat = NULL;
25175
currEdit->fieldsForFormat = NULL;
25176
currEdit->next = NULL;
25184
#line 322 "./fconfig.y"
25187
currEdit->textFormat = takeQString (yyvsp[0].qstr);
25195
#line 327 "./fconfig.y"
25198
currEdit->fieldsForFormat = NULL;
25206
#line 330 "./fconfig.y"
25216
#line 334 "./fconfig.y"
25219
yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr),
25221
currEdit->fieldsForFormat = yyval.flist;
25229
#line 339 "./fconfig.y"
25232
yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr),
25234
yyvsp[-1].flist->next = yyval.flist;
25242
#line 355 "./fconfig.y"
25245
currField->maxPrsPerLine = yyvsp[0].intval;
25253
#line 369 "./fconfig.y"
25256
currField->multiEnumSeparator = takeQString (yyvsp[0].qstr);
25264
#line 379 "./fconfig.y"
25267
yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
25268
currField->enumValues = yyval.stringlist;
25276
#line 383 "./fconfig.y"
25279
yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
25280
yyval.stringlist = yyvsp[-1].stringlist->next;
25288
#line 393 "./fconfig.y"
25291
currField->adm_db_name = takeQString (yyvsp[0].qstr);
25299
#line 396 "./fconfig.y"
25305
@@ -1679,90 +1959,103 @@ case 99:
25316
#line 425 "./fconfig.y"
25319
currField->allow_any_value = 1;
25327
#line 435 "./fconfig.y"
25330
currField->multiEnumSeparator = takeQString (yyvsp[0].qstr);
25338
#line 440 "./fconfig.y"
25341
currField->default_value = takeQString (yyvsp[0].qstr);
25349
#line 443 "./fconfig.y"
25352
currField->input_default_value = takeQString (yyvsp[0].qstr);
25360
#line 448 "./fconfig.y"
25363
currField->adm_db_fields = 1;
25364
currField->adm_field_des = yyvsp[0].adm_field_des;
25365
yyval.adm_field_des = yyvsp[0].adm_field_des;
25373
#line 453 "./fconfig.y"
25376
yyvsp[-1].adm_field_des->next = yyvsp[0].adm_field_des;
25377
yyval.adm_field_des = yyvsp[0].adm_field_des;
25378
currField->adm_db_fields++;
25386
#line 460 "./fconfig.y"
25389
yyval.adm_field_des = (AdmFieldDesc *)
25390
xmalloc (sizeof (AdmFieldDesc));
25391
yyval.adm_field_des->name = takeQString (yyvsp[0].qstr);
25392
yyval.adm_field_des->next = NULL;
25400
#line 468 "./fconfig.y"
25403
currField->defaultSearchType = RegCmp;
25411
#line 471 "./fconfig.y"
25414
currField->defaultSearchType = RegFind;
25422
#line 476 "./fconfig.y"
25425
currField->textsearch = 1;
25433
#line 479 "./fconfig.y"
25436
currField->restricted = 1;
25444
#line 482 "./fconfig.y"
25447
currField->nospaces = 1;
25455
#line 485 "./fconfig.y"
25458
if (setBuiltinField (currField, qStrVal (yyvsp[0].qstr)) != 0)
25461
@@ -1771,99 +2064,113 @@ case 117:
25472
#line 496 "./fconfig.y"
25475
currField->description = takeQString (yyvsp[0].qstr);
25483
#line 499 "./fconfig.y"
25486
currField->readonly = 1;
25494
#line 502 "./fconfig.y"
25497
currField->auxFlags = yyvsp[-1].stringlist;
25505
#line 505 "./fconfig.y"
25508
currField->editonly = 1;
25516
#line 510 "./fconfig.y"
25519
yyval.stringlist = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
25520
currField->auxFlags = yyval.stringlist;
25528
#line 514 "./fconfig.y"
25531
yyvsp[-1].stringlist->next = new_string_list_ent (takeQString (yyvsp[0].qstr), NULL);
25532
yyval.stringlist = yyvsp[-1].stringlist->next;
25540
#line 528 "./fconfig.y"
25543
addQueryFormat (databaseBeingDefined, qformat);
25552
#line 532 "./fconfig.y"
25555
freeQueryFormat (qformat);
25564
#line 538 "./fconfig.y"
25567
qformat = (QueryFormat *) xmalloc (sizeof (QueryFormat));
25568
qformat->name = takeQString (yyvsp[0].qstr);
25569
qformat->printf = NULL;
25570
qformat->separator = NULL;
25571
qformat->fields = NULL;
25572
qformat->next = NULL;
25580
#line 562 "./fconfig.y"
25583
qformat->rawQuery = 1;
25591
#line 567 "./fconfig.y"
25594
qformat->printf = takeQString (yyvsp[0].qstr);
25602
#line 576 "./fconfig.y"
25605
qformat->fields = yyvsp[0].flist;
25613
#line 579 "./fconfig.y"
25616
yyvsp[-1].flist->next = yyvsp[0].flist;
25617
yyval.flist = yyvsp[0].flist;
25625
#line 585 "./fconfig.y"
25628
yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr),
25630
if (parseComplexFieldIndex (yyval.flist->ent) != 0)
25631
@@ -1874,106 +2181,122 @@ case 146:
25642
#line 599 "./fconfig.y"
25645
setIndexDesc (databaseBeingDefined, indexEntry);
25654
#line 603 "./fconfig.y"
25657
freeIndexDesc (indexEntry);
25666
#line 610 "./fconfig.y"
25669
indexEntry = newIndexDesc (databaseBeingDefined);
25677
#line 619 "./fconfig.y"
25680
setIndexDescPath (indexEntry, qStrVal (yyvsp[0].qstr));
25688
#line 627 "./fconfig.y"
25691
addFieldToIndex (indexEntry, yyvsp[0].flist);
25699
#line 630 "./fconfig.y"
25702
addFieldToIndex (indexEntry, yyvsp[0].flist);
25710
#line 635 "./fconfig.y"
25713
setIndexDescSeparator (indexEntry, takeQString (yyvsp[0].qstr));
25721
#line 638 "./fconfig.y"
25724
setIndexDescBinary (indexEntry, yyvsp[0].intval);
25732
#line 647 "./fconfig.y"
25735
setInputTemplate (databaseBeingDefined, yyvsp[-1].inputlist);
25743
#line 653 "./fconfig.y"
25746
setRequiredInputFields (databaseBeingDefined, requiredFlds);
25754
#line 656 "./fconfig.y"
25757
freeFieldList (requiredFlds);
25758
requiredFlds = NULL;
25766
#line 662 "./fconfig.y"
25769
requiredFlds = yyvsp[0].flist;
25777
#line 665 "./fconfig.y"
25780
yyvsp[-1].flist->next = yyvsp[0].flist;
25781
yyval.flist = yyvsp[0].flist;
25789
#line 671 "./fconfig.y"
25792
yyval.inputlist = inputTemplate;
25793
inputTemplate = NULL;
25801
#line 675 "./fconfig.y"
25804
yyval.inputlist = NULL;
25812
#line 680 "./fconfig.y"
25815
yyval.inputlist = (InputTemplate *)
25816
xmalloc (sizeof (InputTemplate));
25817
yyval.inputlist->index = find_field_index (databaseBeingDefined,
25818
@@ -1994,11 +2317,12 @@ case 171:
25819
inputTemplate = yyval.inputlist;
25820
yyval.inputlist->next = NULL;
25829
#line 702 "./fconfig.y"
25832
yyval.inputlist = (InputTemplate *)
25833
xmalloc (sizeof (InputTemplate));
25834
yyval.inputlist->index = find_field_index (databaseBeingDefined,
25835
@@ -2022,25 +2346,28 @@ case 172:
25836
inputTemplate = yyval.inputlist;
25846
#line 733 "./fconfig.y"
25849
addMessageFormat (databaseBeingDefined, mailFormat);
25858
#line 737 "./fconfig.y"
25861
freeMessageFormat (mailFormat);
25870
#line 743 "./fconfig.y"
25874
= (MailMessageFormat)
25875
xmalloc (sizeof (struct mail_message_format));
25876
@@ -2051,149 +2378,153 @@ case 177:
25877
mailFormat->body = NULL;
25878
mailFormat->header = NULL;
25879
mailFormat->next = NULL;
25887
#line 761 "./fconfig.y"
25890
mailFormat->body = qformat;
25899
#line 765 "./fconfig.y"
25902
mailFormat->header = qformat;
25911
#line 769 "./fconfig.y"
25914
mailFormat->toAddresses = yyvsp[-1].mailaddrlist;
25922
#line 772 "./fconfig.y"
25925
mailFormat->fromAddress = yyvsp[-1].mailaddr;
25933
#line 775 "./fconfig.y"
25936
mailFormat->replyTo = yyvsp[-1].mailaddrlist;
25944
#line 787 "./fconfig.y"
25947
freeQueryFormat (qformat);
25956
#line 793 "./fconfig.y"
25959
qformat = (QueryFormat *) xmalloc (sizeof (QueryFormat));
25960
qformat->name = NULL;
25961
qformat->printf = NULL;
25962
qformat->separator = NULL;
25963
qformat->fields = NULL;
25964
qformat->next = NULL;
25972
#line 803 "./fconfig.y"
25975
yyval.mailaddrlist = (MailAddressList *) xmalloc (sizeof (MailAddressList));
25976
yyval.mailaddrlist->address = yyvsp[0].mailaddr;
25977
yyval.mailaddrlist->next = NULL;
25985
#line 808 "./fconfig.y"
25988
MailAddressList *lp = yyval.mailaddrlist;
25989
while (lp->next != NULL) { lp = lp->next; }
25991
(MailAddressList *) xmalloc (sizeof (MailAddressList));
25992
lp->next->address = yyvsp[0].mailaddr;
25993
lp->next->next = NULL;
26001
#line 818 "./fconfig.y"
26004
yyval.mailaddr = (MailAddress *) xmalloc (sizeof (MailAddress));
26005
yyval.mailaddr->fixedAddress = takeQString (yyvsp[0].qstr);
26006
yyval.mailaddr->addresses = NULL;
26014
#line 823 "./fconfig.y"
26017
yyval.mailaddr = (MailAddress *) xmalloc (sizeof (MailAddress));
26018
yyval.mailaddr->fixedAddress = NULL;
26019
yyval.mailaddr->addresses = yyvsp[0].flist;
26027
#line 830 "./fconfig.y"
26030
yyval.flist = yyvsp[0].flist;
26038
#line 833 "./fconfig.y"
26041
FieldList p = yyval.flist;
26042
while (p->next != NULL)
26046
p->next = yyvsp[0].flist;
26054
#line 843 "./fconfig.y"
26057
yyval.flist = newFieldListEnt (databaseBeingDefined, qStrVal (yyvsp[0].qstr),
26066
#line 849 "./fconfig.y"
26069
setAuditTrailFormat (databaseBeingDefined, qformat);
26077
-#line 706 "/usr/share/bison/bison.simple"
26080
+/* Line 1010 of yacc.c. */
26081
+#line 2519 "fconfig.tab.c"
26092
- short *yyssp1 = yyss - 1;
26093
- YYFPRINTF (stderr, "state stack now");
26094
- while (yyssp1 != yyssp)
26095
- YYFPRINTF (stderr, " %d", *++yyssp1);
26096
- YYFPRINTF (stderr, "\n");
26100
+ YY_STACK_PRINT (yyss, yyssp);
26104
- *++yylsp = yyloc;
26108
/* Now `shift' the result of the reduction. Determine what state
26109
that goes to, based on the state we popped back to and the rule
26110
@@ -2201,11 +2532,11 @@ case 197:
26114
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
26115
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
26116
+ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
26117
+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
26118
yystate = yytable[yystate];
26120
- yystate = yydefgoto[yyn - YYNTBASE];
26121
+ yystate = yydefgoto[yyn - YYNTOKENS];
26125
@@ -2218,145 +2549,151 @@ yyerrlab:
26130
-#ifdef YYERROR_VERBOSE
26131
+#if YYERROR_VERBOSE
26132
yyn = yypact[yystate];
26134
- if (yyn > YYFLAG && yyn < YYLAST)
26135
+ if (YYPACT_NINF < yyn && yyn < YYLAST)
26137
YYSIZE_T yysize = 0;
26138
+ int yytype = YYTRANSLATE (yychar);
26139
+ const char* yyprefix;
26141
- int yyx, yycount;
26145
/* Start YYX at -YYN if negative to avoid negative indexes in
26147
- for (yyx = yyn < 0 ? -yyn : 0;
26148
- yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
26149
- if (yycheck[yyx + yyn] == yyx)
26150
- yysize += yystrlen (yytname[yyx]) + 15, yycount++;
26151
- yysize += yystrlen ("parse error, unexpected ") + 1;
26152
- yysize += yystrlen (yytname[YYTRANSLATE (yychar)]);
26153
+ int yyxbegin = yyn < 0 ? -yyn : 0;
26155
+ /* Stay within bounds of both yycheck and yytname. */
26156
+ int yychecklim = YYLAST - yyn;
26157
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
26160
+ yyprefix = ", expecting ";
26161
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
26162
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
26164
+ yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
26166
+ if (yycount == 5)
26172
+ yysize += (sizeof ("syntax error, unexpected ")
26173
+ + yystrlen (yytname[yytype]));
26174
yymsg = (char *) YYSTACK_ALLOC (yysize);
26177
- char *yyp = yystpcpy (yymsg, "parse error, unexpected ");
26178
- yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]);
26179
+ char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
26180
+ yyp = yystpcpy (yyp, yytname[yytype]);
26185
- for (yyx = yyn < 0 ? -yyn : 0;
26186
- yyx < (int) (sizeof (yytname) / sizeof (char *));
26188
- if (yycheck[yyx + yyn] == yyx)
26189
+ yyprefix = ", expecting ";
26190
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
26191
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
26193
- const char *yyq = ! yycount ? ", expecting " : " or ";
26194
- yyp = yystpcpy (yyp, yyq);
26195
+ yyp = yystpcpy (yyp, yyprefix);
26196
yyp = yystpcpy (yyp, yytname[yyx]);
26198
+ yyprefix = " or ";
26202
YYSTACK_FREE (yymsg);
26205
- yyerror ("parse error; also virtual memory exhausted");
26206
+ yyerror ("syntax error; also virtual memory exhausted");
26209
-#endif /* defined (YYERROR_VERBOSE) */
26210
- yyerror ("parse error");
26211
+#endif /* YYERROR_VERBOSE */
26212
+ yyerror ("syntax error");
26217
-/*--------------------------------------------------.
26218
-| yyerrlab1 -- error raised explicitly by an action |
26219
-`--------------------------------------------------*/
26222
if (yyerrstatus == 3)
26224
/* If just tried and failed to reuse lookahead token after an
26225
error, discard it. */
26227
- /* return failure if at end of input */
26228
- if (yychar == YYEOF)
26230
- YYDPRINTF ((stderr, "Discarding token %d (%s).\n",
26231
- yychar, yytname[yychar1]));
26232
- yychar = YYEMPTY;
26233
+ if (yychar <= YYEOF)
26235
+ /* If at end of input, pop the error token,
26236
+ then the rest of the stack, then return failure. */
26237
+ if (yychar == YYEOF)
26241
+ if (yyssp == yyss)
26243
+ YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
26244
+ yydestruct (yystos[*yyssp], yyvsp);
26249
+ YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
26250
+ yydestruct (yytoken, &yylval);
26251
+ yychar = YYEMPTY;
26256
/* Else will try to reuse lookahead token after shifting the error
26259
- yyerrstatus = 3; /* Each real token shifted decrements this */
26261
- goto yyerrhandle;
26265
-/*-------------------------------------------------------------------.
26266
-| yyerrdefault -- current state does not do anything special for the |
26268
-`-------------------------------------------------------------------*/
26271
- /* This is wrong; only states that explicitly want error tokens
26272
- should shift them. */
26273
+/*---------------------------------------------------.
26274
+| yyerrorlab -- error raised explicitly by YYERROR. |
26275
+`---------------------------------------------------*/
26278
- /* If its default is to accept any token, ok. Otherwise pop it. */
26279
- yyn = yydefact[yystate];
26283
+ /* Pacify GCC when the user code never invokes YYERROR and the label
26284
+ yyerrorlab therefore never appears in user code. */
26291
+ yystate = *yyssp;
26294
-/*---------------------------------------------------------------.
26295
-| yyerrpop -- pop the current state because it cannot handle the |
26297
-`---------------------------------------------------------------*/
26299
- if (yyssp == yyss)
26302
- yystate = *--yyssp;
26310
- short *yyssp1 = yyss - 1;
26311
- YYFPRINTF (stderr, "Error: state stack now");
26312
- while (yyssp1 != yyssp)
26313
- YYFPRINTF (stderr, " %d", *++yyssp1);
26314
- YYFPRINTF (stderr, "\n");
26317
+/*-------------------------------------------------------------.
26318
+| yyerrlab1 -- common code for both syntax error and YYERROR. |
26319
+`-------------------------------------------------------------*/
26321
+ yyerrstatus = 3; /* Each real token shifted decrements this. */
26327
- yyn = yypact[yystate];
26328
- if (yyn == YYFLAG)
26329
- goto yyerrdefault;
26332
+ yyn = yypact[yystate];
26333
+ if (yyn != YYPACT_NINF)
26336
+ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
26338
+ yyn = yytable[yyn];
26345
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
26346
- goto yyerrdefault;
26347
+ /* Pop the current state because it cannot handle the error token. */
26348
+ if (yyssp == yyss)
26351
- yyn = yytable[yyn];
26354
- if (yyn == YYFLAG)
26358
+ YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
26359
+ yydestruct (yystos[yystate], yyvsp);
26361
+ yystate = *yyssp;
26362
+ YY_STACK_PRINT (yyss, yyssp);
26364
- else if (yyn == 0)
26367
if (yyn == YYFINAL)
26369
@@ -2364,9 +2701,7 @@ yyerrhandle:
26370
YYDPRINTF ((stderr, "Shifting error token, "));
26374
- *++yylsp = yylloc;
26380
@@ -2386,13 +2721,15 @@ yyabortlab:
26384
-/*---------------------------------------------.
26385
-| yyoverflowab -- parser overflow comes here. |
26386
-`---------------------------------------------*/
26387
+#ifndef yyoverflow
26388
+/*----------------------------------------------.
26389
+| yyoverflowlab -- parser overflow comes here. |
26390
+`----------------------------------------------*/
26392
yyerror ("parser stack overflow");
26394
/* Fall through. */
26399
@@ -2401,4 +2738,6 @@ yyreturn:
26403
-#line 853 "./fconfig.y"
26407
--- gnats-4.1.0.orig/send-pr/aclocal.m4
26408
+++ gnats-4.1.0/send-pr/aclocal.m4
26410
-dnl aclocal.m4t generated automatically by aclocal 1.4-p6
26411
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
26413
-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26414
-dnl This file is free software; the Free Software Foundation
26415
-dnl gives unlimited permission to copy and/or distribute it,
26416
-dnl with or without modifications, as long as this notice is preserved.
26417
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
26418
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26419
+# This file is free software; the Free Software Foundation
26420
+# gives unlimited permission to copy and/or distribute it,
26421
+# with or without modifications, as long as this notice is preserved.
26423
+# This program is distributed in the hope that it will be useful,
26424
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
26425
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
26426
+# PARTICULAR PURPOSE.
26428
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
26429
+# 2006 Free Software Foundation, Inc.
26431
+# This file is free software; the Free Software Foundation
26432
+# gives unlimited permission to copy and/or distribute it,
26433
+# with or without modifications, as long as this notice is preserved.
26435
-dnl This program is distributed in the hope that it will be useful,
26436
-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
26437
-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
26438
-dnl PARTICULAR PURPOSE.
26441
-define([AC_ECHON],dnl
26442
-[echo checking for echo -n
26443
-if test "`echo -n foo`" = foo ; then
26445
- test -n "$verbose" && echo ' using echo -n'
26446
-elif test "`echo 'foo\c'`" = foo ; then
26448
- test -n "$verbose" && echo ' using echo ...\\c'
26451
- test -n "$verbose" && echo ' using plain echo'
26454
-define([AC_PASSWD],dnl
26455
-[echo checking how to access passwd database
26456
-PASSWD="cat /etc/passwd"
26457
-if test -f /bin/domainname && test -n "`/bin/domainname`"; then
26458
- if test -f /usr/bin/niscat &&
26459
- /usr/bin/niscat passwd.org_dir > /dev/null 2>&1; then
26460
- PASSWD="/usr/bin/niscat passwd.org_dir"
26461
- elif test -f /usr/bin/ypcat && /usr/bin/ypcat passwd > /dev/null 2>&1; then
26462
- PASSWD="/usr/bin/ypcat passwd"
26465
-test -n "$verbose" && echo " setting PASSWD to ${PASSWD}"
26466
-AC_SUBST(PASSWD)dnl
26469
-# lib-prefix.m4 serial 3 (gettext-0.13)
26470
-dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
26471
-dnl This file is free software, distributed under the terms of the GNU
26472
-dnl General Public License. As a special exception to the GNU General
26473
-dnl Public License, this file may be distributed as part of a program
26474
-dnl that contains a configuration script generated by Autoconf, under
26475
-dnl the same distribution terms as the rest of that program.
26477
-dnl From Bruno Haible.
26479
-dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
26480
-dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
26481
-dnl require excessive bracketing.
26482
-ifdef([AC_HELP_STRING],
26483
-[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
26484
-[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
26486
-dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
26487
-dnl to access previously installed libraries. The basic assumption is that
26488
-dnl a user will want packages to use other packages he previously installed
26489
-dnl with the same --prefix option.
26490
-dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
26491
-dnl libraries, but is otherwise very convenient.
26492
-AC_DEFUN([AC_LIB_PREFIX],
26494
- AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
26495
- AC_REQUIRE([AC_PROG_CC])
26496
- AC_REQUIRE([AC_CANONICAL_HOST])
26497
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
26498
- dnl By default, look in $includedir and $libdir.
26499
- use_additional=yes
26500
- AC_LIB_WITH_FINAL_PREFIX([
26501
- eval additional_includedir=\"$includedir\"
26502
- eval additional_libdir=\"$libdir\"
26504
- AC_LIB_ARG_WITH([lib-prefix],
26505
-[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
26506
- --without-lib-prefix don't search for libraries in includedir and libdir],
26508
- if test "X$withval" = "Xno"; then
26509
- use_additional=no
26511
- if test "X$withval" = "X"; then
26512
- AC_LIB_WITH_FINAL_PREFIX([
26513
- eval additional_includedir=\"$includedir\"
26514
- eval additional_libdir=\"$libdir\"
26517
- additional_includedir="$withval/include"
26518
- additional_libdir="$withval/lib"
26522
- if test $use_additional = yes; then
26523
- dnl Potentially add $additional_includedir to $CPPFLAGS.
26524
- dnl But don't add it
26525
- dnl 1. if it's the standard /usr/include,
26526
- dnl 2. if it's already present in $CPPFLAGS,
26527
- dnl 3. if it's /usr/local/include and we are using GCC on Linux,
26528
- dnl 4. if it doesn't exist as a directory.
26529
- if test "X$additional_includedir" != "X/usr/include"; then
26531
- for x in $CPPFLAGS; do
26532
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
26533
- if test "X$x" = "X-I$additional_includedir"; then
26538
- if test -z "$haveit"; then
26539
- if test "X$additional_includedir" = "X/usr/local/include"; then
26540
- if test -n "$GCC"; then
26542
- linux*) haveit=yes;;
26546
- if test -z "$haveit"; then
26547
- if test -d "$additional_includedir"; then
26548
- dnl Really add $additional_includedir to $CPPFLAGS.
26549
- CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
26554
- dnl Potentially add $additional_libdir to $LDFLAGS.
26555
- dnl But don't add it
26556
- dnl 1. if it's the standard /usr/lib,
26557
- dnl 2. if it's already present in $LDFLAGS,
26558
- dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
26559
- dnl 4. if it doesn't exist as a directory.
26560
- if test "X$additional_libdir" != "X/usr/lib"; then
26562
- for x in $LDFLAGS; do
26563
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
26564
- if test "X$x" = "X-L$additional_libdir"; then
26569
- if test -z "$haveit"; then
26570
- if test "X$additional_libdir" = "X/usr/local/lib"; then
26571
- if test -n "$GCC"; then
26573
- linux*) haveit=yes;;
26577
- if test -z "$haveit"; then
26578
- if test -d "$additional_libdir"; then
26579
- dnl Really add $additional_libdir to $LDFLAGS.
26580
- LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
26588
-dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
26589
-dnl acl_final_exec_prefix, containing the values to which $prefix and
26590
-dnl $exec_prefix will expand at the end of the configure script.
26591
-AC_DEFUN([AC_LIB_PREPARE_PREFIX],
26593
- dnl Unfortunately, prefix and exec_prefix get only finally determined
26594
- dnl at the end of configure.
26595
- if test "X$prefix" = "XNONE"; then
26596
- acl_final_prefix="$ac_default_prefix"
26598
- acl_final_prefix="$prefix"
26600
- if test "X$exec_prefix" = "XNONE"; then
26601
- acl_final_exec_prefix='${prefix}'
26603
- acl_final_exec_prefix="$exec_prefix"
26605
- acl_save_prefix="$prefix"
26606
- prefix="$acl_final_prefix"
26607
- eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26608
- prefix="$acl_save_prefix"
26611
-dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
26612
-dnl variables prefix and exec_prefix bound to the values they will have
26613
-dnl at the end of the configure script.
26614
-AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
26616
- acl_save_prefix="$prefix"
26617
- prefix="$acl_final_prefix"
26618
- acl_save_exec_prefix="$exec_prefix"
26619
- exec_prefix="$acl_final_exec_prefix"
26621
- exec_prefix="$acl_save_exec_prefix"
26622
- prefix="$acl_save_prefix"
26625
-# lib-link.m4 serial 4 (gettext-0.12)
26626
-dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
26627
-dnl This file is free software, distributed under the terms of the GNU
26628
-dnl General Public License. As a special exception to the GNU General
26629
-dnl Public License, this file may be distributed as part of a program
26630
-dnl that contains a configuration script generated by Autoconf, under
26631
-dnl the same distribution terms as the rest of that program.
26633
-dnl From Bruno Haible.
26635
-dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
26636
-dnl the libraries corresponding to explicit and implicit dependencies.
26637
-dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
26638
-dnl augments the CPPFLAGS variable.
26639
-AC_DEFUN([AC_LIB_LINKFLAGS],
26641
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
26642
- AC_REQUIRE([AC_LIB_RPATH])
26643
- define([Name],[translit([$1],[./-], [___])])
26644
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
26645
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
26646
- AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
26647
- AC_LIB_LINKFLAGS_BODY([$1], [$2])
26648
- ac_cv_lib[]Name[]_libs="$LIB[]NAME"
26649
- ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
26650
- ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
26652
- LIB[]NAME="$ac_cv_lib[]Name[]_libs"
26653
- LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
26654
- INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
26655
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
26656
- AC_SUBST([LIB]NAME)
26657
- AC_SUBST([LTLIB]NAME)
26658
- dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
26659
- dnl results of this search when this library appears as a dependency.
26660
- HAVE_LIB[]NAME=yes
26665
-dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
26666
-dnl searches for libname and the libraries corresponding to explicit and
26667
-dnl implicit dependencies, together with the specified include files and
26668
-dnl the ability to compile and link the specified testcode. If found, it
26669
-dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
26670
-dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
26671
-dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
26672
-dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
26673
-AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
26675
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
26676
- AC_REQUIRE([AC_LIB_RPATH])
26677
- define([Name],[translit([$1],[./-], [___])])
26678
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
26679
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
26681
- dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
26683
- AC_LIB_LINKFLAGS_BODY([$1], [$2])
26685
- dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
26686
- dnl because if the user has installed lib[]Name and not disabled its use
26687
- dnl via --without-lib[]Name-prefix, he wants to use it.
26688
- ac_save_CPPFLAGS="$CPPFLAGS"
26689
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
26691
- AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
26692
- ac_save_LIBS="$LIBS"
26693
- LIBS="$LIBS $LIB[]NAME"
26694
- AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
26695
- LIBS="$ac_save_LIBS"
26697
- if test "$ac_cv_lib[]Name" = yes; then
26698
- HAVE_LIB[]NAME=yes
26699
- AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
26700
- AC_MSG_CHECKING([how to link with lib[]$1])
26701
- AC_MSG_RESULT([$LIB[]NAME])
26703
- HAVE_LIB[]NAME=no
26704
- dnl If $LIB[]NAME didn't lead to a usable library, we don't need
26705
- dnl $INC[]NAME either.
26706
- CPPFLAGS="$ac_save_CPPFLAGS"
26710
- AC_SUBST([HAVE_LIB]NAME)
26711
- AC_SUBST([LIB]NAME)
26712
- AC_SUBST([LTLIB]NAME)
26717
-dnl Determine the platform dependent parameters needed to use rpath:
26718
-dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
26719
-dnl hardcode_direct, hardcode_minus_L.
26720
-AC_DEFUN([AC_LIB_RPATH],
26722
- AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
26723
- AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
26724
- AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
26725
- AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
26726
- AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
26727
- CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26728
- ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26730
- rm -f ./conftest.sh
26731
- acl_cv_rpath=done
26734
- libext="$acl_cv_libext"
26735
- shlibext="$acl_cv_shlibext"
26736
- hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26737
- hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26738
- hardcode_direct="$acl_cv_hardcode_direct"
26739
- hardcode_minus_L="$acl_cv_hardcode_minus_L"
26740
- dnl Determine whether the user wants rpath handling at all.
26741
- AC_ARG_ENABLE(rpath,
26742
- [ --disable-rpath do not hardcode runtime library paths],
26743
- :, enable_rpath=yes)
26746
-dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
26747
-dnl the libraries corresponding to explicit and implicit dependencies.
26748
-dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
26749
-AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
26751
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
26752
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
26753
- dnl By default, look in $includedir and $libdir.
26754
- use_additional=yes
26755
- AC_LIB_WITH_FINAL_PREFIX([
26756
- eval additional_includedir=\"$includedir\"
26757
- eval additional_libdir=\"$libdir\"
26760
+AC_DEFUN([AM_PATH_LISPDIR],
26761
+[AC_PREREQ([2.60])dnl
26762
+ # If set to t, that means we are running in a shell under Emacs.
26763
+ # If you have an Emacs named "t", then use the full path.
26764
+ test x"$EMACS" = xt && EMACS=
26765
+ AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
26766
+ AC_ARG_VAR([EMACS], [the Emacs editor command])
26767
+ AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
26768
+ AC_ARG_WITH([lispdir],
26769
+ [ --with-lispdir override the default lisp directory],
26770
+ [ lispdir="$withval"
26771
+ AC_MSG_CHECKING([where .elc files should go])
26772
+ AC_MSG_RESULT([$lispdir])],
26774
+ AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [
26775
+ if test $EMACS != "no"; then
26776
+ if test x${lispdir+set} != xset; then
26777
+ # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
26778
+ # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
26779
+ # which is non-obvious for non-emacs users.
26780
+ # Redirecting /dev/null should help a bit; pity we can't detect "broken"
26781
+ # emacsen earlier and avoid running this altogether.
26782
+ AC_RUN_LOG([$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
26783
+ am_cv_lispdir=`sed -n \
26785
+ -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
26786
+ -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
26791
+ test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
26793
- AC_LIB_ARG_WITH([lib$1-prefix],
26794
-[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
26795
- --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
26797
- if test "X$withval" = "Xno"; then
26798
- use_additional=no
26800
- if test "X$withval" = "X"; then
26801
- AC_LIB_WITH_FINAL_PREFIX([
26802
- eval additional_includedir=\"$includedir\"
26803
- eval additional_libdir=\"$libdir\"
26806
- additional_includedir="$withval/include"
26807
- additional_libdir="$withval/lib"
26811
- dnl Search the library and its dependencies in $additional_libdir and
26812
- dnl $LDFLAGS. Using breadth-first-seach.
26818
- names_already_handled=
26819
- names_next_round='$1 $2'
26820
- while test -n "$names_next_round"; do
26821
- names_this_round="$names_next_round"
26822
- names_next_round=
26823
- for name in $names_this_round; do
26825
- for n in $names_already_handled; do
26826
- if test "$n" = "$name"; then
26827
- already_handled=yes
26831
- if test -z "$already_handled"; then
26832
- names_already_handled="$names_already_handled $name"
26833
- dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
26834
- dnl or AC_LIB_HAVE_LINKFLAGS call.
26835
- uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26836
- eval value=\"\$HAVE_LIB$uppername\"
26837
- if test -n "$value"; then
26838
- if test "$value" = yes; then
26839
- eval value=\"\$LIB$uppername\"
26840
- test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
26841
- eval value=\"\$LTLIB$uppername\"
26842
- test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
26844
- dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
26845
- dnl that this library doesn't exist. So just drop it.
26849
- dnl Search the library lib$name in $additional_libdir and $LDFLAGS
26850
- dnl and the already constructed $LIBNAME/$LTLIBNAME.
26855
- if test $use_additional = yes; then
26856
- if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26857
- found_dir="$additional_libdir"
26858
- found_so="$additional_libdir/lib$name.$shlibext"
26859
- if test -f "$additional_libdir/lib$name.la"; then
26860
- found_la="$additional_libdir/lib$name.la"
26863
- if test -f "$additional_libdir/lib$name.$libext"; then
26864
- found_dir="$additional_libdir"
26865
- found_a="$additional_libdir/lib$name.$libext"
26866
- if test -f "$additional_libdir/lib$name.la"; then
26867
- found_la="$additional_libdir/lib$name.la"
26872
- if test "X$found_dir" = "X"; then
26873
- for x in $LDFLAGS $LTLIB[]NAME; do
26874
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
26877
- dir=`echo "X$x" | sed -e 's/^X-L//'`
26878
- if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26880
- found_so="$dir/lib$name.$shlibext"
26881
- if test -f "$dir/lib$name.la"; then
26882
- found_la="$dir/lib$name.la"
26885
- if test -f "$dir/lib$name.$libext"; then
26887
- found_a="$dir/lib$name.$libext"
26888
- if test -f "$dir/lib$name.la"; then
26889
- found_la="$dir/lib$name.la"
26895
- if test "X$found_dir" != "X"; then
26900
- if test "X$found_dir" != "X"; then
26901
- dnl Found the library.
26902
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
26903
- if test "X$found_so" != "X"; then
26904
- dnl Linking with a shared library. We attempt to hardcode its
26905
- dnl directory into the executable's runpath, unless it's the
26906
- dnl standard /usr/lib.
26907
- if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26908
- dnl No hardcoding is needed.
26909
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
26911
- dnl Use an explicit option to hardcode DIR into the resulting
26913
- dnl Potentially add DIR to ltrpathdirs.
26914
- dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
26916
- for x in $ltrpathdirs; do
26917
- if test "X$x" = "X$found_dir"; then
26922
- if test -z "$haveit"; then
26923
- ltrpathdirs="$ltrpathdirs $found_dir"
26925
- dnl The hardcoding into $LIBNAME is system dependent.
26926
- if test "$hardcode_direct" = yes; then
26927
- dnl Using DIR/libNAME.so during linking hardcodes DIR into the
26928
- dnl resulting binary.
26929
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
26931
- if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26932
- dnl Use an explicit option to hardcode DIR into the resulting
26934
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
26935
- dnl Potentially add DIR to rpathdirs.
26936
- dnl The rpathdirs will be appended to $LIBNAME at the end.
26938
- for x in $rpathdirs; do
26939
- if test "X$x" = "X$found_dir"; then
26944
- if test -z "$haveit"; then
26945
- rpathdirs="$rpathdirs $found_dir"
26948
- dnl Rely on "-L$found_dir".
26949
- dnl But don't add it if it's already contained in the LDFLAGS
26950
- dnl or the already constructed $LIBNAME
26952
- for x in $LDFLAGS $LIB[]NAME; do
26953
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
26954
- if test "X$x" = "X-L$found_dir"; then
26959
- if test -z "$haveit"; then
26960
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
26962
- if test "$hardcode_minus_L" != no; then
26963
- dnl FIXME: Not sure whether we should use
26964
- dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
26966
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
26968
- dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
26969
- dnl here, because this doesn't fit in flags passed to the
26970
- dnl compiler. So give up. No hardcoding. This affects only
26971
- dnl very old systems.
26972
- dnl FIXME: Not sure whether we should use
26973
- dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
26975
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
26981
- if test "X$found_a" != "X"; then
26982
- dnl Linking with a static library.
26983
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
26985
- dnl We shouldn't come here, but anyway it's good to have a
26987
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
26990
- dnl Assume the include files are nearby.
26991
- additional_includedir=
26992
- case "$found_dir" in
26994
- basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26995
- additional_includedir="$basedir/include"
26998
- if test "X$additional_includedir" != "X"; then
26999
- dnl Potentially add $additional_includedir to $INCNAME.
27000
- dnl But don't add it
27001
- dnl 1. if it's the standard /usr/include,
27002
- dnl 2. if it's /usr/local/include and we are using GCC on Linux,
27003
- dnl 3. if it's already present in $CPPFLAGS or the already
27004
- dnl constructed $INCNAME,
27005
- dnl 4. if it doesn't exist as a directory.
27006
- if test "X$additional_includedir" != "X/usr/include"; then
27008
- if test "X$additional_includedir" = "X/usr/local/include"; then
27009
- if test -n "$GCC"; then
27011
- linux*) haveit=yes;;
27015
- if test -z "$haveit"; then
27016
- for x in $CPPFLAGS $INC[]NAME; do
27017
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
27018
- if test "X$x" = "X-I$additional_includedir"; then
27023
- if test -z "$haveit"; then
27024
- if test -d "$additional_includedir"; then
27025
- dnl Really add $additional_includedir to $INCNAME.
27026
- INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
27032
- dnl Look for dependencies.
27033
- if test -n "$found_la"; then
27034
- dnl Read the .la file. It defines the variables
27035
- dnl dlname, library_names, old_library, dependency_libs, current,
27036
- dnl age, revision, installed, dlopen, dlpreopen, libdir.
27037
- save_libdir="$libdir"
27038
- case "$found_la" in
27039
- */* | *\\*) . "$found_la" ;;
27040
- *) . "./$found_la" ;;
27042
- libdir="$save_libdir"
27043
- dnl We use only dependency_libs.
27044
- for dep in $dependency_libs; do
27047
- additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27048
- dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
27049
- dnl But don't add it
27050
- dnl 1. if it's the standard /usr/lib,
27051
- dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
27052
- dnl 3. if it's already present in $LDFLAGS or the already
27053
- dnl constructed $LIBNAME,
27054
- dnl 4. if it doesn't exist as a directory.
27055
- if test "X$additional_libdir" != "X/usr/lib"; then
27057
- if test "X$additional_libdir" = "X/usr/local/lib"; then
27058
- if test -n "$GCC"; then
27060
- linux*) haveit=yes;;
27064
- if test -z "$haveit"; then
27066
- for x in $LDFLAGS $LIB[]NAME; do
27067
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
27068
- if test "X$x" = "X-L$additional_libdir"; then
27073
- if test -z "$haveit"; then
27074
- if test -d "$additional_libdir"; then
27075
- dnl Really add $additional_libdir to $LIBNAME.
27076
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
27080
- for x in $LDFLAGS $LTLIB[]NAME; do
27081
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
27082
- if test "X$x" = "X-L$additional_libdir"; then
27087
- if test -z "$haveit"; then
27088
- if test -d "$additional_libdir"; then
27089
- dnl Really add $additional_libdir to $LTLIBNAME.
27090
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
27097
- dir=`echo "X$dep" | sed -e 's/^X-R//'`
27098
- if test "$enable_rpath" != no; then
27099
- dnl Potentially add DIR to rpathdirs.
27100
- dnl The rpathdirs will be appended to $LIBNAME at the end.
27102
- for x in $rpathdirs; do
27103
- if test "X$x" = "X$dir"; then
27108
- if test -z "$haveit"; then
27109
- rpathdirs="$rpathdirs $dir"
27111
- dnl Potentially add DIR to ltrpathdirs.
27112
- dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
27114
- for x in $ltrpathdirs; do
27115
- if test "X$x" = "X$dir"; then
27120
- if test -z "$haveit"; then
27121
- ltrpathdirs="$ltrpathdirs $dir"
27126
- dnl Handle this in the next round.
27127
- names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27130
- dnl Handle this in the next round. Throw away the .la's
27131
- dnl directory; it is already contained in a preceding -L
27133
- names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27136
- dnl Most likely an immediate library name.
27137
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
27138
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
27144
- dnl Didn't find the library; assume it is in the system directories
27145
- dnl known to the linker and runtime loader. (All the system
27146
- dnl directories known to the linker should also be known to the
27147
- dnl runtime loader, otherwise the system is severely misconfigured.)
27148
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
27149
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
27155
- if test "X$rpathdirs" != "X"; then
27156
- if test -n "$hardcode_libdir_separator"; then
27157
- dnl Weird platform: only the last -rpath option counts, the user must
27158
- dnl pass all path elements in one option. We can arrange that for a
27159
- dnl single library, but not when more than one $LIBNAMEs are used.
27161
- for found_dir in $rpathdirs; do
27162
- alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27164
- dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
27165
- acl_save_libdir="$libdir"
27166
- libdir="$alldirs"
27167
- eval flag=\"$hardcode_libdir_flag_spec\"
27168
- libdir="$acl_save_libdir"
27169
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
27171
- dnl The -rpath options are cumulative.
27172
- for found_dir in $rpathdirs; do
27173
- acl_save_libdir="$libdir"
27174
- libdir="$found_dir"
27175
- eval flag=\"$hardcode_libdir_flag_spec\"
27176
- libdir="$acl_save_libdir"
27177
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
27181
- if test "X$ltrpathdirs" != "X"; then
27182
- dnl When using libtool, the option that works for both libraries and
27183
- dnl executables is -R. The -R options are cumulative.
27184
- for found_dir in $ltrpathdirs; do
27185
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
27190
-dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
27191
-dnl unless already present in VAR.
27192
-dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
27193
-dnl contains two or three consecutive elements that belong together.
27194
-AC_DEFUN([AC_LIB_APPENDTOVAR],
27196
- for element in [$2]; do
27198
- for x in $[$1]; do
27199
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
27200
- if test "X$x" = "X$element"; then
27205
- if test -z "$haveit"; then
27206
- [$1]="${[$1]}${[$1]:+ }$element"
27209
+ lispdir="$am_cv_lispdir"
27211
+AC_SUBST([lispdir])
27212
+])# AM_PATH_LISPDIR
27214
-# lib-ld.m4 serial 3 (gettext-0.13)
27215
-dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
27216
-dnl This file is free software, distributed under the terms of the GNU
27217
-dnl General Public License. As a special exception to the GNU General
27218
-dnl Public License, this file may be distributed as part of a program
27219
-dnl that contains a configuration script generated by Autoconf, under
27220
-dnl the same distribution terms as the rest of that program.
27222
-dnl Subroutines of libtool.m4,
27223
-dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
27224
-dnl with libtool.m4.
27226
-dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
27227
-AC_DEFUN([AC_LIB_PROG_LD_GNU],
27228
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
27229
-[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
27230
-case `$LD -v 2>&1 </dev/null` in
27231
-*GNU* | *'with BFD'*)
27232
- acl_cv_prog_gnu_ld=yes ;;
27234
- acl_cv_prog_gnu_ld=no ;;
27236
-with_gnu_ld=$acl_cv_prog_gnu_ld
27239
-dnl From libtool-1.4. Sets the variable LD.
27240
-AC_DEFUN([AC_LIB_PROG_LD],
27241
-[AC_ARG_WITH(gnu-ld,
27242
-[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
27243
-test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
27244
-AC_REQUIRE([AC_PROG_CC])dnl
27245
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
27246
-# Prepare PATH_SEPARATOR.
27247
-# The user is always right.
27248
-if test "${PATH_SEPARATOR+set}" != set; then
27249
- echo "#! /bin/sh" >conf$$.sh
27250
- echo "exit 0" >>conf$$.sh
27251
- chmod +x conf$$.sh
27252
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27253
- PATH_SEPARATOR=';'
27260
-if test "$GCC" = yes; then
27261
- # Check if gcc -print-prog-name=ld gives a path.
27262
- AC_MSG_CHECKING([for ld used by GCC])
27265
- # gcc leaves a trailing carriage return which upsets mingw
27266
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27268
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27271
- # Accept absolute paths.
27272
- [[\\/]* | [A-Za-z]:[\\/]*)]
27273
- [re_direlt='/[^/][^/]*/\.\./']
27274
- # Canonicalize the path of ld
27275
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27276
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27277
- ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27279
- test -z "$LD" && LD="$ac_prog"
27282
- # If it fails, then pretend we aren't using GCC.
27286
- # If it is relative, then search for the first ld in PATH.
27287
- with_gnu_ld=unknown
27290
-elif test "$with_gnu_ld" = yes; then
27291
- AC_MSG_CHECKING([for GNU ld])
27293
- AC_MSG_CHECKING([for non-GNU ld])
27295
-AC_CACHE_VAL(acl_cv_path_LD,
27296
-[if test -z "$LD"; then
27297
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27298
- for ac_dir in $PATH; do
27299
- test -z "$ac_dir" && ac_dir=.
27300
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27301
- acl_cv_path_LD="$ac_dir/$ac_prog"
27302
- # Check to see if the program is GNU ld. I'd rather use --version,
27303
- # but apparently some GNU ld's only accept -v.
27304
- # Break only if it was the GNU/non-GNU ld that we prefer.
27305
- case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
27306
- *GNU* | *'with BFD'*)
27307
- test "$with_gnu_ld" != no && break ;;
27309
- test "$with_gnu_ld" != yes && break ;;
27313
- IFS="$ac_save_ifs"
27315
- acl_cv_path_LD="$LD" # Let the user override the test with a path.
27317
-LD="$acl_cv_path_LD"
27318
-if test -n "$LD"; then
27319
- AC_MSG_RESULT($LD)
27321
- AC_MSG_RESULT(no)
27323
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
27324
-AC_LIB_PROG_LD_GNU
27330
-AC_DEFUN([AM_PATH_LISPDIR],
27331
- [# If set to t, that means we are running in a shell under Emacs.
27332
- # If you have an Emacs named "t", then use the full path.
27333
- test "$EMACS" = t && EMACS=
27334
- AC_PATH_PROGS(EMACS, emacs xemacs, no)
27335
- if test $EMACS != "no"; then
27336
- AC_MSG_CHECKING([where .elc files should go])
27337
- dnl Set default value
27338
- lispdir="\$(datadir)/emacs/site-lisp"
27339
- emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
27340
- if test "x$prefix" = "xNONE"; then
27341
- if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
27342
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
27344
- if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
27345
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
27349
- if test -d $prefix/share/$emacs_flavor/site-lisp; then
27350
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
27352
- if test -d $prefix/lib/$emacs_flavor/site-lisp; then
27353
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
27357
- AC_MSG_RESULT($lispdir)
27359
- AC_SUBST(lispdir)])
27360
+AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
27362
+m4_include([acinclude.m4])
27363
--- gnats-4.1.0.orig/send-pr/configure
27364
+++ gnats-4.1.0/send-pr/configure
27367
# Guess values for system-dependent variables and create Makefiles.
27368
-# Generated by GNU Autoconf 2.59 for send-pr 4.1.0.
27369
+# Generated by GNU Autoconf 2.65 for send-pr 4.1.0.
27371
# Report bugs to <bug-gnats@gnu.org>.
27373
-# Copyright (C) 2003 Free Software Foundation, Inc.
27375
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
27376
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
27380
# This configure script is free software; the Free Software Foundation
27381
# gives unlimited permission to copy, distribute and modify it.
27382
-## --------------------- ##
27383
-## M4sh Initialization. ##
27384
-## --------------------- ##
27385
+## -------------------- ##
27386
+## M4sh Initialization. ##
27387
+## -------------------- ##
27389
-# Be Bourne compatible
27390
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27391
+# Be more Bourne compatible
27392
+DUALCASE=1; export DUALCASE # for MKS sh
27393
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27396
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
27397
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27398
# is contrary to our usage. Disable this feature.
27399
alias -g '${1+"$@"}'='"$@"'
27400
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27402
+ setopt NO_GLOB_SUBST
27404
+ case `(set -o) 2>/dev/null` in #(
27406
+ set -o posix ;; #(
27411
-DUALCASE=1; export DUALCASE # for MKS sh
27413
-# Support unset when possible.
27414
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27422
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
27423
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27424
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27425
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27426
+# Prefer a ksh shell builtin over an external printf program on Solaris,
27427
+# but without wasting forks for bash or zsh.
27428
+if test -z "$BASH_VERSION$ZSH_VERSION" \
27429
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27430
+ as_echo='print -r --'
27431
+ as_echo_n='print -rn --'
27432
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27433
+ as_echo='printf %s\n'
27434
+ as_echo_n='printf %s'
27436
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27437
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27438
+ as_echo_n='/usr/ucb/echo -n'
27440
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27441
+ as_echo_n_body='eval
27445
+ expr "X$arg" : "X\\(.*\\)$as_nl";
27446
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27448
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27450
+ export as_echo_n_body
27451
+ as_echo_n='sh -c $as_echo_n_body as_echo'
27453
+ export as_echo_body
27454
+ as_echo='sh -c $as_echo_body as_echo'
27457
+# The user is always right.
27458
+if test "${PATH_SEPARATOR+set}" != set; then
27460
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27461
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27462
+ PATH_SEPARATOR=';'
27467
-# Work around bugs in pre-3.0 UWIN ksh.
27468
-$as_unset ENV MAIL MAILPATH
27470
+# We need space, tab and new line, in precisely that order. Quoting is
27471
+# there to prevent editors from complaining about space-tab.
27472
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
27473
+# splitting by setting IFS to empty value.)
27476
+# Find who we are. Look in the path if we contain no directory separator.
27478
+ *[\\/]* ) as_myself=$0 ;;
27479
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27480
+for as_dir in $PATH
27483
+ test -z "$as_dir" && as_dir=.
27484
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27490
+# We did not find ourselves, most probably we were run as `sh COMMAND'
27491
+# in which case we are not to be found in the path.
27492
+if test "x$as_myself" = x; then
27495
+if test ! -f "$as_myself"; then
27496
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27500
+# Unset variables that we do not need and which cause bugs (e.g. in
27501
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27502
+# suppresses any "Segmentation fault" message there. '((' could
27503
+# trigger a bug in pdksh 5.2.14.
27504
+for as_var in BASH_ENV ENV MAIL MAILPATH
27505
+do eval test x\${$as_var+set} = xset \
27506
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27514
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
27515
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
27516
- LC_TELEPHONE LC_TIME
27523
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27525
+if test "x$CONFIG_SHELL" = x; then
27526
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
27529
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
27530
+ # is contrary to our usage. Disable this feature.
27531
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
27532
+ setopt NO_GLOB_SUBST
27534
+ case \`(set -o) 2>/dev/null\` in #(
27536
+ set -o posix ;; #(
27542
+ as_required="as_fn_return () { (exit \$1); }
27543
+as_fn_success () { as_fn_return 0; }
27544
+as_fn_failure () { as_fn_return 1; }
27545
+as_fn_ret_success () { return 0; }
27546
+as_fn_ret_failure () { return 1; }
27549
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
27550
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
27551
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
27552
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
27553
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
27556
+ exitcode=1; echo positional parameters were not saved.
27558
+test x\$exitcode = x0 || exit 1"
27559
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
27560
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
27561
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
27562
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
27563
+ if (eval "$as_required") 2>/dev/null; then :
27564
+ as_have_required=yes
27566
+ as_have_required=no
27568
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
27571
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27573
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27575
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
27576
- eval $as_var=C; export $as_var
27578
+ test -z "$as_dir" && as_dir=.
27580
+ case $as_dir in #(
27582
+ for as_base in sh bash ksh sh5; do
27583
+ # Try only shells that exist, to save several forks.
27584
+ as_shell=$as_dir/$as_base
27585
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
27586
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
27587
+ CONFIG_SHELL=$as_shell as_have_required=yes
27588
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
27596
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
27597
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
27598
+ CONFIG_SHELL=$SHELL as_have_required=yes
27603
+ if test "x$CONFIG_SHELL" != x; then :
27604
+ # We cannot yet assume a decent shell, so we have to provide a
27605
+ # neutralization value for shells without unset; and this also
27606
+ # works around shells that cannot unset nonexistent variables.
27607
+ BASH_ENV=/dev/null
27609
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
27610
+ export CONFIG_SHELL
27611
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
27614
+ if test x$as_have_required = xno; then :
27615
+ $as_echo "$0: This script requires a shell more modern than all"
27616
+ $as_echo "$0: the shells that I found on your system."
27617
+ if test x${ZSH_VERSION+set} = xset ; then
27618
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
27619
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
27621
- $as_unset $as_var
27622
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gnats@gnu.org
27623
+$0: about your system, including any error possibly output
27624
+$0: before this message. Then install a modern shell, or
27625
+$0: manually run the script under such a shell if you do
27633
+SHELL=${CONFIG_SHELL-/bin/sh}
27635
+# Unset more variables known to interfere with behavior of common tools.
27636
+CLICOLOR_FORCE= GREP_OPTIONS=
27637
+unset CLICOLOR_FORCE GREP_OPTIONS
27639
+## --------------------- ##
27640
+## M4sh Shell Functions. ##
27641
+## --------------------- ##
27644
+# Portably unset VAR.
27647
+ { eval $1=; unset $1;}
27649
+as_unset=as_fn_unset
27651
+# as_fn_set_status STATUS
27652
+# -----------------------
27653
+# Set $? to STATUS, without forking.
27654
+as_fn_set_status ()
27657
+} # as_fn_set_status
27659
+# as_fn_exit STATUS
27660
+# -----------------
27661
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27665
+ as_fn_set_status $1
27671
+# Create "$as_dir" as a directory, including parents if necessary.
27675
+ case $as_dir in #(
27676
+ -*) as_dir=./$as_dir;;
27678
+ test -d "$as_dir" || eval $as_mkdir_p || {
27681
+ case $as_dir in #(
27682
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27683
+ *) as_qdir=$as_dir;;
27685
+ as_dirs="'$as_qdir' $as_dirs"
27686
+ as_dir=`$as_dirname -- "$as_dir" ||
27687
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27688
+ X"$as_dir" : 'X\(//\)[^/]' \| \
27689
+ X"$as_dir" : 'X\(//\)$' \| \
27690
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27691
+$as_echo X"$as_dir" |
27692
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27696
+ /^X\(\/\/\)[^/].*/{
27709
+ test -d "$as_dir" && break
27711
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
27712
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27716
+# as_fn_append VAR VALUE
27717
+# ----------------------
27718
+# Append the text in VALUE to the end of the definition contained in VAR. Take
27719
+# advantage of any shell optimizations that allow amortized linear growth over
27720
+# repeated appends, instead of the typical quadratic growth present in naive
27721
+# implementations.
27722
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27723
+ eval 'as_fn_append ()
27734
+# as_fn_arith ARG...
27735
+# ------------------
27736
+# Perform arithmetic evaluation on the ARGs, and store the result in the
27737
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
27738
+# must be portable across $(()) and expr.
27739
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27740
+ eval 'as_fn_arith ()
27747
+ as_val=`expr "$@" || test $? -eq 1`
27752
+# as_fn_error ERROR [LINENO LOG_FD]
27753
+# ---------------------------------
27754
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27755
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27756
+# script with status $?, using 1 if that was 0.
27759
+ as_status=$?; test $as_status -eq 0 && as_status=1
27760
+ if test "$3"; then
27761
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27762
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
27764
+ $as_echo "$as_me: error: $1" >&2
27765
+ as_fn_exit $as_status
27768
-# Required to use basename.
27769
-if expr a : '\(a\)' >/dev/null 2>&1; then
27770
+if expr a : '\(a\)' >/dev/null 2>&1 &&
27771
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
27777
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
27778
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27779
as_basename=basename
27784
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27785
+ as_dirname=dirname
27790
-# Name of the executable.
27791
-as_me=`$as_basename "$0" ||
27792
+as_me=`$as_basename -- "$0" ||
27793
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27794
X"$0" : 'X\(//\)$' \| \
27795
- X"$0" : 'X\(/\)$' \| \
27796
- . : '\(.\)' 2>/dev/null ||
27798
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
27799
- /^X\/\(\/\/\)$/{ s//\1/; q; }
27800
- /^X\/\(\/\).*/{ s//\1/; q; }
27803
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27805
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
27819
-# PATH needs CR, and LINENO needs CR and PATH.
27820
# Avoid depending upon Character Ranges.
27821
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27822
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27823
@@ -85,146 +419,107 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
27824
as_cr_digits='0123456789'
27825
as_cr_alnum=$as_cr_Letters$as_cr_digits
27827
-# The user is always right.
27828
-if test "${PATH_SEPARATOR+set}" != set; then
27829
- echo "#! /bin/sh" >conf$$.sh
27830
- echo "exit 0" >>conf$$.sh
27831
- chmod +x conf$$.sh
27832
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27833
- PATH_SEPARATOR=';'
27841
- as_lineno_1=$LINENO
27842
- as_lineno_2=$LINENO
27843
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27844
- test "x$as_lineno_1" != "x$as_lineno_2" &&
27845
- test "x$as_lineno_3" = "x$as_lineno_2" || {
27846
- # Find who we are. Look in the path if we contain no path at all
27847
- # relative or not.
27849
- *[\\/]* ) as_myself=$0 ;;
27850
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851
-for as_dir in $PATH
27854
- test -z "$as_dir" && as_dir=.
27855
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27860
- # We did not find ourselves, most probably we were run as `sh COMMAND'
27861
- # in which case we are not to be found in the path.
27862
- if test "x$as_myself" = x; then
27865
- if test ! -f "$as_myself"; then
27866
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
27867
- { (exit 1); exit 1; }; }
27869
- case $CONFIG_SHELL in
27871
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27872
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
27875
- test -z "$as_dir" && as_dir=.
27876
- for as_base in sh bash ksh sh5; do
27879
- if ("$as_dir/$as_base" -c '
27880
- as_lineno_1=$LINENO
27881
- as_lineno_2=$LINENO
27882
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
27883
- test "x$as_lineno_1" != "x$as_lineno_2" &&
27884
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
27885
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
27886
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
27887
- CONFIG_SHELL=$as_dir/$as_base
27888
- export CONFIG_SHELL
27889
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27897
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27898
- # uniformly replaced by the line number. The first 'sed' inserts a
27899
- # line-number line before each line; the second 'sed' does the real
27900
- # work. The second script uses 'N' to pair each line-number line
27901
- # with the numbered line, and appends trailing '-' during
27902
- # substitution so that $LINENO is not a special case at line end.
27903
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27904
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
27905
- sed '=' <$as_myself |
27906
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
27907
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
27908
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
27909
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
27910
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
27916
+ s/[$]LINENO.*/&-/
27923
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
27925
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
27928
- s,^['$as_cr_digits']*\n,,
27930
' >$as_me.lineno &&
27931
- chmod +x $as_me.lineno ||
27932
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27933
- { (exit 1); exit 1; }; }
27934
+ chmod +x "$as_me.lineno" ||
27935
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
27937
# Don't try to exec as it changes $[0], causing all sort of problems
27938
# (the dirname of $[0] is not the place where we might find the
27939
- # original and so on. Autoconf is especially sensible to this).
27940
- . ./$as_me.lineno
27941
+ # original and so on. Autoconf is especially sensitive to this).
27942
+ . "./$as_me.lineno"
27943
# Exit status is that of the last command.
27948
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
27949
- *c*,-n*) ECHO_N= ECHO_C='
27951
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
27952
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
27953
+ECHO_C= ECHO_N= ECHO_T=
27954
+case `echo -n x` in #(((((
27956
+ case `echo 'xy\c'` in
27957
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27958
+ xy) ECHO_C='\c';;
27959
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27966
-if expr a : '\(a\)' >/dev/null 2>&1; then
27968
+rm -f conf$$ conf$$.exe conf$$.file
27969
+if test -d conf$$.dir; then
27970
+ rm -f conf$$.dir/conf$$.file
27974
+ mkdir conf$$.dir 2>/dev/null
27977
-rm -f conf$$ conf$$.exe conf$$.file
27979
-if ln -s conf$$.file conf$$ 2>/dev/null; then
27980
- # We could just check for DJGPP; but this test a) works b) is more generic
27981
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
27982
- if test -f conf$$.exe; then
27983
- # Don't use ln at all; we don't have any links
27986
+if (echo >conf$$.file) 2>/dev/null; then
27987
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
27989
+ # ... but there are two gotchas:
27990
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27991
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27992
+ # In both cases, we have to default to `cp -p'.
27993
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27995
+ elif ln conf$$.file conf$$ 2>/dev/null; then
28000
-elif ln conf$$.file conf$$ 2>/dev/null; then
28005
-rm -f conf$$ conf$$.exe conf$$.file
28006
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28007
+rmdir conf$$.dir 2>/dev/null
28009
if mkdir -p . 2>/dev/null; then
28011
+ as_mkdir_p='mkdir -p "$as_dir"'
28013
test -d ./-p && rmdir ./-p
28017
-as_executable_p="test -f"
28018
+if test -x / >/dev/null 2>&1; then
28019
+ as_test_x='test -x'
28021
+ if ls -dL / >/dev/null 2>&1; then
28028
+ if test -d "$1"; then
28034
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
28035
+ ???[sx]*):;;*)false;;esac;fi
28039
+as_executable_p=$as_test_x
28041
# Sed expression to map a string onto a valid CPP name.
28042
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28043
@@ -233,38 +528,25 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
28044
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28048
-# We need space, tab and new line, in precisely that order.
28056
+test -n "$DJDIR" || exec 7<&0 </dev/null
28059
# Name of the host.
28060
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
28061
# so uname gets run too.
28062
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
28069
ac_default_prefix=/usr/local
28071
ac_config_libobj_dir=.
28077
-SHELL=${CONFIG_SHELL-/bin/sh}
28079
-# Maximum number of lines to put in a shell here document.
28080
-# This variable seems obsolete. It should probably be removed, and
28081
-# only ac_max_sed_lines should be used.
28082
-: ${ac_max_here_lines=38}
28084
# Identity of this package.
28085
PACKAGE_NAME='send-pr'
28086
@@ -272,13 +554,81 @@ PACKAGE_TARNAME='send-pr'
28087
PACKAGE_VERSION='4.1.0'
28088
PACKAGE_STRING='send-pr 4.1.0'
28089
PACKAGE_BUGREPORT='bug-gnats@gnu.org'
28092
-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'
28093
+ac_subst_vars='LTLIBOBJS
28103
+DEFAULT_MAIL_AGENT
28104
+DEFAULT_ORGANIZATION
28136
+program_transform_name
28149
+enable_option_checking
28154
+ ac_precious_vars='build_alias
28161
# Initialize some variables set by options.
28163
ac_init_version=false
28164
+ac_unrecognized_opts=
28165
+ac_unrecognized_sep=
28166
# The variables have the same names as the options, with
28167
# dashes changed to underlines.
28168
cache_file=/dev/null
28169
@@ -301,34 +651,48 @@ x_libraries=NONE
28170
# and all the variables that are supposed to be based on exec_prefix
28171
# by default will actually change.
28172
# Use braces instead of parens because sh, perl, etc. also accept them.
28173
+# (The list follows the same order as the GNU Coding Standards.)
28174
bindir='${exec_prefix}/bin'
28175
sbindir='${exec_prefix}/sbin'
28176
libexecdir='${exec_prefix}/libexec'
28177
-datadir='${prefix}/share'
28178
+datarootdir='${prefix}/share'
28179
+datadir='${datarootdir}'
28180
sysconfdir='${prefix}/etc'
28181
sharedstatedir='${prefix}/com'
28182
localstatedir='${prefix}/var'
28183
-libdir='${exec_prefix}/lib'
28184
includedir='${prefix}/include'
28185
oldincludedir='/usr/include'
28186
-infodir='${prefix}/info'
28187
-mandir='${prefix}/man'
28188
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
28189
+infodir='${datarootdir}/info'
28190
+htmldir='${docdir}'
28191
+dvidir='${docdir}'
28192
+pdfdir='${docdir}'
28194
+libdir='${exec_prefix}/lib'
28195
+localedir='${datarootdir}/locale'
28196
+mandir='${datarootdir}/man'
28202
# If the previous option needs an argument, assign it.
28203
if test -n "$ac_prev"; then
28204
- eval "$ac_prev=\$ac_option"
28205
+ eval $ac_prev=\$ac_option
28210
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
28211
+ case $ac_option in
28212
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
28213
+ *) ac_optarg=yes ;;
28216
# Accept the important Cygnus configure options, so we can diagnose typos.
28218
- case $ac_option in
28219
+ case $ac_dashdash$ac_option in
28221
+ ac_dashdash=yes ;;
28223
-bindir | --bindir | --bindi | --bind | --bin | --bi)
28225
@@ -350,33 +714,59 @@ do
28226
--config-cache | -C)
28227
cache_file=config.cache ;;
28229
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
28230
+ -datadir | --datadir | --datadi | --datad)
28232
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
28234
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
28235
datadir=$ac_optarg ;;
28237
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
28238
+ | --dataroo | --dataro | --datar)
28239
+ ac_prev=datarootdir ;;
28240
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
28241
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
28242
+ datarootdir=$ac_optarg ;;
28244
-disable-* | --disable-*)
28245
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
28246
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
28247
# Reject names that are not valid shell variable names.
28248
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
28249
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
28250
- { (exit 1); exit 1; }; }
28251
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
28252
- eval "enable_$ac_feature=no" ;;
28253
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
28254
+ as_fn_error "invalid feature name: $ac_useropt"
28255
+ ac_useropt_orig=$ac_useropt
28256
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
28257
+ case $ac_user_opts in
28259
+"enable_$ac_useropt"
28261
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
28262
+ ac_unrecognized_sep=', ';;
28264
+ eval enable_$ac_useropt=no ;;
28266
+ -docdir | --docdir | --docdi | --doc | --do)
28267
+ ac_prev=docdir ;;
28268
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
28269
+ docdir=$ac_optarg ;;
28271
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
28272
+ ac_prev=dvidir ;;
28273
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
28274
+ dvidir=$ac_optarg ;;
28276
-enable-* | --enable-*)
28277
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
28278
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
28279
# Reject names that are not valid shell variable names.
28280
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
28281
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
28282
- { (exit 1); exit 1; }; }
28283
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
28284
- case $ac_option in
28285
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
28286
- *) ac_optarg=yes ;;
28287
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
28288
+ as_fn_error "invalid feature name: $ac_useropt"
28289
+ ac_useropt_orig=$ac_useropt
28290
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
28291
+ case $ac_user_opts in
28293
+"enable_$ac_useropt"
28295
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
28296
+ ac_unrecognized_sep=', ';;
28298
- eval "enable_$ac_feature='$ac_optarg'" ;;
28299
+ eval enable_$ac_useropt=\$ac_optarg ;;
28301
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
28302
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
28303
@@ -403,6 +793,12 @@ do
28304
-host=* | --host=* | --hos=* | --ho=*)
28305
host_alias=$ac_optarg ;;
28307
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
28308
+ ac_prev=htmldir ;;
28309
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
28311
+ htmldir=$ac_optarg ;;
28313
-includedir | --includedir | --includedi | --included | --include \
28314
| --includ | --inclu | --incl | --inc)
28315
ac_prev=includedir ;;
28316
@@ -427,13 +823,16 @@ do
28317
| --libexe=* | --libex=* | --libe=*)
28318
libexecdir=$ac_optarg ;;
28320
+ -localedir | --localedir | --localedi | --localed | --locale)
28321
+ ac_prev=localedir ;;
28322
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
28323
+ localedir=$ac_optarg ;;
28325
-localstatedir | --localstatedir | --localstatedi | --localstated \
28326
- | --localstate | --localstat | --localsta | --localst \
28327
- | --locals | --local | --loca | --loc | --lo)
28328
+ | --localstate | --localstat | --localsta | --localst | --locals)
28329
ac_prev=localstatedir ;;
28330
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
28331
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
28332
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
28333
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
28334
localstatedir=$ac_optarg ;;
28336
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
28337
@@ -498,6 +897,16 @@ do
28338
| --progr-tra=* | --program-tr=* | --program-t=*)
28339
program_transform_name=$ac_optarg ;;
28341
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
28342
+ ac_prev=pdfdir ;;
28343
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
28344
+ pdfdir=$ac_optarg ;;
28346
+ -psdir | --psdir | --psdi | --psd | --ps)
28348
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
28349
+ psdir=$ac_optarg ;;
28351
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
28352
| -silent | --silent | --silen | --sile | --sil)
28354
@@ -548,26 +957,36 @@ do
28355
ac_init_version=: ;;
28357
-with-* | --with-*)
28358
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
28359
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
28360
# Reject names that are not valid shell variable names.
28361
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
28362
- { echo "$as_me: error: invalid package name: $ac_package" >&2
28363
- { (exit 1); exit 1; }; }
28364
- ac_package=`echo $ac_package| sed 's/-/_/g'`
28365
- case $ac_option in
28366
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
28367
- *) ac_optarg=yes ;;
28368
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
28369
+ as_fn_error "invalid package name: $ac_useropt"
28370
+ ac_useropt_orig=$ac_useropt
28371
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
28372
+ case $ac_user_opts in
28374
+"with_$ac_useropt"
28376
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
28377
+ ac_unrecognized_sep=', ';;
28379
- eval "with_$ac_package='$ac_optarg'" ;;
28380
+ eval with_$ac_useropt=\$ac_optarg ;;
28382
-without-* | --without-*)
28383
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
28384
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
28385
# Reject names that are not valid shell variable names.
28386
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
28387
- { echo "$as_me: error: invalid package name: $ac_package" >&2
28388
- { (exit 1); exit 1; }; }
28389
- ac_package=`echo $ac_package | sed 's/-/_/g'`
28390
- eval "with_$ac_package=no" ;;
28391
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
28392
+ as_fn_error "invalid package name: $ac_useropt"
28393
+ ac_useropt_orig=$ac_useropt
28394
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
28395
+ case $ac_user_opts in
28397
+"with_$ac_useropt"
28399
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
28400
+ ac_unrecognized_sep=', ';;
28402
+ eval with_$ac_useropt=no ;;
28405
# Obsolete; use --with-x.
28406
@@ -587,26 +1006,25 @@ do
28407
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
28408
x_libraries=$ac_optarg ;;
28410
- -*) { echo "$as_me: error: unrecognized option: $ac_option
28411
-Try \`$0 --help' for more information." >&2
28412
- { (exit 1); exit 1; }; }
28413
+ -*) as_fn_error "unrecognized option: \`$ac_option'
28414
+Try \`$0 --help' for more information."
28418
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
28419
# Reject names that are not valid shell variable names.
28420
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
28421
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
28422
- { (exit 1); exit 1; }; }
28423
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
28424
- eval "$ac_envvar='$ac_optarg'"
28425
+ case $ac_envvar in #(
28426
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
28427
+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
28429
+ eval $ac_envvar=\$ac_optarg
28430
export $ac_envvar ;;
28433
# FIXME: should be removed in autoconf 3.0.
28434
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
28435
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
28436
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
28437
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
28438
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
28439
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
28442
@@ -615,31 +1033,36 @@ done
28444
if test -n "$ac_prev"; then
28445
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
28446
- { echo "$as_me: error: missing argument to $ac_option" >&2
28447
- { (exit 1); exit 1; }; }
28448
+ as_fn_error "missing argument to $ac_option"
28451
-# Be sure to have absolute paths.
28452
-for ac_var in exec_prefix prefix
28454
- eval ac_val=$`echo $ac_var`
28456
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
28457
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
28458
- { (exit 1); exit 1; }; };;
28459
+if test -n "$ac_unrecognized_opts"; then
28460
+ case $enable_option_checking in
28462
+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
28463
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
28468
-# Be sure to have absolute paths.
28469
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
28470
- localstatedir libdir includedir oldincludedir infodir mandir
28471
+# Check all directory arguments for consistency.
28472
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
28473
+ datadir sysconfdir sharedstatedir localstatedir includedir \
28474
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
28475
+ libdir localedir mandir
28477
- eval ac_val=$`echo $ac_var`
28478
+ eval ac_val=\$$ac_var
28479
+ # Remove trailing slashes.
28482
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
28483
+ eval $ac_var=\$ac_val;;
28485
+ # Be sure to have absolute directory names.
28487
- [\\/$]* | ?:[\\/]* ) ;;
28488
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
28489
- { (exit 1); exit 1; }; };;
28490
+ [\\/$]* | ?:[\\/]* ) continue;;
28491
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
28493
+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
28496
# There might be people who depend on the old broken behavior: `$host'
28497
@@ -653,7 +1076,7 @@ target=$target_alias
28498
if test "x$host_alias" != x; then
28499
if test "x$build_alias" = x; then
28500
cross_compiling=maybe
28501
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
28502
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
28503
If a cross compiler is detected then cross compile mode will be used." >&2
28504
elif test "x$build_alias" != "x$host_alias"; then
28505
cross_compiling=yes
28506
@@ -666,54 +1089,72 @@ test -n "$host_alias" && ac_tool_prefix=
28507
test "$silent" = yes && exec 6>/dev/null
28510
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
28511
+ac_ls_di=`ls -di .` &&
28512
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
28513
+ as_fn_error "working directory cannot be determined"
28514
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
28515
+ as_fn_error "pwd does not report name of working directory"
28518
# Find the source files, if location was not specified.
28519
if test -z "$srcdir"; then
28520
ac_srcdir_defaulted=yes
28521
- # Try the directory containing this script, then its parent.
28522
- ac_confdir=`(dirname "$0") 2>/dev/null ||
28523
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28524
- X"$0" : 'X\(//\)[^/]' \| \
28525
- X"$0" : 'X\(//\)$' \| \
28526
- X"$0" : 'X\(/\)' \| \
28527
- . : '\(.\)' 2>/dev/null ||
28529
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28530
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28531
- /^X\(\/\/\)$/{ s//\1/; q; }
28532
- /^X\(\/\).*/{ s//\1/; q; }
28534
+ # Try the directory containing this script, then the parent directory.
28535
+ ac_confdir=`$as_dirname -- "$as_myself" ||
28536
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28537
+ X"$as_myself" : 'X\(//\)[^/]' \| \
28538
+ X"$as_myself" : 'X\(//\)$' \| \
28539
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
28540
+$as_echo X"$as_myself" |
28541
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28545
+ /^X\(\/\/\)[^/].*/{
28559
- if test ! -r $srcdir/$ac_unique_file; then
28560
+ if test ! -r "$srcdir/$ac_unique_file"; then
28564
ac_srcdir_defaulted=no
28566
-if test ! -r $srcdir/$ac_unique_file; then
28567
- if test "$ac_srcdir_defaulted" = yes; then
28568
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
28569
- { (exit 1); exit 1; }; }
28571
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
28572
- { (exit 1); exit 1; }; }
28575
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
28576
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
28577
- { (exit 1); exit 1; }; }
28578
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
28579
-ac_env_build_alias_set=${build_alias+set}
28580
-ac_env_build_alias_value=$build_alias
28581
-ac_cv_env_build_alias_set=${build_alias+set}
28582
-ac_cv_env_build_alias_value=$build_alias
28583
-ac_env_host_alias_set=${host_alias+set}
28584
-ac_env_host_alias_value=$host_alias
28585
-ac_cv_env_host_alias_set=${host_alias+set}
28586
-ac_cv_env_host_alias_value=$host_alias
28587
-ac_env_target_alias_set=${target_alias+set}
28588
-ac_env_target_alias_value=$target_alias
28589
-ac_cv_env_target_alias_set=${target_alias+set}
28590
-ac_cv_env_target_alias_value=$target_alias
28591
+if test ! -r "$srcdir/$ac_unique_file"; then
28592
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
28593
+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
28595
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
28597
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
28599
+# When building in place, set srcdir=.
28600
+if test "$ac_abs_confdir" = "$ac_pwd"; then
28603
+# Remove unnecessary trailing slashes from srcdir.
28604
+# Double slashes in file names in object file debugging info
28605
+# mess up M-x gdb in Emacs.
28607
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
28609
+for ac_var in $ac_precious_vars; do
28610
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
28611
+ eval ac_env_${ac_var}_value=\$${ac_var}
28612
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
28613
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
28617
# Report the --help message.
28618
@@ -742,14 +1183,11 @@ Configuration:
28619
-n, --no-create do not create output files
28620
--srcdir=DIR find the sources in DIR [configure dir or \`..']
28625
Installation directories:
28626
--prefix=PREFIX install architecture-independent files in PREFIX
28627
- [$ac_default_prefix]
28628
+ [$ac_default_prefix]
28629
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
28633
By default, \`make install' will install all the files in
28634
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
28635
@@ -759,18 +1197,25 @@ for instance \`--prefix=\$HOME'.
28636
For better control, use the options below.
28638
Fine tuning of the installation directories:
28639
- --bindir=DIR user executables [EPREFIX/bin]
28640
- --sbindir=DIR system admin executables [EPREFIX/sbin]
28641
- --libexecdir=DIR program executables [EPREFIX/libexec]
28642
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
28643
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
28644
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
28645
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
28646
- --libdir=DIR object code libraries [EPREFIX/lib]
28647
- --includedir=DIR C header files [PREFIX/include]
28648
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
28649
- --infodir=DIR info documentation [PREFIX/info]
28650
- --mandir=DIR man documentation [PREFIX/man]
28651
+ --bindir=DIR user executables [EPREFIX/bin]
28652
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
28653
+ --libexecdir=DIR program executables [EPREFIX/libexec]
28654
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
28655
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
28656
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
28657
+ --libdir=DIR object code libraries [EPREFIX/lib]
28658
+ --includedir=DIR C header files [PREFIX/include]
28659
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
28660
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
28661
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
28662
+ --infodir=DIR info documentation [DATAROOTDIR/info]
28663
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
28664
+ --mandir=DIR man documentation [DATAROOTDIR/man]
28665
+ --docdir=DIR documentation root [DATAROOTDIR/doc/send-pr]
28666
+ --htmldir=DIR html documentation [DOCDIR]
28667
+ --dvidir=DIR dvi documentation [DOCDIR]
28668
+ --pdfdir=DIR pdf documentation [DOCDIR]
28669
+ --psdir=DIR ps documentation [DOCDIR]
28673
@@ -788,123 +1233,103 @@ Optional Packages:
28674
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
28675
--with-organization=name Sets the default organization to NAME
28676
--with-submitter=name Sets the default submitter to NAME
28677
+ --with-lispdir override the default lisp directory
28679
+Some influential environment variables:
28680
+ EMACS the Emacs editor command
28682
+ the Emacs library search path
28684
+Use these variables to override the choices made by `configure' or to help
28685
+it to find libraries and programs with nonstandard names/locations.
28687
Report bugs to <bug-gnats@gnu.org>.
28692
if test "$ac_init_help" = "recursive"; then
28693
# If there are subdirs, report their specific --help.
28695
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
28696
- test -d $ac_dir || continue
28697
+ test -d "$ac_dir" ||
28698
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
28702
-if test "$ac_dir" != .; then
28703
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
28704
- # A "../" for each directory in $ac_dir_suffix.
28705
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
28707
- ac_dir_suffix= ac_top_builddir=
28710
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28712
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28713
+ # A ".." for each directory in $ac_dir_suffix.
28714
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28715
+ case $ac_top_builddir_sub in
28716
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28717
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28720
+ac_abs_top_builddir=$ac_pwd
28721
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
28722
+# for backward compatibility:
28723
+ac_top_builddir=$ac_top_build_prefix
28726
- .) # No --srcdir option. We are building in place.
28727
+ .) # We are building in place.
28729
- if test -z "$ac_top_builddir"; then
28732
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
28734
- [\\/]* | ?:[\\/]* ) # Absolute path.
28735
+ ac_top_srcdir=$ac_top_builddir_sub
28736
+ ac_abs_top_srcdir=$ac_pwd ;;
28737
+ [\\/]* | ?:[\\/]* ) # Absolute name.
28738
ac_srcdir=$srcdir$ac_dir_suffix;
28739
- ac_top_srcdir=$srcdir ;;
28740
- *) # Relative path.
28741
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
28742
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
28745
-# Do not use `cd foo && pwd` to compute absolute paths, because
28746
-# the directories may not exist.
28748
-.) ac_abs_builddir="$ac_dir";;
28750
- case "$ac_dir" in
28751
- .) ac_abs_builddir=`pwd`;;
28752
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
28753
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
28756
-case $ac_abs_builddir in
28757
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
28759
- case ${ac_top_builddir}. in
28760
- .) ac_abs_top_builddir=$ac_abs_builddir;;
28761
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
28762
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
28765
-case $ac_abs_builddir in
28766
-.) ac_abs_srcdir=$ac_srcdir;;
28768
- case $ac_srcdir in
28769
- .) ac_abs_srcdir=$ac_abs_builddir;;
28770
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
28771
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
28774
-case $ac_abs_builddir in
28775
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
28777
- case $ac_top_srcdir in
28778
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
28779
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
28780
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28782
+ ac_top_srcdir=$srcdir
28783
+ ac_abs_top_srcdir=$srcdir ;;
28784
+ *) # Relative name.
28785
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28786
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
28787
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28789
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28792
- # Check for guested configure; otherwise get Cygnus style configure.
28793
- if test -f $ac_srcdir/configure.gnu; then
28795
- $SHELL $ac_srcdir/configure.gnu --help=recursive
28796
- elif test -f $ac_srcdir/configure; then
28798
- $SHELL $ac_srcdir/configure --help=recursive
28799
- elif test -f $ac_srcdir/configure.ac ||
28800
- test -f $ac_srcdir/configure.in; then
28802
- $ac_configure --help
28803
+ cd "$ac_dir" || { ac_status=$?; continue; }
28804
+ # Check for guested configure.
28805
+ if test -f "$ac_srcdir/configure.gnu"; then
28807
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
28808
+ elif test -f "$ac_srcdir/configure"; then
28810
+ $SHELL "$ac_srcdir/configure" --help=recursive
28812
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
28815
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
28816
+ fi || ac_status=$?
28817
+ cd "$ac_pwd" || { ac_status=$?; break; }
28821
-test -n "$ac_init_help" && exit 0
28822
+test -n "$ac_init_help" && exit $ac_status
28823
if $ac_init_version; then
28825
send-pr configure 4.1.0
28826
-generated by GNU Autoconf 2.59
28827
+generated by GNU Autoconf 2.65
28829
-Copyright (C) 2003 Free Software Foundation, Inc.
28830
+Copyright (C) 2009 Free Software Foundation, Inc.
28831
This configure script is free software; the Free Software Foundation
28832
gives unlimited permission to copy, distribute and modify it.
28840
+## ------------------------ ##
28841
+## Autoconf initialization. ##
28842
+## ------------------------ ##
28843
+cat >config.log <<_ACEOF
28844
This file contains any messages produced by compilers while
28845
running configure, to aid debugging if configure makes a mistake.
28847
It was created by send-pr $as_me 4.1.0, which was
28848
-generated by GNU Autoconf 2.59. Invocation command line was
28849
+generated by GNU Autoconf 2.65. Invocation command line was
28854
+exec 5>>config.log
28858
@@ -923,7 +1348,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
28859
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
28860
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
28861
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
28862
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
28863
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
28864
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
28865
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
28866
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
28867
@@ -935,8 +1360,9 @@ for as_dir in $PATH
28870
test -z "$as_dir" && as_dir=.
28871
- echo "PATH: $as_dir"
28873
+ $as_echo "PATH: $as_dir"
28879
@@ -958,7 +1384,6 @@ _ACEOF
28881
ac_configure_args0=
28882
ac_configure_args1=
28884
ac_must_keep_next=false
28887
@@ -969,13 +1394,13 @@ do
28888
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
28889
| -silent | --silent | --silen | --sile | --sil)
28891
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
28892
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28894
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28897
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
28898
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
28900
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
28901
+ as_fn_append ac_configure_args1 " '$ac_arg'"
28902
if test $ac_must_keep_next = true; then
28903
ac_must_keep_next=false # Got value, back to normal.
28905
@@ -991,21 +1416,19 @@ do
28906
-* ) ac_must_keep_next=true ;;
28909
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
28910
- # Get rid of the leading space.
28912
+ as_fn_append ac_configure_args " '$ac_arg'"
28917
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
28918
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
28919
+{ ac_configure_args0=; unset ac_configure_args0;}
28920
+{ ac_configure_args1=; unset ac_configure_args1;}
28922
# When interrupted or exit'd, cleanup temporary files, and complete
28923
# config.log. We remove comments because anyway the quotes in there
28924
# would cause problems or look ugly.
28925
-# WARNING: Be sure not to use single quotes in there, as some shells,
28926
-# such as our DU 5.0 friend, will then `close' the trap.
28927
+# WARNING: Use '\'' to represent an apostrophe within the trap.
28928
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
28929
trap 'exit_status=$?
28930
# Save into config.log some information that might help in debugging.
28932
@@ -1018,20 +1441,35 @@ trap 'exit_status=$?
28935
# The following way of writing the cache mishandles newlines in values,
28938
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
28939
+ eval ac_val=\$$ac_var
28940
+ case $ac_val in #(
28942
+ case $ac_var in #(
28943
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28944
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28946
+ case $ac_var in #(
28947
+ _ | IFS | as_nl) ;; #(
28948
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
28949
+ *) { eval $ac_var=; unset $ac_var;} ;;
28954
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
28956
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
28957
+ *${as_nl}ac_space=\ *)
28959
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
28960
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
28962
+ "s/'\''/'\''\\\\'\'''\''/g;
28963
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
28967
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28968
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28978
@@ -1042,22 +1480,28 @@ _ASBOX
28980
for ac_var in $ac_subst_vars
28982
- eval ac_val=$`echo $ac_var`
28983
- echo "$ac_var='"'"'$ac_val'"'"'"
28984
+ eval ac_val=\$$ac_var
28986
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
28988
+ $as_echo "$ac_var='\''$ac_val'\''"
28992
if test -n "$ac_subst_files"; then
28994
-## ------------- ##
28995
-## Output files. ##
28996
-## ------------- ##
28997
+## ------------------- ##
28998
+## File substitutions. ##
28999
+## ------------------- ##
29002
for ac_var in $ac_subst_files
29004
- eval ac_val=$`echo $ac_var`
29005
- echo "$ac_var='"'"'$ac_val'"'"'"
29006
+ eval ac_val=\$$ac_var
29008
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
29010
+ $as_echo "$ac_var='\''$ac_val'\''"
29014
@@ -1069,26 +1513,26 @@ _ASBOX
29018
- sed "/^$/d" confdefs.h | sort
29022
test "$ac_signal" != 0 &&
29023
- echo "$as_me: caught signal $ac_signal"
29024
- echo "$as_me: exit $exit_status"
29025
+ $as_echo "$as_me: caught signal $ac_signal"
29026
+ $as_echo "$as_me: exit $exit_status"
29028
- rm -f core *.core &&
29029
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
29030
+ rm -f core *.core core.conftest.* &&
29031
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
29035
for ac_signal in 1 2 13 15; do
29036
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
29037
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
29041
# confdefs.h avoids OS command line length limits that DEFS can exceed.
29042
-rm -rf conftest* confdefs.h
29043
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
29045
+rm -f -r conftest* confdefs.h
29047
+$as_echo "/* confdefs.h */" > confdefs.h
29049
# Predefined preprocessor variables.
29051
@@ -1096,112 +1540,128 @@ cat >>confdefs.h <<_ACEOF
29052
#define PACKAGE_NAME "$PACKAGE_NAME"
29056
cat >>confdefs.h <<_ACEOF
29057
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
29061
cat >>confdefs.h <<_ACEOF
29062
#define PACKAGE_VERSION "$PACKAGE_VERSION"
29066
cat >>confdefs.h <<_ACEOF
29067
#define PACKAGE_STRING "$PACKAGE_STRING"
29071
cat >>confdefs.h <<_ACEOF
29072
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
29075
+cat >>confdefs.h <<_ACEOF
29076
+#define PACKAGE_URL "$PACKAGE_URL"
29080
# Let the site file select an alternate cache file if it wants to.
29081
-# Prefer explicitly selected file to automatically selected ones.
29082
-if test -z "$CONFIG_SITE"; then
29083
- if test "x$prefix" != xNONE; then
29084
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
29086
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
29088
+# Prefer an explicitly selected file to automatically selected ones.
29089
+ac_site_file1=NONE
29090
+ac_site_file2=NONE
29091
+if test -n "$CONFIG_SITE"; then
29092
+ ac_site_file1=$CONFIG_SITE
29093
+elif test "x$prefix" != xNONE; then
29094
+ ac_site_file1=$prefix/share/config.site
29095
+ ac_site_file2=$prefix/etc/config.site
29097
+ ac_site_file1=$ac_default_prefix/share/config.site
29098
+ ac_site_file2=$ac_default_prefix/etc/config.site
29100
-for ac_site_file in $CONFIG_SITE; do
29101
- if test -r "$ac_site_file"; then
29102
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
29103
-echo "$as_me: loading site script $ac_site_file" >&6;}
29104
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
29106
+ test "x$ac_site_file" = xNONE && continue
29107
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
29108
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
29109
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
29110
sed 's/^/| /' "$ac_site_file" >&5
29115
if test -r "$cache_file"; then
29116
- # Some versions of bash will fail to source /dev/null (special
29117
- # files actually), so we avoid doing that.
29118
- if test -f "$cache_file"; then
29119
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
29120
-echo "$as_me: loading cache $cache_file" >&6;}
29121
+ # Some versions of bash will fail to source /dev/null (special files
29122
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
29123
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
29124
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
29125
+$as_echo "$as_me: loading cache $cache_file" >&6;}
29126
case $cache_file in
29127
- [\\/]* | ?:[\\/]* ) . $cache_file;;
29128
- *) . ./$cache_file;;
29129
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
29130
+ *) . "./$cache_file";;
29134
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
29135
-echo "$as_me: creating cache $cache_file" >&6;}
29136
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
29137
+$as_echo "$as_me: creating cache $cache_file" >&6;}
29141
# Check that the precious variables saved in the cache have kept the same
29143
ac_cache_corrupted=false
29144
-for ac_var in `(set) 2>&1 |
29145
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
29146
+for ac_var in $ac_precious_vars; do
29147
eval ac_old_set=\$ac_cv_env_${ac_var}_set
29148
eval ac_new_set=\$ac_env_${ac_var}_set
29149
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
29150
- eval ac_new_val="\$ac_env_${ac_var}_value"
29151
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
29152
+ eval ac_new_val=\$ac_env_${ac_var}_value
29153
case $ac_old_set,$ac_new_set in
29155
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
29156
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
29157
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
29158
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
29159
ac_cache_corrupted=: ;;
29161
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
29162
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
29163
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
29164
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
29165
ac_cache_corrupted=: ;;
29168
if test "x$ac_old_val" != "x$ac_new_val"; then
29169
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
29170
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
29171
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
29172
-echo "$as_me: former value: $ac_old_val" >&2;}
29173
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
29174
-echo "$as_me: current value: $ac_new_val" >&2;}
29175
- ac_cache_corrupted=:
29176
+ # differences in whitespace do not lead to failure.
29177
+ ac_old_val_w=`echo x $ac_old_val`
29178
+ ac_new_val_w=`echo x $ac_new_val`
29179
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
29180
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
29181
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
29182
+ ac_cache_corrupted=:
29184
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
29185
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
29186
+ eval $ac_var=\$ac_old_val
29188
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
29189
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
29190
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
29191
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
29194
# Pass precious variables to config.status.
29195
if test "$ac_new_set" = set; then
29196
case $ac_new_val in
29197
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
29198
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
29199
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
29200
*) ac_arg=$ac_var=$ac_new_val ;;
29202
case " $ac_configure_args " in
29203
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
29204
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
29205
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
29209
if $ac_cache_corrupted; then
29210
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
29211
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
29212
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
29213
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
29214
- { (exit 1); exit 1; }; }
29216
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29217
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29218
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
29219
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
29220
+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
29222
+## -------------------- ##
29223
+## Main body of script. ##
29224
+## -------------------- ##
29227
ac_cpp='$CPP $CPPFLAGS'
29228
@@ -1212,68 +1672,41 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
29232
+# Check whether --with-organization was given.
29233
+if test "${with_organization+set}" = set; then :
29234
+ withval=$with_organization;
29238
+# Check whether --with-submitter was given.
29239
+if test "${with_submitter+set}" = set; then :
29240
+ withval=$with_submitter;
29245
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
29246
+ for ac_t in install-sh install.sh shtool; do
29247
+ if test -f "$ac_dir/$ac_t"; then
29248
+ ac_aux_dir=$ac_dir
29249
+ ac_install_sh="$ac_aux_dir/$ac_t -c"
29254
+if test -z "$ac_aux_dir"; then
29255
+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
29258
+# These three variables are undocumented and unsupported,
29259
+# and are intended to be withdrawn in a future Autoconf release.
29260
+# They can cause serious problems if a builder's source tree is in a directory
29261
+# whose full name contains unusual characters.
29262
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
29263
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
29264
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
29285
-# Check whether --with-organization or --without-organization was given.
29286
-if test "${with_organization+set}" = set; then
29287
- withval="$with_organization"
29291
-# Check whether --with-submitter or --without-submitter was given.
29292
-if test "${with_submitter+set}" = set; then
29293
- withval="$with_submitter"
29298
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
29299
- if test -f $ac_dir/install-sh; then
29300
- ac_aux_dir=$ac_dir
29301
- ac_install_sh="$ac_aux_dir/install-sh -c"
29303
- elif test -f $ac_dir/install.sh; then
29304
- ac_aux_dir=$ac_dir
29305
- ac_install_sh="$ac_aux_dir/install.sh -c"
29307
- elif test -f $ac_dir/shtool; then
29308
- ac_aux_dir=$ac_dir
29309
- ac_install_sh="$ac_aux_dir/shtool install -c"
29313
-if test -z "$ac_aux_dir"; then
29314
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
29315
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
29316
- { (exit 1); exit 1; }; }
29318
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
29319
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
29320
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
29322
# Find a good install program. We prefer a C program (faster),
29323
# so one script is as good as another. But avoid the broken or
29324
# incompatible versions:
29325
@@ -1287,22 +1720,23 @@ ac_configure="$SHELL $ac_aux_dir/configu
29326
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
29327
# OS/2's system install, which has a completely different semantic
29328
# ./install, which can be erroneously created by make from ./install.sh.
29329
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
29330
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
29331
+# Reject install programs that cannot install multiple files.
29332
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
29333
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
29334
if test -z "$INSTALL"; then
29335
-if test "${ac_cv_path_install+set}" = set; then
29336
- echo $ECHO_N "(cached) $ECHO_C" >&6
29337
+if test "${ac_cv_path_install+set}" = set; then :
29338
+ $as_echo_n "(cached) " >&6
29340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29341
for as_dir in $PATH
29344
test -z "$as_dir" && as_dir=.
29345
- # Account for people who put trailing slashes in PATH elements.
29347
- ./ | .// | /cC/* | \
29348
+ # Account for people who put trailing slashes in PATH elements.
29349
+case $as_dir/ in #((
29350
+ ./ | .// | /[cC]/* | \
29351
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
29352
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
29353
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
29356
# OSF1 and SCO ODT 3.0 have their own names for install.
29357
@@ -1310,7 +1744,7 @@ case $as_dir/ in
29359
for ac_prog in ginstall scoinst install; do
29360
for ac_exec_ext in '' $ac_executable_extensions; do
29361
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
29362
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
29363
if test $ac_prog = install &&
29364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
29365
# AIX install. It has an incompatible calling convention.
29366
@@ -1320,30 +1754,43 @@ case $as_dir/ in
29367
# program-specific install script used by HP pwplus--don't use.
29370
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
29372
+ rm -rf conftest.one conftest.two conftest.dir
29373
+ echo one > conftest.one
29374
+ echo two > conftest.two
29375
+ mkdir conftest.dir
29376
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
29377
+ test -s conftest.one && test -s conftest.two &&
29378
+ test -s conftest.dir/conftest.one &&
29379
+ test -s conftest.dir/conftest.two
29381
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
29395
+rm -rf conftest.one conftest.two conftest.dir
29398
if test "${ac_cv_path_install+set}" = set; then
29399
INSTALL=$ac_cv_path_install
29401
- # As a last resort, use the slow shell script. We don't cache a
29402
- # path for INSTALL within a source directory, because that will
29403
+ # As a last resort, use the slow shell script. Don't cache a
29404
+ # value for INSTALL within a source directory, because that will
29405
# break other packages using the cache if that directory is
29406
- # removed, or if the path is relative.
29407
+ # removed, or if the value is a relative name.
29408
INSTALL=$ac_install_sh
29411
-echo "$as_me:$LINENO: result: $INSTALL" >&5
29412
-echo "${ECHO_T}$INSTALL" >&6
29413
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
29414
+$as_echo "$INSTALL" >&6; }
29416
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
29417
# It thinks the first close brace ends the variable substitution.
29418
@@ -1355,79 +1802,100 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
29422
-# If set to t, that means we are running in a shell under Emacs.
29423
- # If you have an Emacs named "t", then use the full path.
29424
- test "$EMACS" = t && EMACS=
29425
- for ac_prog in emacs xemacs
29426
+ # If set to t, that means we are running in a shell under Emacs.
29427
+ # If you have an Emacs named "t", then use the full path.
29428
+ test x"$EMACS" = xt && EMACS=
29429
+ for ac_prog in emacs xemacs
29431
# Extract the first word of "$ac_prog", so it can be a program name with args.
29432
set dummy $ac_prog; ac_word=$2
29433
-echo "$as_me:$LINENO: checking for $ac_word" >&5
29434
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29435
-if test "${ac_cv_path_EMACS+set}" = set; then
29436
- echo $ECHO_N "(cached) $ECHO_C" >&6
29437
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29438
+$as_echo_n "checking for $ac_word... " >&6; }
29439
+if test "${ac_cv_prog_EMACS+set}" = set; then :
29440
+ $as_echo_n "(cached) " >&6
29443
- [\\/]* | ?:[\\/]*)
29444
- ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path.
29447
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29448
+ if test -n "$EMACS"; then
29449
+ ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
29451
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29452
for as_dir in $PATH
29455
test -z "$as_dir" && as_dir=.
29456
- for ac_exec_ext in '' $ac_executable_extensions; do
29457
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29458
- ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext"
29459
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29460
+ for ac_exec_ext in '' $ac_executable_extensions; do
29461
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29462
+ ac_cv_prog_EMACS="$ac_prog"
29463
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29474
-EMACS=$ac_cv_path_EMACS
29477
+EMACS=$ac_cv_prog_EMACS
29478
if test -n "$EMACS"; then
29479
- echo "$as_me:$LINENO: result: $EMACS" >&5
29480
-echo "${ECHO_T}$EMACS" >&6
29481
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
29482
+$as_echo "$EMACS" >&6; }
29484
- echo "$as_me:$LINENO: result: no" >&5
29485
-echo "${ECHO_T}no" >&6
29486
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29487
+$as_echo "no" >&6; }
29491
test -n "$EMACS" && break
29493
test -n "$EMACS" || EMACS="no"
29495
- if test $EMACS != "no"; then
29496
- echo "$as_me:$LINENO: checking where .elc files should go" >&5
29497
-echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
29498
- lispdir="\$(datadir)/emacs/site-lisp"
29499
- emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
29500
- if test "x$prefix" = "xNONE"; then
29501
- if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
29502
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
29504
- if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
29505
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
29509
- if test -d $prefix/share/$emacs_flavor/site-lisp; then
29510
- lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
29512
- if test -d $prefix/lib/$emacs_flavor/site-lisp; then
29513
- lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
29517
- echo "$as_me:$LINENO: result: $lispdir" >&5
29518
-echo "${ECHO_T}$lispdir" >&6
29523
+# Check whether --with-lispdir was given.
29524
+if test "${with_lispdir+set}" = set; then :
29525
+ withval=$with_lispdir; lispdir="$withval"
29526
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
29527
+$as_echo_n "checking where .elc files should go... " >&6; }
29528
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
29529
+$as_echo "$lispdir" >&6; }
29532
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
29533
+$as_echo_n "checking where .elc files should go... " >&6; }
29534
+if test "${am_cv_lispdir+set}" = set; then :
29535
+ $as_echo_n "(cached) " >&6
29538
+ if test $EMACS != "no"; then
29539
+ if test x${lispdir+set} != xset; then
29540
+ # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
29541
+ # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
29542
+ # which is non-obvious for non-emacs users.
29543
+ # Redirecting /dev/null should help a bit; pity we can't detect "broken"
29544
+ # emacsen earlier and avoid running this altogether.
29545
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
29546
+ ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
29548
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29549
+ test $ac_status = 0; }
29550
+ am_cv_lispdir=`sed -n \
29552
+ -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
29553
+ -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
29558
+ test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
29561
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
29562
+$as_echo "$am_cv_lispdir" >&6; }
29563
+ lispdir="$am_cv_lispdir"
29570
echo checking for echo -n
29571
@@ -1456,10 +1924,10 @@ test -n "$verbose" && echo " setting PAS
29573
# Extract the first word of "mktemp", so it can be a program name with args.
29574
set dummy mktemp; ac_word=$2
29575
-echo "$as_me:$LINENO: checking for $ac_word" >&5
29576
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29577
-if test "${ac_cv_prog_MKTEMP+set}" = set; then
29578
- echo $ECHO_N "(cached) $ECHO_C" >&6
29579
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29580
+$as_echo_n "checking for $ac_word... " >&6; }
29581
+if test "${ac_cv_prog_MKTEMP+set}" = set; then :
29582
+ $as_echo_n "(cached) " >&6
29584
if test -n "$MKTEMP"; then
29585
ac_cv_prog_MKTEMP="$MKTEMP" # Let the user override the test.
29586
@@ -1469,51 +1937,53 @@ for as_dir in $PATH
29589
test -z "$as_dir" && as_dir=.
29590
- for ac_exec_ext in '' $ac_executable_extensions; do
29591
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592
+ for ac_exec_ext in '' $ac_executable_extensions; do
29593
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29594
ac_cv_prog_MKTEMP="yes"
29595
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29596
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29604
test -z "$ac_cv_prog_MKTEMP" && ac_cv_prog_MKTEMP="no"
29607
MKTEMP=$ac_cv_prog_MKTEMP
29608
if test -n "$MKTEMP"; then
29609
- echo "$as_me:$LINENO: result: $MKTEMP" >&5
29610
-echo "${ECHO_T}$MKTEMP" >&6
29611
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKTEMP" >&5
29612
+$as_echo "$MKTEMP" >&6; }
29614
- echo "$as_me:$LINENO: result: no" >&5
29615
-echo "${ECHO_T}no" >&6
29616
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29617
+$as_echo "no" >&6; }
29623
DEFAULT_ORGANIZATION=unknown
29625
-echo "$as_me:$LINENO: checking for --with-submitter" >&5
29626
-echo $ECHO_N "checking for --with-submitter... $ECHO_C" >&6
29627
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-submitter" >&5
29628
+$as_echo_n "checking for --with-submitter... " >&6; }
29629
if test -n "$with_submitter" ; then
29630
- echo "$as_me:$LINENO: result: $with_submitter" >&5
29631
-echo "${ECHO_T}$with_submitter" >&6
29632
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_submitter" >&5
29633
+$as_echo "$with_submitter" >&6; }
29634
SUBMITTER="$with_submitter"
29636
- echo "$as_me:$LINENO: result: default to unknown" >&5
29637
-echo "${ECHO_T}default to unknown" >&6
29638
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to unknown" >&5
29639
+$as_echo "default to unknown" >&6; }
29642
-echo "$as_me:$LINENO: checking for --with-organization" >&5
29643
-echo $ECHO_N "checking for --with-organization... $ECHO_C" >&6
29644
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-organization" >&5
29645
+$as_echo_n "checking for --with-organization... " >&6; }
29646
if test -n "$with_organization" ; then
29647
- echo "$as_me:$LINENO: result: $with_organization" >&5
29648
-echo "${ECHO_T}$with_organization" >&6
29649
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_organization" >&5
29650
+$as_echo "$with_organization" >&6; }
29651
DEFAULT_ORGANIZATION="$with_organization"
29653
- echo "$as_me:$LINENO: result: default to unknown" >&5
29654
-echo "${ECHO_T}default to unknown" >&6
29655
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: default to unknown" >&5
29656
+$as_echo "default to unknown" >&6; }
29660
@@ -1527,10 +1997,10 @@ fi
29661
DEFAULT_MAIL_AGENT=false
29662
# Extract the first word of "sendmail", so it can be a program name with args.
29663
set dummy sendmail; ac_word=$2
29664
-echo "$as_me:$LINENO: checking for $ac_word" >&5
29665
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29666
-if test "${ac_cv_path_SENDMAIL+set}" = set; then
29667
- echo $ECHO_N "(cached) $ECHO_C" >&6
29668
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29669
+$as_echo_n "checking for $ac_word... " >&6; }
29670
+if test "${ac_cv_path_SENDMAIL+set}" = set; then :
29671
+ $as_echo_n "(cached) " >&6
29675
@@ -1543,28 +2013,29 @@ for as_dir in $as_dummy
29678
test -z "$as_dir" && as_dir=.
29679
- for ac_exec_ext in '' $ac_executable_extensions; do
29680
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29681
+ for ac_exec_ext in '' $ac_executable_extensions; do
29682
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29683
ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
29684
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29685
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29696
SENDMAIL=$ac_cv_path_SENDMAIL
29698
if test -n "$SENDMAIL"; then
29699
- echo "$as_me:$LINENO: result: $SENDMAIL" >&5
29700
-echo "${ECHO_T}$SENDMAIL" >&6
29701
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
29702
+$as_echo "$SENDMAIL" >&6; }
29704
- echo "$as_me:$LINENO: result: no" >&5
29705
-echo "${ECHO_T}no" >&6
29706
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29707
+$as_echo "no" >&6; }
29711
if test -n "$SENDMAIL" ; then
29712
DEFAULT_MAIL_AGENT="$SENDMAIL -oi -t"
29714
@@ -1587,7 +2058,7 @@ if test -n "$verbose"; then
29715
echo " setting DEFAULT_MAIL_AGENT to $DEFAULT_MAIL_AGENT"
29718
- ac_config_files="$ac_config_files Makefile:Makefile.in install-sid:install-sid.sh send-pr:send-pr.sh"
29719
+ac_config_files="$ac_config_files Makefile:Makefile.in install-sid:install-sid.sh send-pr:send-pr.sh"
29721
cat >confcache <<\_ACEOF
29722
# This file is a shell script that caches the results of configure
29723
@@ -1607,39 +2078,59 @@ _ACEOF
29725
# The following way of writing the cache mishandles newlines in values,
29726
# but we know of no workaround that is simple, portable, and efficient.
29727
-# So, don't put newlines in cache variables' values.
29728
+# So, we kill variables containing newlines.
29729
# Ultrix sh set writes to stderr and can't be redirected directly,
29730
# and sets the high bit in the cache file unless we assign to the vars.
29733
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29734
+ eval ac_val=\$$ac_var
29735
+ case $ac_val in #(
29737
+ case $ac_var in #(
29738
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
29739
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29741
+ case $ac_var in #(
29742
+ _ | IFS | as_nl) ;; #(
29743
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29744
+ *) { eval $ac_var=; unset $ac_var;} ;;
29750
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
29752
- # `set' does not quote correctly, so add quotes (double-quote
29753
- # substitution turns \\\\ into \\, and sed turns \\ into \).
29754
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
29755
+ *${as_nl}ac_space=\ *)
29756
+ # `set' does not quote correctly, so add quotes: double-quote
29757
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
29760
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29764
# `set' quotes correctly as required by POSIX, so do not add quotes.
29766
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29767
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29775
+ /^ac_cv_env_/b end
29779
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29781
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29782
- : end' >>confcache
29783
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
29784
- if test -w $cache_file; then
29785
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29786
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29787
+ :end' >>confcache
29788
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29789
+ if test -w "$cache_file"; then
29790
+ test "x$cache_file" != "x/dev/null" &&
29791
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
29792
+$as_echo "$as_me: updating cache $cache_file" >&6;}
29793
cat confcache >$cache_file
29795
- echo "not updating unwritable cache $cache_file"
29796
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
29797
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29801
@@ -1648,63 +2139,54 @@ test "x$prefix" = xNONE && prefix=$ac_de
29802
# Let make expand exec_prefix.
29803
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29805
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
29806
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29807
-# trailing colons and then remove the whole line if VPATH becomes empty
29808
-# (actually we leave an empty line to preserve line numbers).
29809
-if test "x$srcdir" = x.; then
29810
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
29811
-s/:*\$(srcdir):*/:/;
29812
-s/:*\${srcdir}:*/:/;
29813
-s/:*@srcdir@:*/:/;
29814
-s/^\([^=]*=[ ]*\):*/\1/;
29820
# Transform confdefs.h into DEFS.
29821
# Protect against shell expansion while executing Makefile rules.
29822
# Protect against Makefile macro expansion.
29824
# If the first sed substitution is executed (which looks for macros that
29825
-# take arguments), then we branch to the quote section. Otherwise,
29826
+# take arguments), then branch to the quote section. Otherwise,
29827
# look for a macro that doesn't take arguments.
29828
-cat >confdef2opt.sed <<\_ACEOF
29838
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
29840
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
29842
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
29843
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
29847
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
29853
-# We use echo to avoid assuming a particular line-breaking character.
29854
-# The extra dot is to prevent the shell from consuming trailing
29855
-# line-breaks from the sub-command output. A line-break within
29856
-# single-quotes doesn't work because, if this script is created in a
29857
-# platform that uses two characters for line-breaks (e.g., DOS), tr
29859
-ac_LF_and_DOT=`echo; echo .`
29860
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
29861
-rm -f confdef2opt.sed
29864
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
29877
+DEFS=`sed -n "$ac_script" confdefs.h`
29882
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29883
# 1. Remove the extension, and $U if already installed.
29884
- ac_i=`echo "$ac_i" |
29885
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29887
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
29888
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
29889
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29890
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29891
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29892
+ # will be set to the directory where LIBOBJS objects are built.
29893
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29894
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
29896
LIBOBJS=$ac_libobjs
29898
@@ -1713,11 +2195,13 @@ LTLIBOBJS=$ac_ltlibobjs
29901
: ${CONFIG_STATUS=./config.status}
29903
ac_clean_files_save=$ac_clean_files
29904
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29905
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29906
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
29907
-cat >$CONFIG_STATUS <<_ACEOF
29908
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29909
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29911
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
29913
# Generated by $as_me.
29914
# Run this file to recreate the current configuration.
29915
@@ -1727,81 +2211,252 @@ cat >$CONFIG_STATUS <<_ACEOF
29917
ac_cs_recheck=false
29919
-SHELL=\${CONFIG_SHELL-$SHELL}
29922
-cat >>$CONFIG_STATUS <<\_ACEOF
29923
-## --------------------- ##
29924
-## M4sh Initialization. ##
29925
-## --------------------- ##
29926
+SHELL=\${CONFIG_SHELL-$SHELL}
29929
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
29930
+## -------------------- ##
29931
+## M4sh Initialization. ##
29932
+## -------------------- ##
29934
-# Be Bourne compatible
29935
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29936
+# Be more Bourne compatible
29937
+DUALCASE=1; export DUALCASE # for MKS sh
29938
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
29941
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29942
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29943
# is contrary to our usage. Disable this feature.
29944
alias -g '${1+"$@"}'='"$@"'
29945
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29947
+ setopt NO_GLOB_SUBST
29949
+ case `(set -o) 2>/dev/null` in #(
29951
+ set -o posix ;; #(
29956
-DUALCASE=1; export DUALCASE # for MKS sh
29958
-# Support unset when possible.
29959
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29967
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
29968
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29969
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29970
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29971
+# Prefer a ksh shell builtin over an external printf program on Solaris,
29972
+# but without wasting forks for bash or zsh.
29973
+if test -z "$BASH_VERSION$ZSH_VERSION" \
29974
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
29975
+ as_echo='print -r --'
29976
+ as_echo_n='print -rn --'
29977
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29978
+ as_echo='printf %s\n'
29979
+ as_echo_n='printf %s'
29981
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29982
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29983
+ as_echo_n='/usr/ucb/echo -n'
29985
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29986
+ as_echo_n_body='eval
29990
+ expr "X$arg" : "X\\(.*\\)$as_nl";
29991
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29993
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29995
+ export as_echo_n_body
29996
+ as_echo_n='sh -c $as_echo_n_body as_echo'
29998
+ export as_echo_body
29999
+ as_echo='sh -c $as_echo_body as_echo'
30002
+# The user is always right.
30003
+if test "${PATH_SEPARATOR+set}" != set; then
30005
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
30006
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
30007
+ PATH_SEPARATOR=';'
30011
-# Work around bugs in pre-3.0 UWIN ksh.
30012
-$as_unset ENV MAIL MAILPATH
30015
+# We need space, tab and new line, in precisely that order. Quoting is
30016
+# there to prevent editors from complaining about space-tab.
30017
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
30018
+# splitting by setting IFS to empty value.)
30021
+# Find who we are. Look in the path if we contain no directory separator.
30023
+ *[\\/]* ) as_myself=$0 ;;
30024
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30025
+for as_dir in $PATH
30028
+ test -z "$as_dir" && as_dir=.
30029
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30035
+# We did not find ourselves, most probably we were run as `sh COMMAND'
30036
+# in which case we are not to be found in the path.
30037
+if test "x$as_myself" = x; then
30040
+if test ! -f "$as_myself"; then
30041
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30045
+# Unset variables that we do not need and which cause bugs (e.g. in
30046
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
30047
+# suppresses any "Segmentation fault" message there. '((' could
30048
+# trigger a bug in pdksh 5.2.14.
30049
+for as_var in BASH_ENV ENV MAIL MAILPATH
30050
+do eval test x\${$as_var+set} = xset \
30051
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
30059
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30060
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30061
- LC_TELEPHONE LC_TIME
30063
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30064
- eval $as_var=C; export $as_var
30066
- $as_unset $as_var
30075
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30078
+# as_fn_error ERROR [LINENO LOG_FD]
30079
+# ---------------------------------
30080
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
30081
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
30082
+# script with status $?, using 1 if that was 0.
30085
+ as_status=$?; test $as_status -eq 0 && as_status=1
30086
+ if test "$3"; then
30087
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
30088
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
30090
+ $as_echo "$as_me: error: $1" >&2
30091
+ as_fn_exit $as_status
30095
-# Required to use basename.
30096
-if expr a : '\(a\)' >/dev/null 2>&1; then
30097
+# as_fn_set_status STATUS
30098
+# -----------------------
30099
+# Set $? to STATUS, without forking.
30100
+as_fn_set_status ()
30103
+} # as_fn_set_status
30105
+# as_fn_exit STATUS
30106
+# -----------------
30107
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
30111
+ as_fn_set_status $1
30117
+# Portably unset VAR.
30120
+ { eval $1=; unset $1;}
30122
+as_unset=as_fn_unset
30123
+# as_fn_append VAR VALUE
30124
+# ----------------------
30125
+# Append the text in VALUE to the end of the definition contained in VAR. Take
30126
+# advantage of any shell optimizations that allow amortized linear growth over
30127
+# repeated appends, instead of the typical quadratic growth present in naive
30128
+# implementations.
30129
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
30130
+ eval 'as_fn_append ()
30141
+# as_fn_arith ARG...
30142
+# ------------------
30143
+# Perform arithmetic evaluation on the ARGs, and store the result in the
30144
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
30145
+# must be portable across $(()) and expr.
30146
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
30147
+ eval 'as_fn_arith ()
30154
+ as_val=`expr "$@" || test $? -eq 1`
30159
+if expr a : '\(a\)' >/dev/null 2>&1 &&
30160
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
30166
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
30167
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
30168
as_basename=basename
30173
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
30174
+ as_dirname=dirname
30179
-# Name of the executable.
30180
-as_me=`$as_basename "$0" ||
30181
+as_me=`$as_basename -- "$0" ||
30182
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30183
X"$0" : 'X\(//\)$' \| \
30184
- X"$0" : 'X\(/\)$' \| \
30185
- . : '\(.\)' 2>/dev/null ||
30187
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
30188
- /^X\/\(\/\/\)$/{ s//\1/; q; }
30189
- /^X\/\(\/\).*/{ s//\1/; q; }
30192
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
30194
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
30208
-# PATH needs CR, and LINENO needs CR and PATH.
30209
# Avoid depending upon Character Ranges.
30210
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
30211
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30212
@@ -1809,148 +2464,123 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
30213
as_cr_digits='0123456789'
30214
as_cr_alnum=$as_cr_Letters$as_cr_digits
30216
-# The user is always right.
30217
-if test "${PATH_SEPARATOR+set}" != set; then
30218
- echo "#! /bin/sh" >conf$$.sh
30219
- echo "exit 0" >>conf$$.sh
30220
- chmod +x conf$$.sh
30221
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
30222
- PATH_SEPARATOR=';'
30230
- as_lineno_1=$LINENO
30231
- as_lineno_2=$LINENO
30232
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30233
- test "x$as_lineno_1" != "x$as_lineno_2" &&
30234
- test "x$as_lineno_3" = "x$as_lineno_2" || {
30235
- # Find who we are. Look in the path if we contain no path at all
30236
- # relative or not.
30238
- *[\\/]* ) as_myself=$0 ;;
30239
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30240
-for as_dir in $PATH
30243
- test -z "$as_dir" && as_dir=.
30244
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
30249
- # We did not find ourselves, most probably we were run as `sh COMMAND'
30250
- # in which case we are not to be found in the path.
30251
- if test "x$as_myself" = x; then
30254
- if test ! -f "$as_myself"; then
30255
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
30256
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
30257
- { (exit 1); exit 1; }; }
30259
- case $CONFIG_SHELL in
30261
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30262
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
30265
- test -z "$as_dir" && as_dir=.
30266
- for as_base in sh bash ksh sh5; do
30269
- if ("$as_dir/$as_base" -c '
30270
- as_lineno_1=$LINENO
30271
- as_lineno_2=$LINENO
30272
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
30273
- test "x$as_lineno_1" != "x$as_lineno_2" &&
30274
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
30275
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
30276
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
30277
- CONFIG_SHELL=$as_dir/$as_base
30278
- export CONFIG_SHELL
30279
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30287
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30288
- # uniformly replaced by the line number. The first 'sed' inserts a
30289
- # line-number line before each line; the second 'sed' does the real
30290
- # work. The second script uses 'N' to pair each line-number line
30291
- # with the numbered line, and appends trailing '-' during
30292
- # substitution so that $LINENO is not a special case at line end.
30293
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30294
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30295
- sed '=' <$as_myself |
30300
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30303
- s,^['$as_cr_digits']*\n,,
30304
- ' >$as_me.lineno &&
30305
- chmod +x $as_me.lineno ||
30306
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30307
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30308
- { (exit 1); exit 1; }; }
30310
- # Don't try to exec as it changes $[0], causing all sort of problems
30311
- # (the dirname of $[0] is not the place where we might find the
30312
- # original and so on. Autoconf is especially sensible to this).
30313
- . ./$as_me.lineno
30314
- # Exit status is that of the last command.
30319
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30320
- *c*,-n*) ECHO_N= ECHO_C='
30322
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
30323
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
30324
+ECHO_C= ECHO_N= ECHO_T=
30325
+case `echo -n x` in #(((((
30327
+ case `echo 'xy\c'` in
30328
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
30329
+ xy) ECHO_C='\c';;
30330
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
30337
-if expr a : '\(a\)' >/dev/null 2>&1; then
30339
+rm -f conf$$ conf$$.exe conf$$.file
30340
+if test -d conf$$.dir; then
30341
+ rm -f conf$$.dir/conf$$.file
30345
+ mkdir conf$$.dir 2>/dev/null
30348
-rm -f conf$$ conf$$.exe conf$$.file
30350
-if ln -s conf$$.file conf$$ 2>/dev/null; then
30351
- # We could just check for DJGPP; but this test a) works b) is more generic
30352
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30353
- if test -f conf$$.exe; then
30354
- # Don't use ln at all; we don't have any links
30357
+if (echo >conf$$.file) 2>/dev/null; then
30358
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
30360
+ # ... but there are two gotchas:
30361
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
30362
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
30363
+ # In both cases, we have to default to `cp -p'.
30364
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
30366
+ elif ln conf$$.file conf$$ 2>/dev/null; then
30371
-elif ln conf$$.file conf$$ 2>/dev/null; then
30376
-rm -f conf$$ conf$$.exe conf$$.file
30377
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30378
+rmdir conf$$.dir 2>/dev/null
30383
+# Create "$as_dir" as a directory, including parents if necessary.
30387
+ case $as_dir in #(
30388
+ -*) as_dir=./$as_dir;;
30390
+ test -d "$as_dir" || eval $as_mkdir_p || {
30393
+ case $as_dir in #(
30394
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30395
+ *) as_qdir=$as_dir;;
30397
+ as_dirs="'$as_qdir' $as_dirs"
30398
+ as_dir=`$as_dirname -- "$as_dir" ||
30399
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30400
+ X"$as_dir" : 'X\(//\)[^/]' \| \
30401
+ X"$as_dir" : 'X\(//\)$' \| \
30402
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30403
+$as_echo X"$as_dir" |
30404
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30408
+ /^X\(\/\/\)[^/].*/{
30421
+ test -d "$as_dir" && break
30423
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
30424
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
30428
if mkdir -p . 2>/dev/null; then
30430
+ as_mkdir_p='mkdir -p "$as_dir"'
30432
test -d ./-p && rmdir ./-p
30436
-as_executable_p="test -f"
30437
+if test -x / >/dev/null 2>&1; then
30438
+ as_test_x='test -x'
30440
+ if ls -dL / >/dev/null 2>&1; then
30447
+ if test -d "$1"; then
30453
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
30454
+ ???[sx]*):;;*)false;;esac;fi
30458
+as_executable_p=$as_test_x
30460
# Sed expression to map a string onto a valid CPP name.
30461
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30462
@@ -1959,31 +2589,20 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
30463
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30467
-# We need space, tab and new line, in precisely that order.
30476
+## ----------------------------------- ##
30477
+## Main body of $CONFIG_STATUS script. ##
30478
+## ----------------------------------- ##
30480
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
30482
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
30483
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30484
+# Save the log message, to keep $0 and so on meaningful, and to
30485
# report actual input values of CONFIG_FILES etc. instead of their
30486
-# values after options handling. Logging --version etc. is OK.
30487
-exec 5>>config.log
30490
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30491
-## Running $as_me. ##
30496
+# values after options handling.
30498
This file was extended by send-pr $as_me 4.1.0, which was
30499
-generated by GNU Autoconf 2.59. Invocation command line was
30500
+generated by GNU Autoconf 2.65. Invocation command line was
30502
CONFIG_FILES = $CONFIG_FILES
30503
CONFIG_HEADERS = $CONFIG_HEADERS
30504
@@ -1991,125 +2610,111 @@ generated by GNU Autoconf 2.59. Invocat
30505
CONFIG_COMMANDS = $CONFIG_COMMANDS
30509
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30511
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
30516
-# Files that config.status was made for.
30517
-if test -n "$ac_config_files"; then
30518
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30520
+case $ac_config_files in *"
30521
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
30524
-if test -n "$ac_config_headers"; then
30525
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30528
-if test -n "$ac_config_links"; then
30529
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30532
-if test -n "$ac_config_commands"; then
30533
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30535
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30536
+# Files that config.status was made for.
30537
+config_files="$ac_config_files"
30539
-cat >>$CONFIG_STATUS <<\_ACEOF
30542
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30544
-\`$as_me' instantiates files from templates according to the
30545
-current configuration.
30546
+\`$as_me' instantiates files and other configuration actions
30547
+from templates according to the current configuration. Unless the files
30548
+and actions are specified as TAGs, all are instantiated by default.
30550
-Usage: $0 [OPTIONS] [FILE]...
30551
+Usage: $0 [OPTION]... [TAG]...
30553
-h, --help print this help, then exit
30554
- -V, --version print version number, then exit
30555
- -q, --quiet do not print progress messages
30556
+ -V, --version print version number and configuration settings, then exit
30557
+ --config print configuration, then exit
30558
+ -q, --quiet, --silent
30559
+ do not print progress messages
30560
-d, --debug don't remove temporary files
30561
--recheck update $as_me by reconfiguring in the same conditions
30562
- --file=FILE[:TEMPLATE]
30563
- instantiate the configuration file FILE
30564
+ --file=FILE[:TEMPLATE]
30565
+ instantiate the configuration file FILE
30567
Configuration files:
30570
-Report bugs to <bug-autoconf@gnu.org>."
30572
+Report bugs to <bug-gnats@gnu.org>."
30574
-cat >>$CONFIG_STATUS <<_ACEOF
30576
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30577
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
30579
send-pr config.status 4.1.0
30580
-configured by $0, generated by GNU Autoconf 2.59,
30581
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30582
+configured by $0, generated by GNU Autoconf 2.65,
30583
+ with options \\"\$ac_cs_config\\"
30585
-Copyright (C) 2003 Free Software Foundation, Inc.
30586
+Copyright (C) 2009 Free Software Foundation, Inc.
30587
This config.status script is free software; the Free Software Foundation
30588
gives unlimited permission to copy, distribute and modify it."
30590
-INSTALL="$INSTALL"
30594
+INSTALL='$INSTALL'
30595
+test -n "\$AWK" || AWK=awk
30598
-cat >>$CONFIG_STATUS <<\_ACEOF
30599
-# If no file are specified by the user, then we need to provide default
30600
-# value. By we need to know if files were specified by the user.
30601
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30602
+# The default lists apply if the user does not specify any file.
30608
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
30609
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
30610
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
30611
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30620
- *) # This is not an option, so the user has probably given explicit
30623
- ac_need_defaults=false;;
30627
# Handling of the options.
30629
-cat >>$CONFIG_STATUS <<\_ACEOF
30630
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30632
- --version | --vers* | -V )
30633
- echo "$ac_cs_version"; exit 0 ;;
30635
- # Conflict between --help and --header
30636
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
30637
-Try \`$0 --help' for more information." >&5
30638
-echo "$as_me: error: ambiguous option: $1
30639
-Try \`$0 --help' for more information." >&2;}
30640
- { (exit 1); exit 1; }; };;
30641
- --help | --hel | -h )
30642
- echo "$ac_cs_usage"; exit 0 ;;
30643
- --debug | --d* | -d )
30644
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30645
+ $as_echo "$ac_cs_version"; exit ;;
30646
+ --config | --confi | --conf | --con | --co | --c )
30647
+ $as_echo "$ac_cs_config"; exit ;;
30648
+ --debug | --debu | --deb | --de | --d | -d )
30650
--file | --fil | --fi | --f )
30652
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30653
- ac_need_defaults=false;;
30654
- --header | --heade | --head | --hea )
30656
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30657
+ case $ac_optarg in
30658
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30660
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
30661
ac_need_defaults=false;;
30662
+ --he | --h | --help | --hel | -h )
30663
+ $as_echo "$ac_cs_usage"; exit ;;
30664
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
30665
| -silent | --silent | --silen | --sile | --sil | --si | --s)
30668
# This is an error.
30669
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30670
-Try \`$0 --help' for more information." >&5
30671
-echo "$as_me: error: unrecognized option: $1
30672
-Try \`$0 --help' for more information." >&2;}
30673
- { (exit 1); exit 1; }; } ;;
30674
+ -*) as_fn_error "unrecognized option: \`$1'
30675
+Try \`$0 --help' for more information." ;;
30677
- *) ac_config_targets="$ac_config_targets $1" ;;
30678
+ *) as_fn_append ac_config_targets " $1"
30679
+ ac_need_defaults=false ;;
30683
@@ -2123,32 +2728,46 @@ if $ac_cs_silent; then
30687
-cat >>$CONFIG_STATUS <<_ACEOF
30688
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30689
if \$ac_cs_recheck; then
30690
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30691
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30692
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30694
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
30695
+ CONFIG_SHELL='$SHELL'
30696
+ export CONFIG_SHELL
30701
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30702
+exec 5>>config.log
30705
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30706
+## Running $as_me. ##
30708
+ $as_echo "$ac_log"
30712
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30715
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30719
-cat >>$CONFIG_STATUS <<\_ACEOF
30720
+# Handling of arguments.
30721
for ac_config_target in $ac_config_targets
30723
- case "$ac_config_target" in
30724
- # Handling of arguments.
30725
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in" ;;
30726
- "install-sid" ) CONFIG_FILES="$CONFIG_FILES install-sid:install-sid.sh" ;;
30727
- "send-pr" ) CONFIG_FILES="$CONFIG_FILES send-pr:send-pr.sh" ;;
30728
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30729
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30730
- { (exit 1); exit 1; }; };;
30731
+ case $ac_config_target in
30732
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in" ;;
30733
+ "install-sid") CONFIG_FILES="$CONFIG_FILES install-sid:install-sid.sh" ;;
30734
+ "send-pr") CONFIG_FILES="$CONFIG_FILES send-pr:send-pr.sh" ;;
30736
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
30741
# If the user did not use the arguments to specify the items to instantiate,
30742
# then the envvar interface is used. Set only those that are not.
30743
# We use the long form for the default assignment because of an extremely
30744
@@ -2158,336 +2777,408 @@ if $ac_need_defaults; then
30747
# Have a temporary directory for convenience. Make it in the build tree
30748
-# simply because there is no reason to put it here, and in addition,
30749
+# simply because there is no reason against having it here, and in addition,
30750
# creating and moving files from /tmp can sometimes cause problems.
30751
-# Create a temporary directory, and hook for its removal unless debugging.
30752
+# Hook for its removal unless debugging.
30753
+# Note that there is a small window in which the directory will not be cleaned:
30754
+# after its creation but before its name has been assigned to `$tmp'.
30757
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30758
- trap '{ (exit 1); exit 1; }' 1 2 13 15
30760
+ trap 'exit_status=$?
30761
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30763
+ trap 'as_fn_exit 1' 1 2 13 15
30766
# Create a (secure) tmp directory for tmp files.
30769
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
30770
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30771
test -n "$tmp" && test -d "$tmp"
30774
- tmp=./confstat$$-$RANDOM
30775
- (umask 077 && mkdir $tmp)
30777
+ tmp=./conf$$-$RANDOM
30778
+ (umask 077 && mkdir "$tmp")
30779
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
30781
+# Set up the scripts for CONFIG_FILES section.
30782
+# No need to generate them if there are no CONFIG_FILES.
30783
+# This happens for instance with `./config.status config.h'.
30784
+if test -n "$CONFIG_FILES"; then
30787
+ac_cr=`echo X | tr X '\015'`
30788
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
30789
+# But we know of no other shell where ac_cr would be empty at this
30790
+# point, so we can use a bashism as a fallback.
30791
+if test "x$ac_cr" = x; then
30792
+ eval ac_cr=\$\'\\r\'
30794
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30795
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30796
+ ac_cs_awk_cr='\r'
30798
+ ac_cs_awk_cr=$ac_cr
30801
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
30806
- echo "$me: cannot create a temporary directory in ." >&2
30807
- { (exit 1); exit 1; }
30808
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
30809
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30811
+} >conf$$subs.sh ||
30812
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
30813
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30815
+for ac_last_try in false false false false false :; do
30816
+ . ./conf$$subs.sh ||
30817
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
30819
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30820
+ if test $ac_delim_n = $ac_delim_num; then
30822
+ elif $ac_last_try; then
30823
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
30825
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30828
+rm -f conf$$subs.sh
30830
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30831
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
30835
+s/^/S["/; s/!.*/"]=/
30841
+s/'"$ac_delim"'$//
30845
+s/\(.\{148\}\)..*/\1/
30847
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30852
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30859
+s/\(.\{148\}\)..*/\1/
30861
+s/["\\]/\\&/g; s/^/"/; s/$/"/
30865
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30870
+' <conf$$subs.awk | sed '
30875
+' >>$CONFIG_STATUS || ac_write_fail=1
30876
+rm -f conf$$subs.awk
30877
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30879
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
30880
+ for (key in S) S_is_set[key] = 1
30886
+ nfields = split(line, field, "@")
30888
+ len = length(field[1])
30889
+ for (i = 2; i < nfields; i++) {
30891
+ keylen = length(key)
30892
+ if (S_is_set[key]) {
30894
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30895
+ len += length(value) + length(field[++i])
30898
+ len += 1 + keylen
30906
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30907
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30908
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30911
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
30912
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
30915
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
30916
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30917
+# trailing colons and then remove the whole line if VPATH becomes empty
30918
+# (actually we leave an empty line to preserve line numbers).
30919
+if test "x$srcdir" = x.; then
30920
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
30921
+s/:*\$(srcdir):*/:/
30922
+s/:*\${srcdir}:*/:/
30924
+s/^\([^=]*=[ ]*\):*/\1/
30930
-cat >>$CONFIG_STATUS <<_ACEOF
30931
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30932
+fi # test -n "$CONFIG_FILES"
30935
-# CONFIG_FILES section.
30938
-# No need to generate the scripts if there are no CONFIG_FILES.
30939
-# This happens for instance when ./config.status config.h
30940
-if test -n "\$CONFIG_FILES"; then
30941
- # Protect against being on the right side of a sed subst in config.status.
30942
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30943
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30944
-s,@SHELL@,$SHELL,;t t
30945
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30946
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30947
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30948
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30949
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30950
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30951
-s,@exec_prefix@,$exec_prefix,;t t
30952
-s,@prefix@,$prefix,;t t
30953
-s,@program_transform_name@,$program_transform_name,;t t
30954
-s,@bindir@,$bindir,;t t
30955
-s,@sbindir@,$sbindir,;t t
30956
-s,@libexecdir@,$libexecdir,;t t
30957
-s,@datadir@,$datadir,;t t
30958
-s,@sysconfdir@,$sysconfdir,;t t
30959
-s,@sharedstatedir@,$sharedstatedir,;t t
30960
-s,@localstatedir@,$localstatedir,;t t
30961
-s,@libdir@,$libdir,;t t
30962
-s,@includedir@,$includedir,;t t
30963
-s,@oldincludedir@,$oldincludedir,;t t
30964
-s,@infodir@,$infodir,;t t
30965
-s,@mandir@,$mandir,;t t
30966
-s,@build_alias@,$build_alias,;t t
30967
-s,@host_alias@,$host_alias,;t t
30968
-s,@target_alias@,$target_alias,;t t
30969
-s,@DEFS@,$DEFS,;t t
30970
-s,@ECHO_C@,$ECHO_C,;t t
30971
-s,@ECHO_N@,$ECHO_N,;t t
30972
-s,@ECHO_T@,$ECHO_T,;t t
30973
-s,@LIBS@,$LIBS,;t t
30974
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30975
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30976
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30977
-s,@DEFAULT_RELEASE@,$DEFAULT_RELEASE,;t t
30978
-s,@DEFAULT_ORGANIZATION@,$DEFAULT_ORGANIZATION,;t t
30979
-s,@DEFAULT_MAIL_AGENT@,$DEFAULT_MAIL_AGENT,;t t
30980
-s,@SUBMITTER@,$SUBMITTER,;t t
30981
-s,@ECHON@,$ECHON,;t t
30982
-s,@EMACS@,$EMACS,;t t
30983
-s,@lispdir@,$lispdir,;t t
30984
-s,@PASSWD@,$PASSWD,;t t
30985
-s,@MKTEMP@,$MKTEMP,;t t
30986
-s,@SENDMAIL@,$SENDMAIL,;t t
30987
-s,@LIBOBJS@,$LIBOBJS,;t t
30988
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
30993
- cat >>$CONFIG_STATUS <<\_ACEOF
30994
- # Split the substitutions into bite-sized pieces for seds with
30995
- # small command number limits, like on Digital OSF/1 and HP-UX.
30996
- ac_max_sed_lines=48
30997
- ac_sed_frag=1 # Number of current file.
30998
- ac_beg=1 # First line for current file.
30999
- ac_end=$ac_max_sed_lines # Line after last line for current file.
31002
- while $ac_more_lines; do
31003
- if test $ac_beg -gt 1; then
31004
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31006
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
31008
- if test ! -s $tmp/subs.frag; then
31009
- ac_more_lines=false
31011
- # The purpose of the label and of the branching condition is to
31012
- # speed up the sed processing (if there are no `@' at all, there
31013
- # is no need to browse any of the substitutions).
31014
- # These are the two extra sed commands mentioned above.
31016
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
31017
- if test -z "$ac_sed_cmds"; then
31018
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
31020
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
31022
- ac_sed_frag=`expr $ac_sed_frag + 1`
31024
- ac_end=`expr $ac_end + $ac_max_sed_lines`
31025
+eval set X " :F $CONFIG_FILES "
31030
+ :[FHLC]) ac_mode=$ac_tag; continue;;
31032
+ case $ac_mode$ac_tag in
31034
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
31035
+ :[FH]-) ac_tag=-:-;;
31036
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31047
+ :L) ac_source=$1;;
31053
+ -) ac_f="$tmp/stdin";;
31054
+ *) # Look for the file first in the build tree, then in the source tree
31055
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
31056
+ # because $ac_f cannot contain `:'.
31057
+ test -f "$ac_f" ||
31060
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31062
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
31064
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31065
+ as_fn_append ac_file_inputs " '$ac_f'"
31068
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
31069
+ # use $as_me), people would be surprised to read:
31070
+ # /* config.h. Generated by config.status. */
31071
+ configure_input='Generated from '`
31072
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31073
+ `' by configure.'
31074
+ if test x"$ac_file" != x-; then
31075
+ configure_input="$ac_file. $configure_input"
31076
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
31077
+$as_echo "$as_me: creating $ac_file" >&6;}
31080
- if test -z "$ac_sed_cmds"; then
31083
-fi # test -n "$CONFIG_FILES"
31084
+ # Neutralize special characters interpreted by sed in replacement strings.
31085
+ case $configure_input in #(
31086
+ *\&* | *\|* | *\\* )
31087
+ ac_sed_conf_input=`$as_echo "$configure_input" |
31088
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
31089
+ *) ac_sed_conf_input=$configure_input;;
31093
-cat >>$CONFIG_STATUS <<\_ACEOF
31094
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
31095
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
31097
- - | *:- | *:-:* ) # input from stdin
31099
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31100
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31101
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
31102
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
31103
- * ) ac_file_in=$ac_file.in ;;
31105
+ *:-:* | *:-) cat >"$tmp/stdin" \
31106
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
31111
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
31112
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
31113
+ ac_dir=`$as_dirname -- "$ac_file" ||
31114
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31115
X"$ac_file" : 'X\(//\)[^/]' \| \
31116
X"$ac_file" : 'X\(//\)$' \| \
31117
- X"$ac_file" : 'X\(/\)' \| \
31118
- . : '\(.\)' 2>/dev/null ||
31119
-echo X"$ac_file" |
31120
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31121
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31122
- /^X\(\/\/\)$/{ s//\1/; q; }
31123
- /^X\(\/\).*/{ s//\1/; q; }
31125
- { if $as_mkdir_p; then
31126
- mkdir -p "$ac_dir"
31130
- while test ! -d "$as_dir"; do
31131
- as_dirs="$as_dir $as_dirs"
31132
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
31133
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31134
- X"$as_dir" : 'X\(//\)[^/]' \| \
31135
- X"$as_dir" : 'X\(//\)$' \| \
31136
- X"$as_dir" : 'X\(/\)' \| \
31137
- . : '\(.\)' 2>/dev/null ||
31139
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31140
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31141
- /^X\(\/\/\)$/{ s//\1/; q; }
31142
- /^X\(\/\).*/{ s//\1/; q; }
31145
- test ! -n "$as_dirs" || mkdir $as_dirs
31146
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31147
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31148
- { (exit 1); exit 1; }; }; }
31150
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31151
+$as_echo X"$ac_file" |
31152
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31156
+ /^X\(\/\/\)[^/].*/{
31169
+ as_dir="$ac_dir"; as_fn_mkdir_p
31172
-if test "$ac_dir" != .; then
31173
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31174
- # A "../" for each directory in $ac_dir_suffix.
31175
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31177
- ac_dir_suffix= ac_top_builddir=
31180
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31182
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31183
+ # A ".." for each directory in $ac_dir_suffix.
31184
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31185
+ case $ac_top_builddir_sub in
31186
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31187
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31190
+ac_abs_top_builddir=$ac_pwd
31191
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
31192
+# for backward compatibility:
31193
+ac_top_builddir=$ac_top_build_prefix
31196
- .) # No --srcdir option. We are building in place.
31197
+ .) # We are building in place.
31199
- if test -z "$ac_top_builddir"; then
31202
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
31204
- [\\/]* | ?:[\\/]* ) # Absolute path.
31205
+ ac_top_srcdir=$ac_top_builddir_sub
31206
+ ac_abs_top_srcdir=$ac_pwd ;;
31207
+ [\\/]* | ?:[\\/]* ) # Absolute name.
31208
ac_srcdir=$srcdir$ac_dir_suffix;
31209
- ac_top_srcdir=$srcdir ;;
31210
- *) # Relative path.
31211
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
31212
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
31213
+ ac_top_srcdir=$srcdir
31214
+ ac_abs_top_srcdir=$srcdir ;;
31215
+ *) # Relative name.
31216
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31217
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
31218
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31220
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31222
-# Do not use `cd foo && pwd` to compute absolute paths, because
31223
-# the directories may not exist.
31225
-.) ac_abs_builddir="$ac_dir";;
31227
- case "$ac_dir" in
31228
- .) ac_abs_builddir=`pwd`;;
31229
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
31230
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
31233
-case $ac_abs_builddir in
31234
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
31236
- case ${ac_top_builddir}. in
31237
- .) ac_abs_top_builddir=$ac_abs_builddir;;
31238
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
31239
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
31242
-case $ac_abs_builddir in
31243
-.) ac_abs_srcdir=$ac_srcdir;;
31245
- case $ac_srcdir in
31246
- .) ac_abs_srcdir=$ac_abs_builddir;;
31247
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
31248
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
31251
-case $ac_abs_builddir in
31252
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
31254
- case $ac_top_srcdir in
31255
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
31256
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
31257
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
31268
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31269
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
31270
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31274
- # Let's still pretend it is `configure' which instantiates (i.e., don't
31275
- # use $as_me), people would be surprised to read:
31276
- # /* config.h. Generated by config.status. */
31277
- if test x"$ac_file" = x-; then
31280
- configure_input="$ac_file. "
31282
- configure_input=$configure_input"Generated from `echo $ac_file_in |
31283
- sed 's,.*/,,'` by configure."
31285
- # First look for the input files in the build tree, otherwise in the
31287
- ac_file_inputs=`IFS=:
31288
- for f in $ac_file_in; do
31290
- -) echo $tmp/stdin ;;
31292
- # Absolute (can't be DOS-style, as IFS=:)
31293
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31294
-echo "$as_me: error: cannot find input file: $f" >&2;}
31295
- { (exit 1); exit 1; }; }
31298
- if test -f "$f"; then
31301
- elif test -f "$srcdir/$f"; then
31303
- echo "$srcdir/$f"
31306
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
31307
-echo "$as_me: error: cannot find input file: $f" >&2;}
31308
- { (exit 1); exit 1; }; }
31311
- done` || { (exit 1); exit 1; }
31313
- if test x"$ac_file" != x-; then
31314
- { echo "$as_me:$LINENO: creating $ac_file" >&5
31315
-echo "$as_me: creating $ac_file" >&6;}
31318
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31319
+# If the template does not know about datarootdir, expand it.
31320
+# FIXME: This hack should be removed a few years after 2.60.
31321
+ac_datarootdir_hack=; ac_datarootdir_seen=
31332
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31333
+*datarootdir*) ac_datarootdir_seen=yes;;
31334
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31335
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31336
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31338
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31339
+ ac_datarootdir_hack='
31340
+ s&@datadir@&$datadir&g
31341
+ s&@docdir@&$docdir&g
31342
+ s&@infodir@&$infodir&g
31343
+ s&@localedir@&$localedir&g
31344
+ s&@mandir@&$mandir&g
31345
+ s&\\\${datarootdir}&$datarootdir&g' ;;
31348
-cat >>$CONFIG_STATUS <<_ACEOF
31351
+# Neutralize VPATH when `$srcdir' = `.'.
31352
+# Shell code in configure.ac might set extrasub.
31353
+# FIXME: do we really want to maintain this feature?
31354
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31355
+ac_sed_extra="$ac_vpsub
31358
-cat >>$CONFIG_STATUS <<\_ACEOF
31359
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31361
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31362
-s,@configure_input@,$configure_input,;t t
31363
-s,@srcdir@,$ac_srcdir,;t t
31364
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
31365
-s,@top_srcdir@,$ac_top_srcdir,;t t
31366
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
31367
-s,@builddir@,$ac_builddir,;t t
31368
-s,@abs_builddir@,$ac_abs_builddir,;t t
31369
-s,@top_builddir@,$ac_top_builddir,;t t
31370
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
31371
-s,@INSTALL@,$ac_INSTALL,;t t
31372
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
31374
- if test x"$ac_file" != x-; then
31375
- mv $tmp/out $ac_file
31380
+s|@configure_input@|$ac_sed_conf_input|;t t
31381
+s&@top_builddir@&$ac_top_builddir_sub&;t t
31382
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
31383
+s&@srcdir@&$ac_srcdir&;t t
31384
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
31385
+s&@top_srcdir@&$ac_top_srcdir&;t t
31386
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31387
+s&@builddir@&$ac_builddir&;t t
31388
+s&@abs_builddir@&$ac_abs_builddir&;t t
31389
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31390
+s&@INSTALL@&$ac_INSTALL&;t t
31391
+$ac_datarootdir_hack
31393
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
31394
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
31396
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31397
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
31398
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
31399
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31400
+which seems to be undefined. Please make sure it is defined." >&5
31401
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31402
+which seems to be undefined. Please make sure it is defined." >&2;}
31404
+ rm -f "$tmp/stdin"
31406
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
31407
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
31409
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
31416
-cat >>$CONFIG_STATUS <<\_ACEOF
31422
-{ (exit 0); exit 0; }
31425
-chmod +x $CONFIG_STATUS
31426
ac_clean_files=$ac_clean_files_save
31428
+test $ac_write_fail = 0 ||
31429
+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
31432
# configure is writing to config.log, and then calls config.status.
31433
# config.status does its own redirection, appending to config.log.
31434
@@ -2507,6 +3198,10 @@ if test "$no_create" != yes; then
31436
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
31437
# would make configure fail if this is the last instruction.
31438
- $ac_cs_success || { (exit 1); exit 1; }
31439
+ $ac_cs_success || as_fn_exit $?
31441
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
31442
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
31443
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
31446
--- gnats-4.1.0.orig/doc/configure
31447
+++ gnats-4.1.0/doc/configure
31450
# Guess values for system-dependent variables and create Makefiles.
31451
-# Generated by GNU Autoconf 2.59 for gnats-doc 4.1.0.
31452
+# Generated by GNU Autoconf 2.65 for gnats-doc 4.1.0.
31454
# Report bugs to <bug-gnats@gnu.org>.
31456
-# Copyright (C) 2003 Free Software Foundation, Inc.
31458
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
31459
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
31463
# This configure script is free software; the Free Software Foundation
31464
# gives unlimited permission to copy, distribute and modify it.
31465
-## --------------------- ##
31466
-## M4sh Initialization. ##
31467
-## --------------------- ##
31468
+## -------------------- ##
31469
+## M4sh Initialization. ##
31470
+## -------------------- ##
31472
-# Be Bourne compatible
31473
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31474
+# Be more Bourne compatible
31475
+DUALCASE=1; export DUALCASE # for MKS sh
31476
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31479
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31480
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31481
# is contrary to our usage. Disable this feature.
31482
alias -g '${1+"$@"}'='"$@"'
31483
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31485
+ setopt NO_GLOB_SUBST
31487
+ case `(set -o) 2>/dev/null` in #(
31489
+ set -o posix ;; #(
31494
-DUALCASE=1; export DUALCASE # for MKS sh
31496
-# Support unset when possible.
31497
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31503
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
31504
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31505
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31506
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31507
+# Prefer a ksh shell builtin over an external printf program on Solaris,
31508
+# but without wasting forks for bash or zsh.
31509
+if test -z "$BASH_VERSION$ZSH_VERSION" \
31510
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31511
+ as_echo='print -r --'
31512
+ as_echo_n='print -rn --'
31513
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31514
+ as_echo='printf %s\n'
31515
+ as_echo_n='printf %s'
31518
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31519
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31520
+ as_echo_n='/usr/ucb/echo -n'
31522
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31523
+ as_echo_n_body='eval
31527
+ expr "X$arg" : "X\\(.*\\)$as_nl";
31528
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31530
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31532
+ export as_echo_n_body
31533
+ as_echo_n='sh -c $as_echo_n_body as_echo'
31535
+ export as_echo_body
31536
+ as_echo='sh -c $as_echo_body as_echo'
31539
+# The user is always right.
31540
+if test "${PATH_SEPARATOR+set}" != set; then
31542
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31543
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31544
+ PATH_SEPARATOR=';'
31549
-# Work around bugs in pre-3.0 UWIN ksh.
31550
-$as_unset ENV MAIL MAILPATH
31552
+# We need space, tab and new line, in precisely that order. Quoting is
31553
+# there to prevent editors from complaining about space-tab.
31554
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
31555
+# splitting by setting IFS to empty value.)
31558
+# Find who we are. Look in the path if we contain no directory separator.
31560
+ *[\\/]* ) as_myself=$0 ;;
31561
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31562
+for as_dir in $PATH
31565
+ test -z "$as_dir" && as_dir=.
31566
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31572
+# We did not find ourselves, most probably we were run as `sh COMMAND'
31573
+# in which case we are not to be found in the path.
31574
+if test "x$as_myself" = x; then
31577
+if test ! -f "$as_myself"; then
31578
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31582
+# Unset variables that we do not need and which cause bugs (e.g. in
31583
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31584
+# suppresses any "Segmentation fault" message there. '((' could
31585
+# trigger a bug in pdksh 5.2.14.
31586
+for as_var in BASH_ENV ENV MAIL MAILPATH
31587
+do eval test x\${$as_var+set} = xset \
31588
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31596
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
31597
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
31598
- LC_TELEPHONE LC_TIME
31605
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31607
+if test "x$CONFIG_SHELL" = x; then
31608
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
31611
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
31612
+ # is contrary to our usage. Disable this feature.
31613
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
31614
+ setopt NO_GLOB_SUBST
31616
+ case \`(set -o) 2>/dev/null\` in #(
31618
+ set -o posix ;; #(
31624
+ as_required="as_fn_return () { (exit \$1); }
31625
+as_fn_success () { as_fn_return 0; }
31626
+as_fn_failure () { as_fn_return 1; }
31627
+as_fn_ret_success () { return 0; }
31628
+as_fn_ret_failure () { return 1; }
31631
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
31632
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
31633
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
31634
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
31635
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
31638
+ exitcode=1; echo positional parameters were not saved.
31640
+test x\$exitcode = x0 || exit 1"
31641
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
31642
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
31643
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
31644
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
31645
+ if (eval "$as_required") 2>/dev/null; then :
31646
+ as_have_required=yes
31648
+ as_have_required=no
31650
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
31653
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31655
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
31657
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
31658
- eval $as_var=C; export $as_var
31660
+ test -z "$as_dir" && as_dir=.
31662
+ case $as_dir in #(
31664
+ for as_base in sh bash ksh sh5; do
31665
+ # Try only shells that exist, to save several forks.
31666
+ as_shell=$as_dir/$as_base
31667
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
31668
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
31669
+ CONFIG_SHELL=$as_shell as_have_required=yes
31670
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
31678
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
31679
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
31680
+ CONFIG_SHELL=$SHELL as_have_required=yes
31685
+ if test "x$CONFIG_SHELL" != x; then :
31686
+ # We cannot yet assume a decent shell, so we have to provide a
31687
+ # neutralization value for shells without unset; and this also
31688
+ # works around shells that cannot unset nonexistent variables.
31689
+ BASH_ENV=/dev/null
31691
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
31692
+ export CONFIG_SHELL
31693
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
31696
+ if test x$as_have_required = xno; then :
31697
+ $as_echo "$0: This script requires a shell more modern than all"
31698
+ $as_echo "$0: the shells that I found on your system."
31699
+ if test x${ZSH_VERSION+set} = xset ; then
31700
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
31701
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
31703
- $as_unset $as_var
31704
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gnats@gnu.org
31705
+$0: about your system, including any error possibly output
31706
+$0: before this message. Then install a modern shell, or
31707
+$0: manually run the script under such a shell if you do
31715
+SHELL=${CONFIG_SHELL-/bin/sh}
31717
+# Unset more variables known to interfere with behavior of common tools.
31718
+CLICOLOR_FORCE= GREP_OPTIONS=
31719
+unset CLICOLOR_FORCE GREP_OPTIONS
31721
+## --------------------- ##
31722
+## M4sh Shell Functions. ##
31723
+## --------------------- ##
31726
+# Portably unset VAR.
31729
+ { eval $1=; unset $1;}
31731
+as_unset=as_fn_unset
31733
+# as_fn_set_status STATUS
31734
+# -----------------------
31735
+# Set $? to STATUS, without forking.
31736
+as_fn_set_status ()
31739
+} # as_fn_set_status
31741
+# as_fn_exit STATUS
31742
+# -----------------
31743
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31747
+ as_fn_set_status $1
31753
+# Create "$as_dir" as a directory, including parents if necessary.
31757
+ case $as_dir in #(
31758
+ -*) as_dir=./$as_dir;;
31760
+ test -d "$as_dir" || eval $as_mkdir_p || {
31763
+ case $as_dir in #(
31764
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31765
+ *) as_qdir=$as_dir;;
31767
+ as_dirs="'$as_qdir' $as_dirs"
31768
+ as_dir=`$as_dirname -- "$as_dir" ||
31769
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31770
+ X"$as_dir" : 'X\(//\)[^/]' \| \
31771
+ X"$as_dir" : 'X\(//\)$' \| \
31772
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31773
+$as_echo X"$as_dir" |
31774
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31778
+ /^X\(\/\/\)[^/].*/{
31791
+ test -d "$as_dir" && break
31793
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
31794
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
31798
+# as_fn_append VAR VALUE
31799
+# ----------------------
31800
+# Append the text in VALUE to the end of the definition contained in VAR. Take
31801
+# advantage of any shell optimizations that allow amortized linear growth over
31802
+# repeated appends, instead of the typical quadratic growth present in naive
31803
+# implementations.
31804
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31805
+ eval 'as_fn_append ()
31816
+# as_fn_arith ARG...
31817
+# ------------------
31818
+# Perform arithmetic evaluation on the ARGs, and store the result in the
31819
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
31820
+# must be portable across $(()) and expr.
31821
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31822
+ eval 'as_fn_arith ()
31829
+ as_val=`expr "$@" || test $? -eq 1`
31834
-# Required to use basename.
31835
-if expr a : '\(a\)' >/dev/null 2>&1; then
31836
+# as_fn_error ERROR [LINENO LOG_FD]
31837
+# ---------------------------------
31838
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31839
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31840
+# script with status $?, using 1 if that was 0.
31843
+ as_status=$?; test $as_status -eq 0 && as_status=1
31844
+ if test "$3"; then
31845
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31846
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
31848
+ $as_echo "$as_me: error: $1" >&2
31849
+ as_fn_exit $as_status
31852
+if expr a : '\(a\)' >/dev/null 2>&1 &&
31853
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
31859
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
31860
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31861
as_basename=basename
31866
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31867
+ as_dirname=dirname
31872
-# Name of the executable.
31873
-as_me=`$as_basename "$0" ||
31874
+as_me=`$as_basename -- "$0" ||
31875
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31876
X"$0" : 'X\(//\)$' \| \
31877
- X"$0" : 'X\(/\)$' \| \
31878
- . : '\(.\)' 2>/dev/null ||
31880
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
31881
- /^X\/\(\/\/\)$/{ s//\1/; q; }
31882
- /^X\/\(\/\).*/{ s//\1/; q; }
31884
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31886
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
31901
-# PATH needs CR, and LINENO needs CR and PATH.
31902
# Avoid depending upon Character Ranges.
31903
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31904
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31905
@@ -85,146 +419,107 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
31906
as_cr_digits='0123456789'
31907
as_cr_alnum=$as_cr_Letters$as_cr_digits
31909
-# The user is always right.
31910
-if test "${PATH_SEPARATOR+set}" != set; then
31911
- echo "#! /bin/sh" >conf$$.sh
31912
- echo "exit 0" >>conf$$.sh
31913
- chmod +x conf$$.sh
31914
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31915
- PATH_SEPARATOR=';'
31923
- as_lineno_1=$LINENO
31924
- as_lineno_2=$LINENO
31925
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
31926
- test "x$as_lineno_1" != "x$as_lineno_2" &&
31927
- test "x$as_lineno_3" = "x$as_lineno_2" || {
31928
- # Find who we are. Look in the path if we contain no path at all
31929
- # relative or not.
31931
- *[\\/]* ) as_myself=$0 ;;
31932
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31933
-for as_dir in $PATH
31936
- test -z "$as_dir" && as_dir=.
31937
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31942
- # We did not find ourselves, most probably we were run as `sh COMMAND'
31943
- # in which case we are not to be found in the path.
31944
- if test "x$as_myself" = x; then
31947
- if test ! -f "$as_myself"; then
31948
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
31949
- { (exit 1); exit 1; }; }
31951
- case $CONFIG_SHELL in
31953
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31954
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
31957
- test -z "$as_dir" && as_dir=.
31958
- for as_base in sh bash ksh sh5; do
31961
- if ("$as_dir/$as_base" -c '
31962
- as_lineno_1=$LINENO
31963
- as_lineno_2=$LINENO
31964
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
31965
- test "x$as_lineno_1" != "x$as_lineno_2" &&
31966
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
31967
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
31968
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
31969
- CONFIG_SHELL=$as_dir/$as_base
31970
- export CONFIG_SHELL
31971
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
31979
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
31980
- # uniformly replaced by the line number. The first 'sed' inserts a
31981
- # line-number line before each line; the second 'sed' does the real
31982
- # work. The second script uses 'N' to pair each line-number line
31983
- # with the numbered line, and appends trailing '-' during
31984
- # substitution so that $LINENO is not a special case at line end.
31985
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
31986
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
31987
- sed '=' <$as_myself |
31988
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
31989
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
31990
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
31991
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
31992
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
31998
+ s/[$]LINENO.*/&-/
32005
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
32007
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
32010
- s,^['$as_cr_digits']*\n,,
32012
' >$as_me.lineno &&
32013
- chmod +x $as_me.lineno ||
32014
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
32015
- { (exit 1); exit 1; }; }
32016
+ chmod +x "$as_me.lineno" ||
32017
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
32019
# Don't try to exec as it changes $[0], causing all sort of problems
32020
# (the dirname of $[0] is not the place where we might find the
32021
- # original and so on. Autoconf is especially sensible to this).
32022
- . ./$as_me.lineno
32023
+ # original and so on. Autoconf is especially sensitive to this).
32024
+ . "./$as_me.lineno"
32025
# Exit status is that of the last command.
32030
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32031
- *c*,-n*) ECHO_N= ECHO_C='
32033
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32034
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
32035
+ECHO_C= ECHO_N= ECHO_T=
32036
+case `echo -n x` in #(((((
32038
+ case `echo 'xy\c'` in
32039
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32040
+ xy) ECHO_C='\c';;
32041
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32048
-if expr a : '\(a\)' >/dev/null 2>&1; then
32050
+rm -f conf$$ conf$$.exe conf$$.file
32051
+if test -d conf$$.dir; then
32052
+ rm -f conf$$.dir/conf$$.file
32056
+ mkdir conf$$.dir 2>/dev/null
32059
-rm -f conf$$ conf$$.exe conf$$.file
32061
-if ln -s conf$$.file conf$$ 2>/dev/null; then
32062
- # We could just check for DJGPP; but this test a) works b) is more generic
32063
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32064
- if test -f conf$$.exe; then
32065
- # Don't use ln at all; we don't have any links
32068
+if (echo >conf$$.file) 2>/dev/null; then
32069
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
32071
+ # ... but there are two gotchas:
32072
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32073
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32074
+ # In both cases, we have to default to `cp -p'.
32075
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32077
+ elif ln conf$$.file conf$$ 2>/dev/null; then
32082
-elif ln conf$$.file conf$$ 2>/dev/null; then
32087
-rm -f conf$$ conf$$.exe conf$$.file
32088
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32089
+rmdir conf$$.dir 2>/dev/null
32091
if mkdir -p . 2>/dev/null; then
32093
+ as_mkdir_p='mkdir -p "$as_dir"'
32095
test -d ./-p && rmdir ./-p
32099
-as_executable_p="test -f"
32100
+if test -x / >/dev/null 2>&1; then
32101
+ as_test_x='test -x'
32103
+ if ls -dL / >/dev/null 2>&1; then
32110
+ if test -d "$1"; then
32116
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
32117
+ ???[sx]*):;;*)false;;esac;fi
32121
+as_executable_p=$as_test_x
32123
# Sed expression to map a string onto a valid CPP name.
32124
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32125
@@ -233,38 +528,25 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
32126
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32130
-# We need space, tab and new line, in precisely that order.
32138
+test -n "$DJDIR" || exec 7<&0 </dev/null
32141
# Name of the host.
32142
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
32143
# so uname gets run too.
32144
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
32151
ac_default_prefix=/usr/local
32153
ac_config_libobj_dir=.
32159
-SHELL=${CONFIG_SHELL-/bin/sh}
32161
-# Maximum number of lines to put in a shell here document.
32162
-# This variable seems obsolete. It should probably be removed, and
32163
-# only ac_max_sed_lines should be used.
32164
-: ${ac_max_here_lines=38}
32166
# Identity of this package.
32167
PACKAGE_NAME='gnats-doc'
32168
@@ -272,13 +554,66 @@ PACKAGE_TARNAME='gnats-doc'
32169
PACKAGE_VERSION='4.1.0'
32170
PACKAGE_STRING='gnats-doc 4.1.0'
32171
PACKAGE_BUGREPORT='bug-gnats@gnu.org'
32174
-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 INSTALL_INFO LIBOBJS LTLIBOBJS'
32175
+ac_subst_vars='LTLIBOBJS
32208
+program_transform_name
32221
+enable_option_checking
32223
+ ac_precious_vars='build_alias
32228
# Initialize some variables set by options.
32230
ac_init_version=false
32231
+ac_unrecognized_opts=
32232
+ac_unrecognized_sep=
32233
# The variables have the same names as the options, with
32234
# dashes changed to underlines.
32235
cache_file=/dev/null
32236
@@ -301,34 +636,48 @@ x_libraries=NONE
32237
# and all the variables that are supposed to be based on exec_prefix
32238
# by default will actually change.
32239
# Use braces instead of parens because sh, perl, etc. also accept them.
32240
+# (The list follows the same order as the GNU Coding Standards.)
32241
bindir='${exec_prefix}/bin'
32242
sbindir='${exec_prefix}/sbin'
32243
libexecdir='${exec_prefix}/libexec'
32244
-datadir='${prefix}/share'
32245
+datarootdir='${prefix}/share'
32246
+datadir='${datarootdir}'
32247
sysconfdir='${prefix}/etc'
32248
sharedstatedir='${prefix}/com'
32249
localstatedir='${prefix}/var'
32250
-libdir='${exec_prefix}/lib'
32251
includedir='${prefix}/include'
32252
oldincludedir='/usr/include'
32253
-infodir='${prefix}/info'
32254
-mandir='${prefix}/man'
32255
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
32256
+infodir='${datarootdir}/info'
32257
+htmldir='${docdir}'
32258
+dvidir='${docdir}'
32259
+pdfdir='${docdir}'
32261
+libdir='${exec_prefix}/lib'
32262
+localedir='${datarootdir}/locale'
32263
+mandir='${datarootdir}/man'
32269
# If the previous option needs an argument, assign it.
32270
if test -n "$ac_prev"; then
32271
- eval "$ac_prev=\$ac_option"
32272
+ eval $ac_prev=\$ac_option
32277
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
32278
+ case $ac_option in
32279
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
32280
+ *) ac_optarg=yes ;;
32283
# Accept the important Cygnus configure options, so we can diagnose typos.
32285
- case $ac_option in
32286
+ case $ac_dashdash$ac_option in
32288
+ ac_dashdash=yes ;;
32290
-bindir | --bindir | --bindi | --bind | --bin | --bi)
32292
@@ -350,33 +699,59 @@ do
32293
--config-cache | -C)
32294
cache_file=config.cache ;;
32296
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
32297
+ -datadir | --datadir | --datadi | --datad)
32299
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
32301
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
32302
datadir=$ac_optarg ;;
32304
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
32305
+ | --dataroo | --dataro | --datar)
32306
+ ac_prev=datarootdir ;;
32307
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
32308
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
32309
+ datarootdir=$ac_optarg ;;
32311
-disable-* | --disable-*)
32312
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
32313
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
32314
# Reject names that are not valid shell variable names.
32315
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
32316
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
32317
- { (exit 1); exit 1; }; }
32318
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
32319
- eval "enable_$ac_feature=no" ;;
32320
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
32321
+ as_fn_error "invalid feature name: $ac_useropt"
32322
+ ac_useropt_orig=$ac_useropt
32323
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
32324
+ case $ac_user_opts in
32326
+"enable_$ac_useropt"
32328
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
32329
+ ac_unrecognized_sep=', ';;
32331
+ eval enable_$ac_useropt=no ;;
32333
+ -docdir | --docdir | --docdi | --doc | --do)
32334
+ ac_prev=docdir ;;
32335
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
32336
+ docdir=$ac_optarg ;;
32338
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
32339
+ ac_prev=dvidir ;;
32340
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
32341
+ dvidir=$ac_optarg ;;
32343
-enable-* | --enable-*)
32344
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
32345
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
32346
# Reject names that are not valid shell variable names.
32347
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
32348
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
32349
- { (exit 1); exit 1; }; }
32350
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
32351
- case $ac_option in
32352
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
32353
- *) ac_optarg=yes ;;
32354
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
32355
+ as_fn_error "invalid feature name: $ac_useropt"
32356
+ ac_useropt_orig=$ac_useropt
32357
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
32358
+ case $ac_user_opts in
32360
+"enable_$ac_useropt"
32362
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
32363
+ ac_unrecognized_sep=', ';;
32365
- eval "enable_$ac_feature='$ac_optarg'" ;;
32366
+ eval enable_$ac_useropt=\$ac_optarg ;;
32368
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
32369
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
32370
@@ -403,6 +778,12 @@ do
32371
-host=* | --host=* | --hos=* | --ho=*)
32372
host_alias=$ac_optarg ;;
32374
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
32375
+ ac_prev=htmldir ;;
32376
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
32378
+ htmldir=$ac_optarg ;;
32380
-includedir | --includedir | --includedi | --included | --include \
32381
| --includ | --inclu | --incl | --inc)
32382
ac_prev=includedir ;;
32383
@@ -427,13 +808,16 @@ do
32384
| --libexe=* | --libex=* | --libe=*)
32385
libexecdir=$ac_optarg ;;
32387
+ -localedir | --localedir | --localedi | --localed | --locale)
32388
+ ac_prev=localedir ;;
32389
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
32390
+ localedir=$ac_optarg ;;
32392
-localstatedir | --localstatedir | --localstatedi | --localstated \
32393
- | --localstate | --localstat | --localsta | --localst \
32394
- | --locals | --local | --loca | --loc | --lo)
32395
+ | --localstate | --localstat | --localsta | --localst | --locals)
32396
ac_prev=localstatedir ;;
32397
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
32398
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
32399
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
32400
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
32401
localstatedir=$ac_optarg ;;
32403
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
32404
@@ -498,6 +882,16 @@ do
32405
| --progr-tra=* | --program-tr=* | --program-t=*)
32406
program_transform_name=$ac_optarg ;;
32408
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
32409
+ ac_prev=pdfdir ;;
32410
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
32411
+ pdfdir=$ac_optarg ;;
32413
+ -psdir | --psdir | --psdi | --psd | --ps)
32415
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
32416
+ psdir=$ac_optarg ;;
32418
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
32419
| -silent | --silent | --silen | --sile | --sil)
32421
@@ -548,26 +942,36 @@ do
32422
ac_init_version=: ;;
32424
-with-* | --with-*)
32425
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
32426
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
32427
# Reject names that are not valid shell variable names.
32428
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
32429
- { echo "$as_me: error: invalid package name: $ac_package" >&2
32430
- { (exit 1); exit 1; }; }
32431
- ac_package=`echo $ac_package| sed 's/-/_/g'`
32432
- case $ac_option in
32433
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
32434
- *) ac_optarg=yes ;;
32435
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
32436
+ as_fn_error "invalid package name: $ac_useropt"
32437
+ ac_useropt_orig=$ac_useropt
32438
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
32439
+ case $ac_user_opts in
32441
+"with_$ac_useropt"
32443
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
32444
+ ac_unrecognized_sep=', ';;
32446
- eval "with_$ac_package='$ac_optarg'" ;;
32447
+ eval with_$ac_useropt=\$ac_optarg ;;
32449
-without-* | --without-*)
32450
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
32451
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
32452
# Reject names that are not valid shell variable names.
32453
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
32454
- { echo "$as_me: error: invalid package name: $ac_package" >&2
32455
- { (exit 1); exit 1; }; }
32456
- ac_package=`echo $ac_package | sed 's/-/_/g'`
32457
- eval "with_$ac_package=no" ;;
32458
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
32459
+ as_fn_error "invalid package name: $ac_useropt"
32460
+ ac_useropt_orig=$ac_useropt
32461
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
32462
+ case $ac_user_opts in
32464
+"with_$ac_useropt"
32466
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
32467
+ ac_unrecognized_sep=', ';;
32469
+ eval with_$ac_useropt=no ;;
32472
# Obsolete; use --with-x.
32473
@@ -587,26 +991,25 @@ do
32474
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
32475
x_libraries=$ac_optarg ;;
32477
- -*) { echo "$as_me: error: unrecognized option: $ac_option
32478
-Try \`$0 --help' for more information." >&2
32479
- { (exit 1); exit 1; }; }
32480
+ -*) as_fn_error "unrecognized option: \`$ac_option'
32481
+Try \`$0 --help' for more information."
32485
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
32486
# Reject names that are not valid shell variable names.
32487
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
32488
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
32489
- { (exit 1); exit 1; }; }
32490
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
32491
- eval "$ac_envvar='$ac_optarg'"
32492
+ case $ac_envvar in #(
32493
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
32494
+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
32496
+ eval $ac_envvar=\$ac_optarg
32497
export $ac_envvar ;;
32500
# FIXME: should be removed in autoconf 3.0.
32501
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
32502
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
32503
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
32504
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
32505
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
32506
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
32509
@@ -615,31 +1018,36 @@ done
32511
if test -n "$ac_prev"; then
32512
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
32513
- { echo "$as_me: error: missing argument to $ac_option" >&2
32514
- { (exit 1); exit 1; }; }
32515
+ as_fn_error "missing argument to $ac_option"
32518
-# Be sure to have absolute paths.
32519
-for ac_var in exec_prefix prefix
32521
- eval ac_val=$`echo $ac_var`
32523
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
32524
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
32525
- { (exit 1); exit 1; }; };;
32526
+if test -n "$ac_unrecognized_opts"; then
32527
+ case $enable_option_checking in
32529
+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
32530
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
32535
-# Be sure to have absolute paths.
32536
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
32537
- localstatedir libdir includedir oldincludedir infodir mandir
32538
+# Check all directory arguments for consistency.
32539
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
32540
+ datadir sysconfdir sharedstatedir localstatedir includedir \
32541
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
32542
+ libdir localedir mandir
32544
- eval ac_val=$`echo $ac_var`
32545
+ eval ac_val=\$$ac_var
32546
+ # Remove trailing slashes.
32548
- [\\/$]* | ?:[\\/]* ) ;;
32549
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
32550
- { (exit 1); exit 1; }; };;
32552
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
32553
+ eval $ac_var=\$ac_val;;
32555
+ # Be sure to have absolute directory names.
32557
+ [\\/$]* | ?:[\\/]* ) continue;;
32558
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
32560
+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
32563
# There might be people who depend on the old broken behavior: `$host'
32564
@@ -653,7 +1061,7 @@ target=$target_alias
32565
if test "x$host_alias" != x; then
32566
if test "x$build_alias" = x; then
32567
cross_compiling=maybe
32568
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
32569
+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
32570
If a cross compiler is detected then cross compile mode will be used." >&2
32571
elif test "x$build_alias" != "x$host_alias"; then
32572
cross_compiling=yes
32573
@@ -666,54 +1074,72 @@ test -n "$host_alias" && ac_tool_prefix=
32574
test "$silent" = yes && exec 6>/dev/null
32577
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
32578
+ac_ls_di=`ls -di .` &&
32579
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
32580
+ as_fn_error "working directory cannot be determined"
32581
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
32582
+ as_fn_error "pwd does not report name of working directory"
32585
# Find the source files, if location was not specified.
32586
if test -z "$srcdir"; then
32587
ac_srcdir_defaulted=yes
32588
- # Try the directory containing this script, then its parent.
32589
- ac_confdir=`(dirname "$0") 2>/dev/null ||
32590
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32591
- X"$0" : 'X\(//\)[^/]' \| \
32592
- X"$0" : 'X\(//\)$' \| \
32593
- X"$0" : 'X\(/\)' \| \
32594
- . : '\(.\)' 2>/dev/null ||
32596
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32597
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
32598
- /^X\(\/\/\)$/{ s//\1/; q; }
32599
- /^X\(\/\).*/{ s//\1/; q; }
32601
+ # Try the directory containing this script, then the parent directory.
32602
+ ac_confdir=`$as_dirname -- "$as_myself" ||
32603
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32604
+ X"$as_myself" : 'X\(//\)[^/]' \| \
32605
+ X"$as_myself" : 'X\(//\)$' \| \
32606
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
32607
+$as_echo X"$as_myself" |
32608
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32612
+ /^X\(\/\/\)[^/].*/{
32626
- if test ! -r $srcdir/$ac_unique_file; then
32627
+ if test ! -r "$srcdir/$ac_unique_file"; then
32631
ac_srcdir_defaulted=no
32633
-if test ! -r $srcdir/$ac_unique_file; then
32634
- if test "$ac_srcdir_defaulted" = yes; then
32635
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
32636
- { (exit 1); exit 1; }; }
32638
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
32639
- { (exit 1); exit 1; }; }
32642
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
32643
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
32644
- { (exit 1); exit 1; }; }
32645
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
32646
-ac_env_build_alias_set=${build_alias+set}
32647
-ac_env_build_alias_value=$build_alias
32648
-ac_cv_env_build_alias_set=${build_alias+set}
32649
-ac_cv_env_build_alias_value=$build_alias
32650
-ac_env_host_alias_set=${host_alias+set}
32651
-ac_env_host_alias_value=$host_alias
32652
-ac_cv_env_host_alias_set=${host_alias+set}
32653
-ac_cv_env_host_alias_value=$host_alias
32654
-ac_env_target_alias_set=${target_alias+set}
32655
-ac_env_target_alias_value=$target_alias
32656
-ac_cv_env_target_alias_set=${target_alias+set}
32657
-ac_cv_env_target_alias_value=$target_alias
32658
+if test ! -r "$srcdir/$ac_unique_file"; then
32659
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
32660
+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
32662
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
32664
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
32666
+# When building in place, set srcdir=.
32667
+if test "$ac_abs_confdir" = "$ac_pwd"; then
32670
+# Remove unnecessary trailing slashes from srcdir.
32671
+# Double slashes in file names in object file debugging info
32672
+# mess up M-x gdb in Emacs.
32674
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
32676
+for ac_var in $ac_precious_vars; do
32677
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
32678
+ eval ac_env_${ac_var}_value=\$${ac_var}
32679
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
32680
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
32684
# Report the --help message.
32685
@@ -742,14 +1168,11 @@ Configuration:
32686
-n, --no-create do not create output files
32687
--srcdir=DIR find the sources in DIR [configure dir or \`..']
32692
Installation directories:
32693
--prefix=PREFIX install architecture-independent files in PREFIX
32694
- [$ac_default_prefix]
32695
+ [$ac_default_prefix]
32696
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
32700
By default, \`make install' will install all the files in
32701
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
32702
@@ -759,18 +1182,25 @@ for instance \`--prefix=\$HOME'.
32703
For better control, use the options below.
32705
Fine tuning of the installation directories:
32706
- --bindir=DIR user executables [EPREFIX/bin]
32707
- --sbindir=DIR system admin executables [EPREFIX/sbin]
32708
- --libexecdir=DIR program executables [EPREFIX/libexec]
32709
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
32710
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
32711
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
32712
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
32713
- --libdir=DIR object code libraries [EPREFIX/lib]
32714
- --includedir=DIR C header files [PREFIX/include]
32715
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
32716
- --infodir=DIR info documentation [PREFIX/info]
32717
- --mandir=DIR man documentation [PREFIX/man]
32718
+ --bindir=DIR user executables [EPREFIX/bin]
32719
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
32720
+ --libexecdir=DIR program executables [EPREFIX/libexec]
32721
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
32722
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
32723
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
32724
+ --libdir=DIR object code libraries [EPREFIX/lib]
32725
+ --includedir=DIR C header files [PREFIX/include]
32726
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
32727
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
32728
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
32729
+ --infodir=DIR info documentation [DATAROOTDIR/info]
32730
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
32731
+ --mandir=DIR man documentation [DATAROOTDIR/man]
32732
+ --docdir=DIR documentation root [DATAROOTDIR/doc/gnats-doc]
32733
+ --htmldir=DIR html documentation [DOCDIR]
32734
+ --dvidir=DIR dvi documentation [DOCDIR]
32735
+ --pdfdir=DIR pdf documentation [DOCDIR]
32736
+ --psdir=DIR ps documentation [DOCDIR]
32740
@@ -785,120 +1215,91 @@ if test -n "$ac_init_help"; then
32742
Report bugs to <bug-gnats@gnu.org>.
32747
if test "$ac_init_help" = "recursive"; then
32748
# If there are subdirs, report their specific --help.
32750
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
32751
- test -d $ac_dir || continue
32752
+ test -d "$ac_dir" ||
32753
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
32757
-if test "$ac_dir" != .; then
32758
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32759
- # A "../" for each directory in $ac_dir_suffix.
32760
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32762
- ac_dir_suffix= ac_top_builddir=
32765
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32767
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32768
+ # A ".." for each directory in $ac_dir_suffix.
32769
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32770
+ case $ac_top_builddir_sub in
32771
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32772
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32775
+ac_abs_top_builddir=$ac_pwd
32776
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
32777
+# for backward compatibility:
32778
+ac_top_builddir=$ac_top_build_prefix
32781
- .) # No --srcdir option. We are building in place.
32782
+ .) # We are building in place.
32784
- if test -z "$ac_top_builddir"; then
32787
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
32789
- [\\/]* | ?:[\\/]* ) # Absolute path.
32790
+ ac_top_srcdir=$ac_top_builddir_sub
32791
+ ac_abs_top_srcdir=$ac_pwd ;;
32792
+ [\\/]* | ?:[\\/]* ) # Absolute name.
32793
ac_srcdir=$srcdir$ac_dir_suffix;
32794
- ac_top_srcdir=$srcdir ;;
32795
- *) # Relative path.
32796
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
32797
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
32800
-# Do not use `cd foo && pwd` to compute absolute paths, because
32801
-# the directories may not exist.
32803
-.) ac_abs_builddir="$ac_dir";;
32805
- case "$ac_dir" in
32806
- .) ac_abs_builddir=`pwd`;;
32807
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
32808
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
32811
-case $ac_abs_builddir in
32812
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
32814
- case ${ac_top_builddir}. in
32815
- .) ac_abs_top_builddir=$ac_abs_builddir;;
32816
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
32817
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
32820
-case $ac_abs_builddir in
32821
-.) ac_abs_srcdir=$ac_srcdir;;
32823
- case $ac_srcdir in
32824
- .) ac_abs_srcdir=$ac_abs_builddir;;
32825
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
32826
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
32829
-case $ac_abs_builddir in
32830
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
32832
- case $ac_top_srcdir in
32833
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
32834
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
32835
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
32837
+ ac_top_srcdir=$srcdir
32838
+ ac_abs_top_srcdir=$srcdir ;;
32839
+ *) # Relative name.
32840
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32841
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
32842
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32844
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32847
- # Check for guested configure; otherwise get Cygnus style configure.
32848
- if test -f $ac_srcdir/configure.gnu; then
32850
- $SHELL $ac_srcdir/configure.gnu --help=recursive
32851
- elif test -f $ac_srcdir/configure; then
32853
- $SHELL $ac_srcdir/configure --help=recursive
32854
- elif test -f $ac_srcdir/configure.ac ||
32855
- test -f $ac_srcdir/configure.in; then
32857
- $ac_configure --help
32858
+ cd "$ac_dir" || { ac_status=$?; continue; }
32859
+ # Check for guested configure.
32860
+ if test -f "$ac_srcdir/configure.gnu"; then
32862
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
32863
+ elif test -f "$ac_srcdir/configure"; then
32865
+ $SHELL "$ac_srcdir/configure" --help=recursive
32867
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
32870
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
32871
+ fi || ac_status=$?
32872
+ cd "$ac_pwd" || { ac_status=$?; break; }
32876
-test -n "$ac_init_help" && exit 0
32877
+test -n "$ac_init_help" && exit $ac_status
32878
if $ac_init_version; then
32880
gnats-doc configure 4.1.0
32881
-generated by GNU Autoconf 2.59
32882
+generated by GNU Autoconf 2.65
32884
-Copyright (C) 2003 Free Software Foundation, Inc.
32885
+Copyright (C) 2009 Free Software Foundation, Inc.
32886
This configure script is free software; the Free Software Foundation
32887
gives unlimited permission to copy, distribute and modify it.
32895
+## ------------------------ ##
32896
+## Autoconf initialization. ##
32897
+## ------------------------ ##
32898
+cat >config.log <<_ACEOF
32899
This file contains any messages produced by compilers while
32900
running configure, to aid debugging if configure makes a mistake.
32902
It was created by gnats-doc $as_me 4.1.0, which was
32903
-generated by GNU Autoconf 2.59. Invocation command line was
32904
+generated by GNU Autoconf 2.65. Invocation command line was
32909
+exec 5>>config.log
32913
@@ -917,7 +1318,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
32914
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
32915
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
32916
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
32917
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
32918
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
32919
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
32920
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
32921
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
32922
@@ -929,8 +1330,9 @@ for as_dir in $PATH
32925
test -z "$as_dir" && as_dir=.
32926
- echo "PATH: $as_dir"
32928
+ $as_echo "PATH: $as_dir"
32934
@@ -952,7 +1354,6 @@ _ACEOF
32936
ac_configure_args0=
32937
ac_configure_args1=
32939
ac_must_keep_next=false
32942
@@ -963,13 +1364,13 @@ do
32943
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
32944
| -silent | --silent | --silen | --sile | --sil)
32946
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
32947
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
32949
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
32952
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
32953
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
32955
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
32956
+ as_fn_append ac_configure_args1 " '$ac_arg'"
32957
if test $ac_must_keep_next = true; then
32958
ac_must_keep_next=false # Got value, back to normal.
32960
@@ -985,21 +1386,19 @@ do
32961
-* ) ac_must_keep_next=true ;;
32964
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
32965
- # Get rid of the leading space.
32967
+ as_fn_append ac_configure_args " '$ac_arg'"
32972
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
32973
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
32974
+{ ac_configure_args0=; unset ac_configure_args0;}
32975
+{ ac_configure_args1=; unset ac_configure_args1;}
32977
# When interrupted or exit'd, cleanup temporary files, and complete
32978
# config.log. We remove comments because anyway the quotes in there
32979
# would cause problems or look ugly.
32980
-# WARNING: Be sure not to use single quotes in there, as some shells,
32981
-# such as our DU 5.0 friend, will then `close' the trap.
32982
+# WARNING: Use '\'' to represent an apostrophe within the trap.
32983
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
32984
trap 'exit_status=$?
32985
# Save into config.log some information that might help in debugging.
32987
@@ -1012,20 +1411,35 @@ trap 'exit_status=$?
32990
# The following way of writing the cache mishandles newlines in values,
32993
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
32994
+ eval ac_val=\$$ac_var
32995
+ case $ac_val in #(
32997
+ case $ac_var in #(
32998
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32999
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33001
+ case $ac_var in #(
33002
+ _ | IFS | as_nl) ;; #(
33003
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33004
+ *) { eval $ac_var=; unset $ac_var;} ;;
33009
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
33011
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
33012
+ *${as_nl}ac_space=\ *)
33014
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
33015
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
33017
+ "s/'\''/'\''\\\\'\'''\''/g;
33018
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
33022
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33023
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33033
@@ -1036,22 +1450,28 @@ _ASBOX
33035
for ac_var in $ac_subst_vars
33037
- eval ac_val=$`echo $ac_var`
33038
- echo "$ac_var='"'"'$ac_val'"'"'"
33039
+ eval ac_val=\$$ac_var
33041
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
33043
+ $as_echo "$ac_var='\''$ac_val'\''"
33047
if test -n "$ac_subst_files"; then
33049
-## ------------- ##
33050
-## Output files. ##
33051
-## ------------- ##
33052
+## ------------------- ##
33053
+## File substitutions. ##
33054
+## ------------------- ##
33057
for ac_var in $ac_subst_files
33059
- eval ac_val=$`echo $ac_var`
33060
- echo "$ac_var='"'"'$ac_val'"'"'"
33061
+ eval ac_val=\$$ac_var
33063
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
33065
+ $as_echo "$ac_var='\''$ac_val'\''"
33069
@@ -1063,26 +1483,26 @@ _ASBOX
33073
- sed "/^$/d" confdefs.h | sort
33077
test "$ac_signal" != 0 &&
33078
- echo "$as_me: caught signal $ac_signal"
33079
- echo "$as_me: exit $exit_status"
33080
+ $as_echo "$as_me: caught signal $ac_signal"
33081
+ $as_echo "$as_me: exit $exit_status"
33083
- rm -f core *.core &&
33084
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
33085
+ rm -f core *.core core.conftest.* &&
33086
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
33090
for ac_signal in 1 2 13 15; do
33091
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
33092
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
33096
# confdefs.h avoids OS command line length limits that DEFS can exceed.
33097
-rm -rf conftest* confdefs.h
33098
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
33100
+rm -f -r conftest* confdefs.h
33102
+$as_echo "/* confdefs.h */" > confdefs.h
33104
# Predefined preprocessor variables.
33106
@@ -1090,112 +1510,128 @@ cat >>confdefs.h <<_ACEOF
33107
#define PACKAGE_NAME "$PACKAGE_NAME"
33111
cat >>confdefs.h <<_ACEOF
33112
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
33116
cat >>confdefs.h <<_ACEOF
33117
#define PACKAGE_VERSION "$PACKAGE_VERSION"
33121
cat >>confdefs.h <<_ACEOF
33122
#define PACKAGE_STRING "$PACKAGE_STRING"
33126
cat >>confdefs.h <<_ACEOF
33127
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
33130
+cat >>confdefs.h <<_ACEOF
33131
+#define PACKAGE_URL "$PACKAGE_URL"
33135
# Let the site file select an alternate cache file if it wants to.
33136
-# Prefer explicitly selected file to automatically selected ones.
33137
-if test -z "$CONFIG_SITE"; then
33138
- if test "x$prefix" != xNONE; then
33139
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
33141
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
33143
+# Prefer an explicitly selected file to automatically selected ones.
33144
+ac_site_file1=NONE
33145
+ac_site_file2=NONE
33146
+if test -n "$CONFIG_SITE"; then
33147
+ ac_site_file1=$CONFIG_SITE
33148
+elif test "x$prefix" != xNONE; then
33149
+ ac_site_file1=$prefix/share/config.site
33150
+ ac_site_file2=$prefix/etc/config.site
33152
+ ac_site_file1=$ac_default_prefix/share/config.site
33153
+ ac_site_file2=$ac_default_prefix/etc/config.site
33155
-for ac_site_file in $CONFIG_SITE; do
33156
- if test -r "$ac_site_file"; then
33157
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
33158
-echo "$as_me: loading site script $ac_site_file" >&6;}
33159
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
33161
+ test "x$ac_site_file" = xNONE && continue
33162
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
33163
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
33164
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
33165
sed 's/^/| /' "$ac_site_file" >&5
33170
if test -r "$cache_file"; then
33171
- # Some versions of bash will fail to source /dev/null (special
33172
- # files actually), so we avoid doing that.
33173
- if test -f "$cache_file"; then
33174
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
33175
-echo "$as_me: loading cache $cache_file" >&6;}
33176
+ # Some versions of bash will fail to source /dev/null (special files
33177
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
33178
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
33179
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
33180
+$as_echo "$as_me: loading cache $cache_file" >&6;}
33181
case $cache_file in
33182
- [\\/]* | ?:[\\/]* ) . $cache_file;;
33183
- *) . ./$cache_file;;
33184
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
33185
+ *) . "./$cache_file";;
33189
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
33190
-echo "$as_me: creating cache $cache_file" >&6;}
33191
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
33192
+$as_echo "$as_me: creating cache $cache_file" >&6;}
33196
# Check that the precious variables saved in the cache have kept the same
33198
ac_cache_corrupted=false
33199
-for ac_var in `(set) 2>&1 |
33200
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
33201
+for ac_var in $ac_precious_vars; do
33202
eval ac_old_set=\$ac_cv_env_${ac_var}_set
33203
eval ac_new_set=\$ac_env_${ac_var}_set
33204
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
33205
- eval ac_new_val="\$ac_env_${ac_var}_value"
33206
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
33207
+ eval ac_new_val=\$ac_env_${ac_var}_value
33208
case $ac_old_set,$ac_new_set in
33210
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
33211
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
33212
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
33213
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
33214
ac_cache_corrupted=: ;;
33216
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
33217
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
33218
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
33219
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
33220
ac_cache_corrupted=: ;;
33223
if test "x$ac_old_val" != "x$ac_new_val"; then
33224
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
33225
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
33226
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
33227
-echo "$as_me: former value: $ac_old_val" >&2;}
33228
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
33229
-echo "$as_me: current value: $ac_new_val" >&2;}
33230
- ac_cache_corrupted=:
33231
+ # differences in whitespace do not lead to failure.
33232
+ ac_old_val_w=`echo x $ac_old_val`
33233
+ ac_new_val_w=`echo x $ac_new_val`
33234
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
33235
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
33236
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
33237
+ ac_cache_corrupted=:
33239
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
33240
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
33241
+ eval $ac_var=\$ac_old_val
33243
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
33244
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
33245
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
33246
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
33249
# Pass precious variables to config.status.
33250
if test "$ac_new_set" = set; then
33251
case $ac_new_val in
33252
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
33253
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
33254
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
33255
*) ac_arg=$ac_var=$ac_new_val ;;
33257
case " $ac_configure_args " in
33258
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
33259
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
33260
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
33264
if $ac_cache_corrupted; then
33265
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
33266
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
33267
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
33268
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
33269
- { (exit 1); exit 1; }; }
33271
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33272
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33273
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
33274
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
33275
+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
33277
+## -------------------- ##
33278
+## Main body of script. ##
33279
+## -------------------- ##
33282
ac_cpp='$CPP $CPPFLAGS'
33283
@@ -1204,55 +1640,28 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
33284
ac_compiler_gnu=$ac_cv_c_compiler_gnu
33313
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
33314
- if test -f $ac_dir/install-sh; then
33315
- ac_aux_dir=$ac_dir
33316
- ac_install_sh="$ac_aux_dir/install-sh -c"
33318
- elif test -f $ac_dir/install.sh; then
33319
- ac_aux_dir=$ac_dir
33320
- ac_install_sh="$ac_aux_dir/install.sh -c"
33322
- elif test -f $ac_dir/shtool; then
33323
- ac_aux_dir=$ac_dir
33324
- ac_install_sh="$ac_aux_dir/shtool install -c"
33327
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
33328
+ for ac_t in install-sh install.sh shtool; do
33329
+ if test -f "$ac_dir/$ac_t"; then
33330
+ ac_aux_dir=$ac_dir
33331
+ ac_install_sh="$ac_aux_dir/$ac_t -c"
33336
if test -z "$ac_aux_dir"; then
33337
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
33338
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
33339
- { (exit 1); exit 1; }; }
33341
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
33342
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
33343
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
33344
+ as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
33347
+# These three variables are undocumented and unsupported,
33348
+# and are intended to be withdrawn in a future Autoconf release.
33349
+# They can cause serious problems if a builder's source tree is in a directory
33350
+# whose full name contains unusual characters.
33351
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
33352
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
33353
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
33356
# Find a good install program. We prefer a C program (faster),
33357
# so one script is as good as another. But avoid the broken or
33358
@@ -1267,22 +1676,23 @@ ac_configure="$SHELL $ac_aux_dir/configu
33359
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33360
# OS/2's system install, which has a completely different semantic
33361
# ./install, which can be erroneously created by make from ./install.sh.
33362
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33363
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33364
+# Reject install programs that cannot install multiple files.
33365
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
33366
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
33367
if test -z "$INSTALL"; then
33368
-if test "${ac_cv_path_install+set}" = set; then
33369
- echo $ECHO_N "(cached) $ECHO_C" >&6
33370
+if test "${ac_cv_path_install+set}" = set; then :
33371
+ $as_echo_n "(cached) " >&6
33373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33374
for as_dir in $PATH
33377
test -z "$as_dir" && as_dir=.
33378
- # Account for people who put trailing slashes in PATH elements.
33380
- ./ | .// | /cC/* | \
33381
+ # Account for people who put trailing slashes in PATH elements.
33382
+case $as_dir/ in #((
33383
+ ./ | .// | /[cC]/* | \
33384
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33385
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
33386
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
33389
# OSF1 and SCO ODT 3.0 have their own names for install.
33390
@@ -1290,7 +1700,7 @@ case $as_dir/ in
33392
for ac_prog in ginstall scoinst install; do
33393
for ac_exec_ext in '' $ac_executable_extensions; do
33394
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33395
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
33396
if test $ac_prog = install &&
33397
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33398
# AIX install. It has an incompatible calling convention.
33399
@@ -1300,30 +1710,43 @@ case $as_dir/ in
33400
# program-specific install script used by HP pwplus--don't use.
33403
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33405
+ rm -rf conftest.one conftest.two conftest.dir
33406
+ echo one > conftest.one
33407
+ echo two > conftest.two
33408
+ mkdir conftest.dir
33409
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
33410
+ test -s conftest.one && test -s conftest.two &&
33411
+ test -s conftest.dir/conftest.one &&
33412
+ test -s conftest.dir/conftest.two
33414
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33428
+rm -rf conftest.one conftest.two conftest.dir
33431
if test "${ac_cv_path_install+set}" = set; then
33432
INSTALL=$ac_cv_path_install
33434
- # As a last resort, use the slow shell script. We don't cache a
33435
- # path for INSTALL within a source directory, because that will
33436
+ # As a last resort, use the slow shell script. Don't cache a
33437
+ # value for INSTALL within a source directory, because that will
33438
# break other packages using the cache if that directory is
33439
- # removed, or if the path is relative.
33440
+ # removed, or if the value is a relative name.
33441
INSTALL=$ac_install_sh
33444
-echo "$as_me:$LINENO: result: $INSTALL" >&5
33445
-echo "${ECHO_T}$INSTALL" >&6
33446
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
33447
+$as_echo "$INSTALL" >&6; }
33449
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33450
# It thinks the first close brace ends the variable substitution.
33451
@@ -1335,10 +1758,10 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
33453
# Extract the first word of "install-info", so it can be a program name with args.
33454
set dummy install-info; ac_word=$2
33455
-echo "$as_me:$LINENO: checking for $ac_word" >&5
33456
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33457
-if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
33458
- echo $ECHO_N "(cached) $ECHO_C" >&6
33459
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33460
+$as_echo_n "checking for $ac_word... " >&6; }
33461
+if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
33462
+ $as_echo_n "(cached) " >&6
33464
case $INSTALL_INFO in
33466
@@ -1350,29 +1773,30 @@ for as_dir in $PATH
33469
test -z "$as_dir" && as_dir=.
33470
- for ac_exec_ext in '' $ac_executable_extensions; do
33471
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33472
+ for ac_exec_ext in '' $ac_executable_extensions; do
33473
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33474
ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
33475
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33476
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33487
INSTALL_INFO=$ac_cv_path_INSTALL_INFO
33489
if test -n "$INSTALL_INFO"; then
33490
- echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
33491
-echo "${ECHO_T}$INSTALL_INFO" >&6
33492
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
33493
+$as_echo "$INSTALL_INFO" >&6; }
33495
- echo "$as_me:$LINENO: result: no" >&5
33496
-echo "${ECHO_T}no" >&6
33497
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33498
+$as_echo "no" >&6; }
33501
- ac_config_files="$ac_config_files Makefile man/Makefile"
33503
+ac_config_files="$ac_config_files Makefile man/Makefile"
33505
cat >confcache <<\_ACEOF
33506
# This file is a shell script that caches the results of configure
33507
@@ -1392,39 +1816,59 @@ _ACEOF
33509
# The following way of writing the cache mishandles newlines in values,
33510
# but we know of no workaround that is simple, portable, and efficient.
33511
-# So, don't put newlines in cache variables' values.
33512
+# So, we kill variables containing newlines.
33513
# Ultrix sh set writes to stderr and can't be redirected directly,
33514
# and sets the high bit in the cache file unless we assign to the vars.
33517
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33518
+ eval ac_val=\$$ac_var
33519
+ case $ac_val in #(
33521
+ case $ac_var in #(
33522
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33523
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33525
+ case $ac_var in #(
33526
+ _ | IFS | as_nl) ;; #(
33527
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33528
+ *) { eval $ac_var=; unset $ac_var;} ;;
33534
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
33536
- # `set' does not quote correctly, so add quotes (double-quote
33537
- # substitution turns \\\\ into \\, and sed turns \\ into \).
33538
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
33539
+ *${as_nl}ac_space=\ *)
33540
+ # `set' does not quote correctly, so add quotes: double-quote
33541
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
33544
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33548
# `set' quotes correctly as required by POSIX, so do not add quotes.
33550
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33551
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33559
+ /^ac_cv_env_/b end
33563
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33565
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33566
- : end' >>confcache
33567
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
33568
- if test -w $cache_file; then
33569
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33570
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33571
+ :end' >>confcache
33572
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33573
+ if test -w "$cache_file"; then
33574
+ test "x$cache_file" != "x/dev/null" &&
33575
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33576
+$as_echo "$as_me: updating cache $cache_file" >&6;}
33577
cat confcache >$cache_file
33579
- echo "not updating unwritable cache $cache_file"
33580
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33581
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33585
@@ -1433,63 +1877,54 @@ test "x$prefix" = xNONE && prefix=$ac_de
33586
# Let make expand exec_prefix.
33587
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33589
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
33590
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33591
-# trailing colons and then remove the whole line if VPATH becomes empty
33592
-# (actually we leave an empty line to preserve line numbers).
33593
-if test "x$srcdir" = x.; then
33594
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
33595
-s/:*\$(srcdir):*/:/;
33596
-s/:*\${srcdir}:*/:/;
33597
-s/:*@srcdir@:*/:/;
33598
-s/^\([^=]*=[ ]*\):*/\1/;
33604
# Transform confdefs.h into DEFS.
33605
# Protect against shell expansion while executing Makefile rules.
33606
# Protect against Makefile macro expansion.
33608
# If the first sed substitution is executed (which looks for macros that
33609
-# take arguments), then we branch to the quote section. Otherwise,
33610
+# take arguments), then branch to the quote section. Otherwise,
33611
# look for a macro that doesn't take arguments.
33612
-cat >confdef2opt.sed <<\_ACEOF
33622
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
33624
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
33626
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
33627
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
33631
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
33637
-# We use echo to avoid assuming a particular line-breaking character.
33638
-# The extra dot is to prevent the shell from consuming trailing
33639
-# line-breaks from the sub-command output. A line-break within
33640
-# single-quotes doesn't work because, if this script is created in a
33641
-# platform that uses two characters for line-breaks (e.g., DOS), tr
33643
-ac_LF_and_DOT=`echo; echo .`
33644
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
33645
-rm -f confdef2opt.sed
33648
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
33661
+DEFS=`sed -n "$ac_script" confdefs.h`
33666
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33667
# 1. Remove the extension, and $U if already installed.
33668
- ac_i=`echo "$ac_i" |
33669
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33671
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33672
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33673
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33674
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33675
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33676
+ # will be set to the directory where LIBOBJS objects are built.
33677
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33678
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33680
LIBOBJS=$ac_libobjs
33682
@@ -1498,11 +1933,13 @@ LTLIBOBJS=$ac_ltlibobjs
33685
: ${CONFIG_STATUS=./config.status}
33687
ac_clean_files_save=$ac_clean_files
33688
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33689
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33690
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
33691
-cat >$CONFIG_STATUS <<_ACEOF
33692
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33693
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33695
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33697
# Generated by $as_me.
33698
# Run this file to recreate the current configuration.
33699
@@ -1512,81 +1949,252 @@ cat >$CONFIG_STATUS <<_ACEOF
33701
ac_cs_recheck=false
33703
-SHELL=\${CONFIG_SHELL-$SHELL}
33706
-cat >>$CONFIG_STATUS <<\_ACEOF
33707
-## --------------------- ##
33708
-## M4sh Initialization. ##
33709
-## --------------------- ##
33710
+SHELL=\${CONFIG_SHELL-$SHELL}
33713
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33714
+## -------------------- ##
33715
+## M4sh Initialization. ##
33716
+## -------------------- ##
33718
-# Be Bourne compatible
33719
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33720
+# Be more Bourne compatible
33721
+DUALCASE=1; export DUALCASE # for MKS sh
33722
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33725
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33726
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33727
# is contrary to our usage. Disable this feature.
33728
alias -g '${1+"$@"}'='"$@"'
33729
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33731
+ setopt NO_GLOB_SUBST
33733
+ case `(set -o) 2>/dev/null` in #(
33735
+ set -o posix ;; #(
33740
-DUALCASE=1; export DUALCASE # for MKS sh
33742
-# Support unset when possible.
33743
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33749
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
33750
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33751
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33752
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33753
+# Prefer a ksh shell builtin over an external printf program on Solaris,
33754
+# but without wasting forks for bash or zsh.
33755
+if test -z "$BASH_VERSION$ZSH_VERSION" \
33756
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33757
+ as_echo='print -r --'
33758
+ as_echo_n='print -rn --'
33759
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33760
+ as_echo='printf %s\n'
33761
+ as_echo_n='printf %s'
33764
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33765
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33766
+ as_echo_n='/usr/ucb/echo -n'
33768
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33769
+ as_echo_n_body='eval
33773
+ expr "X$arg" : "X\\(.*\\)$as_nl";
33774
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33776
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33778
+ export as_echo_n_body
33779
+ as_echo_n='sh -c $as_echo_n_body as_echo'
33781
+ export as_echo_body
33782
+ as_echo='sh -c $as_echo_body as_echo'
33785
+# The user is always right.
33786
+if test "${PATH_SEPARATOR+set}" != set; then
33788
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33789
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33790
+ PATH_SEPARATOR=';'
33795
-# Work around bugs in pre-3.0 UWIN ksh.
33796
-$as_unset ENV MAIL MAILPATH
33798
+# We need space, tab and new line, in precisely that order. Quoting is
33799
+# there to prevent editors from complaining about space-tab.
33800
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33801
+# splitting by setting IFS to empty value.)
33804
+# Find who we are. Look in the path if we contain no directory separator.
33806
+ *[\\/]* ) as_myself=$0 ;;
33807
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33808
+for as_dir in $PATH
33811
+ test -z "$as_dir" && as_dir=.
33812
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33818
+# We did not find ourselves, most probably we were run as `sh COMMAND'
33819
+# in which case we are not to be found in the path.
33820
+if test "x$as_myself" = x; then
33823
+if test ! -f "$as_myself"; then
33824
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33828
+# Unset variables that we do not need and which cause bugs (e.g. in
33829
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
33830
+# suppresses any "Segmentation fault" message there. '((' could
33831
+# trigger a bug in pdksh 5.2.14.
33832
+for as_var in BASH_ENV ENV MAIL MAILPATH
33833
+do eval test x\${$as_var+set} = xset \
33834
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
33842
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33843
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33844
- LC_TELEPHONE LC_TIME
33846
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33847
- eval $as_var=C; export $as_var
33849
- $as_unset $as_var
33858
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33861
+# as_fn_error ERROR [LINENO LOG_FD]
33862
+# ---------------------------------
33863
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33864
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33865
+# script with status $?, using 1 if that was 0.
33868
+ as_status=$?; test $as_status -eq 0 && as_status=1
33869
+ if test "$3"; then
33870
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33871
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
33873
+ $as_echo "$as_me: error: $1" >&2
33874
+ as_fn_exit $as_status
33878
+# as_fn_set_status STATUS
33879
+# -----------------------
33880
+# Set $? to STATUS, without forking.
33881
+as_fn_set_status ()
33884
+} # as_fn_set_status
33886
+# as_fn_exit STATUS
33887
+# -----------------
33888
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
33892
+ as_fn_set_status $1
33898
+# Portably unset VAR.
33901
+ { eval $1=; unset $1;}
33903
+as_unset=as_fn_unset
33904
+# as_fn_append VAR VALUE
33905
+# ----------------------
33906
+# Append the text in VALUE to the end of the definition contained in VAR. Take
33907
+# advantage of any shell optimizations that allow amortized linear growth over
33908
+# repeated appends, instead of the typical quadratic growth present in naive
33909
+# implementations.
33910
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
33911
+ eval 'as_fn_append ()
33922
+# as_fn_arith ARG...
33923
+# ------------------
33924
+# Perform arithmetic evaluation on the ARGs, and store the result in the
33925
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
33926
+# must be portable across $(()) and expr.
33927
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
33928
+ eval 'as_fn_arith ()
33935
+ as_val=`expr "$@" || test $? -eq 1`
33940
-# Required to use basename.
33941
-if expr a : '\(a\)' >/dev/null 2>&1; then
33942
+if expr a : '\(a\)' >/dev/null 2>&1 &&
33943
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
33949
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33950
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33951
as_basename=basename
33956
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33957
+ as_dirname=dirname
33962
-# Name of the executable.
33963
-as_me=`$as_basename "$0" ||
33964
+as_me=`$as_basename -- "$0" ||
33965
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33966
X"$0" : 'X\(//\)$' \| \
33967
- X"$0" : 'X\(/\)$' \| \
33968
- . : '\(.\)' 2>/dev/null ||
33970
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33971
- /^X\/\(\/\/\)$/{ s//\1/; q; }
33972
- /^X\/\(\/\).*/{ s//\1/; q; }
33974
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33976
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
33991
-# PATH needs CR, and LINENO needs CR and PATH.
33992
# Avoid depending upon Character Ranges.
33993
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33994
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33995
@@ -1594,148 +2202,123 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
33996
as_cr_digits='0123456789'
33997
as_cr_alnum=$as_cr_Letters$as_cr_digits
33999
-# The user is always right.
34000
-if test "${PATH_SEPARATOR+set}" != set; then
34001
- echo "#! /bin/sh" >conf$$.sh
34002
- echo "exit 0" >>conf$$.sh
34003
- chmod +x conf$$.sh
34004
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34005
- PATH_SEPARATOR=';'
34013
- as_lineno_1=$LINENO
34014
- as_lineno_2=$LINENO
34015
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34016
- test "x$as_lineno_1" != "x$as_lineno_2" &&
34017
- test "x$as_lineno_3" = "x$as_lineno_2" || {
34018
- # Find who we are. Look in the path if we contain no path at all
34019
- # relative or not.
34021
- *[\\/]* ) as_myself=$0 ;;
34022
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34023
-for as_dir in $PATH
34026
- test -z "$as_dir" && as_dir=.
34027
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34032
- # We did not find ourselves, most probably we were run as `sh COMMAND'
34033
- # in which case we are not to be found in the path.
34034
- if test "x$as_myself" = x; then
34037
- if test ! -f "$as_myself"; then
34038
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34039
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34040
- { (exit 1); exit 1; }; }
34042
- case $CONFIG_SHELL in
34044
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34045
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34048
- test -z "$as_dir" && as_dir=.
34049
- for as_base in sh bash ksh sh5; do
34052
- if ("$as_dir/$as_base" -c '
34053
- as_lineno_1=$LINENO
34054
- as_lineno_2=$LINENO
34055
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34056
- test "x$as_lineno_1" != "x$as_lineno_2" &&
34057
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34058
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34059
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34060
- CONFIG_SHELL=$as_dir/$as_base
34061
- export CONFIG_SHELL
34062
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34070
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34071
- # uniformly replaced by the line number. The first 'sed' inserts a
34072
- # line-number line before each line; the second 'sed' does the real
34073
- # work. The second script uses 'N' to pair each line-number line
34074
- # with the numbered line, and appends trailing '-' during
34075
- # substitution so that $LINENO is not a special case at line end.
34076
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34077
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34078
- sed '=' <$as_myself |
34083
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34086
- s,^['$as_cr_digits']*\n,,
34087
- ' >$as_me.lineno &&
34088
- chmod +x $as_me.lineno ||
34089
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34090
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34091
- { (exit 1); exit 1; }; }
34093
- # Don't try to exec as it changes $[0], causing all sort of problems
34094
- # (the dirname of $[0] is not the place where we might find the
34095
- # original and so on. Autoconf is especially sensible to this).
34096
- . ./$as_me.lineno
34097
- # Exit status is that of the last command.
34102
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34103
- *c*,-n*) ECHO_N= ECHO_C='
34105
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34106
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34107
+ECHO_C= ECHO_N= ECHO_T=
34108
+case `echo -n x` in #(((((
34110
+ case `echo 'xy\c'` in
34111
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34112
+ xy) ECHO_C='\c';;
34113
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
34120
-if expr a : '\(a\)' >/dev/null 2>&1; then
34122
+rm -f conf$$ conf$$.exe conf$$.file
34123
+if test -d conf$$.dir; then
34124
+ rm -f conf$$.dir/conf$$.file
34128
+ mkdir conf$$.dir 2>/dev/null
34131
-rm -f conf$$ conf$$.exe conf$$.file
34133
-if ln -s conf$$.file conf$$ 2>/dev/null; then
34134
- # We could just check for DJGPP; but this test a) works b) is more generic
34135
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34136
- if test -f conf$$.exe; then
34137
- # Don't use ln at all; we don't have any links
34140
+if (echo >conf$$.file) 2>/dev/null; then
34141
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
34143
+ # ... but there are two gotchas:
34144
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34145
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34146
+ # In both cases, we have to default to `cp -p'.
34147
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34149
+ elif ln conf$$.file conf$$ 2>/dev/null; then
34154
-elif ln conf$$.file conf$$ 2>/dev/null; then
34159
-rm -f conf$$ conf$$.exe conf$$.file
34160
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34161
+rmdir conf$$.dir 2>/dev/null
34166
+# Create "$as_dir" as a directory, including parents if necessary.
34170
+ case $as_dir in #(
34171
+ -*) as_dir=./$as_dir;;
34173
+ test -d "$as_dir" || eval $as_mkdir_p || {
34176
+ case $as_dir in #(
34177
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34178
+ *) as_qdir=$as_dir;;
34180
+ as_dirs="'$as_qdir' $as_dirs"
34181
+ as_dir=`$as_dirname -- "$as_dir" ||
34182
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34183
+ X"$as_dir" : 'X\(//\)[^/]' \| \
34184
+ X"$as_dir" : 'X\(//\)$' \| \
34185
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34186
+$as_echo X"$as_dir" |
34187
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34191
+ /^X\(\/\/\)[^/].*/{
34204
+ test -d "$as_dir" && break
34206
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
34207
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
34211
if mkdir -p . 2>/dev/null; then
34213
+ as_mkdir_p='mkdir -p "$as_dir"'
34215
test -d ./-p && rmdir ./-p
34219
-as_executable_p="test -f"
34220
+if test -x / >/dev/null 2>&1; then
34221
+ as_test_x='test -x'
34223
+ if ls -dL / >/dev/null 2>&1; then
34230
+ if test -d "$1"; then
34236
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34237
+ ???[sx]*):;;*)false;;esac;fi
34241
+as_executable_p=$as_test_x
34243
# Sed expression to map a string onto a valid CPP name.
34244
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34245
@@ -1744,31 +2327,20 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
34246
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34250
-# We need space, tab and new line, in precisely that order.
34259
+## ----------------------------------- ##
34260
+## Main body of $CONFIG_STATUS script. ##
34261
+## ----------------------------------- ##
34263
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34265
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
34266
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34267
+# Save the log message, to keep $0 and so on meaningful, and to
34268
# report actual input values of CONFIG_FILES etc. instead of their
34269
-# values after options handling. Logging --version etc. is OK.
34270
-exec 5>>config.log
34273
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34274
-## Running $as_me. ##
34279
+# values after options handling.
34281
This file was extended by gnats-doc $as_me 4.1.0, which was
34282
-generated by GNU Autoconf 2.59. Invocation command line was
34283
+generated by GNU Autoconf 2.65. Invocation command line was
34285
CONFIG_FILES = $CONFIG_FILES
34286
CONFIG_HEADERS = $CONFIG_HEADERS
34287
@@ -1776,125 +2348,111 @@ generated by GNU Autoconf 2.59. Invocat
34288
CONFIG_COMMANDS = $CONFIG_COMMANDS
34292
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34294
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
34299
-# Files that config.status was made for.
34300
-if test -n "$ac_config_files"; then
34301
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34303
+case $ac_config_files in *"
34304
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
34307
-if test -n "$ac_config_headers"; then
34308
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34311
-if test -n "$ac_config_links"; then
34312
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34315
-if test -n "$ac_config_commands"; then
34316
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34318
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34319
+# Files that config.status was made for.
34320
+config_files="$ac_config_files"
34322
-cat >>$CONFIG_STATUS <<\_ACEOF
34325
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34327
-\`$as_me' instantiates files from templates according to the
34328
-current configuration.
34329
+\`$as_me' instantiates files and other configuration actions
34330
+from templates according to the current configuration. Unless the files
34331
+and actions are specified as TAGs, all are instantiated by default.
34333
-Usage: $0 [OPTIONS] [FILE]...
34334
+Usage: $0 [OPTION]... [TAG]...
34336
-h, --help print this help, then exit
34337
- -V, --version print version number, then exit
34338
- -q, --quiet do not print progress messages
34339
+ -V, --version print version number and configuration settings, then exit
34340
+ --config print configuration, then exit
34341
+ -q, --quiet, --silent
34342
+ do not print progress messages
34343
-d, --debug don't remove temporary files
34344
--recheck update $as_me by reconfiguring in the same conditions
34345
- --file=FILE[:TEMPLATE]
34346
- instantiate the configuration file FILE
34347
+ --file=FILE[:TEMPLATE]
34348
+ instantiate the configuration file FILE
34350
Configuration files:
34353
-Report bugs to <bug-autoconf@gnu.org>."
34355
+Report bugs to <bug-gnats@gnu.org>."
34357
-cat >>$CONFIG_STATUS <<_ACEOF
34359
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34360
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34362
gnats-doc config.status 4.1.0
34363
-configured by $0, generated by GNU Autoconf 2.59,
34364
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34365
+configured by $0, generated by GNU Autoconf 2.65,
34366
+ with options \\"\$ac_cs_config\\"
34368
-Copyright (C) 2003 Free Software Foundation, Inc.
34369
+Copyright (C) 2009 Free Software Foundation, Inc.
34370
This config.status script is free software; the Free Software Foundation
34371
gives unlimited permission to copy, distribute and modify it."
34373
-INSTALL="$INSTALL"
34377
+INSTALL='$INSTALL'
34378
+test -n "\$AWK" || AWK=awk
34381
-cat >>$CONFIG_STATUS <<\_ACEOF
34382
-# If no file are specified by the user, then we need to provide default
34383
-# value. By we need to know if files were specified by the user.
34384
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34385
+# The default lists apply if the user does not specify any file.
34391
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
34392
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34393
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
34394
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34403
- *) # This is not an option, so the user has probably given explicit
34406
- ac_need_defaults=false;;
34410
# Handling of the options.
34412
-cat >>$CONFIG_STATUS <<\_ACEOF
34413
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34415
- --version | --vers* | -V )
34416
- echo "$ac_cs_version"; exit 0 ;;
34418
- # Conflict between --help and --header
34419
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
34420
-Try \`$0 --help' for more information." >&5
34421
-echo "$as_me: error: ambiguous option: $1
34422
-Try \`$0 --help' for more information." >&2;}
34423
- { (exit 1); exit 1; }; };;
34424
- --help | --hel | -h )
34425
- echo "$ac_cs_usage"; exit 0 ;;
34426
- --debug | --d* | -d )
34427
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34428
+ $as_echo "$ac_cs_version"; exit ;;
34429
+ --config | --confi | --conf | --con | --co | --c )
34430
+ $as_echo "$ac_cs_config"; exit ;;
34431
+ --debug | --debu | --deb | --de | --d | -d )
34433
--file | --fil | --fi | --f )
34435
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34436
- ac_need_defaults=false;;
34437
- --header | --heade | --head | --hea )
34439
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34440
+ case $ac_optarg in
34441
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34443
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
34444
ac_need_defaults=false;;
34445
+ --he | --h | --help | --hel | -h )
34446
+ $as_echo "$ac_cs_usage"; exit ;;
34447
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
34448
| -silent | --silent | --silen | --sile | --sil | --si | --s)
34451
# This is an error.
34452
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34453
-Try \`$0 --help' for more information." >&5
34454
-echo "$as_me: error: unrecognized option: $1
34455
-Try \`$0 --help' for more information." >&2;}
34456
- { (exit 1); exit 1; }; } ;;
34457
+ -*) as_fn_error "unrecognized option: \`$1'
34458
+Try \`$0 --help' for more information." ;;
34460
- *) ac_config_targets="$ac_config_targets $1" ;;
34461
+ *) as_fn_append ac_config_targets " $1"
34462
+ ac_need_defaults=false ;;
34466
@@ -1908,31 +2466,45 @@ if $ac_cs_silent; then
34470
-cat >>$CONFIG_STATUS <<_ACEOF
34471
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34472
if \$ac_cs_recheck; then
34473
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34474
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34475
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34477
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34478
+ CONFIG_SHELL='$SHELL'
34479
+ export CONFIG_SHELL
34484
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34485
+exec 5>>config.log
34488
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34489
+## Running $as_me. ##
34491
+ $as_echo "$ac_log"
34495
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34498
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34502
-cat >>$CONFIG_STATUS <<\_ACEOF
34503
+# Handling of arguments.
34504
for ac_config_target in $ac_config_targets
34506
- case "$ac_config_target" in
34507
- # Handling of arguments.
34508
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34509
- "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
34510
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34511
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34512
- { (exit 1); exit 1; }; };;
34513
+ case $ac_config_target in
34514
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34515
+ "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
34517
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
34522
# If the user did not use the arguments to specify the items to instantiate,
34523
# then the envvar interface is used. Set only those that are not.
34524
# We use the long form for the default assignment because of an extremely
34525
@@ -1942,327 +2514,408 @@ if $ac_need_defaults; then
34528
# Have a temporary directory for convenience. Make it in the build tree
34529
-# simply because there is no reason to put it here, and in addition,
34530
+# simply because there is no reason against having it here, and in addition,
34531
# creating and moving files from /tmp can sometimes cause problems.
34532
-# Create a temporary directory, and hook for its removal unless debugging.
34533
+# Hook for its removal unless debugging.
34534
+# Note that there is a small window in which the directory will not be cleaned:
34535
+# after its creation but before its name has been assigned to `$tmp'.
34538
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34539
- trap '{ (exit 1); exit 1; }' 1 2 13 15
34541
+ trap 'exit_status=$?
34542
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34544
+ trap 'as_fn_exit 1' 1 2 13 15
34547
# Create a (secure) tmp directory for tmp files.
34550
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34551
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34552
test -n "$tmp" && test -d "$tmp"
34555
- tmp=./confstat$$-$RANDOM
34556
- (umask 077 && mkdir $tmp)
34558
+ tmp=./conf$$-$RANDOM
34559
+ (umask 077 && mkdir "$tmp")
34560
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
34562
+# Set up the scripts for CONFIG_FILES section.
34563
+# No need to generate them if there are no CONFIG_FILES.
34564
+# This happens for instance with `./config.status config.h'.
34565
+if test -n "$CONFIG_FILES"; then
34568
+ac_cr=`echo X | tr X '\015'`
34569
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
34570
+# But we know of no other shell where ac_cr would be empty at this
34571
+# point, so we can use a bashism as a fallback.
34572
+if test "x$ac_cr" = x; then
34573
+ eval ac_cr=\$\'\\r\'
34575
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34576
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34577
+ ac_cs_awk_cr='\r'
34579
+ ac_cs_awk_cr=$ac_cr
34582
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
34587
- echo "$me: cannot create a temporary directory in ." >&2
34588
- { (exit 1); exit 1; }
34589
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
34590
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34592
+} >conf$$subs.sh ||
34593
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
34594
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
34596
+for ac_last_try in false false false false false :; do
34597
+ . ./conf$$subs.sh ||
34598
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
34600
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34601
+ if test $ac_delim_n = $ac_delim_num; then
34603
+ elif $ac_last_try; then
34604
+ as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
34606
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34609
+rm -f conf$$subs.sh
34611
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34612
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
34616
+s/^/S["/; s/!.*/"]=/
34622
+s/'"$ac_delim"'$//
34626
+s/\(.\{148\}\)..*/\1/
34628
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34633
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34640
+s/\(.\{148\}\)..*/\1/
34642
+s/["\\]/\\&/g; s/^/"/; s/$/"/
34646
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34651
+' <conf$$subs.awk | sed '
34656
+' >>$CONFIG_STATUS || ac_write_fail=1
34657
+rm -f conf$$subs.awk
34658
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34660
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
34661
+ for (key in S) S_is_set[key] = 1
34667
+ nfields = split(line, field, "@")
34669
+ len = length(field[1])
34670
+ for (i = 2; i < nfields; i++) {
34672
+ keylen = length(key)
34673
+ if (S_is_set[key]) {
34675
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34676
+ len += length(value) + length(field[++i])
34679
+ len += 1 + keylen
34687
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34688
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34689
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34692
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34693
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
34696
-cat >>$CONFIG_STATUS <<_ACEOF
34697
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
34698
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34699
+# trailing colons and then remove the whole line if VPATH becomes empty
34700
+# (actually we leave an empty line to preserve line numbers).
34701
+if test "x$srcdir" = x.; then
34702
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
34703
+s/:*\$(srcdir):*/:/
34704
+s/:*\${srcdir}:*/:/
34706
+s/^\([^=]*=[ ]*\):*/\1/
34712
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34713
+fi # test -n "$CONFIG_FILES"
34716
-# CONFIG_FILES section.
34719
-# No need to generate the scripts if there are no CONFIG_FILES.
34720
-# This happens for instance when ./config.status config.h
34721
-if test -n "\$CONFIG_FILES"; then
34722
- # Protect against being on the right side of a sed subst in config.status.
34723
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34724
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34725
-s,@SHELL@,$SHELL,;t t
34726
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34727
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34728
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34729
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34730
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34731
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34732
-s,@exec_prefix@,$exec_prefix,;t t
34733
-s,@prefix@,$prefix,;t t
34734
-s,@program_transform_name@,$program_transform_name,;t t
34735
-s,@bindir@,$bindir,;t t
34736
-s,@sbindir@,$sbindir,;t t
34737
-s,@libexecdir@,$libexecdir,;t t
34738
-s,@datadir@,$datadir,;t t
34739
-s,@sysconfdir@,$sysconfdir,;t t
34740
-s,@sharedstatedir@,$sharedstatedir,;t t
34741
-s,@localstatedir@,$localstatedir,;t t
34742
-s,@libdir@,$libdir,;t t
34743
-s,@includedir@,$includedir,;t t
34744
-s,@oldincludedir@,$oldincludedir,;t t
34745
-s,@infodir@,$infodir,;t t
34746
-s,@mandir@,$mandir,;t t
34747
-s,@build_alias@,$build_alias,;t t
34748
-s,@host_alias@,$host_alias,;t t
34749
-s,@target_alias@,$target_alias,;t t
34750
-s,@DEFS@,$DEFS,;t t
34751
-s,@ECHO_C@,$ECHO_C,;t t
34752
-s,@ECHO_N@,$ECHO_N,;t t
34753
-s,@ECHO_T@,$ECHO_T,;t t
34754
-s,@LIBS@,$LIBS,;t t
34755
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34756
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34757
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34758
-s,@INSTALL_INFO@,$INSTALL_INFO,;t t
34759
-s,@LIBOBJS@,$LIBOBJS,;t t
34760
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34762
+eval set X " :F $CONFIG_FILES "
34767
+ :[FHLC]) ac_mode=$ac_tag; continue;;
34769
+ case $ac_mode$ac_tag in
34771
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
34772
+ :[FH]-) ac_tag=-:-;;
34773
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34785
+ :L) ac_source=$1;;
34791
+ -) ac_f="$tmp/stdin";;
34792
+ *) # Look for the file first in the build tree, then in the source tree
34793
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
34794
+ # because $ac_f cannot contain `:'.
34795
+ test -f "$ac_f" ||
34798
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34800
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
34802
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34803
+ as_fn_append ac_file_inputs " '$ac_f'"
34806
- cat >>$CONFIG_STATUS <<\_ACEOF
34807
- # Split the substitutions into bite-sized pieces for seds with
34808
- # small command number limits, like on Digital OSF/1 and HP-UX.
34809
- ac_max_sed_lines=48
34810
- ac_sed_frag=1 # Number of current file.
34811
- ac_beg=1 # First line for current file.
34812
- ac_end=$ac_max_sed_lines # Line after last line for current file.
34815
- while $ac_more_lines; do
34816
- if test $ac_beg -gt 1; then
34817
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34819
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34820
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
34821
+ # use $as_me), people would be surprised to read:
34822
+ # /* config.h. Generated by config.status. */
34823
+ configure_input='Generated from '`
34824
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34825
+ `' by configure.'
34826
+ if test x"$ac_file" != x-; then
34827
+ configure_input="$ac_file. $configure_input"
34828
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34829
+$as_echo "$as_me: creating $ac_file" >&6;}
34831
- if test ! -s $tmp/subs.frag; then
34832
- ac_more_lines=false
34834
- # The purpose of the label and of the branching condition is to
34835
- # speed up the sed processing (if there are no `@' at all, there
34836
- # is no need to browse any of the substitutions).
34837
- # These are the two extra sed commands mentioned above.
34839
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34840
- if test -z "$ac_sed_cmds"; then
34841
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34843
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34845
- ac_sed_frag=`expr $ac_sed_frag + 1`
34847
- ac_end=`expr $ac_end + $ac_max_sed_lines`
34850
- if test -z "$ac_sed_cmds"; then
34853
-fi # test -n "$CONFIG_FILES"
34854
+ # Neutralize special characters interpreted by sed in replacement strings.
34855
+ case $configure_input in #(
34856
+ *\&* | *\|* | *\\* )
34857
+ ac_sed_conf_input=`$as_echo "$configure_input" |
34858
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
34859
+ *) ac_sed_conf_input=$configure_input;;
34863
-cat >>$CONFIG_STATUS <<\_ACEOF
34864
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34865
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34867
- - | *:- | *:-:* ) # input from stdin
34869
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34870
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34871
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34872
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34873
- * ) ac_file_in=$ac_file.in ;;
34875
+ *:-:* | *:-) cat >"$tmp/stdin" \
34876
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
34881
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34882
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34883
+ ac_dir=`$as_dirname -- "$ac_file" ||
34884
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34885
X"$ac_file" : 'X\(//\)[^/]' \| \
34886
X"$ac_file" : 'X\(//\)$' \| \
34887
- X"$ac_file" : 'X\(/\)' \| \
34888
- . : '\(.\)' 2>/dev/null ||
34889
-echo X"$ac_file" |
34890
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34891
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34892
- /^X\(\/\/\)$/{ s//\1/; q; }
34893
- /^X\(\/\).*/{ s//\1/; q; }
34895
- { if $as_mkdir_p; then
34896
- mkdir -p "$ac_dir"
34900
- while test ! -d "$as_dir"; do
34901
- as_dirs="$as_dir $as_dirs"
34902
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
34903
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34904
- X"$as_dir" : 'X\(//\)[^/]' \| \
34905
- X"$as_dir" : 'X\(//\)$' \| \
34906
- X"$as_dir" : 'X\(/\)' \| \
34907
- . : '\(.\)' 2>/dev/null ||
34909
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34910
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34911
- /^X\(\/\/\)$/{ s//\1/; q; }
34912
- /^X\(\/\).*/{ s//\1/; q; }
34915
- test ! -n "$as_dirs" || mkdir $as_dirs
34916
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34917
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34918
- { (exit 1); exit 1; }; }; }
34920
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34921
+$as_echo X"$ac_file" |
34922
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34926
+ /^X\(\/\/\)[^/].*/{
34939
+ as_dir="$ac_dir"; as_fn_mkdir_p
34942
-if test "$ac_dir" != .; then
34943
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34944
- # A "../" for each directory in $ac_dir_suffix.
34945
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34947
- ac_dir_suffix= ac_top_builddir=
34950
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34952
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34953
+ # A ".." for each directory in $ac_dir_suffix.
34954
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34955
+ case $ac_top_builddir_sub in
34956
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34957
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34960
+ac_abs_top_builddir=$ac_pwd
34961
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
34962
+# for backward compatibility:
34963
+ac_top_builddir=$ac_top_build_prefix
34966
- .) # No --srcdir option. We are building in place.
34967
+ .) # We are building in place.
34969
- if test -z "$ac_top_builddir"; then
34972
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34974
- [\\/]* | ?:[\\/]* ) # Absolute path.
34975
+ ac_top_srcdir=$ac_top_builddir_sub
34976
+ ac_abs_top_srcdir=$ac_pwd ;;
34977
+ [\\/]* | ?:[\\/]* ) # Absolute name.
34978
ac_srcdir=$srcdir$ac_dir_suffix;
34979
- ac_top_srcdir=$srcdir ;;
34980
- *) # Relative path.
34981
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34982
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
34983
+ ac_top_srcdir=$srcdir
34984
+ ac_abs_top_srcdir=$srcdir ;;
34985
+ *) # Relative name.
34986
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34987
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
34988
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34990
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34992
-# Do not use `cd foo && pwd` to compute absolute paths, because
34993
-# the directories may not exist.
34995
-.) ac_abs_builddir="$ac_dir";;
34997
- case "$ac_dir" in
34998
- .) ac_abs_builddir=`pwd`;;
34999
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35000
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
35003
-case $ac_abs_builddir in
35004
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
35006
- case ${ac_top_builddir}. in
35007
- .) ac_abs_top_builddir=$ac_abs_builddir;;
35008
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35009
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35012
-case $ac_abs_builddir in
35013
-.) ac_abs_srcdir=$ac_srcdir;;
35015
- case $ac_srcdir in
35016
- .) ac_abs_srcdir=$ac_abs_builddir;;
35017
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35018
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35021
-case $ac_abs_builddir in
35022
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
35024
- case $ac_top_srcdir in
35025
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
35026
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35027
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35038
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35039
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35040
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35044
- # Let's still pretend it is `configure' which instantiates (i.e., don't
35045
- # use $as_me), people would be surprised to read:
35046
- # /* config.h. Generated by config.status. */
35047
- if test x"$ac_file" = x-; then
35050
- configure_input="$ac_file. "
35052
- configure_input=$configure_input"Generated from `echo $ac_file_in |
35053
- sed 's,.*/,,'` by configure."
35055
- # First look for the input files in the build tree, otherwise in the
35057
- ac_file_inputs=`IFS=:
35058
- for f in $ac_file_in; do
35060
- -) echo $tmp/stdin ;;
35062
- # Absolute (can't be DOS-style, as IFS=:)
35063
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35064
-echo "$as_me: error: cannot find input file: $f" >&2;}
35065
- { (exit 1); exit 1; }; }
35068
- if test -f "$f"; then
35071
- elif test -f "$srcdir/$f"; then
35073
- echo "$srcdir/$f"
35076
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35077
-echo "$as_me: error: cannot find input file: $f" >&2;}
35078
- { (exit 1); exit 1; }; }
35081
- done` || { (exit 1); exit 1; }
35083
- if test x"$ac_file" != x-; then
35084
- { echo "$as_me:$LINENO: creating $ac_file" >&5
35085
-echo "$as_me: creating $ac_file" >&6;}
35088
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35089
+# If the template does not know about datarootdir, expand it.
35090
+# FIXME: This hack should be removed a few years after 2.60.
35091
+ac_datarootdir_hack=; ac_datarootdir_seen=
35102
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35103
+*datarootdir*) ac_datarootdir_seen=yes;;
35104
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35105
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35106
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35108
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35109
+ ac_datarootdir_hack='
35110
+ s&@datadir@&$datadir&g
35111
+ s&@docdir@&$docdir&g
35112
+ s&@infodir@&$infodir&g
35113
+ s&@localedir@&$localedir&g
35114
+ s&@mandir@&$mandir&g
35115
+ s&\\\${datarootdir}&$datarootdir&g' ;;
35118
-cat >>$CONFIG_STATUS <<_ACEOF
35121
+# Neutralize VPATH when `$srcdir' = `.'.
35122
+# Shell code in configure.ac might set extrasub.
35123
+# FIXME: do we really want to maintain this feature?
35124
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35125
+ac_sed_extra="$ac_vpsub
35128
-cat >>$CONFIG_STATUS <<\_ACEOF
35129
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35131
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35132
-s,@configure_input@,$configure_input,;t t
35133
-s,@srcdir@,$ac_srcdir,;t t
35134
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
35135
-s,@top_srcdir@,$ac_top_srcdir,;t t
35136
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35137
-s,@builddir@,$ac_builddir,;t t
35138
-s,@abs_builddir@,$ac_abs_builddir,;t t
35139
-s,@top_builddir@,$ac_top_builddir,;t t
35140
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35141
-s,@INSTALL@,$ac_INSTALL,;t t
35142
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35144
- if test x"$ac_file" != x-; then
35145
- mv $tmp/out $ac_file
35150
+s|@configure_input@|$ac_sed_conf_input|;t t
35151
+s&@top_builddir@&$ac_top_builddir_sub&;t t
35152
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
35153
+s&@srcdir@&$ac_srcdir&;t t
35154
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
35155
+s&@top_srcdir@&$ac_top_srcdir&;t t
35156
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35157
+s&@builddir@&$ac_builddir&;t t
35158
+s&@abs_builddir@&$ac_abs_builddir&;t t
35159
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35160
+s&@INSTALL@&$ac_INSTALL&;t t
35161
+$ac_datarootdir_hack
35163
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
35164
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
35166
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35167
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
35168
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
35169
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35170
+which seems to be undefined. Please make sure it is defined." >&5
35171
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35172
+which seems to be undefined. Please make sure it is defined." >&2;}
35174
+ rm -f "$tmp/stdin"
35176
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
35177
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
35179
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
35185
-cat >>$CONFIG_STATUS <<\_ACEOF
35187
-{ (exit 0); exit 0; }
35195
-chmod +x $CONFIG_STATUS
35196
ac_clean_files=$ac_clean_files_save
35198
+test $ac_write_fail = 0 ||
35199
+ as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
35202
# configure is writing to config.log, and then calls config.status.
35203
# config.status does its own redirection, appending to config.log.
35204
@@ -2282,6 +2935,10 @@ if test "$no_create" != yes; then
35206
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
35207
# would make configure fail if this is the last instruction.
35208
- $ac_cs_success || { (exit 1); exit 1; }
35209
+ $ac_cs_success || as_fn_exit $?
35211
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35212
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35213
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}