Fossil SCM

Require version 2.61 of autoconf, the version installed by default on Mac OS X. Changes to get autoconf working under Solaris 10: Prefer system version of OpenSSL found in /usr/sfw directory. Check for getpassphrase using autoconf rather than making assumptions in config.h.

ben 2011-06-19 16:52 autoconf
Commit c5f994d4c577962cdaf462b85441ce2314ab0eab
+2 -1
--- acsite.m4
+++ acsite.m4
@@ -60,12 +60,13 @@
6060
found=true
6161
fi
6262
fi
6363
6464
# no such luck; use some default ssldirs
65
+ # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
6566
if ! $found; then
66
- ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
67
+ ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
6768
fi
6869
]
6970
)
7071
7172
7273
--- acsite.m4
+++ acsite.m4
@@ -60,12 +60,13 @@
60 found=true
61 fi
62 fi
63
64 # no such luck; use some default ssldirs
 
65 if ! $found; then
66 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
67 fi
68 ]
69 )
70
71
72
--- acsite.m4
+++ acsite.m4
@@ -60,12 +60,13 @@
60 found=true
61 fi
62 fi
63
64 # no such luck; use some default ssldirs
65 # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
66 if ! $found; then
67 ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
68 fi
69 ]
70 )
71
72
73
--- autoconf/ax_check_openssl.m4
+++ autoconf/ax_check_openssl.m4
@@ -60,12 +60,13 @@
6060
found=true
6161
fi
6262
fi
6363
6464
# no such luck; use some default ssldirs
65
+ # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
6566
if ! $found; then
66
- ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
67
+ ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
6768
fi
6869
]
6970
)
7071
7172
7273
--- autoconf/ax_check_openssl.m4
+++ autoconf/ax_check_openssl.m4
@@ -60,12 +60,13 @@
60 found=true
61 fi
62 fi
63
64 # no such luck; use some default ssldirs
 
65 if ! $found; then
66 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
67 fi
68 ]
69 )
70
71
72
--- autoconf/ax_check_openssl.m4
+++ autoconf/ax_check_openssl.m4
@@ -60,12 +60,13 @@
60 found=true
61 fi
62 fi
63
64 # no such luck; use some default ssldirs
65 # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
66 if ! $found; then
67 ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
68 fi
69 ]
70 )
71
72
73
+4 -7
--- autoconfig.h.in
+++ autoconfig.h.in
@@ -1,16 +1,16 @@
1
-/* config.h.in. Generated from configure.ac by autoheader. */
1
+/* autoconfig.h.in. Generated from configure.ac by autoheader. */
22
33
/* Support HTTPS */
44
#undef FOSSIL_ENABLE_SSL
5
+
6
+/* Define to 1 if you have the `getpassphrase' function. */
7
+#undef HAVE_GETPASSPHRASE
58
69
/* Define to 1 if you have the <inttypes.h> header file. */
710
#undef HAVE_INTTYPES_H
811
9
-/* Define to 1 if you have the `z' library (-lz). */
10
-#undef HAVE_LIBZ
11
-
1212
/* Define to 1 if you have the <memory.h> header file. */
1313
#undef HAVE_MEMORY_H
1414
1515
/* Define to 1 if you have the <stdint.h> header file. */
1616
#undef HAVE_STDINT_H
@@ -43,16 +43,13 @@
4343
#undef PACKAGE_STRING
4444
4545
/* Define to the one symbol short name of this package. */
4646
#undef PACKAGE_TARNAME
4747
48
-/* Define to the home page for this package. */
49
-#undef PACKAGE_URL
50
-
5148
/* Define to the version of this package. */
5249
#undef PACKAGE_VERSION
5350
5451
/* Define to 1 if you have the ANSI C header files. */
5552
#undef STDC_HEADERS
5653
5754
/* Use pread/pwrite system calls in place of seek + read/write */
5855
#undef USE_PREAD
5956
--- autoconfig.h.in
+++ autoconfig.h.in
@@ -1,16 +1,16 @@
1 /* config.h.in. Generated from configure.ac by autoheader. */
2
3 /* Support HTTPS */
4 #undef FOSSIL_ENABLE_SSL
 
 
 
5
6 /* Define to 1 if you have the <inttypes.h> header file. */
7 #undef HAVE_INTTYPES_H
8
9 /* Define to 1 if you have the `z' library (-lz). */
10 #undef HAVE_LIBZ
11
12 /* Define to 1 if you have the <memory.h> header file. */
13 #undef HAVE_MEMORY_H
14
15 /* Define to 1 if you have the <stdint.h> header file. */
16 #undef HAVE_STDINT_H
@@ -43,16 +43,13 @@
43 #undef PACKAGE_STRING
44
45 /* Define to the one symbol short name of this package. */
46 #undef PACKAGE_TARNAME
47
48 /* Define to the home page for this package. */
49 #undef PACKAGE_URL
50
51 /* Define to the version of this package. */
52 #undef PACKAGE_VERSION
53
54 /* Define to 1 if you have the ANSI C header files. */
55 #undef STDC_HEADERS
56
57 /* Use pread/pwrite system calls in place of seek + read/write */
58 #undef USE_PREAD
59
--- autoconfig.h.in
+++ autoconfig.h.in
@@ -1,16 +1,16 @@
1 /* autoconfig.h.in. Generated from configure.ac by autoheader. */
2
3 /* Support HTTPS */
4 #undef FOSSIL_ENABLE_SSL
5
6 /* Define to 1 if you have the `getpassphrase' function. */
7 #undef HAVE_GETPASSPHRASE
8
9 /* Define to 1 if you have the <inttypes.h> header file. */
10 #undef HAVE_INTTYPES_H
11
 
 
 
12 /* Define to 1 if you have the <memory.h> header file. */
13 #undef HAVE_MEMORY_H
14
15 /* Define to 1 if you have the <stdint.h> header file. */
16 #undef HAVE_STDINT_H
@@ -43,16 +43,13 @@
43 #undef PACKAGE_STRING
44
45 /* Define to the one symbol short name of this package. */
46 #undef PACKAGE_TARNAME
47
 
 
 
48 /* Define to the version of this package. */
49 #undef PACKAGE_VERSION
50
51 /* Define to 1 if you have the ANSI C header files. */
52 #undef STDC_HEADERS
53
54 /* Use pread/pwrite system calls in place of seek + read/write */
55 #undef USE_PREAD
56
+992 -1130
--- configure
+++ configure
@@ -1,13 +1,13 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.62 for fossil 20110528.
3
+# Generated by GNU Autoconf 2.61 for fossil 20110528.
44
#
55
# Report bugs to <[email protected]>.
66
#
77
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
99
# This configure script is free software; the Free Software Foundation
1010
# gives unlimited permission to copy, distribute and modify it.
1111
## --------------------- ##
1212
## M4sh Initialization. ##
1313
## --------------------- ##
@@ -15,11 +15,11 @@
1515
# Be more Bourne compatible
1616
DUALCASE=1; export DUALCASE # for MKS sh
1717
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1818
emulate sh
1919
NULLCMD=:
20
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2121
# is contrary to our usage. Disable this feature.
2222
alias -g '${1+"$@"}'='"$@"'
2323
setopt NO_GLOB_SUBST
2424
else
2525
case `(set -o) 2>/dev/null` in
@@ -37,49 +37,21 @@
3737
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3838
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3939
as_cr_digits='0123456789'
4040
as_cr_alnum=$as_cr_Letters$as_cr_digits
4141
42
-as_nl='
43
-'
44
-export as_nl
45
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
- as_echo='printf %s\n'
51
- as_echo_n='printf %s'
52
-else
53
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
- as_echo_n='/usr/ucb/echo -n'
56
- else
57
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
- as_echo_n_body='eval
59
- arg=$1;
60
- case $arg in
61
- *"$as_nl"*)
62
- expr "X$arg" : "X\\(.*\\)$as_nl";
63
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
- esac;
65
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
- '
67
- export as_echo_n_body
68
- as_echo_n='sh -c $as_echo_n_body as_echo'
69
- fi
70
- export as_echo_body
71
- as_echo='sh -c $as_echo_body as_echo'
72
-fi
73
-
7442
# The user is always right.
7543
if test "${PATH_SEPARATOR+set}" != set; then
76
- PATH_SEPARATOR=:
77
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
- PATH_SEPARATOR=';'
80
- }
44
+ echo "#! /bin/sh" >conf$$.sh
45
+ echo "exit 0" >>conf$$.sh
46
+ chmod +x conf$$.sh
47
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
+ PATH_SEPARATOR=';'
49
+ else
50
+ PATH_SEPARATOR=:
51
+ fi
52
+ rm -f conf$$.sh
8153
fi
8254
8355
# Support unset when possible.
8456
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8557
as_unset=unset
@@ -91,10 +63,12 @@
9163
# IFS
9264
# We need space, tab and new line, in precisely that order. Quoting is
9365
# there to prevent editors from complaining about space-tab.
9466
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9567
# splitting by setting IFS to empty value.)
68
+as_nl='
69
+'
9670
IFS=" "" $as_nl"
9771
9872
# Find who we are. Look in the path if we contain no directory separator.
9973
case $0 in
10074
*[\\/]* ) as_myself=$0 ;;
@@ -113,11 +87,11 @@
11387
# in which case we are not to be found in the path.
11488
if test "x$as_myself" = x; then
11589
as_myself=$0
11690
fi
11791
if test ! -f "$as_myself"; then
118
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11993
{ (exit 1); exit 1; }
12094
fi
12195
12296
# Work around bugs in pre-3.0 UWIN ksh.
12397
for as_var in ENV MAIL MAILPATH
@@ -126,14 +100,21 @@
126100
PS1='$ '
127101
PS2='> '
128102
PS4='+ '
129103
130104
# NLS nuisances.
131
-LC_ALL=C
132
-export LC_ALL
133
-LANGUAGE=C
134
-export LANGUAGE
105
+for as_var in \
106
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
+ LC_TELEPHONE LC_TIME
109
+do
110
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
+ eval $as_var=C; export $as_var
112
+ else
113
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
+ fi
115
+done
135116
136117
# Required to use basename.
137118
if expr a : '\(a\)' >/dev/null 2>&1 &&
138119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
139120
as_expr=expr
@@ -151,11 +132,11 @@
151132
# Name of the executable.
152133
as_me=`$as_basename -- "$0" ||
153134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154135
X"$0" : 'X\(//\)$' \| \
155136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
-$as_echo X/"$0" |
137
+echo X/"$0" |
157138
sed '/^.*\/\([^/][^/]*\)\/*$/{
158139
s//\1/
159140
q
160141
}
161142
/^X\/\(\/\/\)$/{
@@ -177,11 +158,11 @@
177158
as_have_required=yes
178159
else
179160
as_have_required=no
180161
fi
181162
182
- if test $as_have_required = yes && (eval ":
163
+ if test $as_have_required = yes && (eval ":
183164
(as_func_return () {
184165
(exit \$1)
185166
}
186167
as_func_success () {
187168
as_func_return 0
@@ -259,11 +240,11 @@
259240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262243
emulate sh
263244
NULLCMD=:
264
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
245
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265246
# is contrary to our usage. Disable this feature.
266247
alias -g '${1+"$@"}'='"$@"'
267248
setopt NO_GLOB_SUBST
268249
else
269250
case `(set -o) 2>/dev/null` in
@@ -280,11 +261,11 @@
280261
as_have_required=yes
281262
if { "$as_shell" 2> /dev/null <<\_ASEOF
282263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283264
emulate sh
284265
NULLCMD=:
285
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
286267
# is contrary to our usage. Disable this feature.
287268
alias -g '${1+"$@"}'='"$@"'
288269
setopt NO_GLOB_SUBST
289270
else
290271
case `(set -o) 2>/dev/null` in
@@ -360,14 +341,14 @@
360341
361342
done
362343
363344
if test "x$CONFIG_SHELL" != x; then
364345
for as_var in BASH_ENV ENV
365
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
- done
367
- export CONFIG_SHELL
368
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
346
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
+ done
348
+ export CONFIG_SHELL
349
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369350
fi
370351
371352
372353
if test $as_have_required = no; then
373354
echo This script requires a shell more modern than all the
@@ -432,14 +413,13 @@
432413
echo positional parameters were not saved.
433414
fi
434415
435416
test \$exitcode = 0") || {
436417
echo No shell found that supports shell functions.
437
- echo Please tell [email protected] about your system,
438
- echo including any error possibly output before this message.
439
- echo This can help us improve future autoconf versions.
440
- echo Configuration will now proceed without shell functions.
418
+ echo Please tell [email protected] about your system,
419
+ echo including any error possibly output before this
420
+ echo message
441421
}
442422
443423
444424
445425
as_lineno_1=$LINENO
@@ -471,11 +451,11 @@
471451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472452
t loop
473453
s/-\n.*//
474454
' >$as_me.lineno &&
475455
chmod +x "$as_me.lineno" ||
476
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477457
{ (exit 1); exit 1; }; }
478458
479459
# Don't try to exec as it changes $[0], causing all sort of problems
480460
# (the dirname of $[0] is not the place where we might find the
481461
# original and so on. Autoconf is especially sensitive to this).
@@ -499,10 +479,11 @@
499479
*) ECHO_C='\c';;
500480
esac;;
501481
*)
502482
ECHO_N='-n';;
503483
esac
484
+
504485
if expr a : '\(a\)' >/dev/null 2>&1 &&
505486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
506487
as_expr=expr
507488
else
508489
as_expr=false
@@ -511,26 +492,23 @@
511492
rm -f conf$$ conf$$.exe conf$$.file
512493
if test -d conf$$.dir; then
513494
rm -f conf$$.dir/conf$$.file
514495
else
515496
rm -f conf$$.dir
516
- mkdir conf$$.dir 2>/dev/null
517
-fi
518
-if (echo >conf$$.file) 2>/dev/null; then
519
- if ln -s conf$$.file conf$$ 2>/dev/null; then
520
- as_ln_s='ln -s'
521
- # ... but there are two gotchas:
522
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
- # In both cases, we have to default to `cp -p'.
525
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526
- as_ln_s='cp -p'
527
- elif ln conf$$.file conf$$ 2>/dev/null; then
528
- as_ln_s=ln
529
- else
530
- as_ln_s='cp -p'
531
- fi
497
+ mkdir conf$$.dir
498
+fi
499
+echo >conf$$.file
500
+if ln -s conf$$.file conf$$ 2>/dev/null; then
501
+ as_ln_s='ln -s'
502
+ # ... but there are two gotchas:
503
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
+ # In both cases, we have to default to `cp -p'.
506
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507
+ as_ln_s='cp -p'
508
+elif ln conf$$.file conf$$ 2>/dev/null; then
509
+ as_ln_s=ln
532510
else
533511
as_ln_s='cp -p'
534512
fi
535513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536514
rmdir conf$$.dir 2>/dev/null
@@ -551,14 +529,14 @@
551529
as_ls_L_option=
552530
fi
553531
as_test_x='
554532
eval sh -c '\''
555533
if test -d "$1"; then
556
- test -d "$1/.";
534
+ test -d "$1/.";
557535
else
558536
case $1 in
559
- -*)set "./$1";;
537
+ -*)set "./$1";;
560538
esac;
561539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562540
???[sx]*):;;*)false;;esac;fi
563541
'\'' sh
564542
'
@@ -698,15 +676,10 @@
698676
OPENSSL_LIBS
699677
OPENSSL_LDFLAGS
700678
LIBOBJS
701679
LTLIBOBJS'
702680
ac_subst_files=''
703
-ac_user_opts='
704
-enable_option_checking
705
-enable_openssl
706
-with_openssl
707
-'
708681
ac_precious_vars='build_alias
709682
host_alias
710683
target_alias
711684
CC
712685
CFLAGS
@@ -717,12 +690,10 @@
717690
718691
719692
# Initialize some variables set by options.
720693
ac_init_help=
721694
ac_init_version=false
722
-ac_unrecognized_opts=
723
-ac_unrecognized_sep=
724695
# The variables have the same names as the options, with
725696
# dashes changed to underlines.
726697
cache_file=/dev/null
727698
exec_prefix=NONE
728699
no_create=
@@ -817,25 +788,17 @@
817788
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818789
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819790
datarootdir=$ac_optarg ;;
820791
821792
-disable-* | --disable-*)
822
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823794
# Reject names that are not valid shell variable names.
824
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
795
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
796
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
826797
{ (exit 1); exit 1; }; }
827
- ac_useropt_orig=$ac_useropt
828
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829
- case $ac_user_opts in
830
- *"
831
-"enable_$ac_useropt"
832
-"*) ;;
833
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834
- ac_unrecognized_sep=', ';;
835
- esac
836
- eval enable_$ac_useropt=no ;;
798
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
799
+ eval enable_$ac_feature=no ;;
837800
838801
-docdir | --docdir | --docdi | --doc | --do)
839802
ac_prev=docdir ;;
840803
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841804
docdir=$ac_optarg ;;
@@ -844,25 +807,17 @@
844807
ac_prev=dvidir ;;
845808
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846809
dvidir=$ac_optarg ;;
847810
848811
-enable-* | --enable-*)
849
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850813
# Reject names that are not valid shell variable names.
851
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
814
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
853816
{ (exit 1); exit 1; }; }
854
- ac_useropt_orig=$ac_useropt
855
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856
- case $ac_user_opts in
857
- *"
858
-"enable_$ac_useropt"
859
-"*) ;;
860
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861
- ac_unrecognized_sep=', ';;
862
- esac
863
- eval enable_$ac_useropt=\$ac_optarg ;;
817
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818
+ eval enable_$ac_feature=\$ac_optarg ;;
864819
865820
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866821
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867822
| --exec | --exe | --ex)
868823
ac_prev=exec_prefix ;;
@@ -1049,42 +1004,26 @@
10491004
10501005
-version | --version | --versio | --versi | --vers | -V)
10511006
ac_init_version=: ;;
10521007
10531008
-with-* | --with-*)
1054
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10551010
# Reject names that are not valid shell variable names.
1056
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1011
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
10581013
{ (exit 1); exit 1; }; }
1059
- ac_useropt_orig=$ac_useropt
1060
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061
- case $ac_user_opts in
1062
- *"
1063
-"with_$ac_useropt"
1064
-"*) ;;
1065
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066
- ac_unrecognized_sep=', ';;
1067
- esac
1068
- eval with_$ac_useropt=\$ac_optarg ;;
1014
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1015
+ eval with_$ac_package=\$ac_optarg ;;
10691016
10701017
-without-* | --without-*)
1071
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1018
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10721019
# Reject names that are not valid shell variable names.
1073
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1020
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
10751022
{ (exit 1); exit 1; }; }
1076
- ac_useropt_orig=$ac_useropt
1077
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078
- case $ac_user_opts in
1079
- *"
1080
-"with_$ac_useropt"
1081
-"*) ;;
1082
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083
- ac_unrecognized_sep=', ';;
1084
- esac
1085
- eval with_$ac_useropt=no ;;
1023
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1024
+ eval with_$ac_package=no ;;
10861025
10871026
--x)
10881027
# Obsolete; use --with-x.
10891028
with_x=yes ;;
10901029
@@ -1100,69 +1039,53 @@
11001039
ac_prev=x_libraries ;;
11011040
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11021041
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11031042
x_libraries=$ac_optarg ;;
11041043
1105
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1044
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
11061045
Try \`$0 --help' for more information." >&2
11071046
{ (exit 1); exit 1; }; }
11081047
;;
11091048
11101049
*=*)
11111050
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11121051
# Reject names that are not valid shell variable names.
11131052
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1114
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1053
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11151054
{ (exit 1); exit 1; }; }
11161055
eval $ac_envvar=\$ac_optarg
11171056
export $ac_envvar ;;
11181057
11191058
*)
11201059
# FIXME: should be removed in autoconf 3.0.
1121
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1060
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11221061
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1062
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11241063
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11251064
;;
11261065
11271066
esac
11281067
done
11291068
11301069
if test -n "$ac_prev"; then
11311070
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1071
+ { echo "$as_me: error: missing argument to $ac_option" >&2
11331072
{ (exit 1); exit 1; }; }
11341073
fi
11351074
1136
-if test -n "$ac_unrecognized_opts"; then
1137
- case $enable_option_checking in
1138
- no) ;;
1139
- fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1140
- { (exit 1); exit 1; }; } ;;
1141
- *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142
- esac
1143
-fi
1144
-
1145
-# Check all directory arguments for consistency.
1075
+# Be sure to have absolute directory names.
11461076
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11471077
datadir sysconfdir sharedstatedir localstatedir includedir \
11481078
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11491079
libdir localedir mandir
11501080
do
11511081
eval ac_val=\$$ac_var
1152
- # Remove trailing slashes.
1153
- case $ac_val in
1154
- */ )
1155
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156
- eval $ac_var=\$ac_val;;
1157
- esac
1158
- # Be sure to have absolute directory names.
11591082
case $ac_val in
11601083
[\\/$]* | ?:[\\/]* ) continue;;
11611084
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11621085
esac
1163
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1086
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11641087
{ (exit 1); exit 1; }; }
11651088
done
11661089
11671090
# There might be people who depend on the old broken behavior: `$host'
11681091
# used to hold the argument of --host etc.
@@ -1173,11 +1096,11 @@
11731096
11741097
# FIXME: To remove some day.
11751098
if test "x$host_alias" != x; then
11761099
if test "x$build_alias" = x; then
11771100
cross_compiling=maybe
1178
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1101
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11791102
If a cross compiler is detected then cross compile mode will be used." >&2
11801103
elif test "x$build_alias" != "x$host_alias"; then
11811104
cross_compiling=yes
11821105
fi
11831106
fi
@@ -1189,27 +1112,27 @@
11891112
11901113
11911114
ac_pwd=`pwd` && test -n "$ac_pwd" &&
11921115
ac_ls_di=`ls -di .` &&
11931116
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194
- { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1117
+ { echo "$as_me: error: Working directory cannot be determined" >&2
11951118
{ (exit 1); exit 1; }; }
11961119
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1120
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
11981121
{ (exit 1); exit 1; }; }
11991122
12001123
12011124
# Find the source files, if location was not specified.
12021125
if test -z "$srcdir"; then
12031126
ac_srcdir_defaulted=yes
12041127
# Try the directory containing this script, then the parent directory.
1205
- ac_confdir=`$as_dirname -- "$as_myself" ||
1206
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207
- X"$as_myself" : 'X\(//\)[^/]' \| \
1208
- X"$as_myself" : 'X\(//\)$' \| \
1209
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210
-$as_echo X"$as_myself" |
1128
+ ac_confdir=`$as_dirname -- "$0" ||
1129
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1130
+ X"$0" : 'X\(//\)[^/]' \| \
1131
+ X"$0" : 'X\(//\)$' \| \
1132
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1133
+echo X"$0" |
12111134
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12121135
s//\1/
12131136
q
12141137
}
12151138
/^X\(\/\/\)[^/].*/{
@@ -1232,16 +1155,16 @@
12321155
else
12331156
ac_srcdir_defaulted=no
12341157
fi
12351158
if test ! -r "$srcdir/$ac_unique_file"; then
12361159
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1160
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12381161
{ (exit 1); exit 1; }; }
12391162
fi
12401163
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12411164
ac_abs_confdir=`(
1242
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1165
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
12431166
{ (exit 1); exit 1; }; }
12441167
pwd)`
12451168
# When building in place, set srcdir=.
12461169
if test "$ac_abs_confdir" = "$ac_pwd"; then
12471170
srcdir=.
@@ -1286,41 +1209,41 @@
12861209
-n, --no-create do not create output files
12871210
--srcdir=DIR find the sources in DIR [configure dir or \`..']
12881211
12891212
Installation directories:
12901213
--prefix=PREFIX install architecture-independent files in PREFIX
1291
- [$ac_default_prefix]
1214
+ [$ac_default_prefix]
12921215
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1293
- [PREFIX]
1216
+ [PREFIX]
12941217
12951218
By default, \`make install' will install all the files in
12961219
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12971220
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
12981221
for instance \`--prefix=\$HOME'.
12991222
13001223
For better control, use the options below.
13011224
13021225
Fine tuning of the installation directories:
1303
- --bindir=DIR user executables [EPREFIX/bin]
1304
- --sbindir=DIR system admin executables [EPREFIX/sbin]
1305
- --libexecdir=DIR program executables [EPREFIX/libexec]
1306
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309
- --libdir=DIR object code libraries [EPREFIX/lib]
1310
- --includedir=DIR C header files [PREFIX/include]
1311
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314
- --infodir=DIR info documentation [DATAROOTDIR/info]
1315
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316
- --mandir=DIR man documentation [DATAROOTDIR/man]
1317
- --docdir=DIR documentation root [DATAROOTDIR/doc/fossil]
1318
- --htmldir=DIR html documentation [DOCDIR]
1319
- --dvidir=DIR dvi documentation [DOCDIR]
1320
- --pdfdir=DIR pdf documentation [DOCDIR]
1321
- --psdir=DIR ps documentation [DOCDIR]
1226
+ --bindir=DIR user executables [EPREFIX/bin]
1227
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1228
+ --libexecdir=DIR program executables [EPREFIX/libexec]
1229
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232
+ --libdir=DIR object code libraries [EPREFIX/lib]
1233
+ --includedir=DIR C header files [PREFIX/include]
1234
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1238
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1240
+ --docdir=DIR documentation root [DATAROOTDIR/doc/fossil]
1241
+ --htmldir=DIR html documentation [DOCDIR]
1242
+ --dvidir=DIR dvi documentation [DOCDIR]
1243
+ --pdfdir=DIR pdf documentation [DOCDIR]
1244
+ --psdir=DIR ps documentation [DOCDIR]
13221245
_ACEOF
13231246
13241247
cat <<\_ACEOF
13251248
13261249
System types:
@@ -1334,11 +1257,10 @@
13341257
short | recursive ) echo "Configuration of fossil 20110528:";;
13351258
esac
13361259
cat <<\_ACEOF
13371260
13381261
Optional Features:
1339
- --disable-option-checking ignore unrecognized --enable/--with options
13401262
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13411263
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13421264
--enable-openssl Include HTTPS support using for OpenSSL
13431265
13441266
Optional Packages:
@@ -1365,21 +1287,19 @@
13651287
fi
13661288
13671289
if test "$ac_init_help" = "recursive"; then
13681290
# If there are subdirs, report their specific --help.
13691291
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370
- test -d "$ac_dir" ||
1371
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372
- continue
1292
+ test -d "$ac_dir" || continue
13731293
ac_builddir=.
13741294
13751295
case "$ac_dir" in
13761296
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13771297
*)
1378
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13791299
# A ".." for each directory in $ac_dir_suffix.
1380
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13811301
case $ac_top_builddir_sub in
13821302
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13831303
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13841304
esac ;;
13851305
esac
@@ -1411,24 +1331,24 @@
14111331
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
14121332
elif test -f "$ac_srcdir/configure"; then
14131333
echo &&
14141334
$SHELL "$ac_srcdir/configure" --help=recursive
14151335
else
1416
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14171337
fi || ac_status=$?
14181338
cd "$ac_pwd" || { ac_status=$?; break; }
14191339
done
14201340
fi
14211341
14221342
test -n "$ac_init_help" && exit $ac_status
14231343
if $ac_init_version; then
14241344
cat <<\_ACEOF
14251345
fossil configure 20110528
1426
-generated by GNU Autoconf 2.62
1346
+generated by GNU Autoconf 2.61
14271347
14281348
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1429
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1349
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14301350
This configure script is free software; the Free Software Foundation
14311351
gives unlimited permission to copy, distribute and modify it.
14321352
_ACEOF
14331353
exit
14341354
fi
@@ -1435,11 +1355,11 @@
14351355
cat >config.log <<_ACEOF
14361356
This file contains any messages produced by compilers while
14371357
running configure, to aid debugging if configure makes a mistake.
14381358
14391359
It was created by fossil $as_me 20110528, which was
1440
-generated by GNU Autoconf 2.62. Invocation command line was
1360
+generated by GNU Autoconf 2.61. Invocation command line was
14411361
14421362
$ $0 $@
14431363
14441364
_ACEOF
14451365
exec 5>>config.log
@@ -1471,11 +1391,11 @@
14711391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14721392
for as_dir in $PATH
14731393
do
14741394
IFS=$as_save_IFS
14751395
test -z "$as_dir" && as_dir=.
1476
- $as_echo "PATH: $as_dir"
1396
+ echo "PATH: $as_dir"
14771397
done
14781398
IFS=$as_save_IFS
14791399
14801400
} >&5
14811401
@@ -1506,11 +1426,11 @@
15061426
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
15071427
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15081428
| -silent | --silent | --silen | --sile | --sil)
15091429
continue ;;
15101430
*\'*)
1511
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1431
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15121432
esac
15131433
case $ac_pass in
15141434
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
15151435
2)
15161436
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
@@ -1558,16 +1478,15 @@
15581478
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
15591479
eval ac_val=\$$ac_var
15601480
case $ac_val in #(
15611481
*${as_nl}*)
15621482
case $ac_var in #(
1563
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1564
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1483
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1484
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15651485
esac
15661486
case $ac_var in #(
15671487
_ | IFS | as_nl) ;; #(
1568
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15691488
*) $as_unset $ac_var ;;
15701489
esac ;;
15711490
esac
15721491
done
15731492
(set) 2>&1 |
@@ -1593,13 +1512,13 @@
15931512
echo
15941513
for ac_var in $ac_subst_vars
15951514
do
15961515
eval ac_val=\$$ac_var
15971516
case $ac_val in
1598
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15991518
esac
1600
- $as_echo "$ac_var='\''$ac_val'\''"
1519
+ echo "$ac_var='\''$ac_val'\''"
16011520
done | sort
16021521
echo
16031522
16041523
if test -n "$ac_subst_files"; then
16051524
cat <<\_ASBOX
@@ -1610,13 +1529,13 @@
16101529
echo
16111530
for ac_var in $ac_subst_files
16121531
do
16131532
eval ac_val=\$$ac_var
16141533
case $ac_val in
1615
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16161535
esac
1617
- $as_echo "$ac_var='\''$ac_val'\''"
1536
+ echo "$ac_var='\''$ac_val'\''"
16181537
done | sort
16191538
echo
16201539
fi
16211540
16221541
if test -s confdefs.h; then
@@ -1628,12 +1547,12 @@
16281547
echo
16291548
cat confdefs.h
16301549
echo
16311550
fi
16321551
test "$ac_signal" != 0 &&
1633
- $as_echo "$as_me: caught signal $ac_signal"
1634
- $as_echo "$as_me: exit $exit_status"
1552
+ echo "$as_me: caught signal $ac_signal"
1553
+ echo "$as_me: exit $exit_status"
16351554
} >&5
16361555
rm -f core *.core core.conftest.* &&
16371556
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16381557
exit $exit_status
16391558
' 0
@@ -1671,47 +1590,44 @@
16711590
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16721591
_ACEOF
16731592
16741593
16751594
# Let the site file select an alternate cache file if it wants to.
1676
-# Prefer an explicitly selected file to automatically selected ones.
1677
-ac_site_file1=NONE
1678
-ac_site_file2=NONE
1595
+# Prefer explicitly selected file to automatically selected ones.
16791596
if test -n "$CONFIG_SITE"; then
1680
- ac_site_file1=$CONFIG_SITE
1597
+ set x "$CONFIG_SITE"
16811598
elif test "x$prefix" != xNONE; then
1682
- ac_site_file1=$prefix/share/config.site
1683
- ac_site_file2=$prefix/etc/config.site
1599
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
16841600
else
1685
- ac_site_file1=$ac_default_prefix/share/config.site
1686
- ac_site_file2=$ac_default_prefix/etc/config.site
1601
+ set x "$ac_default_prefix/share/config.site" \
1602
+ "$ac_default_prefix/etc/config.site"
16871603
fi
1688
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1604
+shift
1605
+for ac_site_file
16891606
do
1690
- test "x$ac_site_file" = xNONE && continue
16911607
if test -r "$ac_site_file"; then
1692
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1693
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1608
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1609
+echo "$as_me: loading site script $ac_site_file" >&6;}
16941610
sed 's/^/| /' "$ac_site_file" >&5
16951611
. "$ac_site_file"
16961612
fi
16971613
done
16981614
16991615
if test -r "$cache_file"; then
17001616
# Some versions of bash will fail to source /dev/null (special
17011617
# files actually), so we avoid doing that.
17021618
if test -f "$cache_file"; then
1703
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1704
-$as_echo "$as_me: loading cache $cache_file" >&6;}
1619
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1620
+echo "$as_me: loading cache $cache_file" >&6;}
17051621
case $cache_file in
17061622
[\\/]* | ?:[\\/]* ) . "$cache_file";;
17071623
*) . "./$cache_file";;
17081624
esac
17091625
fi
17101626
else
1711
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1712
-$as_echo "$as_me: creating cache $cache_file" >&6;}
1627
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1628
+echo "$as_me: creating cache $cache_file" >&6;}
17131629
>$cache_file
17141630
fi
17151631
17161632
# Check that the precious variables saved in the cache have kept the same
17171633
# value.
@@ -1721,55 +1637,46 @@
17211637
eval ac_new_set=\$ac_env_${ac_var}_set
17221638
eval ac_old_val=\$ac_cv_env_${ac_var}_value
17231639
eval ac_new_val=\$ac_env_${ac_var}_value
17241640
case $ac_old_set,$ac_new_set in
17251641
set,)
1726
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1642
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1643
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17281644
ac_cache_corrupted=: ;;
17291645
,set)
1730
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1731
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1646
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1647
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17321648
ac_cache_corrupted=: ;;
17331649
,);;
17341650
*)
17351651
if test "x$ac_old_val" != "x$ac_new_val"; then
1736
- # differences in whitespace do not lead to failure.
1737
- ac_old_val_w=`echo x $ac_old_val`
1738
- ac_new_val_w=`echo x $ac_new_val`
1739
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
1740
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1741
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1742
- ac_cache_corrupted=:
1743
- else
1744
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1745
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1746
- eval $ac_var=\$ac_old_val
1747
- fi
1748
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1749
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1750
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1751
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1652
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1653
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1654
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1655
+echo "$as_me: former value: $ac_old_val" >&2;}
1656
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1657
+echo "$as_me: current value: $ac_new_val" >&2;}
1658
+ ac_cache_corrupted=:
17521659
fi;;
17531660
esac
17541661
# Pass precious variables to config.status.
17551662
if test "$ac_new_set" = set; then
17561663
case $ac_new_val in
1757
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1664
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17581665
*) ac_arg=$ac_var=$ac_new_val ;;
17591666
esac
17601667
case " $ac_configure_args " in
17611668
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
17621669
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17631670
esac
17641671
fi
17651672
done
17661673
if $ac_cache_corrupted; then
1767
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1768
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1769
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1770
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1674
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1675
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1676
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1677
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
17711678
{ (exit 1); exit 1; }; }
17721679
fi
17731680
17741681
17751682
@@ -1818,12 +1725,12 @@
18181725
ac_install_sh="$ac_aux_dir/shtool install -c"
18191726
break
18201727
fi
18211728
done
18221729
if test -z "$ac_aux_dir"; then
1823
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1824
-$as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1730
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1731
+echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
18251732
{ (exit 1); exit 1; }; }
18261733
fi
18271734
18281735
# These three variables are undocumented and unsupported,
18291736
# and are intended to be withdrawn in a future Autoconf release.
@@ -1838,38 +1745,38 @@
18381745
ac_config_headers="$ac_config_headers autoconfig.h"
18391746
18401747
18411748
# Make sure we can run config.sub.
18421749
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1843
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1844
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1750
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1751
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
18451752
{ (exit 1); exit 1; }; }
18461753
1847
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1848
-$as_echo_n "checking build system type... " >&6; }
1754
+{ echo "$as_me:$LINENO: checking build system type" >&5
1755
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
18491756
if test "${ac_cv_build+set}" = set; then
1850
- $as_echo_n "(cached) " >&6
1757
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18511758
else
18521759
ac_build_alias=$build_alias
18531760
test "x$ac_build_alias" = x &&
18541761
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
18551762
test "x$ac_build_alias" = x &&
1856
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1857
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1763
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1764
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
18581765
{ (exit 1); exit 1; }; }
18591766
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1860
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1861
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1767
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1768
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
18621769
{ (exit 1); exit 1; }; }
18631770
18641771
fi
1865
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1866
-$as_echo "$ac_cv_build" >&6; }
1772
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1773
+echo "${ECHO_T}$ac_cv_build" >&6; }
18671774
case $ac_cv_build in
18681775
*-*-*) ;;
1869
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1870
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1776
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1777
+echo "$as_me: error: invalid value of canonical build" >&2;}
18711778
{ (exit 1); exit 1; }; };;
18721779
esac
18731780
build=$ac_cv_build
18741781
ac_save_IFS=$IFS; IFS='-'
18751782
set x $ac_cv_build
@@ -1882,31 +1789,31 @@
18821789
build_os=$*
18831790
IFS=$ac_save_IFS
18841791
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
18851792
18861793
1887
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1888
-$as_echo_n "checking host system type... " >&6; }
1794
+{ echo "$as_me:$LINENO: checking host system type" >&5
1795
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
18891796
if test "${ac_cv_host+set}" = set; then
1890
- $as_echo_n "(cached) " >&6
1797
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18911798
else
18921799
if test "x$host_alias" = x; then
18931800
ac_cv_host=$ac_cv_build
18941801
else
18951802
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1896
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1897
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1803
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1804
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
18981805
{ (exit 1); exit 1; }; }
18991806
fi
19001807
19011808
fi
1902
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1903
-$as_echo "$ac_cv_host" >&6; }
1809
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1810
+echo "${ECHO_T}$ac_cv_host" >&6; }
19041811
case $ac_cv_host in
19051812
*-*-*) ;;
1906
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1907
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1813
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1814
+echo "$as_me: error: invalid value of canonical host" >&2;}
19081815
{ (exit 1); exit 1; }; };;
19091816
esac
19101817
host=$ac_cv_host
19111818
ac_save_IFS=$IFS; IFS='-'
19121819
set x $ac_cv_host
@@ -1921,16 +1828,15 @@
19211828
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
19221829
19231830
19241831
19251832
# Checks for programs.
1926
-{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1927
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1928
-set x ${MAKE-make}
1929
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1833
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1834
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1835
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
19301836
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1931
- $as_echo_n "(cached) " >&6
1837
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19321838
else
19331839
cat >conftest.make <<\_ACEOF
19341840
SHELL = /bin/sh
19351841
all:
19361842
@echo '@@@%%%=$(MAKE)=@@@%%%'
@@ -1943,16 +1849,16 @@
19431849
eval ac_cv_prog_make_${ac_make}_set=no;;
19441850
esac
19451851
rm -f conftest.make
19461852
fi
19471853
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1948
- { $as_echo "$as_me:$LINENO: result: yes" >&5
1949
-$as_echo "yes" >&6; }
1854
+ { echo "$as_me:$LINENO: result: yes" >&5
1855
+echo "${ECHO_T}yes" >&6; }
19501856
SET_MAKE=
19511857
else
1952
- { $as_echo "$as_me:$LINENO: result: no" >&5
1953
-$as_echo "no" >&6; }
1858
+ { echo "$as_me:$LINENO: result: no" >&5
1859
+echo "${ECHO_T}no" >&6; }
19541860
SET_MAKE="MAKE=${MAKE-make}"
19551861
fi
19561862
19571863
ac_ext=c
19581864
ac_cpp='$CPP $CPPFLAGS'
@@ -1960,14 +1866,14 @@
19601866
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611867
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19621868
if test -n "$ac_tool_prefix"; then
19631869
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19641870
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1965
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1966
-$as_echo_n "checking for $ac_word... " >&6; }
1871
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1872
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19671873
if test "${ac_cv_prog_CC+set}" = set; then
1968
- $as_echo_n "(cached) " >&6
1874
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19691875
else
19701876
if test -n "$CC"; then
19711877
ac_cv_prog_CC="$CC" # Let the user override the test.
19721878
else
19731879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -1976,11 +1882,11 @@
19761882
IFS=$as_save_IFS
19771883
test -z "$as_dir" && as_dir=.
19781884
for ac_exec_ext in '' $ac_executable_extensions; do
19791885
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19801886
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1981
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19821888
break 2
19831889
fi
19841890
done
19851891
done
19861892
IFS=$as_save_IFS
@@ -1987,27 +1893,27 @@
19871893
19881894
fi
19891895
fi
19901896
CC=$ac_cv_prog_CC
19911897
if test -n "$CC"; then
1992
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
1993
-$as_echo "$CC" >&6; }
1898
+ { echo "$as_me:$LINENO: result: $CC" >&5
1899
+echo "${ECHO_T}$CC" >&6; }
19941900
else
1995
- { $as_echo "$as_me:$LINENO: result: no" >&5
1996
-$as_echo "no" >&6; }
1901
+ { echo "$as_me:$LINENO: result: no" >&5
1902
+echo "${ECHO_T}no" >&6; }
19971903
fi
19981904
19991905
20001906
fi
20011907
if test -z "$ac_cv_prog_CC"; then
20021908
ac_ct_CC=$CC
20031909
# Extract the first word of "gcc", so it can be a program name with args.
20041910
set dummy gcc; ac_word=$2
2005
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2006
-$as_echo_n "checking for $ac_word... " >&6; }
1911
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1912
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20071913
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008
- $as_echo_n "(cached) " >&6
1914
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20091915
else
20101916
if test -n "$ac_ct_CC"; then
20111917
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20121918
else
20131919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2016,11 +1922,11 @@
20161922
IFS=$as_save_IFS
20171923
test -z "$as_dir" && as_dir=.
20181924
for ac_exec_ext in '' $ac_executable_extensions; do
20191925
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20201926
ac_cv_prog_ac_ct_CC="gcc"
2021
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20221928
break 2
20231929
fi
20241930
done
20251931
done
20261932
IFS=$as_save_IFS
@@ -2027,26 +1933,26 @@
20271933
20281934
fi
20291935
fi
20301936
ac_ct_CC=$ac_cv_prog_ac_ct_CC
20311937
if test -n "$ac_ct_CC"; then
2032
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2033
-$as_echo "$ac_ct_CC" >&6; }
1938
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1939
+echo "${ECHO_T}$ac_ct_CC" >&6; }
20341940
else
2035
- { $as_echo "$as_me:$LINENO: result: no" >&5
2036
-$as_echo "no" >&6; }
1941
+ { echo "$as_me:$LINENO: result: no" >&5
1942
+echo "${ECHO_T}no" >&6; }
20371943
fi
20381944
20391945
if test "x$ac_ct_CC" = x; then
20401946
CC=""
20411947
else
20421948
case $cross_compiling:$ac_tool_warned in
20431949
yes:)
2044
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1950
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20451951
whose name does not start with the host triplet. If you think this
20461952
configuration is useful to you, please write to [email protected]." >&5
2047
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1953
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20481954
whose name does not start with the host triplet. If you think this
20491955
configuration is useful to you, please write to [email protected]." >&2;}
20501956
ac_tool_warned=yes ;;
20511957
esac
20521958
CC=$ac_ct_CC
@@ -2057,14 +1963,14 @@
20571963
20581964
if test -z "$CC"; then
20591965
if test -n "$ac_tool_prefix"; then
20601966
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
20611967
set dummy ${ac_tool_prefix}cc; ac_word=$2
2062
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2063
-$as_echo_n "checking for $ac_word... " >&6; }
1968
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1969
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20641970
if test "${ac_cv_prog_CC+set}" = set; then
2065
- $as_echo_n "(cached) " >&6
1971
+ echo $ECHO_N "(cached) $ECHO_C" >&6
20661972
else
20671973
if test -n "$CC"; then
20681974
ac_cv_prog_CC="$CC" # Let the user override the test.
20691975
else
20701976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2073,11 +1979,11 @@
20731979
IFS=$as_save_IFS
20741980
test -z "$as_dir" && as_dir=.
20751981
for ac_exec_ext in '' $ac_executable_extensions; do
20761982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20771983
ac_cv_prog_CC="${ac_tool_prefix}cc"
2078
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20791985
break 2
20801986
fi
20811987
done
20821988
done
20831989
IFS=$as_save_IFS
@@ -2084,27 +1990,27 @@
20841990
20851991
fi
20861992
fi
20871993
CC=$ac_cv_prog_CC
20881994
if test -n "$CC"; then
2089
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
2090
-$as_echo "$CC" >&6; }
1995
+ { echo "$as_me:$LINENO: result: $CC" >&5
1996
+echo "${ECHO_T}$CC" >&6; }
20911997
else
2092
- { $as_echo "$as_me:$LINENO: result: no" >&5
2093
-$as_echo "no" >&6; }
1998
+ { echo "$as_me:$LINENO: result: no" >&5
1999
+echo "${ECHO_T}no" >&6; }
20942000
fi
20952001
20962002
20972003
fi
20982004
fi
20992005
if test -z "$CC"; then
21002006
# Extract the first word of "cc", so it can be a program name with args.
21012007
set dummy cc; ac_word=$2
2102
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2103
-$as_echo_n "checking for $ac_word... " >&6; }
2008
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2009
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21042010
if test "${ac_cv_prog_CC+set}" = set; then
2105
- $as_echo_n "(cached) " >&6
2011
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21062012
else
21072013
if test -n "$CC"; then
21082014
ac_cv_prog_CC="$CC" # Let the user override the test.
21092015
else
21102016
ac_prog_rejected=no
@@ -2118,11 +2024,11 @@
21182024
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21192025
ac_prog_rejected=yes
21202026
continue
21212027
fi
21222028
ac_cv_prog_CC="cc"
2123
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21242030
break 2
21252031
fi
21262032
done
21272033
done
21282034
IFS=$as_save_IFS
@@ -2141,15 +2047,15 @@
21412047
fi
21422048
fi
21432049
fi
21442050
CC=$ac_cv_prog_CC
21452051
if test -n "$CC"; then
2146
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
2147
-$as_echo "$CC" >&6; }
2052
+ { echo "$as_me:$LINENO: result: $CC" >&5
2053
+echo "${ECHO_T}$CC" >&6; }
21482054
else
2149
- { $as_echo "$as_me:$LINENO: result: no" >&5
2150
-$as_echo "no" >&6; }
2055
+ { echo "$as_me:$LINENO: result: no" >&5
2056
+echo "${ECHO_T}no" >&6; }
21512057
fi
21522058
21532059
21542060
fi
21552061
if test -z "$CC"; then
@@ -2156,14 +2062,14 @@
21562062
if test -n "$ac_tool_prefix"; then
21572063
for ac_prog in cl.exe
21582064
do
21592065
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21602066
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2161
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2162
-$as_echo_n "checking for $ac_word... " >&6; }
2067
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2068
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21632069
if test "${ac_cv_prog_CC+set}" = set; then
2164
- $as_echo_n "(cached) " >&6
2070
+ echo $ECHO_N "(cached) $ECHO_C" >&6
21652071
else
21662072
if test -n "$CC"; then
21672073
ac_cv_prog_CC="$CC" # Let the user override the test.
21682074
else
21692075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2172,11 +2078,11 @@
21722078
IFS=$as_save_IFS
21732079
test -z "$as_dir" && as_dir=.
21742080
for ac_exec_ext in '' $ac_executable_extensions; do
21752081
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21762082
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2177
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21782084
break 2
21792085
fi
21802086
done
21812087
done
21822088
IFS=$as_save_IFS
@@ -2183,15 +2089,15 @@
21832089
21842090
fi
21852091
fi
21862092
CC=$ac_cv_prog_CC
21872093
if test -n "$CC"; then
2188
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
2189
-$as_echo "$CC" >&6; }
2094
+ { echo "$as_me:$LINENO: result: $CC" >&5
2095
+echo "${ECHO_T}$CC" >&6; }
21902096
else
2191
- { $as_echo "$as_me:$LINENO: result: no" >&5
2192
-$as_echo "no" >&6; }
2097
+ { echo "$as_me:$LINENO: result: no" >&5
2098
+echo "${ECHO_T}no" >&6; }
21932099
fi
21942100
21952101
21962102
test -n "$CC" && break
21972103
done
@@ -2200,14 +2106,14 @@
22002106
ac_ct_CC=$CC
22012107
for ac_prog in cl.exe
22022108
do
22032109
# Extract the first word of "$ac_prog", so it can be a program name with args.
22042110
set dummy $ac_prog; ac_word=$2
2205
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2206
-$as_echo_n "checking for $ac_word... " >&6; }
2111
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2112
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22072113
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208
- $as_echo_n "(cached) " >&6
2114
+ echo $ECHO_N "(cached) $ECHO_C" >&6
22092115
else
22102116
if test -n "$ac_ct_CC"; then
22112117
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22122118
else
22132119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2216,11 +2122,11 @@
22162122
IFS=$as_save_IFS
22172123
test -z "$as_dir" && as_dir=.
22182124
for ac_exec_ext in '' $ac_executable_extensions; do
22192125
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22202126
ac_cv_prog_ac_ct_CC="$ac_prog"
2221
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2127
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22222128
break 2
22232129
fi
22242130
done
22252131
done
22262132
IFS=$as_save_IFS
@@ -2227,15 +2133,15 @@
22272133
22282134
fi
22292135
fi
22302136
ac_ct_CC=$ac_cv_prog_ac_ct_CC
22312137
if test -n "$ac_ct_CC"; then
2232
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2233
-$as_echo "$ac_ct_CC" >&6; }
2138
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2139
+echo "${ECHO_T}$ac_ct_CC" >&6; }
22342140
else
2235
- { $as_echo "$as_me:$LINENO: result: no" >&5
2236
-$as_echo "no" >&6; }
2141
+ { echo "$as_me:$LINENO: result: no" >&5
2142
+echo "${ECHO_T}no" >&6; }
22372143
fi
22382144
22392145
22402146
test -n "$ac_ct_CC" && break
22412147
done
@@ -2243,14 +2149,14 @@
22432149
if test "x$ac_ct_CC" = x; then
22442150
CC=""
22452151
else
22462152
case $cross_compiling:$ac_tool_warned in
22472153
yes:)
2248
-{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2154
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22492155
whose name does not start with the host triplet. If you think this
22502156
configuration is useful to you, please write to [email protected]." >&5
2251
-$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2157
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22522158
whose name does not start with the host triplet. If you think this
22532159
configuration is useful to you, please write to [email protected]." >&2;}
22542160
ac_tool_warned=yes ;;
22552161
esac
22562162
CC=$ac_ct_CC
@@ -2258,52 +2164,48 @@
22582164
fi
22592165
22602166
fi
22612167
22622168
2263
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2169
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
22642170
See \`config.log' for more details." >&5
2265
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2171
+echo "$as_me: error: no acceptable C compiler found in \$PATH
22662172
See \`config.log' for more details." >&2;}
22672173
{ (exit 1); exit 1; }; }
22682174
22692175
# Provide some information about the compiler.
2270
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2271
-set X $ac_compile
2272
-ac_compiler=$2
2176
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2177
+ac_compiler=`set X $ac_compile; echo $2`
22732178
{ (ac_try="$ac_compiler --version >&5"
22742179
case "(($ac_try" in
22752180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762181
*) ac_try_echo=$ac_try;;
22772182
esac
2278
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2279
-$as_echo "$ac_try_echo") >&5
2183
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802184
(eval "$ac_compiler --version >&5") 2>&5
22812185
ac_status=$?
2282
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832187
(exit $ac_status); }
22842188
{ (ac_try="$ac_compiler -v >&5"
22852189
case "(($ac_try" in
22862190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872191
*) ac_try_echo=$ac_try;;
22882192
esac
2289
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2290
-$as_echo "$ac_try_echo") >&5
2193
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912194
(eval "$ac_compiler -v >&5") 2>&5
22922195
ac_status=$?
2293
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942197
(exit $ac_status); }
22952198
{ (ac_try="$ac_compiler -V >&5"
22962199
case "(($ac_try" in
22972200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982201
*) ac_try_echo=$ac_try;;
22992202
esac
2300
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2301
-$as_echo "$ac_try_echo") >&5
2203
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022204
(eval "$ac_compiler -V >&5") 2>&5
23032205
ac_status=$?
2304
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052207
(exit $ac_status); }
23062208
23072209
cat >conftest.$ac_ext <<_ACEOF
23082210
/* confdefs.h. */
23092211
_ACEOF
@@ -2318,26 +2220,31 @@
23182220
;
23192221
return 0;
23202222
}
23212223
_ACEOF
23222224
ac_clean_files_save=$ac_clean_files
2323
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2225
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
23242226
# Try to create an executable without -o first, disregard a.out.
23252227
# It will help us diagnose broken compilers, and finding out an intuition
23262228
# of exeext.
2327
-{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2328
-$as_echo_n "checking for C compiler default output file name... " >&6; }
2329
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2330
-
2331
-# The possible output files:
2332
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2333
-
2229
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2230
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2231
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2232
+#
2233
+# List of possible output files, starting from the most likely.
2234
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2235
+# only as a last resort. b.out is created by i960 compilers.
2236
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2237
+#
2238
+# The IRIX 6 linker writes into existing files which may not be
2239
+# executable, retaining their permissions. Remove them first so a
2240
+# subsequent execution test works.
23342241
ac_rmfiles=
23352242
for ac_file in $ac_files
23362243
do
23372244
case $ac_file in
2338
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2245
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
23392246
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
23402247
esac
23412248
done
23422249
rm -f $ac_rmfiles
23432250
@@ -2344,15 +2251,14 @@
23442251
if { (ac_try="$ac_link_default"
23452252
case "(($ac_try" in
23462253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472254
*) ac_try_echo=$ac_try;;
23482255
esac
2349
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2350
-$as_echo "$ac_try_echo") >&5
2256
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23512257
(eval "$ac_link_default") 2>&5
23522258
ac_status=$?
2353
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542260
(exit $ac_status); }; then
23552261
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
23562262
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
23572263
# in a Makefile. We should not override ac_cv_exeext if it was cached,
23582264
# so that the user can short-circuit this test for compilers unknown to
@@ -2359,11 +2265,11 @@
23592265
# Autoconf.
23602266
for ac_file in $ac_files ''
23612267
do
23622268
test -f "$ac_file" || continue
23632269
case $ac_file in
2364
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2270
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
23652271
;;
23662272
[ab].out )
23672273
# We found the default executable, but exeext='' is most
23682274
# certainly right.
23692275
break;;
@@ -2386,115 +2292,113 @@
23862292
23872293
else
23882294
ac_file=''
23892295
fi
23902296
2391
-{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2392
-$as_echo "$ac_file" >&6; }
2297
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2298
+echo "${ECHO_T}$ac_file" >&6; }
23932299
if test -z "$ac_file"; then
2394
- $as_echo "$as_me: failed program was:" >&5
2300
+ echo "$as_me: failed program was:" >&5
23952301
sed 's/^/| /' conftest.$ac_ext >&5
23962302
2397
-{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2303
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
23982304
See \`config.log' for more details." >&5
2399
-$as_echo "$as_me: error: C compiler cannot create executables
2305
+echo "$as_me: error: C compiler cannot create executables
24002306
See \`config.log' for more details." >&2;}
24012307
{ (exit 77); exit 77; }; }
24022308
fi
24032309
24042310
ac_exeext=$ac_cv_exeext
24052311
24062312
# Check that the compiler produces executables we can run. If not, either
24072313
# the compiler is broken, or we cross compile.
2408
-{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2409
-$as_echo_n "checking whether the C compiler works... " >&6; }
2314
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2315
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
24102316
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
24112317
# If not cross compiling, check that we can run a simple program.
24122318
if test "$cross_compiling" != yes; then
24132319
if { ac_try='./$ac_file'
24142320
{ (case "(($ac_try" in
24152321
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162322
*) ac_try_echo=$ac_try;;
24172323
esac
2418
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2419
-$as_echo "$ac_try_echo") >&5
2324
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24202325
(eval "$ac_try") 2>&5
24212326
ac_status=$?
2422
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232328
(exit $ac_status); }; }; then
24242329
cross_compiling=no
24252330
else
24262331
if test "$cross_compiling" = maybe; then
24272332
cross_compiling=yes
24282333
else
2429
- { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2334
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
24302335
If you meant to cross compile, use \`--host'.
24312336
See \`config.log' for more details." >&5
2432
-$as_echo "$as_me: error: cannot run C compiled programs.
2337
+echo "$as_me: error: cannot run C compiled programs.
24332338
If you meant to cross compile, use \`--host'.
24342339
See \`config.log' for more details." >&2;}
24352340
{ (exit 1); exit 1; }; }
24362341
fi
24372342
fi
24382343
fi
2439
-{ $as_echo "$as_me:$LINENO: result: yes" >&5
2440
-$as_echo "yes" >&6; }
2344
+{ echo "$as_me:$LINENO: result: yes" >&5
2345
+echo "${ECHO_T}yes" >&6; }
24412346
2442
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2347
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
24432348
ac_clean_files=$ac_clean_files_save
24442349
# Check that the compiler produces executables we can run. If not, either
24452350
# the compiler is broken, or we cross compile.
2446
-{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2447
-$as_echo_n "checking whether we are cross compiling... " >&6; }
2448
-{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2449
-$as_echo "$cross_compiling" >&6; }
2351
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2352
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2353
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2354
+echo "${ECHO_T}$cross_compiling" >&6; }
24502355
2451
-{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2452
-$as_echo_n "checking for suffix of executables... " >&6; }
2356
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2357
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
24532358
if { (ac_try="$ac_link"
24542359
case "(($ac_try" in
24552360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24562361
*) ac_try_echo=$ac_try;;
24572362
esac
2458
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2459
-$as_echo "$ac_try_echo") >&5
2363
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602364
(eval "$ac_link") 2>&5
24612365
ac_status=$?
2462
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632367
(exit $ac_status); }; then
24642368
# If both `conftest.exe' and `conftest' are `present' (well, observable)
24652369
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
24662370
# work properly (i.e., refer to `conftest.exe'), while it won't with
24672371
# `rm'.
24682372
for ac_file in conftest.exe conftest conftest.*; do
24692373
test -f "$ac_file" || continue
24702374
case $ac_file in
2471
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2375
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
24722376
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24732377
break;;
24742378
* ) break;;
24752379
esac
24762380
done
24772381
else
2478
- { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2382
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
24792383
See \`config.log' for more details." >&5
2480
-$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2384
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
24812385
See \`config.log' for more details." >&2;}
24822386
{ (exit 1); exit 1; }; }
24832387
fi
24842388
24852389
rm -f conftest$ac_cv_exeext
2486
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2487
-$as_echo "$ac_cv_exeext" >&6; }
2390
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2391
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
24882392
24892393
rm -f conftest.$ac_ext
24902394
EXEEXT=$ac_cv_exeext
24912395
ac_exeext=$EXEEXT
2492
-{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2493
-$as_echo_n "checking for suffix of object files... " >&6; }
2396
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2397
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
24942398
if test "${ac_cv_objext+set}" = set; then
2495
- $as_echo_n "(cached) " >&6
2399
+ echo $ECHO_N "(cached) $ECHO_C" >&6
24962400
else
24972401
cat >conftest.$ac_ext <<_ACEOF
24982402
/* confdefs.h. */
24992403
_ACEOF
25002404
cat confdefs.h >>conftest.$ac_ext
@@ -2513,45 +2417,44 @@
25132417
if { (ac_try="$ac_compile"
25142418
case "(($ac_try" in
25152419
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25162420
*) ac_try_echo=$ac_try;;
25172421
esac
2518
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2519
-$as_echo "$ac_try_echo") >&5
2422
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202423
(eval "$ac_compile") 2>&5
25212424
ac_status=$?
2522
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232426
(exit $ac_status); }; then
25242427
for ac_file in conftest.o conftest.obj conftest.*; do
25252428
test -f "$ac_file" || continue;
25262429
case $ac_file in
2527
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2430
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
25282431
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
25292432
break;;
25302433
esac
25312434
done
25322435
else
2533
- $as_echo "$as_me: failed program was:" >&5
2436
+ echo "$as_me: failed program was:" >&5
25342437
sed 's/^/| /' conftest.$ac_ext >&5
25352438
2536
-{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2439
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
25372440
See \`config.log' for more details." >&5
2538
-$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2441
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
25392442
See \`config.log' for more details." >&2;}
25402443
{ (exit 1); exit 1; }; }
25412444
fi
25422445
25432446
rm -f conftest.$ac_cv_objext conftest.$ac_ext
25442447
fi
2545
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2546
-$as_echo "$ac_cv_objext" >&6; }
2448
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2449
+echo "${ECHO_T}$ac_cv_objext" >&6; }
25472450
OBJEXT=$ac_cv_objext
25482451
ac_objext=$OBJEXT
2549
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2550
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2452
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2453
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
25512454
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2552
- $as_echo_n "(cached) " >&6
2455
+ echo $ECHO_N "(cached) $ECHO_C" >&6
25532456
else
25542457
cat >conftest.$ac_ext <<_ACEOF
25552458
/* confdefs.h. */
25562459
_ACEOF
25572460
cat confdefs.h >>conftest.$ac_ext
@@ -2573,47 +2476,42 @@
25732476
if { (ac_try="$ac_compile"
25742477
case "(($ac_try" in
25752478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25762479
*) ac_try_echo=$ac_try;;
25772480
esac
2578
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2579
-$as_echo "$ac_try_echo") >&5
2481
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25802482
(eval "$ac_compile") 2>conftest.er1
25812483
ac_status=$?
25822484
grep -v '^ *+' conftest.er1 >conftest.err
25832485
rm -f conftest.er1
25842486
cat conftest.err >&5
2585
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862488
(exit $ac_status); } && {
25872489
test -z "$ac_c_werror_flag" ||
25882490
test ! -s conftest.err
25892491
} && test -s conftest.$ac_objext; then
25902492
ac_compiler_gnu=yes
25912493
else
2592
- $as_echo "$as_me: failed program was:" >&5
2494
+ echo "$as_me: failed program was:" >&5
25932495
sed 's/^/| /' conftest.$ac_ext >&5
25942496
25952497
ac_compiler_gnu=no
25962498
fi
25972499
25982500
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992501
ac_cv_c_compiler_gnu=$ac_compiler_gnu
26002502
26012503
fi
2602
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2603
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2604
-if test $ac_compiler_gnu = yes; then
2605
- GCC=yes
2606
-else
2607
- GCC=
2608
-fi
2504
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2505
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2506
+GCC=`test $ac_compiler_gnu = yes && echo yes`
26092507
ac_test_CFLAGS=${CFLAGS+set}
26102508
ac_save_CFLAGS=$CFLAGS
2611
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2612
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
2509
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2510
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
26132511
if test "${ac_cv_prog_cc_g+set}" = set; then
2614
- $as_echo_n "(cached) " >&6
2512
+ echo $ECHO_N "(cached) $ECHO_C" >&6
26152513
else
26162514
ac_save_c_werror_flag=$ac_c_werror_flag
26172515
ac_c_werror_flag=yes
26182516
ac_cv_prog_cc_g=no
26192517
CFLAGS="-g"
@@ -2636,25 +2534,24 @@
26362534
if { (ac_try="$ac_compile"
26372535
case "(($ac_try" in
26382536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26392537
*) ac_try_echo=$ac_try;;
26402538
esac
2641
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642
-$as_echo "$ac_try_echo") >&5
2539
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26432540
(eval "$ac_compile") 2>conftest.er1
26442541
ac_status=$?
26452542
grep -v '^ *+' conftest.er1 >conftest.err
26462543
rm -f conftest.er1
26472544
cat conftest.err >&5
2648
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492546
(exit $ac_status); } && {
26502547
test -z "$ac_c_werror_flag" ||
26512548
test ! -s conftest.err
26522549
} && test -s conftest.$ac_objext; then
26532550
ac_cv_prog_cc_g=yes
26542551
else
2655
- $as_echo "$as_me: failed program was:" >&5
2552
+ echo "$as_me: failed program was:" >&5
26562553
sed 's/^/| /' conftest.$ac_ext >&5
26572554
26582555
CFLAGS=""
26592556
cat >conftest.$ac_ext <<_ACEOF
26602557
/* confdefs.h. */
@@ -2675,25 +2572,24 @@
26752572
if { (ac_try="$ac_compile"
26762573
case "(($ac_try" in
26772574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26782575
*) ac_try_echo=$ac_try;;
26792576
esac
2680
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2681
-$as_echo "$ac_try_echo") >&5
2577
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822578
(eval "$ac_compile") 2>conftest.er1
26832579
ac_status=$?
26842580
grep -v '^ *+' conftest.er1 >conftest.err
26852581
rm -f conftest.er1
26862582
cat conftest.err >&5
2687
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882584
(exit $ac_status); } && {
26892585
test -z "$ac_c_werror_flag" ||
26902586
test ! -s conftest.err
26912587
} && test -s conftest.$ac_objext; then
26922588
:
26932589
else
2694
- $as_echo "$as_me: failed program was:" >&5
2590
+ echo "$as_me: failed program was:" >&5
26952591
sed 's/^/| /' conftest.$ac_ext >&5
26962592
26972593
ac_c_werror_flag=$ac_save_c_werror_flag
26982594
CFLAGS="-g"
26992595
cat >conftest.$ac_ext <<_ACEOF
@@ -2715,25 +2611,24 @@
27152611
if { (ac_try="$ac_compile"
27162612
case "(($ac_try" in
27172613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27182614
*) ac_try_echo=$ac_try;;
27192615
esac
2720
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721
-$as_echo "$ac_try_echo") >&5
2616
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27222617
(eval "$ac_compile") 2>conftest.er1
27232618
ac_status=$?
27242619
grep -v '^ *+' conftest.er1 >conftest.err
27252620
rm -f conftest.er1
27262621
cat conftest.err >&5
2727
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282623
(exit $ac_status); } && {
27292624
test -z "$ac_c_werror_flag" ||
27302625
test ! -s conftest.err
27312626
} && test -s conftest.$ac_objext; then
27322627
ac_cv_prog_cc_g=yes
27332628
else
2734
- $as_echo "$as_me: failed program was:" >&5
2629
+ echo "$as_me: failed program was:" >&5
27352630
sed 's/^/| /' conftest.$ac_ext >&5
27362631
27372632
27382633
fi
27392634
@@ -2744,12 +2639,12 @@
27442639
fi
27452640
27462641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27472642
ac_c_werror_flag=$ac_save_c_werror_flag
27482643
fi
2749
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2750
-$as_echo "$ac_cv_prog_cc_g" >&6; }
2644
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2645
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
27512646
if test "$ac_test_CFLAGS" = set; then
27522647
CFLAGS=$ac_save_CFLAGS
27532648
elif test $ac_cv_prog_cc_g = yes; then
27542649
if test "$GCC" = yes; then
27552650
CFLAGS="-g -O2"
@@ -2761,14 +2656,14 @@
27612656
CFLAGS="-O2"
27622657
else
27632658
CFLAGS=
27642659
fi
27652660
fi
2766
-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2767
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2661
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2662
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
27682663
if test "${ac_cv_prog_cc_c89+set}" = set; then
2769
- $as_echo_n "(cached) " >&6
2664
+ echo $ECHO_N "(cached) $ECHO_C" >&6
27702665
else
27712666
ac_cv_prog_cc_c89=no
27722667
ac_save_CC=$CC
27732668
cat >conftest.$ac_ext <<_ACEOF
27742669
/* confdefs.h. */
@@ -2835,25 +2730,24 @@
28352730
if { (ac_try="$ac_compile"
28362731
case "(($ac_try" in
28372732
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28382733
*) ac_try_echo=$ac_try;;
28392734
esac
2840
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841
-$as_echo "$ac_try_echo") >&5
2735
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28422736
(eval "$ac_compile") 2>conftest.er1
28432737
ac_status=$?
28442738
grep -v '^ *+' conftest.er1 >conftest.err
28452739
rm -f conftest.er1
28462740
cat conftest.err >&5
2847
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482742
(exit $ac_status); } && {
28492743
test -z "$ac_c_werror_flag" ||
28502744
test ! -s conftest.err
28512745
} && test -s conftest.$ac_objext; then
28522746
ac_cv_prog_cc_c89=$ac_arg
28532747
else
2854
- $as_echo "$as_me: failed program was:" >&5
2748
+ echo "$as_me: failed program was:" >&5
28552749
sed 's/^/| /' conftest.$ac_ext >&5
28562750
28572751
28582752
fi
28592753
@@ -2865,19 +2759,19 @@
28652759
28662760
fi
28672761
# AC_CACHE_VAL
28682762
case "x$ac_cv_prog_cc_c89" in
28692763
x)
2870
- { $as_echo "$as_me:$LINENO: result: none needed" >&5
2871
-$as_echo "none needed" >&6; } ;;
2764
+ { echo "$as_me:$LINENO: result: none needed" >&5
2765
+echo "${ECHO_T}none needed" >&6; } ;;
28722766
xno)
2873
- { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2874
-$as_echo "unsupported" >&6; } ;;
2767
+ { echo "$as_me:$LINENO: result: unsupported" >&5
2768
+echo "${ECHO_T}unsupported" >&6; } ;;
28752769
*)
28762770
CC="$CC $ac_cv_prog_cc_c89"
2877
- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2878
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2771
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2772
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
28792773
esac
28802774
28812775
28822776
ac_ext=c
28832777
ac_cpp='$CPP $CPPFLAGS'
@@ -2893,14 +2787,14 @@
28932787
_ACEOF
28942788
28952789
esac
28962790
28972791
2898
-{ $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
2899
-$as_echo_n "checking for inflateEnd in -lz... " >&6; }
2792
+{ echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
2793
+echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; }
29002794
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
2901
- $as_echo_n "(cached) " >&6
2795
+ echo $ECHO_N "(cached) $ECHO_C" >&6
29022796
else
29032797
ac_check_lib_save_LIBS=$LIBS
29042798
LIBS="-lz $LIBS"
29052799
cat >conftest.$ac_ext <<_ACEOF
29062800
/* confdefs.h. */
@@ -2928,40 +2822,36 @@
29282822
if { (ac_try="$ac_link"
29292823
case "(($ac_try" in
29302824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29312825
*) ac_try_echo=$ac_try;;
29322826
esac
2933
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2934
-$as_echo "$ac_try_echo") >&5
2827
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352828
(eval "$ac_link") 2>conftest.er1
29362829
ac_status=$?
29372830
grep -v '^ *+' conftest.er1 >conftest.err
29382831
rm -f conftest.er1
29392832
cat conftest.err >&5
2940
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412834
(exit $ac_status); } && {
29422835
test -z "$ac_c_werror_flag" ||
29432836
test ! -s conftest.err
2944
- } && test -s conftest$ac_exeext && {
2945
- test "$cross_compiling" = yes ||
2946
- $as_test_x conftest$ac_exeext
2947
- }; then
2837
+ } && test -s conftest$ac_exeext &&
2838
+ $as_test_x conftest$ac_exeext; then
29482839
ac_cv_lib_z_inflateEnd=yes
29492840
else
2950
- $as_echo "$as_me: failed program was:" >&5
2841
+ echo "$as_me: failed program was:" >&5
29512842
sed 's/^/| /' conftest.$ac_ext >&5
29522843
29532844
ac_cv_lib_z_inflateEnd=no
29542845
fi
29552846
2956
-rm -rf conftest.dSYM
29572847
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29582848
conftest$ac_exeext conftest.$ac_ext
29592849
LIBS=$ac_check_lib_save_LIBS
29602850
fi
2961
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
2962
-$as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
2851
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
2852
+echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; }
29632853
if test $ac_cv_lib_z_inflateEnd = yes; then
29642854
zlib_cv_libz=yes
29652855
else
29662856
zlib_cv_libz=no
29672857
fi
@@ -2969,19 +2859,19 @@
29692859
ac_ext=c
29702860
ac_cpp='$CPP $CPPFLAGS'
29712861
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722862
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29732863
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974
-{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2975
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
2864
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2865
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
29762866
# On Suns, sometimes $CPP names a directory.
29772867
if test -n "$CPP" && test -d "$CPP"; then
29782868
CPP=
29792869
fi
29802870
if test -z "$CPP"; then
29812871
if test "${ac_cv_prog_CPP+set}" = set; then
2982
- $as_echo_n "(cached) " >&6
2872
+ echo $ECHO_N "(cached) $ECHO_C" >&6
29832873
else
29842874
# Double quotes because CPP needs to be expanded
29852875
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
29862876
do
29872877
ac_preproc_ok=false
@@ -3009,25 +2899,24 @@
30092899
if { (ac_try="$ac_cpp conftest.$ac_ext"
30102900
case "(($ac_try" in
30112901
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30122902
*) ac_try_echo=$ac_try;;
30132903
esac
3014
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3015
-$as_echo "$ac_try_echo") >&5
2904
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162905
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30172906
ac_status=$?
30182907
grep -v '^ *+' conftest.er1 >conftest.err
30192908
rm -f conftest.er1
30202909
cat conftest.err >&5
3021
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222911
(exit $ac_status); } >/dev/null && {
30232912
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30242913
test ! -s conftest.err
30252914
}; then
30262915
:
30272916
else
3028
- $as_echo "$as_me: failed program was:" >&5
2917
+ echo "$as_me: failed program was:" >&5
30292918
sed 's/^/| /' conftest.$ac_ext >&5
30302919
30312920
# Broken: fails on valid input.
30322921
continue
30332922
fi
@@ -3047,26 +2936,25 @@
30472936
if { (ac_try="$ac_cpp conftest.$ac_ext"
30482937
case "(($ac_try" in
30492938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30502939
*) ac_try_echo=$ac_try;;
30512940
esac
3052
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3053
-$as_echo "$ac_try_echo") >&5
2941
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30542942
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30552943
ac_status=$?
30562944
grep -v '^ *+' conftest.er1 >conftest.err
30572945
rm -f conftest.er1
30582946
cat conftest.err >&5
3059
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602948
(exit $ac_status); } >/dev/null && {
30612949
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30622950
test ! -s conftest.err
30632951
}; then
30642952
# Broken: success on invalid input.
30652953
continue
30662954
else
3067
- $as_echo "$as_me: failed program was:" >&5
2955
+ echo "$as_me: failed program was:" >&5
30682956
sed 's/^/| /' conftest.$ac_ext >&5
30692957
30702958
# Passes both tests.
30712959
ac_preproc_ok=:
30722960
break
@@ -3087,12 +2975,12 @@
30872975
fi
30882976
CPP=$ac_cv_prog_CPP
30892977
else
30902978
ac_cv_prog_CPP=$CPP
30912979
fi
3092
-{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3093
-$as_echo "$CPP" >&6; }
2980
+{ echo "$as_me:$LINENO: result: $CPP" >&5
2981
+echo "${ECHO_T}$CPP" >&6; }
30942982
ac_preproc_ok=false
30952983
for ac_c_preproc_warn_flag in '' yes
30962984
do
30972985
# Use a header file that comes with gcc, so configuring glibc
30982986
# with a fresh cross-compiler works.
@@ -3116,25 +3004,24 @@
31163004
if { (ac_try="$ac_cpp conftest.$ac_ext"
31173005
case "(($ac_try" in
31183006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31193007
*) ac_try_echo=$ac_try;;
31203008
esac
3121
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3122
-$as_echo "$ac_try_echo") >&5
3009
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31233010
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31243011
ac_status=$?
31253012
grep -v '^ *+' conftest.er1 >conftest.err
31263013
rm -f conftest.er1
31273014
cat conftest.err >&5
3128
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293016
(exit $ac_status); } >/dev/null && {
31303017
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31313018
test ! -s conftest.err
31323019
}; then
31333020
:
31343021
else
3135
- $as_echo "$as_me: failed program was:" >&5
3022
+ echo "$as_me: failed program was:" >&5
31363023
sed 's/^/| /' conftest.$ac_ext >&5
31373024
31383025
# Broken: fails on valid input.
31393026
continue
31403027
fi
@@ -3154,26 +3041,25 @@
31543041
if { (ac_try="$ac_cpp conftest.$ac_ext"
31553042
case "(($ac_try" in
31563043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31573044
*) ac_try_echo=$ac_try;;
31583045
esac
3159
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160
-$as_echo "$ac_try_echo") >&5
3046
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613047
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31623048
ac_status=$?
31633049
grep -v '^ *+' conftest.er1 >conftest.err
31643050
rm -f conftest.er1
31653051
cat conftest.err >&5
3166
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673053
(exit $ac_status); } >/dev/null && {
31683054
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31693055
test ! -s conftest.err
31703056
}; then
31713057
# Broken: success on invalid input.
31723058
continue
31733059
else
3174
- $as_echo "$as_me: failed program was:" >&5
3060
+ echo "$as_me: failed program was:" >&5
31753061
sed 's/^/| /' conftest.$ac_ext >&5
31763062
31773063
# Passes both tests.
31783064
ac_preproc_ok=:
31793065
break
@@ -3185,13 +3071,13 @@
31853071
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
31863072
rm -f conftest.err conftest.$ac_ext
31873073
if $ac_preproc_ok; then
31883074
:
31893075
else
3190
- { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3076
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
31913077
See \`config.log' for more details." >&5
3192
-$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3078
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
31933079
See \`config.log' for more details." >&2;}
31943080
{ (exit 1); exit 1; }; }
31953081
fi
31963082
31973083
ac_ext=c
@@ -3199,41 +3085,46 @@
31993085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
32023088
32033089
3204
-{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3205
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3090
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3091
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3092
+if test "${ac_cv_path_GREP+set}" = set; then
3093
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3094
+else
3095
+ # Extract the first word of "grep ggrep" to use in msg output
3096
+if test -z "$GREP"; then
3097
+set dummy grep ggrep; ac_prog_name=$2
32063098
if test "${ac_cv_path_GREP+set}" = set; then
3207
- $as_echo_n "(cached) " >&6
3099
+ echo $ECHO_N "(cached) $ECHO_C" >&6
32083100
else
3209
- if test -z "$GREP"; then
32103101
ac_path_GREP_found=false
3211
- # Loop through the user's path and test for each of PROGNAME-LIST
3212
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102
+# Loop through the user's path and test for each of PROGNAME-LIST
3103
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32133104
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
32143105
do
32153106
IFS=$as_save_IFS
32163107
test -z "$as_dir" && as_dir=.
32173108
for ac_prog in grep ggrep; do
3218
- for ac_exec_ext in '' $ac_executable_extensions; do
3219
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3220
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3221
-# Check for GNU ac_path_GREP and select it if it is found.
3109
+ for ac_exec_ext in '' $ac_executable_extensions; do
3110
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3111
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3112
+ # Check for GNU ac_path_GREP and select it if it is found.
32223113
# Check for GNU $ac_path_GREP
32233114
case `"$ac_path_GREP" --version 2>&1` in
32243115
*GNU*)
32253116
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
32263117
*)
32273118
ac_count=0
3228
- $as_echo_n 0123456789 >"conftest.in"
3119
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
32293120
while :
32303121
do
32313122
cat "conftest.in" "conftest.in" >"conftest.tmp"
32323123
mv "conftest.tmp" "conftest.in"
32333124
cp "conftest.in" "conftest.nl"
3234
- $as_echo 'GREP' >> "conftest.nl"
3125
+ echo 'GREP' >> "conftest.nl"
32353126
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
32363127
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
32373128
ac_count=`expr $ac_count + 1`
32383129
if test $ac_count -gt ${ac_path_GREP_max-0}; then
32393130
# Best one so far, save it but keep looking for a better one
@@ -3244,64 +3135,78 @@
32443135
test $ac_count -gt 10 && break
32453136
done
32463137
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
32473138
esac
32483139
3249
- $ac_path_GREP_found && break 3
3250
- done
3140
+
3141
+ $ac_path_GREP_found && break 3
32513142
done
3143
+done
3144
+
32523145
done
32533146
IFS=$as_save_IFS
3254
- if test -z "$ac_cv_path_GREP"; then
3255
- { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3256
-$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3147
+
3148
+
3149
+fi
3150
+
3151
+GREP="$ac_cv_path_GREP"
3152
+if test -z "$GREP"; then
3153
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3154
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
32573155
{ (exit 1); exit 1; }; }
3258
- fi
3156
+fi
3157
+
32593158
else
32603159
ac_cv_path_GREP=$GREP
32613160
fi
3161
+
32623162
32633163
fi
3264
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3265
-$as_echo "$ac_cv_path_GREP" >&6; }
3164
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3165
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
32663166
GREP="$ac_cv_path_GREP"
32673167
32683168
3269
-{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3270
-$as_echo_n "checking for egrep... " >&6; }
3169
+{ echo "$as_me:$LINENO: checking for egrep" >&5
3170
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
32713171
if test "${ac_cv_path_EGREP+set}" = set; then
3272
- $as_echo_n "(cached) " >&6
3172
+ echo $ECHO_N "(cached) $ECHO_C" >&6
32733173
else
32743174
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
32753175
then ac_cv_path_EGREP="$GREP -E"
32763176
else
3277
- if test -z "$EGREP"; then
3177
+ # Extract the first word of "egrep" to use in msg output
3178
+if test -z "$EGREP"; then
3179
+set dummy egrep; ac_prog_name=$2
3180
+if test "${ac_cv_path_EGREP+set}" = set; then
3181
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3182
+else
32783183
ac_path_EGREP_found=false
3279
- # Loop through the user's path and test for each of PROGNAME-LIST
3280
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184
+# Loop through the user's path and test for each of PROGNAME-LIST
3185
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32813186
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
32823187
do
32833188
IFS=$as_save_IFS
32843189
test -z "$as_dir" && as_dir=.
32853190
for ac_prog in egrep; do
3286
- for ac_exec_ext in '' $ac_executable_extensions; do
3287
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3288
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3289
-# Check for GNU ac_path_EGREP and select it if it is found.
3191
+ for ac_exec_ext in '' $ac_executable_extensions; do
3192
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3193
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3194
+ # Check for GNU ac_path_EGREP and select it if it is found.
32903195
# Check for GNU $ac_path_EGREP
32913196
case `"$ac_path_EGREP" --version 2>&1` in
32923197
*GNU*)
32933198
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
32943199
*)
32953200
ac_count=0
3296
- $as_echo_n 0123456789 >"conftest.in"
3201
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
32973202
while :
32983203
do
32993204
cat "conftest.in" "conftest.in" >"conftest.tmp"
33003205
mv "conftest.tmp" "conftest.in"
33013206
cp "conftest.in" "conftest.nl"
3302
- $as_echo 'EGREP' >> "conftest.nl"
3207
+ echo 'EGREP' >> "conftest.nl"
33033208
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
33043209
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
33053210
ac_count=`expr $ac_count + 1`
33063211
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
33073212
# Best one so far, save it but keep looking for a better one
@@ -3312,35 +3217,44 @@
33123217
test $ac_count -gt 10 && break
33133218
done
33143219
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
33153220
esac
33163221
3317
- $ac_path_EGREP_found && break 3
3318
- done
3222
+
3223
+ $ac_path_EGREP_found && break 3
33193224
done
3225
+done
3226
+
33203227
done
33213228
IFS=$as_save_IFS
3322
- if test -z "$ac_cv_path_EGREP"; then
3323
- { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3324
-$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3229
+
3230
+
3231
+fi
3232
+
3233
+EGREP="$ac_cv_path_EGREP"
3234
+if test -z "$EGREP"; then
3235
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3236
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
33253237
{ (exit 1); exit 1; }; }
3326
- fi
3238
+fi
3239
+
33273240
else
33283241
ac_cv_path_EGREP=$EGREP
33293242
fi
3243
+
33303244
33313245
fi
33323246
fi
3333
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3334
-$as_echo "$ac_cv_path_EGREP" >&6; }
3247
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3248
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
33353249
EGREP="$ac_cv_path_EGREP"
33363250
33373251
3338
-{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3339
-$as_echo_n "checking for ANSI C header files... " >&6; }
3252
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3253
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
33403254
if test "${ac_cv_header_stdc+set}" = set; then
3341
- $as_echo_n "(cached) " >&6
3255
+ echo $ECHO_N "(cached) $ECHO_C" >&6
33423256
else
33433257
cat >conftest.$ac_ext <<_ACEOF
33443258
/* confdefs.h. */
33453259
_ACEOF
33463260
cat confdefs.h >>conftest.$ac_ext
@@ -3363,25 +3277,24 @@
33633277
if { (ac_try="$ac_compile"
33643278
case "(($ac_try" in
33653279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33663280
*) ac_try_echo=$ac_try;;
33673281
esac
3368
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3369
-$as_echo "$ac_try_echo") >&5
3282
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703283
(eval "$ac_compile") 2>conftest.er1
33713284
ac_status=$?
33723285
grep -v '^ *+' conftest.er1 >conftest.err
33733286
rm -f conftest.er1
33743287
cat conftest.err >&5
3375
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763289
(exit $ac_status); } && {
33773290
test -z "$ac_c_werror_flag" ||
33783291
test ! -s conftest.err
33793292
} && test -s conftest.$ac_objext; then
33803293
ac_cv_header_stdc=yes
33813294
else
3382
- $as_echo "$as_me: failed program was:" >&5
3295
+ echo "$as_me: failed program was:" >&5
33833296
sed 's/^/| /' conftest.$ac_ext >&5
33843297
33853298
ac_cv_header_stdc=no
33863299
fi
33873300
@@ -3402,11 +3315,11 @@
34023315
$EGREP "memchr" >/dev/null 2>&1; then
34033316
:
34043317
else
34053318
ac_cv_header_stdc=no
34063319
fi
3407
-rm -f conftest*
3320
+rm -f -r conftest*
34083321
34093322
fi
34103323
34113324
if test $ac_cv_header_stdc = yes; then
34123325
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
@@ -3423,11 +3336,11 @@
34233336
$EGREP "free" >/dev/null 2>&1; then
34243337
:
34253338
else
34263339
ac_cv_header_stdc=no
34273340
fi
3428
-rm -f conftest*
3341
+rm -f -r conftest*
34293342
34303343
fi
34313344
34323345
if test $ac_cv_header_stdc = yes; then
34333346
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
@@ -3469,44 +3382,41 @@
34693382
if { (ac_try="$ac_link"
34703383
case "(($ac_try" in
34713384
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34723385
*) ac_try_echo=$ac_try;;
34733386
esac
3474
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3475
-$as_echo "$ac_try_echo") >&5
3387
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763388
(eval "$ac_link") 2>&5
34773389
ac_status=$?
3478
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793391
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34803392
{ (case "(($ac_try" in
34813393
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34823394
*) ac_try_echo=$ac_try;;
34833395
esac
3484
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3485
-$as_echo "$ac_try_echo") >&5
3396
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863397
(eval "$ac_try") 2>&5
34873398
ac_status=$?
3488
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893400
(exit $ac_status); }; }; then
34903401
:
34913402
else
3492
- $as_echo "$as_me: program exited with status $ac_status" >&5
3493
-$as_echo "$as_me: failed program was:" >&5
3403
+ echo "$as_me: program exited with status $ac_status" >&5
3404
+echo "$as_me: failed program was:" >&5
34943405
sed 's/^/| /' conftest.$ac_ext >&5
34953406
34963407
( exit $ac_status )
34973408
ac_cv_header_stdc=no
34983409
fi
3499
-rm -rf conftest.dSYM
35003410
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35013411
fi
35023412
35033413
35043414
fi
35053415
fi
3506
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3507
-$as_echo "$ac_cv_header_stdc" >&6; }
3416
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3417
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
35083418
if test $ac_cv_header_stdc = yes; then
35093419
35103420
cat >>confdefs.h <<\_ACEOF
35113421
#define STDC_HEADERS 1
35123422
_ACEOF
@@ -3524,15 +3434,15 @@
35243434
35253435
35263436
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
35273437
inttypes.h stdint.h unistd.h
35283438
do
3529
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3530
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3531
-$as_echo_n "checking for $ac_header... " >&6; }
3439
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3440
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3441
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35323442
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3533
- $as_echo_n "(cached) " >&6
3443
+ echo $ECHO_N "(cached) $ECHO_C" >&6
35343444
else
35353445
cat >conftest.$ac_ext <<_ACEOF
35363446
/* confdefs.h. */
35373447
_ACEOF
35383448
cat confdefs.h >>conftest.$ac_ext
@@ -3546,59 +3456,56 @@
35463456
if { (ac_try="$ac_compile"
35473457
case "(($ac_try" in
35483458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35493459
*) ac_try_echo=$ac_try;;
35503460
esac
3551
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3552
-$as_echo "$ac_try_echo") >&5
3461
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533462
(eval "$ac_compile") 2>conftest.er1
35543463
ac_status=$?
35553464
grep -v '^ *+' conftest.er1 >conftest.err
35563465
rm -f conftest.er1
35573466
cat conftest.err >&5
3558
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593468
(exit $ac_status); } && {
35603469
test -z "$ac_c_werror_flag" ||
35613470
test ! -s conftest.err
35623471
} && test -s conftest.$ac_objext; then
35633472
eval "$as_ac_Header=yes"
35643473
else
3565
- $as_echo "$as_me: failed program was:" >&5
3474
+ echo "$as_me: failed program was:" >&5
35663475
sed 's/^/| /' conftest.$ac_ext >&5
35673476
35683477
eval "$as_ac_Header=no"
35693478
fi
35703479
35713480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723481
fi
3573
-ac_res=`eval 'as_val=${'$as_ac_Header'}
3574
- $as_echo "$as_val"'`
3575
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3576
-$as_echo "$ac_res" >&6; }
3577
-if test `eval 'as_val=${'$as_ac_Header'}
3578
- $as_echo "$as_val"'` = yes; then
3579
- cat >>confdefs.h <<_ACEOF
3580
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3581
-_ACEOF
3582
-
3583
-fi
3584
-
3585
-done
3586
-
3587
-
3588
-if test "${ac_cv_header_zlib_h+set}" = set; then
3589
- { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
3590
-$as_echo_n "checking for zlib.h... " >&6; }
3591
-if test "${ac_cv_header_zlib_h+set}" = set; then
3592
- $as_echo_n "(cached) " >&6
3593
-fi
3594
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3595
-$as_echo "$ac_cv_header_zlib_h" >&6; }
3482
+ac_res=`eval echo '${'$as_ac_Header'}'`
3483
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
3484
+echo "${ECHO_T}$ac_res" >&6; }
3485
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
3486
+ cat >>confdefs.h <<_ACEOF
3487
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3488
+_ACEOF
3489
+
3490
+fi
3491
+
3492
+done
3493
+
3494
+
3495
+if test "${ac_cv_header_zlib_h+set}" = set; then
3496
+ { echo "$as_me:$LINENO: checking for zlib.h" >&5
3497
+echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3498
+if test "${ac_cv_header_zlib_h+set}" = set; then
3499
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3500
+fi
3501
+{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3502
+echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
35963503
else
35973504
# Is the header compilable?
3598
-{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
3599
-$as_echo_n "checking zlib.h usability... " >&6; }
3505
+{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
3506
+echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
36003507
cat >conftest.$ac_ext <<_ACEOF
36013508
/* confdefs.h. */
36023509
_ACEOF
36033510
cat confdefs.h >>conftest.$ac_ext
36043511
cat >>conftest.$ac_ext <<_ACEOF
@@ -3610,37 +3517,36 @@
36103517
if { (ac_try="$ac_compile"
36113518
case "(($ac_try" in
36123519
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36133520
*) ac_try_echo=$ac_try;;
36143521
esac
3615
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616
-$as_echo "$ac_try_echo") >&5
3522
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173523
(eval "$ac_compile") 2>conftest.er1
36183524
ac_status=$?
36193525
grep -v '^ *+' conftest.er1 >conftest.err
36203526
rm -f conftest.er1
36213527
cat conftest.err >&5
3622
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233529
(exit $ac_status); } && {
36243530
test -z "$ac_c_werror_flag" ||
36253531
test ! -s conftest.err
36263532
} && test -s conftest.$ac_objext; then
36273533
ac_header_compiler=yes
36283534
else
3629
- $as_echo "$as_me: failed program was:" >&5
3535
+ echo "$as_me: failed program was:" >&5
36303536
sed 's/^/| /' conftest.$ac_ext >&5
36313537
36323538
ac_header_compiler=no
36333539
fi
36343540
36353541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636
-{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3637
-$as_echo "$ac_header_compiler" >&6; }
3542
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3543
+echo "${ECHO_T}$ac_header_compiler" >&6; }
36383544
36393545
# Is the header present?
3640
-{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
3641
-$as_echo_n "checking zlib.h presence... " >&6; }
3546
+{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
3547
+echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
36423548
cat >conftest.$ac_ext <<_ACEOF
36433549
/* confdefs.h. */
36443550
_ACEOF
36453551
cat confdefs.h >>conftest.$ac_ext
36463552
cat >>conftest.$ac_ext <<_ACEOF
@@ -3650,73 +3556,72 @@
36503556
if { (ac_try="$ac_cpp conftest.$ac_ext"
36513557
case "(($ac_try" in
36523558
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36533559
*) ac_try_echo=$ac_try;;
36543560
esac
3655
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656
-$as_echo "$ac_try_echo") >&5
3561
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36573562
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36583563
ac_status=$?
36593564
grep -v '^ *+' conftest.er1 >conftest.err
36603565
rm -f conftest.er1
36613566
cat conftest.err >&5
3662
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633568
(exit $ac_status); } >/dev/null && {
36643569
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36653570
test ! -s conftest.err
36663571
}; then
36673572
ac_header_preproc=yes
36683573
else
3669
- $as_echo "$as_me: failed program was:" >&5
3574
+ echo "$as_me: failed program was:" >&5
36703575
sed 's/^/| /' conftest.$ac_ext >&5
36713576
36723577
ac_header_preproc=no
36733578
fi
36743579
36753580
rm -f conftest.err conftest.$ac_ext
3676
-{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3677
-$as_echo "$ac_header_preproc" >&6; }
3581
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3582
+echo "${ECHO_T}$ac_header_preproc" >&6; }
36783583
36793584
# So? What about this header?
36803585
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36813586
yes:no: )
3682
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3683
-$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3684
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3685
-$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3587
+ { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3588
+echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3589
+ { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3590
+echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
36863591
ac_header_preproc=yes
36873592
;;
36883593
no:yes:* )
3689
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3690
-$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3691
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3692
-$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3693
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3694
-$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3695
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3696
-$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3697
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3698
-$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3699
- { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3700
-$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3594
+ { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3595
+echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3596
+ { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3597
+echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3598
+ { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3599
+echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3600
+ { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3601
+echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3602
+ { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3603
+echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3604
+ { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3605
+echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
37013606
( cat <<\_ASBOX
37023607
## ------------------------------- ##
37033608
## Report this to [email protected] ##
37043609
## ------------------------------- ##
37053610
_ASBOX
37063611
) | sed "s/^/$as_me: WARNING: /" >&2
37073612
;;
37083613
esac
3709
-{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
3710
-$as_echo_n "checking for zlib.h... " >&6; }
3614
+{ echo "$as_me:$LINENO: checking for zlib.h" >&5
3615
+echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
37113616
if test "${ac_cv_header_zlib_h+set}" = set; then
3712
- $as_echo_n "(cached) " >&6
3617
+ echo $ECHO_N "(cached) $ECHO_C" >&6
37133618
else
37143619
ac_cv_header_zlib_h=$ac_header_preproc
37153620
fi
3716
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3717
-$as_echo "$ac_cv_header_zlib_h" >&6; }
3621
+{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3622
+echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
37183623
37193624
fi
37203625
if test $ac_cv_header_zlib_h = yes; then
37213626
zlib_cv_zlib_h=yes
37223627
else
@@ -3724,12 +3629,12 @@
37243629
fi
37253630
37263631
37273632
37283633
if test "$zlib_cv_libz" != yes || test "$zlib_cv_zlib_h" != yes; then
3729
- { { $as_echo "$as_me:$LINENO: error: zlib not found" >&5
3730
-$as_echo "$as_me: error: zlib not found" >&2;}
3634
+ { { echo "$as_me:$LINENO: error: zlib not found" >&5
3635
+echo "$as_me: error: zlib not found" >&2;}
37313636
{ (exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS); exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS; }; }
37323637
fi
37333638
LIBS="$LIBS -lz"
37343639
37353640
enable_openssl=check
@@ -3747,12 +3652,12 @@
37473652
# Check whether --with-openssl was given.
37483653
if test "${with_openssl+set}" = set; then
37493654
withval=$with_openssl;
37503655
case "$withval" in
37513656
"" | y | ye | yes | n | no)
3752
- { { $as_echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
3753
-$as_echo "$as_me: error: Invalid --with-openssl value" >&2;}
3657
+ { { echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
3658
+echo "$as_me: error: Invalid --with-openssl value" >&2;}
37543659
{ (exit 1); exit 1; }; }
37553660
;;
37563661
*) ssldirs="$withval"
37573662
;;
37583663
esac
@@ -3761,14 +3666,14 @@
37613666
37623667
# if pkg-config is installed and openssl has installed a .pc file,
37633668
# then use that information and don't search ssldirs
37643669
# Extract the first word of "pkg-config", so it can be a program name with args.
37653670
set dummy pkg-config; ac_word=$2
3766
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3767
-$as_echo_n "checking for $ac_word... " >&6; }
3671
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3672
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37683673
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3769
- $as_echo_n "(cached) " >&6
3674
+ echo $ECHO_N "(cached) $ECHO_C" >&6
37703675
else
37713676
case $PKG_CONFIG in
37723677
[\\/]* | ?:[\\/]*)
37733678
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37743679
;;
@@ -3779,11 +3684,11 @@
37793684
IFS=$as_save_IFS
37803685
test -z "$as_dir" && as_dir=.
37813686
for ac_exec_ext in '' $ac_executable_extensions; do
37823687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37833688
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3784
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3689
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37853690
break 2
37863691
fi
37873692
done
37883693
done
37893694
IFS=$as_save_IFS
@@ -3791,15 +3696,15 @@
37913696
;;
37923697
esac
37933698
fi
37943699
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37953700
if test -n "$PKG_CONFIG"; then
3796
- { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3797
-$as_echo "$PKG_CONFIG" >&6; }
3701
+ { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3702
+echo "${ECHO_T}$PKG_CONFIG" >&6; }
37983703
else
3799
- { $as_echo "$as_me:$LINENO: result: no" >&5
3800
-$as_echo "no" >&6; }
3704
+ { echo "$as_me:$LINENO: result: no" >&5
3705
+echo "${ECHO_T}no" >&6; }
38013706
fi
38023707
38033708
38043709
if test x"$PKG_CONFIG" != x""; then
38053710
OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
@@ -3809,12 +3714,13 @@
38093714
found=true
38103715
fi
38113716
fi
38123717
38133718
# no such luck; use some default ssldirs
3719
+ # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
38143720
if ! $found; then
3815
- ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
3721
+ ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
38163722
fi
38173723
38183724
38193725
fi
38203726
@@ -3824,23 +3730,23 @@
38243730
# an 'openssl' subdirectory
38253731
38263732
if ! $found; then
38273733
OPENSSL_INCLUDES=
38283734
for ssldir in $ssldirs; do
3829
- { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
3830
-$as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
3735
+ { echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
3736
+echo $ECHO_N "checking for openssl/ssl.h in $ssldir... $ECHO_C" >&6; }
38313737
if test -f "$ssldir/include/openssl/ssl.h"; then
38323738
OPENSSL_INCLUDES="-I$ssldir/include"
38333739
OPENSSL_LDFLAGS="-L$ssldir/lib"
38343740
OPENSSL_LIBS="-lssl -lcrypto"
38353741
found=true
3836
- { $as_echo "$as_me:$LINENO: result: yes" >&5
3837
-$as_echo "yes" >&6; }
3742
+ { echo "$as_me:$LINENO: result: yes" >&5
3743
+echo "${ECHO_T}yes" >&6; }
38383744
break
38393745
else
3840
- { $as_echo "$as_me:$LINENO: result: no" >&5
3841
-$as_echo "no" >&6; }
3746
+ { echo "$as_me:$LINENO: result: no" >&5
3747
+echo "${ECHO_T}no" >&6; }
38423748
fi
38433749
done
38443750
38453751
# if the file wasn't found, well, go ahead and try the link anyway -- maybe
38463752
# it will just work!
@@ -3847,12 +3753,12 @@
38473753
fi
38483754
38493755
# try the preprocessor and linker with our new flags,
38503756
# being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
38513757
3852
- { $as_echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
3853
-$as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
3758
+ { echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
3759
+echo $ECHO_N "checking whether compiling and linking against OpenSSL works... $ECHO_C" >&6; }
38543760
echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
38553761
"OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
38563762
38573763
save_LIBS="$LIBS"
38583764
save_LDFLAGS="$LDFLAGS"
@@ -3879,54 +3785,50 @@
38793785
if { (ac_try="$ac_link"
38803786
case "(($ac_try" in
38813787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38823788
*) ac_try_echo=$ac_try;;
38833789
esac
3884
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3885
-$as_echo "$ac_try_echo") >&5
3790
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38863791
(eval "$ac_link") 2>conftest.er1
38873792
ac_status=$?
38883793
grep -v '^ *+' conftest.er1 >conftest.err
38893794
rm -f conftest.er1
38903795
cat conftest.err >&5
3891
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923797
(exit $ac_status); } && {
38933798
test -z "$ac_c_werror_flag" ||
38943799
test ! -s conftest.err
3895
- } && test -s conftest$ac_exeext && {
3896
- test "$cross_compiling" = yes ||
3897
- $as_test_x conftest$ac_exeext
3898
- }; then
3800
+ } && test -s conftest$ac_exeext &&
3801
+ $as_test_x conftest$ac_exeext; then
38993802
3900
- { $as_echo "$as_me:$LINENO: result: yes" >&5
3901
-$as_echo "yes" >&6; }
3803
+ { echo "$as_me:$LINENO: result: yes" >&5
3804
+echo "${ECHO_T}yes" >&6; }
39023805
39033806
cat >>confdefs.h <<\_ACEOF
39043807
#define FOSSIL_ENABLE_SSL 1
39053808
_ACEOF
39063809
39073810
39083811
else
3909
- $as_echo "$as_me: failed program was:" >&5
3812
+ echo "$as_me: failed program was:" >&5
39103813
sed 's/^/| /' conftest.$ac_ext >&5
39113814
39123815
3913
- { $as_echo "$as_me:$LINENO: result: no" >&5
3914
-$as_echo "no" >&6; }
3816
+ { echo "$as_me:$LINENO: result: no" >&5
3817
+echo "${ECHO_T}no" >&6; }
39153818
if test "$enable_openssl" = yes; then
3916
- { $as_echo "$as_me:$LINENO: result: failed" >&5
3917
-$as_echo "failed" >&6; }
3918
- { { $as_echo "$as_me:$LINENO: error: HTTPS support requested" >&5
3919
-$as_echo "$as_me: error: HTTPS support requested" >&2;}
3819
+ { echo "$as_me:$LINENO: result: failed" >&5
3820
+echo "${ECHO_T}failed" >&6; }
3821
+ { { echo "$as_me:$LINENO: error: HTTPS support requested" >&5
3822
+echo "$as_me: error: HTTPS support requested" >&2;}
39203823
{ (exit but OpenSSL not found); exit but OpenSSL not found; }; }
39213824
fi
39223825
39233826
39243827
39253828
fi
39263829
3927
-rm -rf conftest.dSYM
39283830
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39293831
conftest$ac_exeext conftest.$ac_ext
39303832
CPPFLAGS="$save_CPPFLAGS"
39313833
LDFLAGS="$save_LDFLAGS"
39323834
LIBS="$save_LIBS"
@@ -3936,14 +3838,14 @@
39363838
39373839
39383840
fi
39393841
39403842
# Network functions on Solaris
3941
-{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3942
-$as_echo_n "checking for library containing gethostbyname... " >&6; }
3843
+{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3844
+echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
39433845
if test "${ac_cv_search_gethostbyname+set}" = set; then
3944
- $as_echo_n "(cached) " >&6
3846
+ echo $ECHO_N "(cached) $ECHO_C" >&6
39453847
else
39463848
ac_func_search_save_LIBS=$LIBS
39473849
cat >conftest.$ac_ext <<_ACEOF
39483850
/* confdefs.h. */
39493851
_ACEOF
@@ -3977,34 +3879,30 @@
39773879
if { (ac_try="$ac_link"
39783880
case "(($ac_try" in
39793881
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39803882
*) ac_try_echo=$ac_try;;
39813883
esac
3982
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3983
-$as_echo "$ac_try_echo") >&5
3884
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843885
(eval "$ac_link") 2>conftest.er1
39853886
ac_status=$?
39863887
grep -v '^ *+' conftest.er1 >conftest.err
39873888
rm -f conftest.er1
39883889
cat conftest.err >&5
3989
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903891
(exit $ac_status); } && {
39913892
test -z "$ac_c_werror_flag" ||
39923893
test ! -s conftest.err
3993
- } && test -s conftest$ac_exeext && {
3994
- test "$cross_compiling" = yes ||
3995
- $as_test_x conftest$ac_exeext
3996
- }; then
3894
+ } && test -s conftest$ac_exeext &&
3895
+ $as_test_x conftest$ac_exeext; then
39973896
ac_cv_search_gethostbyname=$ac_res
39983897
else
3999
- $as_echo "$as_me: failed program was:" >&5
3898
+ echo "$as_me: failed program was:" >&5
40003899
sed 's/^/| /' conftest.$ac_ext >&5
40013900
40023901
40033902
fi
40043903
4005
-rm -rf conftest.dSYM
40063904
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40073905
conftest$ac_exeext
40083906
if test "${ac_cv_search_gethostbyname+set}" = set; then
40093907
break
40103908
fi
@@ -4015,22 +3913,22 @@
40153913
ac_cv_search_gethostbyname=no
40163914
fi
40173915
rm conftest.$ac_ext
40183916
LIBS=$ac_func_search_save_LIBS
40193917
fi
4020
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4021
-$as_echo "$ac_cv_search_gethostbyname" >&6; }
3918
+{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3919
+echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
40223920
ac_res=$ac_cv_search_gethostbyname
40233921
if test "$ac_res" != no; then
40243922
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
40253923
40263924
fi
40273925
4028
-{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
4029
-$as_echo_n "checking for library containing socket... " >&6; }
3926
+{ echo "$as_me:$LINENO: checking for library containing socket" >&5
3927
+echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
40303928
if test "${ac_cv_search_socket+set}" = set; then
4031
- $as_echo_n "(cached) " >&6
3929
+ echo $ECHO_N "(cached) $ECHO_C" >&6
40323930
else
40333931
ac_func_search_save_LIBS=$LIBS
40343932
cat >conftest.$ac_ext <<_ACEOF
40353933
/* confdefs.h. */
40363934
_ACEOF
@@ -4064,34 +3962,30 @@
40643962
if { (ac_try="$ac_link"
40653963
case "(($ac_try" in
40663964
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40673965
*) ac_try_echo=$ac_try;;
40683966
esac
4069
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4070
-$as_echo "$ac_try_echo") >&5
3967
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40713968
(eval "$ac_link") 2>conftest.er1
40723969
ac_status=$?
40733970
grep -v '^ *+' conftest.er1 >conftest.err
40743971
rm -f conftest.er1
40753972
cat conftest.err >&5
4076
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773974
(exit $ac_status); } && {
40783975
test -z "$ac_c_werror_flag" ||
40793976
test ! -s conftest.err
4080
- } && test -s conftest$ac_exeext && {
4081
- test "$cross_compiling" = yes ||
4082
- $as_test_x conftest$ac_exeext
4083
- }; then
3977
+ } && test -s conftest$ac_exeext &&
3978
+ $as_test_x conftest$ac_exeext; then
40843979
ac_cv_search_socket=$ac_res
40853980
else
4086
- $as_echo "$as_me: failed program was:" >&5
3981
+ echo "$as_me: failed program was:" >&5
40873982
sed 's/^/| /' conftest.$ac_ext >&5
40883983
40893984
40903985
fi
40913986
4092
-rm -rf conftest.dSYM
40933987
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40943988
conftest$ac_exeext
40953989
if test "${ac_cv_search_socket+set}" = set; then
40963990
break
40973991
fi
@@ -4102,21 +3996,21 @@
41023996
ac_cv_search_socket=no
41033997
fi
41043998
rm conftest.$ac_ext
41053999
LIBS=$ac_func_search_save_LIBS
41064000
fi
4107
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4108
-$as_echo "$ac_cv_search_socket" >&6; }
4001
+{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4002
+echo "${ECHO_T}$ac_cv_search_socket" >&6; }
41094003
ac_res=$ac_cv_search_socket
41104004
if test "$ac_res" != no; then
41114005
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
41124006
41134007
else
4114
- { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4115
-$as_echo_n "checking for socket in -lsocket... " >&6; }
4008
+ { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4009
+echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
41164010
if test "${ac_cv_lib_socket_socket+set}" = set; then
4117
- $as_echo_n "(cached) " >&6
4011
+ echo $ECHO_N "(cached) $ECHO_C" >&6
41184012
else
41194013
ac_check_lib_save_LIBS=$LIBS
41204014
LIBS="-lsocket -lnsl $LIBS"
41214015
cat >conftest.$ac_ext <<_ACEOF
41224016
/* confdefs.h. */
@@ -4144,47 +4038,139 @@
41444038
if { (ac_try="$ac_link"
41454039
case "(($ac_try" in
41464040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41474041
*) ac_try_echo=$ac_try;;
41484042
esac
4149
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4150
-$as_echo "$ac_try_echo") >&5
4043
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41514044
(eval "$ac_link") 2>conftest.er1
41524045
ac_status=$?
41534046
grep -v '^ *+' conftest.er1 >conftest.err
41544047
rm -f conftest.er1
41554048
cat conftest.err >&5
4156
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574050
(exit $ac_status); } && {
41584051
test -z "$ac_c_werror_flag" ||
41594052
test ! -s conftest.err
4160
- } && test -s conftest$ac_exeext && {
4161
- test "$cross_compiling" = yes ||
4162
- $as_test_x conftest$ac_exeext
4163
- }; then
4053
+ } && test -s conftest$ac_exeext &&
4054
+ $as_test_x conftest$ac_exeext; then
41644055
ac_cv_lib_socket_socket=yes
41654056
else
4166
- $as_echo "$as_me: failed program was:" >&5
4057
+ echo "$as_me: failed program was:" >&5
41674058
sed 's/^/| /' conftest.$ac_ext >&5
41684059
41694060
ac_cv_lib_socket_socket=no
41704061
fi
41714062
4172
-rm -rf conftest.dSYM
41734063
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41744064
conftest$ac_exeext conftest.$ac_ext
41754065
LIBS=$ac_check_lib_save_LIBS
41764066
fi
4177
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4178
-$as_echo "$ac_cv_lib_socket_socket" >&6; }
4067
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4068
+echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
41794069
if test $ac_cv_lib_socket_socket = yes; then
41804070
LIBS="-lsocket -lnsl $LIBS"
41814071
fi
41824072
41834073
fi
41844074
41854075
4076
+
4077
+# Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
4078
+
4079
+for ac_func in getpassphrase
4080
+do
4081
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4082
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4083
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4084
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4085
+ echo $ECHO_N "(cached) $ECHO_C" >&6
4086
+else
4087
+ cat >conftest.$ac_ext <<_ACEOF
4088
+/* confdefs.h. */
4089
+_ACEOF
4090
+cat confdefs.h >>conftest.$ac_ext
4091
+cat >>conftest.$ac_ext <<_ACEOF
4092
+/* end confdefs.h. */
4093
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4094
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
4095
+#define $ac_func innocuous_$ac_func
4096
+
4097
+/* System header to define __stub macros and hopefully few prototypes,
4098
+ which can conflict with char $ac_func (); below.
4099
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4100
+ <limits.h> exists even on freestanding compilers. */
4101
+
4102
+#ifdef __STDC__
4103
+# include <limits.h>
4104
+#else
4105
+# include <assert.h>
4106
+#endif
4107
+
4108
+#undef $ac_func
4109
+
4110
+/* Override any GCC internal prototype to avoid an error.
4111
+ Use char because int might match the return type of a GCC
4112
+ builtin and then its argument prototype would still apply. */
4113
+#ifdef __cplusplus
4114
+extern "C"
4115
+#endif
4116
+char $ac_func ();
4117
+/* The GNU C library defines this for functions which it implements
4118
+ to always fail with ENOSYS. Some functions are actually named
4119
+ something starting with __ and the normal name is an alias. */
4120
+#if defined __stub_$ac_func || defined __stub___$ac_func
4121
+choke me
4122
+#endif
4123
+
4124
+int
4125
+main ()
4126
+{
4127
+return $ac_func ();
4128
+ ;
4129
+ return 0;
4130
+}
4131
+_ACEOF
4132
+rm -f conftest.$ac_objext conftest$ac_exeext
4133
+if { (ac_try="$ac_link"
4134
+case "(($ac_try" in
4135
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136
+ *) ac_try_echo=$ac_try;;
4137
+esac
4138
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4139
+ (eval "$ac_link") 2>conftest.er1
4140
+ ac_status=$?
4141
+ grep -v '^ *+' conftest.er1 >conftest.err
4142
+ rm -f conftest.er1
4143
+ cat conftest.err >&5
4144
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
+ (exit $ac_status); } && {
4146
+ test -z "$ac_c_werror_flag" ||
4147
+ test ! -s conftest.err
4148
+ } && test -s conftest$ac_exeext &&
4149
+ $as_test_x conftest$ac_exeext; then
4150
+ eval "$as_ac_var=yes"
4151
+else
4152
+ echo "$as_me: failed program was:" >&5
4153
+sed 's/^/| /' conftest.$ac_ext >&5
4154
+
4155
+ eval "$as_ac_var=no"
4156
+fi
4157
+
4158
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4159
+ conftest$ac_exeext conftest.$ac_ext
4160
+fi
4161
+ac_res=`eval echo '${'$as_ac_var'}'`
4162
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4163
+echo "${ECHO_T}$ac_res" >&6; }
4164
+if test `eval echo '${'$as_ac_var'}'` = yes; then
4165
+ cat >>confdefs.h <<_ACEOF
4166
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4167
+_ACEOF
4168
+
4169
+fi
4170
+done
4171
+
41864172
41874173
ac_config_files="$ac_config_files Makefile"
41884174
41894175
cat >confcache <<\_ACEOF
41904176
# This file is a shell script that caches the results of configure
@@ -4211,16 +4197,15 @@
42114197
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42124198
eval ac_val=\$$ac_var
42134199
case $ac_val in #(
42144200
*${as_nl}*)
42154201
case $ac_var in #(
4216
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4217
-$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4202
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4203
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42184204
esac
42194205
case $ac_var in #(
42204206
_ | IFS | as_nl) ;; #(
4221
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
42224207
*) $as_unset $ac_var ;;
42234208
esac ;;
42244209
esac
42254210
done
42264211
@@ -4249,16 +4234,16 @@
42494234
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42504235
:end' >>confcache
42514236
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42524237
if test -w "$cache_file"; then
42534238
test "x$cache_file" != "x/dev/null" &&
4254
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4255
-$as_echo "$as_me: updating cache $cache_file" >&6;}
4239
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4240
+echo "$as_me: updating cache $cache_file" >&6;}
42564241
cat confcache >$cache_file
42574242
else
4258
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4259
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4243
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4244
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42604245
fi
42614246
fi
42624247
rm -f confcache
42634248
42644249
test "x$prefix" = xNONE && prefix=$ac_default_prefix
@@ -4270,11 +4255,11 @@
42704255
ac_libobjs=
42714256
ac_ltlibobjs=
42724257
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42734258
# 1. Remove the extension, and $U if already installed.
42744259
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4275
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4260
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
42764261
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
42774262
# will be set to the directory where LIBOBJS objects are built.
42784263
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
42794264
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
42804265
done
@@ -4283,16 +4268,15 @@
42834268
LTLIBOBJS=$ac_ltlibobjs
42844269
42854270
42864271
42874272
: ${CONFIG_STATUS=./config.status}
4288
-ac_write_fail=0
42894273
ac_clean_files_save=$ac_clean_files
42904274
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4291
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4292
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4293
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4275
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4276
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
4277
+cat >$CONFIG_STATUS <<_ACEOF
42944278
#! $SHELL
42954279
# Generated by $as_me.
42964280
# Run this file to recreate the current configuration.
42974281
# Compiler output produced by configure, useful for debugging
42984282
# configure, is in config.log if it exists.
@@ -4301,21 +4285,21 @@
43014285
ac_cs_recheck=false
43024286
ac_cs_silent=false
43034287
SHELL=\${CONFIG_SHELL-$SHELL}
43044288
_ACEOF
43054289
4306
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4290
+cat >>$CONFIG_STATUS <<\_ACEOF
43074291
## --------------------- ##
43084292
## M4sh Initialization. ##
43094293
## --------------------- ##
43104294
43114295
# Be more Bourne compatible
43124296
DUALCASE=1; export DUALCASE # for MKS sh
43134297
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43144298
emulate sh
43154299
NULLCMD=:
4316
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4300
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43174301
# is contrary to our usage. Disable this feature.
43184302
alias -g '${1+"$@"}'='"$@"'
43194303
setopt NO_GLOB_SUBST
43204304
else
43214305
case `(set -o) 2>/dev/null` in
@@ -4333,49 +4317,21 @@
43334317
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43344318
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43354319
as_cr_digits='0123456789'
43364320
as_cr_alnum=$as_cr_Letters$as_cr_digits
43374321
4338
-as_nl='
4339
-'
4340
-export as_nl
4341
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
4342
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4343
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4344
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4345
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4346
- as_echo='printf %s\n'
4347
- as_echo_n='printf %s'
4348
-else
4349
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4350
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4351
- as_echo_n='/usr/ucb/echo -n'
4352
- else
4353
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4354
- as_echo_n_body='eval
4355
- arg=$1;
4356
- case $arg in
4357
- *"$as_nl"*)
4358
- expr "X$arg" : "X\\(.*\\)$as_nl";
4359
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4360
- esac;
4361
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4362
- '
4363
- export as_echo_n_body
4364
- as_echo_n='sh -c $as_echo_n_body as_echo'
4365
- fi
4366
- export as_echo_body
4367
- as_echo='sh -c $as_echo_body as_echo'
4368
-fi
4369
-
43704322
# The user is always right.
43714323
if test "${PATH_SEPARATOR+set}" != set; then
4372
- PATH_SEPARATOR=:
4373
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4374
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4375
- PATH_SEPARATOR=';'
4376
- }
4324
+ echo "#! /bin/sh" >conf$$.sh
4325
+ echo "exit 0" >>conf$$.sh
4326
+ chmod +x conf$$.sh
4327
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4328
+ PATH_SEPARATOR=';'
4329
+ else
4330
+ PATH_SEPARATOR=:
4331
+ fi
4332
+ rm -f conf$$.sh
43774333
fi
43784334
43794335
# Support unset when possible.
43804336
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43814337
as_unset=unset
@@ -4387,10 +4343,12 @@
43874343
# IFS
43884344
# We need space, tab and new line, in precisely that order. Quoting is
43894345
# there to prevent editors from complaining about space-tab.
43904346
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
43914347
# splitting by setting IFS to empty value.)
4348
+as_nl='
4349
+'
43924350
IFS=" "" $as_nl"
43934351
43944352
# Find who we are. Look in the path if we contain no directory separator.
43954353
case $0 in
43964354
*[\\/]* ) as_myself=$0 ;;
@@ -4409,11 +4367,11 @@
44094367
# in which case we are not to be found in the path.
44104368
if test "x$as_myself" = x; then
44114369
as_myself=$0
44124370
fi
44134371
if test ! -f "$as_myself"; then
4414
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4372
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
44154373
{ (exit 1); exit 1; }
44164374
fi
44174375
44184376
# Work around bugs in pre-3.0 UWIN ksh.
44194377
for as_var in ENV MAIL MAILPATH
@@ -4422,14 +4380,21 @@
44224380
PS1='$ '
44234381
PS2='> '
44244382
PS4='+ '
44254383
44264384
# NLS nuisances.
4427
-LC_ALL=C
4428
-export LC_ALL
4429
-LANGUAGE=C
4430
-export LANGUAGE
4385
+for as_var in \
4386
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4387
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4388
+ LC_TELEPHONE LC_TIME
4389
+do
4390
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4391
+ eval $as_var=C; export $as_var
4392
+ else
4393
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4394
+ fi
4395
+done
44314396
44324397
# Required to use basename.
44334398
if expr a : '\(a\)' >/dev/null 2>&1 &&
44344399
test "X`expr 00001 : '.*\(...\)'`" = X001; then
44354400
as_expr=expr
@@ -4447,11 +4412,11 @@
44474412
# Name of the executable.
44484413
as_me=`$as_basename -- "$0" ||
44494414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44504415
X"$0" : 'X\(//\)$' \| \
44514416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4452
-$as_echo X/"$0" |
4417
+echo X/"$0" |
44534418
sed '/^.*\/\([^/][^/]*\)\/*$/{
44544419
s//\1/
44554420
q
44564421
}
44574422
/^X\/\(\/\/\)$/{
@@ -4498,11 +4463,11 @@
44984463
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
44994464
t loop
45004465
s/-\n.*//
45014466
' >$as_me.lineno &&
45024467
chmod +x "$as_me.lineno" ||
4503
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4468
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
45044469
{ (exit 1); exit 1; }; }
45054470
45064471
# Don't try to exec as it changes $[0], causing all sort of problems
45074472
# (the dirname of $[0] is not the place where we might find the
45084473
# original and so on. Autoconf is especially sensitive to this).
@@ -4526,10 +4491,11 @@
45264491
*) ECHO_C='\c';;
45274492
esac;;
45284493
*)
45294494
ECHO_N='-n';;
45304495
esac
4496
+
45314497
if expr a : '\(a\)' >/dev/null 2>&1 &&
45324498
test "X`expr 00001 : '.*\(...\)'`" = X001; then
45334499
as_expr=expr
45344500
else
45354501
as_expr=false
@@ -4538,26 +4504,23 @@
45384504
rm -f conf$$ conf$$.exe conf$$.file
45394505
if test -d conf$$.dir; then
45404506
rm -f conf$$.dir/conf$$.file
45414507
else
45424508
rm -f conf$$.dir
4543
- mkdir conf$$.dir 2>/dev/null
4544
-fi
4545
-if (echo >conf$$.file) 2>/dev/null; then
4546
- if ln -s conf$$.file conf$$ 2>/dev/null; then
4547
- as_ln_s='ln -s'
4548
- # ... but there are two gotchas:
4549
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4550
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4551
- # In both cases, we have to default to `cp -p'.
4552
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4553
- as_ln_s='cp -p'
4554
- elif ln conf$$.file conf$$ 2>/dev/null; then
4555
- as_ln_s=ln
4556
- else
4557
- as_ln_s='cp -p'
4558
- fi
4509
+ mkdir conf$$.dir
4510
+fi
4511
+echo >conf$$.file
4512
+if ln -s conf$$.file conf$$ 2>/dev/null; then
4513
+ as_ln_s='ln -s'
4514
+ # ... but there are two gotchas:
4515
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4516
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4517
+ # In both cases, we have to default to `cp -p'.
4518
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4519
+ as_ln_s='cp -p'
4520
+elif ln conf$$.file conf$$ 2>/dev/null; then
4521
+ as_ln_s=ln
45594522
else
45604523
as_ln_s='cp -p'
45614524
fi
45624525
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
45634526
rmdir conf$$.dir 2>/dev/null
@@ -4578,14 +4541,14 @@
45784541
as_ls_L_option=
45794542
fi
45804543
as_test_x='
45814544
eval sh -c '\''
45824545
if test -d "$1"; then
4583
- test -d "$1/.";
4546
+ test -d "$1/.";
45844547
else
45854548
case $1 in
4586
- -*)set "./$1";;
4549
+ -*)set "./$1";;
45874550
esac;
45884551
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
45894552
???[sx]*):;;*)false;;esac;fi
45904553
'\'' sh
45914554
'
@@ -4604,11 +4567,11 @@
46044567
# Save the log message, to keep $[0] and so on meaningful, and to
46054568
# report actual input values of CONFIG_FILES etc. instead of their
46064569
# values after options handling.
46074570
ac_log="
46084571
This file was extended by fossil $as_me 20110528, which was
4609
-generated by GNU Autoconf 2.62. Invocation command line was
4572
+generated by GNU Autoconf 2.61. Invocation command line was
46104573
46114574
CONFIG_FILES = $CONFIG_FILES
46124575
CONFIG_HEADERS = $CONFIG_HEADERS
46134576
CONFIG_LINKS = $CONFIG_LINKS
46144577
CONFIG_COMMANDS = $CONFIG_COMMANDS
@@ -4617,18 +4580,18 @@
46174580
on `(hostname || uname -n) 2>/dev/null | sed 1q`
46184581
"
46194582
46204583
_ACEOF
46214584
4622
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4585
+cat >>$CONFIG_STATUS <<_ACEOF
46234586
# Files that config.status was made for.
46244587
config_files="$ac_config_files"
46254588
config_headers="$ac_config_headers"
46264589
46274590
_ACEOF
46284591
4629
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4592
+cat >>$CONFIG_STATUS <<\_ACEOF
46304593
ac_cs_usage="\
46314594
\`$as_me' instantiates files from templates according to the
46324595
current configuration.
46334596
46344597
Usage: $0 [OPTIONS] [FILE]...
@@ -4637,13 +4600,13 @@
46374600
-V, --version print version number and configuration settings, then exit
46384601
-q, --quiet do not print progress messages
46394602
-d, --debug don't remove temporary files
46404603
--recheck update $as_me by reconfiguring in the same conditions
46414604
--file=FILE[:TEMPLATE]
4642
- instantiate the configuration file FILE
4605
+ instantiate the configuration file FILE
46434606
--header=FILE[:TEMPLATE]
4644
- instantiate the configuration header FILE
4607
+ instantiate the configuration header FILE
46454608
46464609
Configuration files:
46474610
$config_files
46484611
46494612
Configuration headers:
@@ -4650,27 +4613,27 @@
46504613
$config_headers
46514614
46524615
Report bugs to <[email protected]>."
46534616
46544617
_ACEOF
4655
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4618
+cat >>$CONFIG_STATUS <<_ACEOF
46564619
ac_cs_version="\\
46574620
fossil config.status 20110528
4658
-configured by $0, generated by GNU Autoconf 2.62,
4659
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4621
+configured by $0, generated by GNU Autoconf 2.61,
4622
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
46604623
4661
-Copyright (C) 2008 Free Software Foundation, Inc.
4624
+Copyright (C) 2006 Free Software Foundation, Inc.
46624625
This config.status script is free software; the Free Software Foundation
46634626
gives unlimited permission to copy, distribute and modify it."
46644627
46654628
ac_pwd='$ac_pwd'
46664629
srcdir='$srcdir'
4667
-test -n "\$AWK" || AWK=awk
46684630
_ACEOF
46694631
4670
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4671
-# The default lists apply if the user does not specify any file.
4632
+cat >>$CONFIG_STATUS <<\_ACEOF
4633
+# If no file are specified by the user, then we need to provide default
4634
+# value. By we need to know if files were specified by the user.
46724635
ac_need_defaults=:
46734636
while test $# != 0
46744637
do
46754638
case $1 in
46764639
--*=*)
@@ -4688,40 +4651,34 @@
46884651
case $ac_option in
46894652
# Handling of the options.
46904653
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46914654
ac_cs_recheck=: ;;
46924655
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4693
- $as_echo "$ac_cs_version"; exit ;;
4656
+ echo "$ac_cs_version"; exit ;;
46944657
--debug | --debu | --deb | --de | --d | -d )
46954658
debug=: ;;
46964659
--file | --fil | --fi | --f )
46974660
$ac_shift
4698
- case $ac_optarg in
4699
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4700
- esac
4701
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4661
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
47024662
ac_need_defaults=false;;
47034663
--header | --heade | --head | --hea )
47044664
$ac_shift
4705
- case $ac_optarg in
4706
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4707
- esac
4708
- CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4665
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
47094666
ac_need_defaults=false;;
47104667
--he | --h)
47114668
# Conflict between --help and --header
4712
- { $as_echo "$as_me: error: ambiguous option: $1
4669
+ { echo "$as_me: error: ambiguous option: $1
47134670
Try \`$0 --help' for more information." >&2
47144671
{ (exit 1); exit 1; }; };;
47154672
--help | --hel | -h )
4716
- $as_echo "$ac_cs_usage"; exit ;;
4673
+ echo "$ac_cs_usage"; exit ;;
47174674
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
47184675
| -silent | --silent | --silen | --sile | --sil | --si | --s)
47194676
ac_cs_silent=: ;;
47204677
47214678
# This is an error.
4722
- -*) { $as_echo "$as_me: error: unrecognized option: $1
4679
+ -*) { echo "$as_me: error: unrecognized option: $1
47234680
Try \`$0 --help' for more information." >&2
47244681
{ (exit 1); exit 1; }; } ;;
47254682
47264683
*) ac_config_targets="$ac_config_targets $1"
47274684
ac_need_defaults=false ;;
@@ -4736,46 +4693,44 @@
47364693
exec 6>/dev/null
47374694
ac_configure_extra_args="$ac_configure_extra_args --silent"
47384695
fi
47394696
47404697
_ACEOF
4741
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4698
+cat >>$CONFIG_STATUS <<_ACEOF
47424699
if \$ac_cs_recheck; then
4743
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4744
- shift
4745
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4746
- CONFIG_SHELL='$SHELL'
4700
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4701
+ CONFIG_SHELL=$SHELL
47474702
export CONFIG_SHELL
4748
- exec "\$@"
4703
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47494704
fi
47504705
47514706
_ACEOF
4752
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4707
+cat >>$CONFIG_STATUS <<\_ACEOF
47534708
exec 5>>config.log
47544709
{
47554710
echo
47564711
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47574712
## Running $as_me. ##
47584713
_ASBOX
4759
- $as_echo "$ac_log"
4714
+ echo "$ac_log"
47604715
} >&5
47614716
47624717
_ACEOF
4763
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4718
+cat >>$CONFIG_STATUS <<_ACEOF
47644719
_ACEOF
47654720
4766
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4721
+cat >>$CONFIG_STATUS <<\_ACEOF
47674722
47684723
# Handling of arguments.
47694724
for ac_config_target in $ac_config_targets
47704725
do
47714726
case $ac_config_target in
47724727
"autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconfig.h" ;;
47734728
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
47744729
4775
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4776
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4730
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4731
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47774732
{ (exit 1); exit 1; }; };;
47784733
esac
47794734
done
47804735
47814736
@@ -4811,146 +4766,130 @@
48114766
{
48124767
tmp=./conf$$-$RANDOM
48134768
(umask 077 && mkdir "$tmp")
48144769
} ||
48154770
{
4816
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
4771
+ echo "$me: cannot create a temporary directory in ." >&2
48174772
{ (exit 1); exit 1; }
48184773
}
48194774
4820
-# Set up the scripts for CONFIG_FILES section.
4821
-# No need to generate them if there are no CONFIG_FILES.
4822
-# This happens for instance with `./config.status config.h'.
4775
+#
4776
+# Set up the sed scripts for CONFIG_FILES section.
4777
+#
4778
+
4779
+# No need to generate the scripts if there are no CONFIG_FILES.
4780
+# This happens for instance when ./config.status config.h
48234781
if test -n "$CONFIG_FILES"; then
48244782
4825
-
4826
-ac_cr='
48274783
'
4828
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4829
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4830
- ac_cs_awk_cr='\\r'
4831
-else
4832
- ac_cs_awk_cr=$ac_cr
4833
-fi
4834
-
4835
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
48364784
_ACEOF
48374785
48384786
4839
-{
4840
- echo "cat >conf$$subs.awk <<_ACEOF" &&
4841
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4842
- echo "_ACEOF"
4843
-} >conf$$subs.sh ||
4844
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4845
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4846
- { (exit 1); exit 1; }; }
4847
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4787
+
48484788
ac_delim='%!_!# '
48494789
for ac_last_try in false false false false false :; do
4850
- . ./conf$$subs.sh ||
4851
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4852
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4853
- { (exit 1); exit 1; }; }
4790
+ cat >conf$$subs.sed <<_ACEOF
4791
+SHELL!$SHELL$ac_delim
4792
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4793
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4794
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4795
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4796
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4797
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4798
+exec_prefix!$exec_prefix$ac_delim
4799
+prefix!$prefix$ac_delim
4800
+program_transform_name!$program_transform_name$ac_delim
4801
+bindir!$bindir$ac_delim
4802
+sbindir!$sbindir$ac_delim
4803
+libexecdir!$libexecdir$ac_delim
4804
+datarootdir!$datarootdir$ac_delim
4805
+datadir!$datadir$ac_delim
4806
+sysconfdir!$sysconfdir$ac_delim
4807
+sharedstatedir!$sharedstatedir$ac_delim
4808
+localstatedir!$localstatedir$ac_delim
4809
+includedir!$includedir$ac_delim
4810
+oldincludedir!$oldincludedir$ac_delim
4811
+docdir!$docdir$ac_delim
4812
+infodir!$infodir$ac_delim
4813
+htmldir!$htmldir$ac_delim
4814
+dvidir!$dvidir$ac_delim
4815
+pdfdir!$pdfdir$ac_delim
4816
+psdir!$psdir$ac_delim
4817
+libdir!$libdir$ac_delim
4818
+localedir!$localedir$ac_delim
4819
+mandir!$mandir$ac_delim
4820
+DEFS!$DEFS$ac_delim
4821
+ECHO_C!$ECHO_C$ac_delim
4822
+ECHO_N!$ECHO_N$ac_delim
4823
+ECHO_T!$ECHO_T$ac_delim
4824
+LIBS!$LIBS$ac_delim
4825
+build_alias!$build_alias$ac_delim
4826
+host_alias!$host_alias$ac_delim
4827
+target_alias!$target_alias$ac_delim
4828
+build!$build$ac_delim
4829
+build_cpu!$build_cpu$ac_delim
4830
+build_vendor!$build_vendor$ac_delim
4831
+build_os!$build_os$ac_delim
4832
+host!$host$ac_delim
4833
+host_cpu!$host_cpu$ac_delim
4834
+host_vendor!$host_vendor$ac_delim
4835
+host_os!$host_os$ac_delim
4836
+SET_MAKE!$SET_MAKE$ac_delim
4837
+CC!$CC$ac_delim
4838
+CFLAGS!$CFLAGS$ac_delim
4839
+LDFLAGS!$LDFLAGS$ac_delim
4840
+CPPFLAGS!$CPPFLAGS$ac_delim
4841
+ac_ct_CC!$ac_ct_CC$ac_delim
4842
+EXEEXT!$EXEEXT$ac_delim
4843
+OBJEXT!$OBJEXT$ac_delim
4844
+CPP!$CPP$ac_delim
4845
+GREP!$GREP$ac_delim
4846
+EGREP!$EGREP$ac_delim
4847
+PKG_CONFIG!$PKG_CONFIG$ac_delim
4848
+OPENSSL_INCLUDES!$OPENSSL_INCLUDES$ac_delim
4849
+OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
4850
+OPENSSL_LDFLAGS!$OPENSSL_LDFLAGS$ac_delim
4851
+LIBOBJS!$LIBOBJS$ac_delim
4852
+LTLIBOBJS!$LTLIBOBJS$ac_delim
4853
+_ACEOF
48544854
4855
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
4855
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
48564856
break
48574857
elif $ac_last_try; then
4858
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4859
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4858
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4859
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
48604860
{ (exit 1); exit 1; }; }
48614861
else
48624862
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
48634863
fi
48644864
done
4865
-rm -f conf$$subs.sh
4866
-
4867
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4868
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4869
-_ACEOF
4870
-sed -n '
4871
-h
4872
-s/^/S["/; s/!.*/"]=/
4873
-p
4874
-g
4875
-s/^[^!]*!//
4876
-:repl
4877
-t repl
4878
-s/'"$ac_delim"'$//
4879
-t delim
4880
-:nl
4881
-h
4882
-s/\(.\{148\}\).*/\1/
4883
-t more1
4884
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4885
-p
4886
-n
4887
-b repl
4888
-:more1
4889
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4890
-p
4891
-g
4892
-s/.\{148\}//
4893
-t nl
4894
-:delim
4895
-h
4896
-s/\(.\{148\}\).*/\1/
4897
-t more2
4898
-s/["\\]/\\&/g; s/^/"/; s/$/"/
4899
-p
4900
-b
4901
-:more2
4902
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4903
-p
4904
-g
4905
-s/.\{148\}//
4906
-t delim
4907
-' <conf$$subs.awk | sed '
4908
-/^[^""]/{
4909
- N
4910
- s/\n//
4911
-}
4912
-' >>$CONFIG_STATUS || ac_write_fail=1
4913
-rm -f conf$$subs.awk
4914
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4915
-_ACAWK
4916
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4917
- for (key in S) S_is_set[key] = 1
4918
- FS = ""
4919
-
4920
-}
4921
-{
4922
- line = $ 0
4923
- nfields = split(line, field, "@")
4924
- substed = 0
4925
- len = length(field[1])
4926
- for (i = 2; i < nfields; i++) {
4927
- key = field[i]
4928
- keylen = length(key)
4929
- if (S_is_set[key]) {
4930
- value = S[key]
4931
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4932
- len += length(value) + length(field[++i])
4933
- substed = 1
4934
- } else
4935
- len += 1 + keylen
4936
- }
4937
-
4938
- print line
4939
-}
4940
-
4941
-_ACAWK
4942
-_ACEOF
4943
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4944
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4945
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4946
-else
4947
- cat
4948
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4949
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4950
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4951
- { (exit 1); exit 1; }; }
4952
-_ACEOF
4865
+
4866
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4867
+if test -n "$ac_eof"; then
4868
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4869
+ ac_eof=`expr $ac_eof + 1`
4870
+fi
4871
+
4872
+cat >>$CONFIG_STATUS <<_ACEOF
4873
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4874
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4875
+_ACEOF
4876
+sed '
4877
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4878
+s/^/s,@/; s/!/@,|#_!!_#|/
4879
+:n
4880
+t n
4881
+s/'"$ac_delim"'$/,g/; t
4882
+s/$/\\/; p
4883
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4884
+' >>$CONFIG_STATUS <conf$$subs.sed
4885
+rm -f conf$$subs.sed
4886
+cat >>$CONFIG_STATUS <<_ACEOF
4887
+:end
4888
+s/|#_!!_#|//g
4889
+CEOF$ac_eof
4890
+_ACEOF
4891
+
49534892
49544893
# VPATH may cause trouble with some makes, so we remove $(srcdir),
49554894
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49564895
# trailing colons and then remove the whole line if VPATH becomes empty
49574896
# (actually we leave an empty line to preserve line numbers).
@@ -4963,137 +4902,23 @@
49634902
s/:*$//
49644903
s/^[^=]*=[ ]*$//
49654904
}'
49664905
fi
49674906
4968
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4907
+cat >>$CONFIG_STATUS <<\_ACEOF
49694908
fi # test -n "$CONFIG_FILES"
49704909
4971
-# Set up the scripts for CONFIG_HEADERS section.
4972
-# No need to generate them if there are no CONFIG_HEADERS.
4973
-# This happens for instance with `./config.status Makefile'.
4974
-if test -n "$CONFIG_HEADERS"; then
4975
-cat >"$tmp/defines.awk" <<\_ACAWK ||
4976
-BEGIN {
4977
-_ACEOF
4978
-
4979
-# Transform confdefs.h into an awk script `defines.awk', embedded as
4980
-# here-document in config.status, that substitutes the proper values into
4981
-# config.h.in to produce config.h.
4982
-
4983
-# Create a delimiter string that does not exist in confdefs.h, to ease
4984
-# handling of long lines.
4985
-ac_delim='%!_!# '
4986
-for ac_last_try in false false :; do
4987
- ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4988
- if test -z "$ac_t"; then
4989
- break
4990
- elif $ac_last_try; then
4991
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4992
-$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4993
- { (exit 1); exit 1; }; }
4994
- else
4995
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4996
- fi
4997
-done
4998
-
4999
-# For the awk script, D is an array of macro values keyed by name,
5000
-# likewise P contains macro parameters if any. Preserve backslash
5001
-# newline sequences.
5002
-
5003
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5004
-sed -n '
5005
-s/.\{148\}/&'"$ac_delim"'/g
5006
-t rset
5007
-:rset
5008
-s/^[ ]*#[ ]*define[ ][ ]*/ /
5009
-t def
5010
-d
5011
-:def
5012
-s/\\$//
5013
-t bsnl
5014
-s/["\\]/\\&/g
5015
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5016
-D["\1"]=" \3"/p
5017
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5018
-d
5019
-:bsnl
5020
-s/["\\]/\\&/g
5021
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5022
-D["\1"]=" \3\\\\\\n"\\/p
5023
-t cont
5024
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5025
-t cont
5026
-d
5027
-:cont
5028
-n
5029
-s/.\{148\}/&'"$ac_delim"'/g
5030
-t clear
5031
-:clear
5032
-s/\\$//
5033
-t bsnlc
5034
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
5035
-d
5036
-:bsnlc
5037
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5038
-b cont
5039
-' <confdefs.h | sed '
5040
-s/'"$ac_delim"'/"\\\
5041
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
5042
-
5043
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5044
- for (key in D) D_is_set[key] = 1
5045
- FS = ""
5046
-}
5047
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5048
- line = \$ 0
5049
- split(line, arg, " ")
5050
- if (arg[1] == "#") {
5051
- defundef = arg[2]
5052
- mac1 = arg[3]
5053
- } else {
5054
- defundef = substr(arg[1], 2)
5055
- mac1 = arg[2]
5056
- }
5057
- split(mac1, mac2, "(") #)
5058
- macro = mac2[1]
5059
- if (D_is_set[macro]) {
5060
- # Preserve the white space surrounding the "#".
5061
- prefix = substr(line, 1, index(line, defundef) - 1)
5062
- print prefix "define", macro P[macro] D[macro]
5063
- next
5064
- } else {
5065
- # Replace #undef with comments. This is necessary, for example,
5066
- # in the case of _POSIX_SOURCE, which is predefined and required
5067
- # on some systems where configure will not decide to define it.
5068
- if (defundef == "undef") {
5069
- print "/*", line, "*/"
5070
- next
5071
- }
5072
- }
5073
-}
5074
-{ print }
5075
-_ACAWK
5076
-_ACEOF
5077
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078
- { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5079
-$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5080
- { (exit 1); exit 1; }; }
5081
-fi # test -n "$CONFIG_HEADERS"
5082
-
5083
-
5084
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5085
-shift
5086
-for ac_tag
4910
+
4911
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
50874912
do
50884913
case $ac_tag in
50894914
:[FHLC]) ac_mode=$ac_tag; continue;;
50904915
esac
50914916
case $ac_mode$ac_tag in
50924917
:[FHL]*:*);;
5093
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5094
-$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4918
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4919
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50954920
{ (exit 1); exit 1; }; };;
50964921
:[FH]-) ac_tag=-:-;;
50974922
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50984923
esac
50994924
ac_save_IFS=$IFS
@@ -5118,52 +4943,40 @@
51184943
test -f "$ac_f" ||
51194944
case $ac_f in
51204945
[\\/$]*) false;;
51214946
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51224947
esac ||
5123
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5124
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4948
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4949
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51254950
{ (exit 1); exit 1; }; };;
51264951
esac
5127
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5128
- ac_file_inputs="$ac_file_inputs '$ac_f'"
4952
+ ac_file_inputs="$ac_file_inputs $ac_f"
51294953
done
51304954
51314955
# Let's still pretend it is `configure' which instantiates (i.e., don't
51324956
# use $as_me), people would be surprised to read:
51334957
# /* config.h. Generated by config.status. */
5134
- configure_input='Generated from '`
5135
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5136
- `' by configure.'
4958
+ configure_input="Generated from "`IFS=:
4959
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51374960
if test x"$ac_file" != x-; then
51384961
configure_input="$ac_file. $configure_input"
5139
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5140
-$as_echo "$as_me: creating $ac_file" >&6;}
4962
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
4963
+echo "$as_me: creating $ac_file" >&6;}
51414964
fi
5142
- # Neutralize special characters interpreted by sed in replacement strings.
5143
- case $configure_input in #(
5144
- *\&* | *\|* | *\\* )
5145
- ac_sed_conf_input=`$as_echo "$configure_input" |
5146
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
5147
- *) ac_sed_conf_input=$configure_input;;
5148
- esac
51494965
51504966
case $ac_tag in
5151
- *:-:* | *:-) cat >"$tmp/stdin" \
5152
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5153
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
5154
- { (exit 1); exit 1; }; } ;;
4967
+ *:-:* | *:-) cat >"$tmp/stdin";;
51554968
esac
51564969
;;
51574970
esac
51584971
51594972
ac_dir=`$as_dirname -- "$ac_file" ||
51604973
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51614974
X"$ac_file" : 'X\(//\)[^/]' \| \
51624975
X"$ac_file" : 'X\(//\)$' \| \
51634976
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5164
-$as_echo X"$ac_file" |
4977
+echo X"$ac_file" |
51654978
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51664979
s//\1/
51674980
q
51684981
}
51694982
/^X\(\/\/\)[^/].*/{
@@ -5185,20 +4998,20 @@
51854998
esac
51864999
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51875000
as_dirs=
51885001
while :; do
51895002
case $as_dir in #(
5190
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5003
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51915004
*) as_qdir=$as_dir;;
51925005
esac
51935006
as_dirs="'$as_qdir' $as_dirs"
51945007
as_dir=`$as_dirname -- "$as_dir" ||
51955008
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51965009
X"$as_dir" : 'X\(//\)[^/]' \| \
51975010
X"$as_dir" : 'X\(//\)$' \| \
51985011
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5199
-$as_echo X"$as_dir" |
5012
+echo X"$as_dir" |
52005013
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52015014
s//\1/
52025015
q
52035016
}
52045017
/^X\(\/\/\)[^/].*/{
@@ -5215,21 +5028,21 @@
52155028
}
52165029
s/.*/./; q'`
52175030
test -d "$as_dir" && break
52185031
done
52195032
test -z "$as_dirs" || eval "mkdir $as_dirs"
5220
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5221
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5033
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5034
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
52225035
{ (exit 1); exit 1; }; }; }
52235036
ac_builddir=.
52245037
52255038
case "$ac_dir" in
52265039
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52275040
*)
5228
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5041
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52295042
# A ".." for each directory in $ac_dir_suffix.
5230
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5043
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52315044
case $ac_top_builddir_sub in
52325045
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52335046
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52345047
esac ;;
52355048
esac
@@ -5261,33 +5074,31 @@
52615074
# CONFIG_FILE
52625075
#
52635076
52645077
_ACEOF
52655078
5266
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5079
+cat >>$CONFIG_STATUS <<\_ACEOF
52675080
# If the template does not know about datarootdir, expand it.
52685081
# FIXME: This hack should be removed a few years after 2.60.
52695082
ac_datarootdir_hack=; ac_datarootdir_seen=
52705083
5271
-ac_sed_dataroot='
5272
-/datarootdir/ {
5084
+case `sed -n '/datarootdir/ {
52735085
p
52745086
q
52755087
}
52765088
/@datadir@/p
52775089
/@docdir@/p
52785090
/@infodir@/p
52795091
/@localedir@/p
52805092
/@mandir@/p
5281
-'
5282
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5093
+' $ac_file_inputs` in
52835094
*datarootdir*) ac_datarootdir_seen=yes;;
52845095
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5285
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5286
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5096
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5097
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52875098
_ACEOF
5288
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5099
+cat >>$CONFIG_STATUS <<_ACEOF
52895100
ac_datarootdir_hack='
52905101
s&@datadir@&$datadir&g
52915102
s&@docdir@&$docdir&g
52925103
s&@infodir@&$infodir&g
52935104
s&@localedir@&$localedir&g
@@ -5297,80 +5108,140 @@
52975108
_ACEOF
52985109
52995110
# Neutralize VPATH when `$srcdir' = `.'.
53005111
# Shell code in configure.ac might set extrasub.
53015112
# FIXME: do we really want to maintain this feature?
5302
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5303
-ac_sed_extra="$ac_vpsub
5113
+cat >>$CONFIG_STATUS <<_ACEOF
5114
+ sed "$ac_vpsub
53045115
$extrasub
53055116
_ACEOF
5306
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5117
+cat >>$CONFIG_STATUS <<\_ACEOF
53075118
:t
53085119
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5309
-s|@configure_input@|$ac_sed_conf_input|;t t
5120
+s&@configure_input@&$configure_input&;t t
53105121
s&@top_builddir@&$ac_top_builddir_sub&;t t
5311
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
53125122
s&@srcdir@&$ac_srcdir&;t t
53135123
s&@abs_srcdir@&$ac_abs_srcdir&;t t
53145124
s&@top_srcdir@&$ac_top_srcdir&;t t
53155125
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53165126
s&@builddir@&$ac_builddir&;t t
53175127
s&@abs_builddir@&$ac_abs_builddir&;t t
53185128
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53195129
$ac_datarootdir_hack
5320
-"
5321
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5322
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5323
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
5324
- { (exit 1); exit 1; }; }
5130
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
53255131
53265132
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53275133
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53285134
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5329
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5135
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53305136
which seems to be undefined. Please make sure it is defined." >&5
5331
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5137
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53325138
which seems to be undefined. Please make sure it is defined." >&2;}
53335139
53345140
rm -f "$tmp/stdin"
53355141
case $ac_file in
5336
- -) cat "$tmp/out" && rm -f "$tmp/out";;
5337
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5338
- esac \
5339
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5340
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
5341
- { (exit 1); exit 1; }; }
5142
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
5143
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5144
+ esac
53425145
;;
53435146
:H)
53445147
#
53455148
# CONFIG_HEADER
53465149
#
5347
- if test x"$ac_file" != x-; then
5348
- {
5349
- $as_echo "/* $configure_input */" \
5350
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5351
- } >"$tmp/config.h" \
5352
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5353
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
5354
- { (exit 1); exit 1; }; }
5355
- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5356
- { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5357
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
5358
- else
5359
- rm -f "$ac_file"
5360
- mv "$tmp/config.h" "$ac_file" \
5361
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5362
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
5363
- { (exit 1); exit 1; }; }
5364
- fi
5365
- else
5366
- $as_echo "/* $configure_input */" \
5367
- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5368
- || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5369
-$as_echo "$as_me: error: could not create -" >&2;}
5370
- { (exit 1); exit 1; }; }
5371
- fi
5150
+_ACEOF
5151
+
5152
+# Transform confdefs.h into a sed script `conftest.defines', that
5153
+# substitutes the proper values into config.h.in to produce config.h.
5154
+rm -f conftest.defines conftest.tail
5155
+# First, append a space to every undef/define line, to ease matching.
5156
+echo 's/$/ /' >conftest.defines
5157
+# Then, protect against being on the right side of a sed subst, or in
5158
+# an unquoted here document, in config.status. If some macros were
5159
+# called several times there might be several #defines for the same
5160
+# symbol, which is useless. But do not sort them, since the last
5161
+# AC_DEFINE must be honored.
5162
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5163
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5164
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
5165
+# PARAMS is the parameter list in the macro definition--in most cases, it's
5166
+# just an empty string.
5167
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5168
+ac_dB='\\)[ (].*,\\1define\\2'
5169
+ac_dC=' '
5170
+ac_dD=' ,'
5171
+
5172
+uniq confdefs.h |
5173
+ sed -n '
5174
+ t rset
5175
+ :rset
5176
+ s/^[ ]*#[ ]*define[ ][ ]*//
5177
+ t ok
5178
+ d
5179
+ :ok
5180
+ s/[\\&,]/\\&/g
5181
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5182
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5183
+ ' >>conftest.defines
5184
+
5185
+# Remove the space that was appended to ease matching.
5186
+# Then replace #undef with comments. This is necessary, for
5187
+# example, in the case of _POSIX_SOURCE, which is predefined and required
5188
+# on some systems where configure will not decide to define it.
5189
+# (The regexp can be short, since the line contains either #define or #undef.)
5190
+echo 's/ $//
5191
+s,^[ #]*u.*,/* & */,' >>conftest.defines
5192
+
5193
+# Break up conftest.defines:
5194
+ac_max_sed_lines=50
5195
+
5196
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5197
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5198
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5199
+# et cetera.
5200
+ac_in='$ac_file_inputs'
5201
+ac_out='"$tmp/out1"'
5202
+ac_nxt='"$tmp/out2"'
5203
+
5204
+while :
5205
+do
5206
+ # Write a here document:
5207
+ cat >>$CONFIG_STATUS <<_ACEOF
5208
+ # First, check the format of the line:
5209
+ cat >"\$tmp/defines.sed" <<\\CEOF
5210
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5211
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5212
+b
5213
+:def
5214
+_ACEOF
5215
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5216
+ echo 'CEOF
5217
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5218
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5219
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5220
+ grep . conftest.tail >/dev/null || break
5221
+ rm -f conftest.defines
5222
+ mv conftest.tail conftest.defines
5223
+done
5224
+rm -f conftest.defines conftest.tail
5225
+
5226
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
5227
+cat >>$CONFIG_STATUS <<\_ACEOF
5228
+ if test x"$ac_file" != x-; then
5229
+ echo "/* $configure_input */" >"$tmp/config.h"
5230
+ cat "$ac_result" >>"$tmp/config.h"
5231
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5232
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5233
+echo "$as_me: $ac_file is unchanged" >&6;}
5234
+ else
5235
+ rm -f $ac_file
5236
+ mv "$tmp/config.h" $ac_file
5237
+ fi
5238
+ else
5239
+ echo "/* $configure_input */"
5240
+ cat "$ac_result"
5241
+ fi
5242
+ rm -f "$tmp/out12"
53725243
;;
53735244
53745245
53755246
esac
53765247
@@ -5380,15 +5251,10 @@
53805251
{ (exit 0); exit 0; }
53815252
_ACEOF
53825253
chmod +x $CONFIG_STATUS
53835254
ac_clean_files=$ac_clean_files_save
53845255
5385
-test $ac_write_fail = 0 ||
5386
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5387
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5388
- { (exit 1); exit 1; }; }
5389
-
53905256
53915257
# configure is writing to config.log, and then calls config.status.
53925258
# config.status does its own redirection, appending to config.log.
53935259
# Unfortunately, on DOS this fails, as config.log is still kept open
53945260
# by configure, so config.status won't be able to write to it; its
@@ -5406,10 +5272,6 @@
54065272
exec 5>>config.log
54075273
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
54085274
# would make configure fail if this is the last instruction.
54095275
$ac_cs_success || { (exit 1); exit 1; }
54105276
fi
5411
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5412
- { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
5413
-$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
5414
-fi
54155277
54165278
--- configure
+++ configure
@@ -1,13 +1,13 @@
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for fossil 20110528.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
@@ -15,11 +15,11 @@
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
@@ -37,49 +37,21 @@
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
 
 
 
 
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
@@ -91,10 +63,12 @@
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
 
 
96 IFS=" "" $as_nl"
97
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
@@ -113,11 +87,11 @@
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
@@ -126,14 +100,21 @@
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
 
 
 
 
 
 
 
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
@@ -151,11 +132,11 @@
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
@@ -177,11 +158,11 @@
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
185 }
186 as_func_success () {
187 as_func_return 0
@@ -259,11 +240,11 @@
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
@@ -280,11 +261,11 @@
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
@@ -360,14 +341,14 @@
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
@@ -432,14 +413,13 @@
432 echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell [email protected] about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441 }
442
443
444
445 as_lineno_1=$LINENO
@@ -471,11 +451,11 @@
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
@@ -499,10 +479,11 @@
499 *) ECHO_C='\c';;
500 esac;;
501 *)
502 ECHO_N='-n';;
503 esac
 
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
@@ -511,26 +492,23 @@
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532 else
533 as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
@@ -551,14 +529,14 @@
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
@@ -698,15 +676,10 @@
698 OPENSSL_LIBS
699 OPENSSL_LDFLAGS
700 LIBOBJS
701 LTLIBOBJS'
702 ac_subst_files=''
703 ac_user_opts='
704 enable_option_checking
705 enable_openssl
706 with_openssl
707 '
708 ac_precious_vars='build_alias
709 host_alias
710 target_alias
711 CC
712 CFLAGS
@@ -717,12 +690,10 @@
717
718
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/null
727 exec_prefix=NONE
728 no_create=
@@ -817,25 +788,17 @@
817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819 datarootdir=$ac_optarg ;;
820
821 -disable-* | --disable-*)
822 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
826 { (exit 1); exit 1; }; }
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
830 *"
831 "enable_$ac_useropt"
832 "*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=no ;;
837
838 -docdir | --docdir | --docdi | --doc | --do)
839 ac_prev=docdir ;;
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 docdir=$ac_optarg ;;
@@ -844,25 +807,17 @@
844 ac_prev=dvidir ;;
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 dvidir=$ac_optarg ;;
847
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
853 { (exit 1); exit 1; }; }
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
857 *"
858 "enable_$ac_useropt"
859 "*) ;;
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
862 esac
863 eval enable_$ac_useropt=\$ac_optarg ;;
864
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev=exec_prefix ;;
@@ -1049,42 +1004,26 @@
1049
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version=: ;;
1052
1053 -with-* | --with-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=\$ac_optarg ;;
1069
1070 -without-* | --without-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1079 *"
1080 "with_$ac_useropt"
1081 "*) ;;
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1084 esac
1085 eval with_$ac_useropt=no ;;
1086
1087 --x)
1088 # Obsolete; use --with-x.
1089 with_x=yes ;;
1090
@@ -1100,69 +1039,53 @@
1100 ac_prev=x_libraries ;;
1101 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1102 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1103 x_libraries=$ac_optarg ;;
1104
1105 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1106 Try \`$0 --help' for more information." >&2
1107 { (exit 1); exit 1; }; }
1108 ;;
1109
1110 *=*)
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1114 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1115 { (exit 1); exit 1; }; }
1116 eval $ac_envvar=\$ac_optarg
1117 export $ac_envvar ;;
1118
1119 *)
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1125 ;;
1126
1127 esac
1128 done
1129
1130 if test -n "$ac_prev"; then
1131 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1132 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1133 { (exit 1); exit 1; }; }
1134 fi
1135
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1138 no) ;;
1139 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1140 { (exit 1); exit 1; }; } ;;
1141 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 esac
1143 fi
1144
1145 # Check all directory arguments for consistency.
1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147 datadir sysconfdir sharedstatedir localstatedir includedir \
1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149 libdir localedir mandir
1150 do
1151 eval ac_val=\$$ac_var
1152 # Remove trailing slashes.
1153 case $ac_val in
1154 */ )
1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156 eval $ac_var=\$ac_val;;
1157 esac
1158 # Be sure to have absolute directory names.
1159 case $ac_val in
1160 [\\/$]* | ?:[\\/]* ) continue;;
1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1162 esac
1163 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1164 { (exit 1); exit 1; }; }
1165 done
1166
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
@@ -1173,11 +1096,11 @@
1173
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used." >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1181 cross_compiling=yes
1182 fi
1183 fi
@@ -1189,27 +1112,27 @@
1189
1190
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1195 { (exit 1); exit 1; }; }
1196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1198 { (exit 1); exit 1; }; }
1199
1200
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 s//\1/
1213 q
1214 }
1215 /^X\(\/\/\)[^/].*/{
@@ -1232,16 +1155,16 @@
1232 else
1233 ac_srcdir_defaulted=no
1234 fi
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1238 { (exit 1); exit 1; }; }
1239 fi
1240 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1241 ac_abs_confdir=`(
1242 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1243 { (exit 1); exit 1; }; }
1244 pwd)`
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1247 srcdir=.
@@ -1286,41 +1209,41 @@
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1288
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1293 [PREFIX]
1294
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1299
1300 For better control, use the options below.
1301
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/fossil]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1322 _ACEOF
1323
1324 cat <<\_ACEOF
1325
1326 System types:
@@ -1334,11 +1257,10 @@
1334 short | recursive ) echo "Configuration of fossil 20110528:";;
1335 esac
1336 cat <<\_ACEOF
1337
1338 Optional Features:
1339 --disable-option-checking ignore unrecognized --enable/--with options
1340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1342 --enable-openssl Include HTTPS support using for OpenSSL
1343
1344 Optional Packages:
@@ -1365,21 +1287,19 @@
1365 fi
1366
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370 test -d "$ac_dir" ||
1371 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372 continue
1373 ac_builddir=.
1374
1375 case "$ac_dir" in
1376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 *)
1378 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1379 # A ".." for each directory in $ac_dir_suffix.
1380 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1381 case $ac_top_builddir_sub in
1382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384 esac ;;
1385 esac
@@ -1411,24 +1331,24 @@
1411 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412 elif test -f "$ac_srcdir/configure"; then
1413 echo &&
1414 $SHELL "$ac_srcdir/configure" --help=recursive
1415 else
1416 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417 fi || ac_status=$?
1418 cd "$ac_pwd" || { ac_status=$?; break; }
1419 done
1420 fi
1421
1422 test -n "$ac_init_help" && exit $ac_status
1423 if $ac_init_version; then
1424 cat <<\_ACEOF
1425 fossil configure 20110528
1426 generated by GNU Autoconf 2.62
1427
1428 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1429 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1430 This configure script is free software; the Free Software Foundation
1431 gives unlimited permission to copy, distribute and modify it.
1432 _ACEOF
1433 exit
1434 fi
@@ -1435,11 +1355,11 @@
1435 cat >config.log <<_ACEOF
1436 This file contains any messages produced by compilers while
1437 running configure, to aid debugging if configure makes a mistake.
1438
1439 It was created by fossil $as_me 20110528, which was
1440 generated by GNU Autoconf 2.62. Invocation command line was
1441
1442 $ $0 $@
1443
1444 _ACEOF
1445 exec 5>>config.log
@@ -1471,11 +1391,11 @@
1471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472 for as_dir in $PATH
1473 do
1474 IFS=$as_save_IFS
1475 test -z "$as_dir" && as_dir=.
1476 $as_echo "PATH: $as_dir"
1477 done
1478 IFS=$as_save_IFS
1479
1480 } >&5
1481
@@ -1506,11 +1426,11 @@
1506 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1508 | -silent | --silent | --silen | --sile | --sil)
1509 continue ;;
1510 *\'*)
1511 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1512 esac
1513 case $ac_pass in
1514 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1515 2)
1516 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
@@ -1558,16 +1478,15 @@
1558 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1559 eval ac_val=\$$ac_var
1560 case $ac_val in #(
1561 *${as_nl}*)
1562 case $ac_var in #(
1563 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1564 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1565 esac
1566 case $ac_var in #(
1567 _ | IFS | as_nl) ;; #(
1568 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1569 *) $as_unset $ac_var ;;
1570 esac ;;
1571 esac
1572 done
1573 (set) 2>&1 |
@@ -1593,13 +1512,13 @@
1593 echo
1594 for ac_var in $ac_subst_vars
1595 do
1596 eval ac_val=\$$ac_var
1597 case $ac_val in
1598 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 esac
1600 $as_echo "$ac_var='\''$ac_val'\''"
1601 done | sort
1602 echo
1603
1604 if test -n "$ac_subst_files"; then
1605 cat <<\_ASBOX
@@ -1610,13 +1529,13 @@
1610 echo
1611 for ac_var in $ac_subst_files
1612 do
1613 eval ac_val=\$$ac_var
1614 case $ac_val in
1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 esac
1617 $as_echo "$ac_var='\''$ac_val'\''"
1618 done | sort
1619 echo
1620 fi
1621
1622 if test -s confdefs.h; then
@@ -1628,12 +1547,12 @@
1628 echo
1629 cat confdefs.h
1630 echo
1631 fi
1632 test "$ac_signal" != 0 &&
1633 $as_echo "$as_me: caught signal $ac_signal"
1634 $as_echo "$as_me: exit $exit_status"
1635 } >&5
1636 rm -f core *.core core.conftest.* &&
1637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1638 exit $exit_status
1639 ' 0
@@ -1671,47 +1590,44 @@
1671 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1672 _ACEOF
1673
1674
1675 # Let the site file select an alternate cache file if it wants to.
1676 # Prefer an explicitly selected file to automatically selected ones.
1677 ac_site_file1=NONE
1678 ac_site_file2=NONE
1679 if test -n "$CONFIG_SITE"; then
1680 ac_site_file1=$CONFIG_SITE
1681 elif test "x$prefix" != xNONE; then
1682 ac_site_file1=$prefix/share/config.site
1683 ac_site_file2=$prefix/etc/config.site
1684 else
1685 ac_site_file1=$ac_default_prefix/share/config.site
1686 ac_site_file2=$ac_default_prefix/etc/config.site
1687 fi
1688 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1689 do
1690 test "x$ac_site_file" = xNONE && continue
1691 if test -r "$ac_site_file"; then
1692 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1693 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1694 sed 's/^/| /' "$ac_site_file" >&5
1695 . "$ac_site_file"
1696 fi
1697 done
1698
1699 if test -r "$cache_file"; then
1700 # Some versions of bash will fail to source /dev/null (special
1701 # files actually), so we avoid doing that.
1702 if test -f "$cache_file"; then
1703 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1704 $as_echo "$as_me: loading cache $cache_file" >&6;}
1705 case $cache_file in
1706 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1707 *) . "./$cache_file";;
1708 esac
1709 fi
1710 else
1711 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1712 $as_echo "$as_me: creating cache $cache_file" >&6;}
1713 >$cache_file
1714 fi
1715
1716 # Check that the precious variables saved in the cache have kept the same
1717 # value.
@@ -1721,55 +1637,46 @@
1721 eval ac_new_set=\$ac_env_${ac_var}_set
1722 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1723 eval ac_new_val=\$ac_env_${ac_var}_value
1724 case $ac_old_set,$ac_new_set in
1725 set,)
1726 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1728 ac_cache_corrupted=: ;;
1729 ,set)
1730 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1731 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1732 ac_cache_corrupted=: ;;
1733 ,);;
1734 *)
1735 if test "x$ac_old_val" != "x$ac_new_val"; then
1736 # differences in whitespace do not lead to failure.
1737 ac_old_val_w=`echo x $ac_old_val`
1738 ac_new_val_w=`echo x $ac_new_val`
1739 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1740 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1741 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1742 ac_cache_corrupted=:
1743 else
1744 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1745 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1746 eval $ac_var=\$ac_old_val
1747 fi
1748 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1749 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1750 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1751 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1752 fi;;
1753 esac
1754 # Pass precious variables to config.status.
1755 if test "$ac_new_set" = set; then
1756 case $ac_new_val in
1757 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 *) ac_arg=$ac_var=$ac_new_val ;;
1759 esac
1760 case " $ac_configure_args " in
1761 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1762 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1763 esac
1764 fi
1765 done
1766 if $ac_cache_corrupted; then
1767 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1768 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1769 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1770 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1771 { (exit 1); exit 1; }; }
1772 fi
1773
1774
1775
@@ -1818,12 +1725,12 @@
1818 ac_install_sh="$ac_aux_dir/shtool install -c"
1819 break
1820 fi
1821 done
1822 if test -z "$ac_aux_dir"; then
1823 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1824 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1825 { (exit 1); exit 1; }; }
1826 fi
1827
1828 # These three variables are undocumented and unsupported,
1829 # and are intended to be withdrawn in a future Autoconf release.
@@ -1838,38 +1745,38 @@
1838 ac_config_headers="$ac_config_headers autoconfig.h"
1839
1840
1841 # Make sure we can run config.sub.
1842 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1843 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1844 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1845 { (exit 1); exit 1; }; }
1846
1847 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1848 $as_echo_n "checking build system type... " >&6; }
1849 if test "${ac_cv_build+set}" = set; then
1850 $as_echo_n "(cached) " >&6
1851 else
1852 ac_build_alias=$build_alias
1853 test "x$ac_build_alias" = x &&
1854 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1855 test "x$ac_build_alias" = x &&
1856 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1857 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1858 { (exit 1); exit 1; }; }
1859 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1860 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1861 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1862 { (exit 1); exit 1; }; }
1863
1864 fi
1865 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1866 $as_echo "$ac_cv_build" >&6; }
1867 case $ac_cv_build in
1868 *-*-*) ;;
1869 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1870 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1871 { (exit 1); exit 1; }; };;
1872 esac
1873 build=$ac_cv_build
1874 ac_save_IFS=$IFS; IFS='-'
1875 set x $ac_cv_build
@@ -1882,31 +1789,31 @@
1882 build_os=$*
1883 IFS=$ac_save_IFS
1884 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1885
1886
1887 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1888 $as_echo_n "checking host system type... " >&6; }
1889 if test "${ac_cv_host+set}" = set; then
1890 $as_echo_n "(cached) " >&6
1891 else
1892 if test "x$host_alias" = x; then
1893 ac_cv_host=$ac_cv_build
1894 else
1895 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1896 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1897 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1899 fi
1900
1901 fi
1902 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1903 $as_echo "$ac_cv_host" >&6; }
1904 case $ac_cv_host in
1905 *-*-*) ;;
1906 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1907 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1908 { (exit 1); exit 1; }; };;
1909 esac
1910 host=$ac_cv_host
1911 ac_save_IFS=$IFS; IFS='-'
1912 set x $ac_cv_host
@@ -1921,16 +1828,15 @@
1921 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1922
1923
1924
1925 # Checks for programs.
1926 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1927 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1928 set x ${MAKE-make}
1929 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1930 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1931 $as_echo_n "(cached) " >&6
1932 else
1933 cat >conftest.make <<\_ACEOF
1934 SHELL = /bin/sh
1935 all:
1936 @echo '@@@%%%=$(MAKE)=@@@%%%'
@@ -1943,16 +1849,16 @@
1943 eval ac_cv_prog_make_${ac_make}_set=no;;
1944 esac
1945 rm -f conftest.make
1946 fi
1947 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1948 { $as_echo "$as_me:$LINENO: result: yes" >&5
1949 $as_echo "yes" >&6; }
1950 SET_MAKE=
1951 else
1952 { $as_echo "$as_me:$LINENO: result: no" >&5
1953 $as_echo "no" >&6; }
1954 SET_MAKE="MAKE=${MAKE-make}"
1955 fi
1956
1957 ac_ext=c
1958 ac_cpp='$CPP $CPPFLAGS'
@@ -1960,14 +1866,14 @@
1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1962 if test -n "$ac_tool_prefix"; then
1963 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1964 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1965 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if test "${ac_cv_prog_CC+set}" = set; then
1968 $as_echo_n "(cached) " >&6
1969 else
1970 if test -n "$CC"; then
1971 ac_cv_prog_CC="$CC" # Let the user override the test.
1972 else
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -1976,11 +1882,11 @@
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2
1983 fi
1984 done
1985 done
1986 IFS=$as_save_IFS
@@ -1987,27 +1893,27 @@
1987
1988 fi
1989 fi
1990 CC=$ac_cv_prog_CC
1991 if test -n "$CC"; then
1992 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1993 $as_echo "$CC" >&6; }
1994 else
1995 { $as_echo "$as_me:$LINENO: result: no" >&5
1996 $as_echo "no" >&6; }
1997 fi
1998
1999
2000 fi
2001 if test -z "$ac_cv_prog_CC"; then
2002 ac_ct_CC=$CC
2003 # Extract the first word of "gcc", so it can be a program name with args.
2004 set dummy gcc; ac_word=$2
2005 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2016,11 +1922,11 @@
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_CC="gcc"
2021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2023 fi
2024 done
2025 done
2026 IFS=$as_save_IFS
@@ -2027,26 +1933,26 @@
2027
2028 fi
2029 fi
2030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2033 $as_echo "$ac_ct_CC" >&6; }
2034 else
2035 { $as_echo "$as_me:$LINENO: result: no" >&5
2036 $as_echo "no" >&6; }
2037 fi
2038
2039 if test "x$ac_ct_CC" = x; then
2040 CC=""
2041 else
2042 case $cross_compiling:$ac_tool_warned in
2043 yes:)
2044 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2045 whose name does not start with the host triplet. If you think this
2046 configuration is useful to you, please write to [email protected]." >&5
2047 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2048 whose name does not start with the host triplet. If you think this
2049 configuration is useful to you, please write to [email protected]." >&2;}
2050 ac_tool_warned=yes ;;
2051 esac
2052 CC=$ac_ct_CC
@@ -2057,14 +1963,14 @@
2057
2058 if test -z "$CC"; then
2059 if test -n "$ac_tool_prefix"; then
2060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2061 set dummy ${ac_tool_prefix}cc; ac_word=$2
2062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 $as_echo_n "checking for $ac_word... " >&6; }
2064 if test "${ac_cv_prog_CC+set}" = set; then
2065 $as_echo_n "(cached) " >&6
2066 else
2067 if test -n "$CC"; then
2068 ac_cv_prog_CC="$CC" # Let the user override the test.
2069 else
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2073,11 +1979,11 @@
2073 IFS=$as_save_IFS
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2077 ac_cv_prog_CC="${ac_tool_prefix}cc"
2078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 break 2
2080 fi
2081 done
2082 done
2083 IFS=$as_save_IFS
@@ -2084,27 +1990,27 @@
2084
2085 fi
2086 fi
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2090 $as_echo "$CC" >&6; }
2091 else
2092 { $as_echo "$as_me:$LINENO: result: no" >&5
2093 $as_echo "no" >&6; }
2094 fi
2095
2096
2097 fi
2098 fi
2099 if test -z "$CC"; then
2100 # Extract the first word of "cc", so it can be a program name with args.
2101 set dummy cc; ac_word=$2
2102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2103 $as_echo_n "checking for $ac_word... " >&6; }
2104 if test "${ac_cv_prog_CC+set}" = set; then
2105 $as_echo_n "(cached) " >&6
2106 else
2107 if test -n "$CC"; then
2108 ac_cv_prog_CC="$CC" # Let the user override the test.
2109 else
2110 ac_prog_rejected=no
@@ -2118,11 +2024,11 @@
2118 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2119 ac_prog_rejected=yes
2120 continue
2121 fi
2122 ac_cv_prog_CC="cc"
2123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2125 fi
2126 done
2127 done
2128 IFS=$as_save_IFS
@@ -2141,15 +2047,15 @@
2141 fi
2142 fi
2143 fi
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2147 $as_echo "$CC" >&6; }
2148 else
2149 { $as_echo "$as_me:$LINENO: result: no" >&5
2150 $as_echo "no" >&6; }
2151 fi
2152
2153
2154 fi
2155 if test -z "$CC"; then
@@ -2156,14 +2062,14 @@
2156 if test -n "$ac_tool_prefix"; then
2157 for ac_prog in cl.exe
2158 do
2159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 $as_echo_n "checking for $ac_word... " >&6; }
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 $as_echo_n "(cached) " >&6
2165 else
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC="$CC" # Let the user override the test.
2168 else
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2172,11 +2078,11 @@
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2177 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2179 fi
2180 done
2181 done
2182 IFS=$as_save_IFS
@@ -2183,15 +2089,15 @@
2183
2184 fi
2185 fi
2186 CC=$ac_cv_prog_CC
2187 if test -n "$CC"; then
2188 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2189 $as_echo "$CC" >&6; }
2190 else
2191 { $as_echo "$as_me:$LINENO: result: no" >&5
2192 $as_echo "no" >&6; }
2193 fi
2194
2195
2196 test -n "$CC" && break
2197 done
@@ -2200,14 +2106,14 @@
2200 ac_ct_CC=$CC
2201 for ac_prog in cl.exe
2202 do
2203 # Extract the first word of "$ac_prog", so it can be a program name with args.
2204 set dummy $ac_prog; ac_word=$2
2205 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 $as_echo_n "checking for $ac_word... " >&6; }
2207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208 $as_echo_n "(cached) " >&6
2209 else
2210 if test -n "$ac_ct_CC"; then
2211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2212 else
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2216,11 +2122,11 @@
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 ac_cv_prog_ac_ct_CC="$ac_prog"
2221 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2223 fi
2224 done
2225 done
2226 IFS=$as_save_IFS
@@ -2227,15 +2133,15 @@
2227
2228 fi
2229 fi
2230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2231 if test -n "$ac_ct_CC"; then
2232 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2233 $as_echo "$ac_ct_CC" >&6; }
2234 else
2235 { $as_echo "$as_me:$LINENO: result: no" >&5
2236 $as_echo "no" >&6; }
2237 fi
2238
2239
2240 test -n "$ac_ct_CC" && break
2241 done
@@ -2243,14 +2149,14 @@
2243 if test "x$ac_ct_CC" = x; then
2244 CC=""
2245 else
2246 case $cross_compiling:$ac_tool_warned in
2247 yes:)
2248 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2249 whose name does not start with the host triplet. If you think this
2250 configuration is useful to you, please write to [email protected]." >&5
2251 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2252 whose name does not start with the host triplet. If you think this
2253 configuration is useful to you, please write to [email protected]." >&2;}
2254 ac_tool_warned=yes ;;
2255 esac
2256 CC=$ac_ct_CC
@@ -2258,52 +2164,48 @@
2258 fi
2259
2260 fi
2261
2262
2263 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2264 See \`config.log' for more details." >&5
2265 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2266 See \`config.log' for more details." >&2;}
2267 { (exit 1); exit 1; }; }
2268
2269 # Provide some information about the compiler.
2270 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2271 set X $ac_compile
2272 ac_compiler=$2
2273 { (ac_try="$ac_compiler --version >&5"
2274 case "(($ac_try" in
2275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2276 *) ac_try_echo=$ac_try;;
2277 esac
2278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2279 $as_echo "$ac_try_echo") >&5
2280 (eval "$ac_compiler --version >&5") 2>&5
2281 ac_status=$?
2282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }
2284 { (ac_try="$ac_compiler -v >&5"
2285 case "(($ac_try" in
2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2288 esac
2289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2290 $as_echo "$ac_try_echo") >&5
2291 (eval "$ac_compiler -v >&5") 2>&5
2292 ac_status=$?
2293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }
2295 { (ac_try="$ac_compiler -V >&5"
2296 case "(($ac_try" in
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2299 esac
2300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2301 $as_echo "$ac_try_echo") >&5
2302 (eval "$ac_compiler -V >&5") 2>&5
2303 ac_status=$?
2304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }
2306
2307 cat >conftest.$ac_ext <<_ACEOF
2308 /* confdefs.h. */
2309 _ACEOF
@@ -2318,26 +2220,31 @@
2318 ;
2319 return 0;
2320 }
2321 _ACEOF
2322 ac_clean_files_save=$ac_clean_files
2323 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2324 # Try to create an executable without -o first, disregard a.out.
2325 # It will help us diagnose broken compilers, and finding out an intuition
2326 # of exeext.
2327 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2328 $as_echo_n "checking for C compiler default output file name... " >&6; }
2329 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2330
2331 # The possible output files:
2332 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2333
 
 
 
 
 
2334 ac_rmfiles=
2335 for ac_file in $ac_files
2336 do
2337 case $ac_file in
2338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2339 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2340 esac
2341 done
2342 rm -f $ac_rmfiles
2343
@@ -2344,15 +2251,14 @@
2344 if { (ac_try="$ac_link_default"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2350 $as_echo "$ac_try_echo") >&5
2351 (eval "$ac_link_default") 2>&5
2352 ac_status=$?
2353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; then
2355 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2356 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2357 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2358 # so that the user can short-circuit this test for compilers unknown to
@@ -2359,11 +2265,11 @@
2359 # Autoconf.
2360 for ac_file in $ac_files ''
2361 do
2362 test -f "$ac_file" || continue
2363 case $ac_file in
2364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2365 ;;
2366 [ab].out )
2367 # We found the default executable, but exeext='' is most
2368 # certainly right.
2369 break;;
@@ -2386,115 +2292,113 @@
2386
2387 else
2388 ac_file=''
2389 fi
2390
2391 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2392 $as_echo "$ac_file" >&6; }
2393 if test -z "$ac_file"; then
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2396
2397 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2398 See \`config.log' for more details." >&5
2399 $as_echo "$as_me: error: C compiler cannot create executables
2400 See \`config.log' for more details." >&2;}
2401 { (exit 77); exit 77; }; }
2402 fi
2403
2404 ac_exeext=$ac_cv_exeext
2405
2406 # Check that the compiler produces executables we can run. If not, either
2407 # the compiler is broken, or we cross compile.
2408 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2409 $as_echo_n "checking whether the C compiler works... " >&6; }
2410 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2411 # If not cross compiling, check that we can run a simple program.
2412 if test "$cross_compiling" != yes; then
2413 if { ac_try='./$ac_file'
2414 { (case "(($ac_try" in
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2417 esac
2418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2419 $as_echo "$ac_try_echo") >&5
2420 (eval "$ac_try") 2>&5
2421 ac_status=$?
2422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; }; then
2424 cross_compiling=no
2425 else
2426 if test "$cross_compiling" = maybe; then
2427 cross_compiling=yes
2428 else
2429 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2430 If you meant to cross compile, use \`--host'.
2431 See \`config.log' for more details." >&5
2432 $as_echo "$as_me: error: cannot run C compiled programs.
2433 If you meant to cross compile, use \`--host'.
2434 See \`config.log' for more details." >&2;}
2435 { (exit 1); exit 1; }; }
2436 fi
2437 fi
2438 fi
2439 { $as_echo "$as_me:$LINENO: result: yes" >&5
2440 $as_echo "yes" >&6; }
2441
2442 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2443 ac_clean_files=$ac_clean_files_save
2444 # Check that the compiler produces executables we can run. If not, either
2445 # the compiler is broken, or we cross compile.
2446 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2447 $as_echo_n "checking whether we are cross compiling... " >&6; }
2448 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2449 $as_echo "$cross_compiling" >&6; }
2450
2451 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2452 $as_echo_n "checking for suffix of executables... " >&6; }
2453 if { (ac_try="$ac_link"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2459 $as_echo "$ac_try_echo") >&5
2460 (eval "$ac_link") 2>&5
2461 ac_status=$?
2462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; then
2464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2466 # work properly (i.e., refer to `conftest.exe'), while it won't with
2467 # `rm'.
2468 for ac_file in conftest.exe conftest conftest.*; do
2469 test -f "$ac_file" || continue
2470 case $ac_file in
2471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2473 break;;
2474 * ) break;;
2475 esac
2476 done
2477 else
2478 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2479 See \`config.log' for more details." >&5
2480 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485 rm -f conftest$ac_cv_exeext
2486 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2487 $as_echo "$ac_cv_exeext" >&6; }
2488
2489 rm -f conftest.$ac_ext
2490 EXEEXT=$ac_cv_exeext
2491 ac_exeext=$EXEEXT
2492 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2493 $as_echo_n "checking for suffix of object files... " >&6; }
2494 if test "${ac_cv_objext+set}" = set; then
2495 $as_echo_n "(cached) " >&6
2496 else
2497 cat >conftest.$ac_ext <<_ACEOF
2498 /* confdefs.h. */
2499 _ACEOF
2500 cat confdefs.h >>conftest.$ac_ext
@@ -2513,45 +2417,44 @@
2513 if { (ac_try="$ac_compile"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2519 $as_echo "$ac_try_echo") >&5
2520 (eval "$ac_compile") 2>&5
2521 ac_status=$?
2522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; then
2524 for ac_file in conftest.o conftest.obj conftest.*; do
2525 test -f "$ac_file" || continue;
2526 case $ac_file in
2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2529 break;;
2530 esac
2531 done
2532 else
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.$ac_ext >&5
2535
2536 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2537 See \`config.log' for more details." >&5
2538 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2539 See \`config.log' for more details." >&2;}
2540 { (exit 1); exit 1; }; }
2541 fi
2542
2543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2544 fi
2545 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2546 $as_echo "$ac_cv_objext" >&6; }
2547 OBJEXT=$ac_cv_objext
2548 ac_objext=$OBJEXT
2549 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2553 else
2554 cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h. */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
@@ -2573,47 +2476,42 @@
2573 if { (ac_try="$ac_compile"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2579 $as_echo "$ac_try_echo") >&5
2580 (eval "$ac_compile") 2>conftest.er1
2581 ac_status=$?
2582 grep -v '^ *+' conftest.er1 >conftest.err
2583 rm -f conftest.er1
2584 cat conftest.err >&5
2585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } && {
2587 test -z "$ac_c_werror_flag" ||
2588 test ! -s conftest.err
2589 } && test -s conftest.$ac_objext; then
2590 ac_compiler_gnu=yes
2591 else
2592 $as_echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2594
2595 ac_compiler_gnu=no
2596 fi
2597
2598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2600
2601 fi
2602 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2603 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2604 if test $ac_compiler_gnu = yes; then
2605 GCC=yes
2606 else
2607 GCC=
2608 fi
2609 ac_test_CFLAGS=${CFLAGS+set}
2610 ac_save_CFLAGS=$CFLAGS
2611 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2612 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2613 if test "${ac_cv_prog_cc_g+set}" = set; then
2614 $as_echo_n "(cached) " >&6
2615 else
2616 ac_save_c_werror_flag=$ac_c_werror_flag
2617 ac_c_werror_flag=yes
2618 ac_cv_prog_cc_g=no
2619 CFLAGS="-g"
@@ -2636,25 +2534,24 @@
2636 if { (ac_try="$ac_compile"
2637 case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640 esac
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2644 ac_status=$?
2645 grep -v '^ *+' conftest.er1 >conftest.err
2646 rm -f conftest.er1
2647 cat conftest.err >&5
2648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } && {
2650 test -z "$ac_c_werror_flag" ||
2651 test ! -s conftest.err
2652 } && test -s conftest.$ac_objext; then
2653 ac_cv_prog_cc_g=yes
2654 else
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2657
2658 CFLAGS=""
2659 cat >conftest.$ac_ext <<_ACEOF
2660 /* confdefs.h. */
@@ -2675,25 +2572,24 @@
2675 if { (ac_try="$ac_compile"
2676 case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2679 esac
2680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2681 $as_echo "$ac_try_echo") >&5
2682 (eval "$ac_compile") 2>conftest.er1
2683 ac_status=$?
2684 grep -v '^ *+' conftest.er1 >conftest.err
2685 rm -f conftest.er1
2686 cat conftest.err >&5
2687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } && {
2689 test -z "$ac_c_werror_flag" ||
2690 test ! -s conftest.err
2691 } && test -s conftest.$ac_objext; then
2692 :
2693 else
2694 $as_echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2696
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2698 CFLAGS="-g"
2699 cat >conftest.$ac_ext <<_ACEOF
@@ -2715,25 +2611,24 @@
2715 if { (ac_try="$ac_compile"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compile") 2>conftest.er1
2723 ac_status=$?
2724 grep -v '^ *+' conftest.er1 >conftest.err
2725 rm -f conftest.er1
2726 cat conftest.err >&5
2727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then
2732 ac_cv_prog_cc_g=yes
2733 else
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2736
2737
2738 fi
2739
@@ -2744,12 +2639,12 @@
2744 fi
2745
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 ac_c_werror_flag=$ac_save_c_werror_flag
2748 fi
2749 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2750 $as_echo "$ac_cv_prog_cc_g" >&6; }
2751 if test "$ac_test_CFLAGS" = set; then
2752 CFLAGS=$ac_save_CFLAGS
2753 elif test $ac_cv_prog_cc_g = yes; then
2754 if test "$GCC" = yes; then
2755 CFLAGS="-g -O2"
@@ -2761,14 +2656,14 @@
2761 CFLAGS="-O2"
2762 else
2763 CFLAGS=
2764 fi
2765 fi
2766 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2767 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2768 if test "${ac_cv_prog_cc_c89+set}" = set; then
2769 $as_echo_n "(cached) " >&6
2770 else
2771 ac_cv_prog_cc_c89=no
2772 ac_save_CC=$CC
2773 cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h. */
@@ -2835,25 +2730,24 @@
2835 if { (ac_try="$ac_compile"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2841 $as_echo "$ac_try_echo") >&5
2842 (eval "$ac_compile") 2>conftest.er1
2843 ac_status=$?
2844 grep -v '^ *+' conftest.er1 >conftest.err
2845 rm -f conftest.er1
2846 cat conftest.err >&5
2847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext; then
2852 ac_cv_prog_cc_c89=$ac_arg
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2856
2857
2858 fi
2859
@@ -2865,19 +2759,19 @@
2865
2866 fi
2867 # AC_CACHE_VAL
2868 case "x$ac_cv_prog_cc_c89" in
2869 x)
2870 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2871 $as_echo "none needed" >&6; } ;;
2872 xno)
2873 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2874 $as_echo "unsupported" >&6; } ;;
2875 *)
2876 CC="$CC $ac_cv_prog_cc_c89"
2877 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2878 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2879 esac
2880
2881
2882 ac_ext=c
2883 ac_cpp='$CPP $CPPFLAGS'
@@ -2893,14 +2787,14 @@
2893 _ACEOF
2894
2895 esac
2896
2897
2898 { $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
2899 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
2900 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
2901 $as_echo_n "(cached) " >&6
2902 else
2903 ac_check_lib_save_LIBS=$LIBS
2904 LIBS="-lz $LIBS"
2905 cat >conftest.$ac_ext <<_ACEOF
2906 /* confdefs.h. */
@@ -2928,40 +2822,36 @@
2928 if { (ac_try="$ac_link"
2929 case "(($ac_try" in
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2932 esac
2933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2934 $as_echo "$ac_try_echo") >&5
2935 (eval "$ac_link") 2>conftest.er1
2936 ac_status=$?
2937 grep -v '^ *+' conftest.er1 >conftest.err
2938 rm -f conftest.er1
2939 cat conftest.err >&5
2940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest$ac_exeext && {
2945 test "$cross_compiling" = yes ||
2946 $as_test_x conftest$ac_exeext
2947 }; then
2948 ac_cv_lib_z_inflateEnd=yes
2949 else
2950 $as_echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2952
2953 ac_cv_lib_z_inflateEnd=no
2954 fi
2955
2956 rm -rf conftest.dSYM
2957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2958 conftest$ac_exeext conftest.$ac_ext
2959 LIBS=$ac_check_lib_save_LIBS
2960 fi
2961 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
2962 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
2963 if test $ac_cv_lib_z_inflateEnd = yes; then
2964 zlib_cv_libz=yes
2965 else
2966 zlib_cv_libz=no
2967 fi
@@ -2969,19 +2859,19 @@
2969 ac_ext=c
2970 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2975 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2976 # On Suns, sometimes $CPP names a directory.
2977 if test -n "$CPP" && test -d "$CPP"; then
2978 CPP=
2979 fi
2980 if test -z "$CPP"; then
2981 if test "${ac_cv_prog_CPP+set}" = set; then
2982 $as_echo_n "(cached) " >&6
2983 else
2984 # Double quotes because CPP needs to be expanded
2985 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2986 do
2987 ac_preproc_ok=false
@@ -3009,25 +2899,24 @@
3009 if { (ac_try="$ac_cpp conftest.$ac_ext"
3010 case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3013 esac
3014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3015 $as_echo "$ac_try_echo") >&5
3016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3017 ac_status=$?
3018 grep -v '^ *+' conftest.er1 >conftest.err
3019 rm -f conftest.er1
3020 cat conftest.err >&5
3021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } >/dev/null && {
3023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3024 test ! -s conftest.err
3025 }; then
3026 :
3027 else
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3030
3031 # Broken: fails on valid input.
3032 continue
3033 fi
@@ -3047,26 +2936,25 @@
3047 if { (ac_try="$ac_cpp conftest.$ac_ext"
3048 case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3053 $as_echo "$ac_try_echo") >&5
3054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3055 ac_status=$?
3056 grep -v '^ *+' conftest.er1 >conftest.err
3057 rm -f conftest.er1
3058 cat conftest.err >&5
3059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } >/dev/null && {
3061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3062 test ! -s conftest.err
3063 }; then
3064 # Broken: success on invalid input.
3065 continue
3066 else
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 # Passes both tests.
3071 ac_preproc_ok=:
3072 break
@@ -3087,12 +2975,12 @@
3087 fi
3088 CPP=$ac_cv_prog_CPP
3089 else
3090 ac_cv_prog_CPP=$CPP
3091 fi
3092 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3093 $as_echo "$CPP" >&6; }
3094 ac_preproc_ok=false
3095 for ac_c_preproc_warn_flag in '' yes
3096 do
3097 # Use a header file that comes with gcc, so configuring glibc
3098 # with a fresh cross-compiler works.
@@ -3116,25 +3004,24 @@
3116 if { (ac_try="$ac_cpp conftest.$ac_ext"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3122 $as_echo "$ac_try_echo") >&5
3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3124 ac_status=$?
3125 grep -v '^ *+' conftest.er1 >conftest.err
3126 rm -f conftest.er1
3127 cat conftest.err >&5
3128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev/null && {
3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3131 test ! -s conftest.err
3132 }; then
3133 :
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3137
3138 # Broken: fails on valid input.
3139 continue
3140 fi
@@ -3154,26 +3041,25 @@
3154 if { (ac_try="$ac_cpp conftest.$ac_ext"
3155 case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158 esac
3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3160 $as_echo "$ac_try_echo") >&5
3161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3162 ac_status=$?
3163 grep -v '^ *+' conftest.er1 >conftest.err
3164 rm -f conftest.er1
3165 cat conftest.err >&5
3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); } >/dev/null && {
3168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3169 test ! -s conftest.err
3170 }; then
3171 # Broken: success on invalid input.
3172 continue
3173 else
3174 $as_echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3176
3177 # Passes both tests.
3178 ac_preproc_ok=:
3179 break
@@ -3185,13 +3071,13 @@
3185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3186 rm -f conftest.err conftest.$ac_ext
3187 if $ac_preproc_ok; then
3188 :
3189 else
3190 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3191 See \`config.log' for more details." >&5
3192 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3193 See \`config.log' for more details." >&2;}
3194 { (exit 1); exit 1; }; }
3195 fi
3196
3197 ac_ext=c
@@ -3199,41 +3085,46 @@
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202
3203
3204 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3205 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
 
 
 
 
 
3206 if test "${ac_cv_path_GREP+set}" = set; then
3207 $as_echo_n "(cached) " >&6
3208 else
3209 if test -z "$GREP"; then
3210 ac_path_GREP_found=false
3211 # Loop through the user's path and test for each of PROGNAME-LIST
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3214 do
3215 IFS=$as_save_IFS
3216 test -z "$as_dir" && as_dir=.
3217 for ac_prog in grep ggrep; do
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3220 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3221 # Check for GNU ac_path_GREP and select it if it is found.
3222 # Check for GNU $ac_path_GREP
3223 case `"$ac_path_GREP" --version 2>&1` in
3224 *GNU*)
3225 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3226 *)
3227 ac_count=0
3228 $as_echo_n 0123456789 >"conftest.in"
3229 while :
3230 do
3231 cat "conftest.in" "conftest.in" >"conftest.tmp"
3232 mv "conftest.tmp" "conftest.in"
3233 cp "conftest.in" "conftest.nl"
3234 $as_echo 'GREP' >> "conftest.nl"
3235 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3236 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3237 ac_count=`expr $ac_count + 1`
3238 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3239 # Best one so far, save it but keep looking for a better one
@@ -3244,64 +3135,78 @@
3244 test $ac_count -gt 10 && break
3245 done
3246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3247 esac
3248
3249 $ac_path_GREP_found && break 3
3250 done
3251 done
 
 
3252 done
3253 IFS=$as_save_IFS
3254 if test -z "$ac_cv_path_GREP"; then
3255 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3256 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
 
 
 
 
3257 { (exit 1); exit 1; }; }
3258 fi
 
3259 else
3260 ac_cv_path_GREP=$GREP
3261 fi
 
3262
3263 fi
3264 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3265 $as_echo "$ac_cv_path_GREP" >&6; }
3266 GREP="$ac_cv_path_GREP"
3267
3268
3269 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3270 $as_echo_n "checking for egrep... " >&6; }
3271 if test "${ac_cv_path_EGREP+set}" = set; then
3272 $as_echo_n "(cached) " >&6
3273 else
3274 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3275 then ac_cv_path_EGREP="$GREP -E"
3276 else
3277 if test -z "$EGREP"; then
 
 
 
 
 
3278 ac_path_EGREP_found=false
3279 # Loop through the user's path and test for each of PROGNAME-LIST
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3282 do
3283 IFS=$as_save_IFS
3284 test -z "$as_dir" && as_dir=.
3285 for ac_prog in egrep; do
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3288 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3289 # Check for GNU ac_path_EGREP and select it if it is found.
3290 # Check for GNU $ac_path_EGREP
3291 case `"$ac_path_EGREP" --version 2>&1` in
3292 *GNU*)
3293 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3294 *)
3295 ac_count=0
3296 $as_echo_n 0123456789 >"conftest.in"
3297 while :
3298 do
3299 cat "conftest.in" "conftest.in" >"conftest.tmp"
3300 mv "conftest.tmp" "conftest.in"
3301 cp "conftest.in" "conftest.nl"
3302 $as_echo 'EGREP' >> "conftest.nl"
3303 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3304 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3305 ac_count=`expr $ac_count + 1`
3306 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3307 # Best one so far, save it but keep looking for a better one
@@ -3312,35 +3217,44 @@
3312 test $ac_count -gt 10 && break
3313 done
3314 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3315 esac
3316
3317 $ac_path_EGREP_found && break 3
3318 done
3319 done
 
 
3320 done
3321 IFS=$as_save_IFS
3322 if test -z "$ac_cv_path_EGREP"; then
3323 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3324 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
 
 
 
 
3325 { (exit 1); exit 1; }; }
3326 fi
 
3327 else
3328 ac_cv_path_EGREP=$EGREP
3329 fi
 
3330
3331 fi
3332 fi
3333 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3334 $as_echo "$ac_cv_path_EGREP" >&6; }
3335 EGREP="$ac_cv_path_EGREP"
3336
3337
3338 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3339 $as_echo_n "checking for ANSI C header files... " >&6; }
3340 if test "${ac_cv_header_stdc+set}" = set; then
3341 $as_echo_n "(cached) " >&6
3342 else
3343 cat >conftest.$ac_ext <<_ACEOF
3344 /* confdefs.h. */
3345 _ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
@@ -3363,25 +3277,24 @@
3363 if { (ac_try="$ac_compile"
3364 case "(($ac_try" in
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3367 esac
3368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3369 $as_echo "$ac_try_echo") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3371 ac_status=$?
3372 grep -v '^ *+' conftest.er1 >conftest.err
3373 rm -f conftest.er1
3374 cat conftest.err >&5
3375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_c_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3380 ac_cv_header_stdc=yes
3381 else
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3384
3385 ac_cv_header_stdc=no
3386 fi
3387
@@ -3402,11 +3315,11 @@
3402 $EGREP "memchr" >/dev/null 2>&1; then
3403 :
3404 else
3405 ac_cv_header_stdc=no
3406 fi
3407 rm -f conftest*
3408
3409 fi
3410
3411 if test $ac_cv_header_stdc = yes; then
3412 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
@@ -3423,11 +3336,11 @@
3423 $EGREP "free" >/dev/null 2>&1; then
3424 :
3425 else
3426 ac_cv_header_stdc=no
3427 fi
3428 rm -f conftest*
3429
3430 fi
3431
3432 if test $ac_cv_header_stdc = yes; then
3433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
@@ -3469,44 +3382,41 @@
3469 if { (ac_try="$ac_link"
3470 case "(($ac_try" in
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3473 esac
3474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3475 $as_echo "$ac_try_echo") >&5
3476 (eval "$ac_link") 2>&5
3477 ac_status=$?
3478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3480 { (case "(($ac_try" in
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3483 esac
3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3485 $as_echo "$ac_try_echo") >&5
3486 (eval "$ac_try") 2>&5
3487 ac_status=$?
3488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; }; then
3490 :
3491 else
3492 $as_echo "$as_me: program exited with status $ac_status" >&5
3493 $as_echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3495
3496 ( exit $ac_status )
3497 ac_cv_header_stdc=no
3498 fi
3499 rm -rf conftest.dSYM
3500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3501 fi
3502
3503
3504 fi
3505 fi
3506 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3507 $as_echo "$ac_cv_header_stdc" >&6; }
3508 if test $ac_cv_header_stdc = yes; then
3509
3510 cat >>confdefs.h <<\_ACEOF
3511 #define STDC_HEADERS 1
3512 _ACEOF
@@ -3524,15 +3434,15 @@
3524
3525
3526 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3527 inttypes.h stdint.h unistd.h
3528 do
3529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3530 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3531 $as_echo_n "checking for $ac_header... " >&6; }
3532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3533 $as_echo_n "(cached) " >&6
3534 else
3535 cat >conftest.$ac_ext <<_ACEOF
3536 /* confdefs.h. */
3537 _ACEOF
3538 cat confdefs.h >>conftest.$ac_ext
@@ -3546,59 +3456,56 @@
3546 if { (ac_try="$ac_compile"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3552 $as_echo "$ac_try_echo") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3563 eval "$as_ac_Header=yes"
3564 else
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3567
3568 eval "$as_ac_Header=no"
3569 fi
3570
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 fi
3573 ac_res=`eval 'as_val=${'$as_ac_Header'}
3574 $as_echo "$as_val"'`
3575 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3576 $as_echo "$ac_res" >&6; }
3577 if test `eval 'as_val=${'$as_ac_Header'}
3578 $as_echo "$as_val"'` = yes; then
3579 cat >>confdefs.h <<_ACEOF
3580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3581 _ACEOF
3582
3583 fi
3584
3585 done
3586
3587
3588 if test "${ac_cv_header_zlib_h+set}" = set; then
3589 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
3590 $as_echo_n "checking for zlib.h... " >&6; }
3591 if test "${ac_cv_header_zlib_h+set}" = set; then
3592 $as_echo_n "(cached) " >&6
3593 fi
3594 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3595 $as_echo "$ac_cv_header_zlib_h" >&6; }
3596 else
3597 # Is the header compilable?
3598 { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
3599 $as_echo_n "checking zlib.h usability... " >&6; }
3600 cat >conftest.$ac_ext <<_ACEOF
3601 /* confdefs.h. */
3602 _ACEOF
3603 cat confdefs.h >>conftest.$ac_ext
3604 cat >>conftest.$ac_ext <<_ACEOF
@@ -3610,37 +3517,36 @@
3610 if { (ac_try="$ac_compile"
3611 case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3614 esac
3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616 $as_echo "$ac_try_echo") >&5
3617 (eval "$ac_compile") 2>conftest.er1
3618 ac_status=$?
3619 grep -v '^ *+' conftest.er1 >conftest.err
3620 rm -f conftest.er1
3621 cat conftest.err >&5
3622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } && {
3624 test -z "$ac_c_werror_flag" ||
3625 test ! -s conftest.err
3626 } && test -s conftest.$ac_objext; then
3627 ac_header_compiler=yes
3628 else
3629 $as_echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 ac_header_compiler=no
3633 fi
3634
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3637 $as_echo "$ac_header_compiler" >&6; }
3638
3639 # Is the header present?
3640 { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
3641 $as_echo_n "checking zlib.h presence... " >&6; }
3642 cat >conftest.$ac_ext <<_ACEOF
3643 /* confdefs.h. */
3644 _ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
@@ -3650,73 +3556,72 @@
3650 if { (ac_try="$ac_cpp conftest.$ac_ext"
3651 case "(($ac_try" in
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3654 esac
3655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656 $as_echo "$ac_try_echo") >&5
3657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 }; then
3667 ac_header_preproc=yes
3668 else
3669 $as_echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3671
3672 ac_header_preproc=no
3673 fi
3674
3675 rm -f conftest.err conftest.$ac_ext
3676 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3677 $as_echo "$ac_header_preproc" >&6; }
3678
3679 # So? What about this header?
3680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3681 yes:no: )
3682 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3683 $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3684 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3685 $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3686 ac_header_preproc=yes
3687 ;;
3688 no:yes:* )
3689 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3690 $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3691 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3692 $as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3693 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3694 $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3695 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3696 $as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3697 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3698 $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3699 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3700 $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3701 ( cat <<\_ASBOX
3702 ## ------------------------------- ##
3703 ## Report this to [email protected] ##
3704 ## ------------------------------- ##
3705 _ASBOX
3706 ) | sed "s/^/$as_me: WARNING: /" >&2
3707 ;;
3708 esac
3709 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
3710 $as_echo_n "checking for zlib.h... " >&6; }
3711 if test "${ac_cv_header_zlib_h+set}" = set; then
3712 $as_echo_n "(cached) " >&6
3713 else
3714 ac_cv_header_zlib_h=$ac_header_preproc
3715 fi
3716 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3717 $as_echo "$ac_cv_header_zlib_h" >&6; }
3718
3719 fi
3720 if test $ac_cv_header_zlib_h = yes; then
3721 zlib_cv_zlib_h=yes
3722 else
@@ -3724,12 +3629,12 @@
3724 fi
3725
3726
3727
3728 if test "$zlib_cv_libz" != yes || test "$zlib_cv_zlib_h" != yes; then
3729 { { $as_echo "$as_me:$LINENO: error: zlib not found" >&5
3730 $as_echo "$as_me: error: zlib not found" >&2;}
3731 { (exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS); exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS; }; }
3732 fi
3733 LIBS="$LIBS -lz"
3734
3735 enable_openssl=check
@@ -3747,12 +3652,12 @@
3747 # Check whether --with-openssl was given.
3748 if test "${with_openssl+set}" = set; then
3749 withval=$with_openssl;
3750 case "$withval" in
3751 "" | y | ye | yes | n | no)
3752 { { $as_echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
3753 $as_echo "$as_me: error: Invalid --with-openssl value" >&2;}
3754 { (exit 1); exit 1; }; }
3755 ;;
3756 *) ssldirs="$withval"
3757 ;;
3758 esac
@@ -3761,14 +3666,14 @@
3761
3762 # if pkg-config is installed and openssl has installed a .pc file,
3763 # then use that information and don't search ssldirs
3764 # Extract the first word of "pkg-config", so it can be a program name with args.
3765 set dummy pkg-config; ac_word=$2
3766 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3769 $as_echo_n "(cached) " >&6
3770 else
3771 case $PKG_CONFIG in
3772 [\\/]* | ?:[\\/]*)
3773 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3774 ;;
@@ -3779,11 +3684,11 @@
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3784 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 break 2
3786 fi
3787 done
3788 done
3789 IFS=$as_save_IFS
@@ -3791,15 +3696,15 @@
3791 ;;
3792 esac
3793 fi
3794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3795 if test -n "$PKG_CONFIG"; then
3796 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3797 $as_echo "$PKG_CONFIG" >&6; }
3798 else
3799 { $as_echo "$as_me:$LINENO: result: no" >&5
3800 $as_echo "no" >&6; }
3801 fi
3802
3803
3804 if test x"$PKG_CONFIG" != x""; then
3805 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
@@ -3809,12 +3714,13 @@
3809 found=true
3810 fi
3811 fi
3812
3813 # no such luck; use some default ssldirs
 
3814 if ! $found; then
3815 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
3816 fi
3817
3818
3819 fi
3820
@@ -3824,23 +3730,23 @@
3824 # an 'openssl' subdirectory
3825
3826 if ! $found; then
3827 OPENSSL_INCLUDES=
3828 for ssldir in $ssldirs; do
3829 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
3830 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
3831 if test -f "$ssldir/include/openssl/ssl.h"; then
3832 OPENSSL_INCLUDES="-I$ssldir/include"
3833 OPENSSL_LDFLAGS="-L$ssldir/lib"
3834 OPENSSL_LIBS="-lssl -lcrypto"
3835 found=true
3836 { $as_echo "$as_me:$LINENO: result: yes" >&5
3837 $as_echo "yes" >&6; }
3838 break
3839 else
3840 { $as_echo "$as_me:$LINENO: result: no" >&5
3841 $as_echo "no" >&6; }
3842 fi
3843 done
3844
3845 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
3846 # it will just work!
@@ -3847,12 +3753,12 @@
3847 fi
3848
3849 # try the preprocessor and linker with our new flags,
3850 # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
3851
3852 { $as_echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
3853 $as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
3854 echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
3855 "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
3856
3857 save_LIBS="$LIBS"
3858 save_LDFLAGS="$LDFLAGS"
@@ -3879,54 +3785,50 @@
3879 if { (ac_try="$ac_link"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3885 $as_echo "$ac_try_echo") >&5
3886 (eval "$ac_link") 2>conftest.er1
3887 ac_status=$?
3888 grep -v '^ *+' conftest.er1 >conftest.err
3889 rm -f conftest.er1
3890 cat conftest.err >&5
3891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } && {
3893 test -z "$ac_c_werror_flag" ||
3894 test ! -s conftest.err
3895 } && test -s conftest$ac_exeext && {
3896 test "$cross_compiling" = yes ||
3897 $as_test_x conftest$ac_exeext
3898 }; then
3899
3900 { $as_echo "$as_me:$LINENO: result: yes" >&5
3901 $as_echo "yes" >&6; }
3902
3903 cat >>confdefs.h <<\_ACEOF
3904 #define FOSSIL_ENABLE_SSL 1
3905 _ACEOF
3906
3907
3908 else
3909 $as_echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.$ac_ext >&5
3911
3912
3913 { $as_echo "$as_me:$LINENO: result: no" >&5
3914 $as_echo "no" >&6; }
3915 if test "$enable_openssl" = yes; then
3916 { $as_echo "$as_me:$LINENO: result: failed" >&5
3917 $as_echo "failed" >&6; }
3918 { { $as_echo "$as_me:$LINENO: error: HTTPS support requested" >&5
3919 $as_echo "$as_me: error: HTTPS support requested" >&2;}
3920 { (exit but OpenSSL not found); exit but OpenSSL not found; }; }
3921 fi
3922
3923
3924
3925 fi
3926
3927 rm -rf conftest.dSYM
3928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3929 conftest$ac_exeext conftest.$ac_ext
3930 CPPFLAGS="$save_CPPFLAGS"
3931 LDFLAGS="$save_LDFLAGS"
3932 LIBS="$save_LIBS"
@@ -3936,14 +3838,14 @@
3936
3937
3938 fi
3939
3940 # Network functions on Solaris
3941 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3942 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3943 if test "${ac_cv_search_gethostbyname+set}" = set; then
3944 $as_echo_n "(cached) " >&6
3945 else
3946 ac_func_search_save_LIBS=$LIBS
3947 cat >conftest.$ac_ext <<_ACEOF
3948 /* confdefs.h. */
3949 _ACEOF
@@ -3977,34 +3879,30 @@
3977 if { (ac_try="$ac_link"
3978 case "(($ac_try" in
3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980 *) ac_try_echo=$ac_try;;
3981 esac
3982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3983 $as_echo "$ac_try_echo") >&5
3984 (eval "$ac_link") 2>conftest.er1
3985 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1
3988 cat conftest.err >&5
3989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest$ac_exeext && {
3994 test "$cross_compiling" = yes ||
3995 $as_test_x conftest$ac_exeext
3996 }; then
3997 ac_cv_search_gethostbyname=$ac_res
3998 else
3999 $as_echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4001
4002
4003 fi
4004
4005 rm -rf conftest.dSYM
4006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4007 conftest$ac_exeext
4008 if test "${ac_cv_search_gethostbyname+set}" = set; then
4009 break
4010 fi
@@ -4015,22 +3913,22 @@
4015 ac_cv_search_gethostbyname=no
4016 fi
4017 rm conftest.$ac_ext
4018 LIBS=$ac_func_search_save_LIBS
4019 fi
4020 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4021 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4022 ac_res=$ac_cv_search_gethostbyname
4023 if test "$ac_res" != no; then
4024 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4025
4026 fi
4027
4028 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
4029 $as_echo_n "checking for library containing socket... " >&6; }
4030 if test "${ac_cv_search_socket+set}" = set; then
4031 $as_echo_n "(cached) " >&6
4032 else
4033 ac_func_search_save_LIBS=$LIBS
4034 cat >conftest.$ac_ext <<_ACEOF
4035 /* confdefs.h. */
4036 _ACEOF
@@ -4064,34 +3962,30 @@
4064 if { (ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4070 $as_echo "$ac_try_echo") >&5
4071 (eval "$ac_link") 2>conftest.er1
4072 ac_status=$?
4073 grep -v '^ *+' conftest.er1 >conftest.err
4074 rm -f conftest.er1
4075 cat conftest.err >&5
4076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && {
4078 test -z "$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4080 } && test -s conftest$ac_exeext && {
4081 test "$cross_compiling" = yes ||
4082 $as_test_x conftest$ac_exeext
4083 }; then
4084 ac_cv_search_socket=$ac_res
4085 else
4086 $as_echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4088
4089
4090 fi
4091
4092 rm -rf conftest.dSYM
4093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4094 conftest$ac_exeext
4095 if test "${ac_cv_search_socket+set}" = set; then
4096 break
4097 fi
@@ -4102,21 +3996,21 @@
4102 ac_cv_search_socket=no
4103 fi
4104 rm conftest.$ac_ext
4105 LIBS=$ac_func_search_save_LIBS
4106 fi
4107 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4108 $as_echo "$ac_cv_search_socket" >&6; }
4109 ac_res=$ac_cv_search_socket
4110 if test "$ac_res" != no; then
4111 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4112
4113 else
4114 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4115 $as_echo_n "checking for socket in -lsocket... " >&6; }
4116 if test "${ac_cv_lib_socket_socket+set}" = set; then
4117 $as_echo_n "(cached) " >&6
4118 else
4119 ac_check_lib_save_LIBS=$LIBS
4120 LIBS="-lsocket -lnsl $LIBS"
4121 cat >conftest.$ac_ext <<_ACEOF
4122 /* confdefs.h. */
@@ -4144,47 +4038,139 @@
4144 if { (ac_try="$ac_link"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4150 $as_echo "$ac_try_echo") >&5
4151 (eval "$ac_link") 2>conftest.er1
4152 ac_status=$?
4153 grep -v '^ *+' conftest.er1 >conftest.err
4154 rm -f conftest.er1
4155 cat conftest.err >&5
4156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } && {
4158 test -z "$ac_c_werror_flag" ||
4159 test ! -s conftest.err
4160 } && test -s conftest$ac_exeext && {
4161 test "$cross_compiling" = yes ||
4162 $as_test_x conftest$ac_exeext
4163 }; then
4164 ac_cv_lib_socket_socket=yes
4165 else
4166 $as_echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4168
4169 ac_cv_lib_socket_socket=no
4170 fi
4171
4172 rm -rf conftest.dSYM
4173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4174 conftest$ac_exeext conftest.$ac_ext
4175 LIBS=$ac_check_lib_save_LIBS
4176 fi
4177 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4178 $as_echo "$ac_cv_lib_socket_socket" >&6; }
4179 if test $ac_cv_lib_socket_socket = yes; then
4180 LIBS="-lsocket -lnsl $LIBS"
4181 fi
4182
4183 fi
4184
4185
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4186
4187 ac_config_files="$ac_config_files Makefile"
4188
4189 cat >confcache <<\_ACEOF
4190 # This file is a shell script that caches the results of configure
@@ -4211,16 +4197,15 @@
4211 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4212 eval ac_val=\$$ac_var
4213 case $ac_val in #(
4214 *${as_nl}*)
4215 case $ac_var in #(
4216 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4217 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4218 esac
4219 case $ac_var in #(
4220 _ | IFS | as_nl) ;; #(
4221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4222 *) $as_unset $ac_var ;;
4223 esac ;;
4224 esac
4225 done
4226
@@ -4249,16 +4234,16 @@
4249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4250 :end' >>confcache
4251 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4252 if test -w "$cache_file"; then
4253 test "x$cache_file" != "x/dev/null" &&
4254 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4255 $as_echo "$as_me: updating cache $cache_file" >&6;}
4256 cat confcache >$cache_file
4257 else
4258 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4259 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4260 fi
4261 fi
4262 rm -f confcache
4263
4264 test "x$prefix" = xNONE && prefix=$ac_default_prefix
@@ -4270,11 +4255,11 @@
4270 ac_libobjs=
4271 ac_ltlibobjs=
4272 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4273 # 1. Remove the extension, and $U if already installed.
4274 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4275 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4276 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4277 # will be set to the directory where LIBOBJS objects are built.
4278 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4279 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4280 done
@@ -4283,16 +4268,15 @@
4283 LTLIBOBJS=$ac_ltlibobjs
4284
4285
4286
4287 : ${CONFIG_STATUS=./config.status}
4288 ac_write_fail=0
4289 ac_clean_files_save=$ac_clean_files
4290 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4291 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4292 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4293 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4294 #! $SHELL
4295 # Generated by $as_me.
4296 # Run this file to recreate the current configuration.
4297 # Compiler output produced by configure, useful for debugging
4298 # configure, is in config.log if it exists.
@@ -4301,21 +4285,21 @@
4301 ac_cs_recheck=false
4302 ac_cs_silent=false
4303 SHELL=\${CONFIG_SHELL-$SHELL}
4304 _ACEOF
4305
4306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4307 ## --------------------- ##
4308 ## M4sh Initialization. ##
4309 ## --------------------- ##
4310
4311 # Be more Bourne compatible
4312 DUALCASE=1; export DUALCASE # for MKS sh
4313 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4314 emulate sh
4315 NULLCMD=:
4316 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4317 # is contrary to our usage. Disable this feature.
4318 alias -g '${1+"$@"}'='"$@"'
4319 setopt NO_GLOB_SUBST
4320 else
4321 case `(set -o) 2>/dev/null` in
@@ -4333,49 +4317,21 @@
4333 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4334 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4335 as_cr_digits='0123456789'
4336 as_cr_alnum=$as_cr_Letters$as_cr_digits
4337
4338 as_nl='
4339 '
4340 export as_nl
4341 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4342 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4343 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4345 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4346 as_echo='printf %s\n'
4347 as_echo_n='printf %s'
4348 else
4349 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4350 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4351 as_echo_n='/usr/ucb/echo -n'
4352 else
4353 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4354 as_echo_n_body='eval
4355 arg=$1;
4356 case $arg in
4357 *"$as_nl"*)
4358 expr "X$arg" : "X\\(.*\\)$as_nl";
4359 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4360 esac;
4361 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4362 '
4363 export as_echo_n_body
4364 as_echo_n='sh -c $as_echo_n_body as_echo'
4365 fi
4366 export as_echo_body
4367 as_echo='sh -c $as_echo_body as_echo'
4368 fi
4369
4370 # The user is always right.
4371 if test "${PATH_SEPARATOR+set}" != set; then
4372 PATH_SEPARATOR=:
4373 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4374 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4375 PATH_SEPARATOR=';'
4376 }
 
 
 
 
4377 fi
4378
4379 # Support unset when possible.
4380 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4381 as_unset=unset
@@ -4387,10 +4343,12 @@
4387 # IFS
4388 # We need space, tab and new line, in precisely that order. Quoting is
4389 # there to prevent editors from complaining about space-tab.
4390 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4391 # splitting by setting IFS to empty value.)
 
 
4392 IFS=" "" $as_nl"
4393
4394 # Find who we are. Look in the path if we contain no directory separator.
4395 case $0 in
4396 *[\\/]* ) as_myself=$0 ;;
@@ -4409,11 +4367,11 @@
4409 # in which case we are not to be found in the path.
4410 if test "x$as_myself" = x; then
4411 as_myself=$0
4412 fi
4413 if test ! -f "$as_myself"; then
4414 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4415 { (exit 1); exit 1; }
4416 fi
4417
4418 # Work around bugs in pre-3.0 UWIN ksh.
4419 for as_var in ENV MAIL MAILPATH
@@ -4422,14 +4380,21 @@
4422 PS1='$ '
4423 PS2='> '
4424 PS4='+ '
4425
4426 # NLS nuisances.
4427 LC_ALL=C
4428 export LC_ALL
4429 LANGUAGE=C
4430 export LANGUAGE
 
 
 
 
 
 
 
4431
4432 # Required to use basename.
4433 if expr a : '\(a\)' >/dev/null 2>&1 &&
4434 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4435 as_expr=expr
@@ -4447,11 +4412,11 @@
4447 # Name of the executable.
4448 as_me=`$as_basename -- "$0" ||
4449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4450 X"$0" : 'X\(//\)$' \| \
4451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4452 $as_echo X/"$0" |
4453 sed '/^.*\/\([^/][^/]*\)\/*$/{
4454 s//\1/
4455 q
4456 }
4457 /^X\/\(\/\/\)$/{
@@ -4498,11 +4463,11 @@
4498 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4499 t loop
4500 s/-\n.*//
4501 ' >$as_me.lineno &&
4502 chmod +x "$as_me.lineno" ||
4503 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4504 { (exit 1); exit 1; }; }
4505
4506 # Don't try to exec as it changes $[0], causing all sort of problems
4507 # (the dirname of $[0] is not the place where we might find the
4508 # original and so on. Autoconf is especially sensitive to this).
@@ -4526,10 +4491,11 @@
4526 *) ECHO_C='\c';;
4527 esac;;
4528 *)
4529 ECHO_N='-n';;
4530 esac
 
4531 if expr a : '\(a\)' >/dev/null 2>&1 &&
4532 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4533 as_expr=expr
4534 else
4535 as_expr=false
@@ -4538,26 +4504,23 @@
4538 rm -f conf$$ conf$$.exe conf$$.file
4539 if test -d conf$$.dir; then
4540 rm -f conf$$.dir/conf$$.file
4541 else
4542 rm -f conf$$.dir
4543 mkdir conf$$.dir 2>/dev/null
4544 fi
4545 if (echo >conf$$.file) 2>/dev/null; then
4546 if ln -s conf$$.file conf$$ 2>/dev/null; then
4547 as_ln_s='ln -s'
4548 # ... but there are two gotchas:
4549 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4550 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4551 # In both cases, we have to default to `cp -p'.
4552 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4553 as_ln_s='cp -p'
4554 elif ln conf$$.file conf$$ 2>/dev/null; then
4555 as_ln_s=ln
4556 else
4557 as_ln_s='cp -p'
4558 fi
4559 else
4560 as_ln_s='cp -p'
4561 fi
4562 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4563 rmdir conf$$.dir 2>/dev/null
@@ -4578,14 +4541,14 @@
4578 as_ls_L_option=
4579 fi
4580 as_test_x='
4581 eval sh -c '\''
4582 if test -d "$1"; then
4583 test -d "$1/.";
4584 else
4585 case $1 in
4586 -*)set "./$1";;
4587 esac;
4588 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4589 ???[sx]*):;;*)false;;esac;fi
4590 '\'' sh
4591 '
@@ -4604,11 +4567,11 @@
4604 # Save the log message, to keep $[0] and so on meaningful, and to
4605 # report actual input values of CONFIG_FILES etc. instead of their
4606 # values after options handling.
4607 ac_log="
4608 This file was extended by fossil $as_me 20110528, which was
4609 generated by GNU Autoconf 2.62. Invocation command line was
4610
4611 CONFIG_FILES = $CONFIG_FILES
4612 CONFIG_HEADERS = $CONFIG_HEADERS
4613 CONFIG_LINKS = $CONFIG_LINKS
4614 CONFIG_COMMANDS = $CONFIG_COMMANDS
@@ -4617,18 +4580,18 @@
4617 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4618 "
4619
4620 _ACEOF
4621
4622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4623 # Files that config.status was made for.
4624 config_files="$ac_config_files"
4625 config_headers="$ac_config_headers"
4626
4627 _ACEOF
4628
4629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4630 ac_cs_usage="\
4631 \`$as_me' instantiates files from templates according to the
4632 current configuration.
4633
4634 Usage: $0 [OPTIONS] [FILE]...
@@ -4637,13 +4600,13 @@
4637 -V, --version print version number and configuration settings, then exit
4638 -q, --quiet do not print progress messages
4639 -d, --debug don't remove temporary files
4640 --recheck update $as_me by reconfiguring in the same conditions
4641 --file=FILE[:TEMPLATE]
4642 instantiate the configuration file FILE
4643 --header=FILE[:TEMPLATE]
4644 instantiate the configuration header FILE
4645
4646 Configuration files:
4647 $config_files
4648
4649 Configuration headers:
@@ -4650,27 +4613,27 @@
4650 $config_headers
4651
4652 Report bugs to <[email protected]>."
4653
4654 _ACEOF
4655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4656 ac_cs_version="\\
4657 fossil config.status 20110528
4658 configured by $0, generated by GNU Autoconf 2.62,
4659 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4660
4661 Copyright (C) 2008 Free Software Foundation, Inc.
4662 This config.status script is free software; the Free Software Foundation
4663 gives unlimited permission to copy, distribute and modify it."
4664
4665 ac_pwd='$ac_pwd'
4666 srcdir='$srcdir'
4667 test -n "\$AWK" || AWK=awk
4668 _ACEOF
4669
4670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4671 # The default lists apply if the user does not specify any file.
 
4672 ac_need_defaults=:
4673 while test $# != 0
4674 do
4675 case $1 in
4676 --*=*)
@@ -4688,40 +4651,34 @@
4688 case $ac_option in
4689 # Handling of the options.
4690 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4691 ac_cs_recheck=: ;;
4692 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4693 $as_echo "$ac_cs_version"; exit ;;
4694 --debug | --debu | --deb | --de | --d | -d )
4695 debug=: ;;
4696 --file | --fil | --fi | --f )
4697 $ac_shift
4698 case $ac_optarg in
4699 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4700 esac
4701 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4702 ac_need_defaults=false;;
4703 --header | --heade | --head | --hea )
4704 $ac_shift
4705 case $ac_optarg in
4706 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4707 esac
4708 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4709 ac_need_defaults=false;;
4710 --he | --h)
4711 # Conflict between --help and --header
4712 { $as_echo "$as_me: error: ambiguous option: $1
4713 Try \`$0 --help' for more information." >&2
4714 { (exit 1); exit 1; }; };;
4715 --help | --hel | -h )
4716 $as_echo "$ac_cs_usage"; exit ;;
4717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4718 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4719 ac_cs_silent=: ;;
4720
4721 # This is an error.
4722 -*) { $as_echo "$as_me: error: unrecognized option: $1
4723 Try \`$0 --help' for more information." >&2
4724 { (exit 1); exit 1; }; } ;;
4725
4726 *) ac_config_targets="$ac_config_targets $1"
4727 ac_need_defaults=false ;;
@@ -4736,46 +4693,44 @@
4736 exec 6>/dev/null
4737 ac_configure_extra_args="$ac_configure_extra_args --silent"
4738 fi
4739
4740 _ACEOF
4741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4742 if \$ac_cs_recheck; then
4743 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4744 shift
4745 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4746 CONFIG_SHELL='$SHELL'
4747 export CONFIG_SHELL
4748 exec "\$@"
4749 fi
4750
4751 _ACEOF
4752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4753 exec 5>>config.log
4754 {
4755 echo
4756 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4757 ## Running $as_me. ##
4758 _ASBOX
4759 $as_echo "$ac_log"
4760 } >&5
4761
4762 _ACEOF
4763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4764 _ACEOF
4765
4766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4767
4768 # Handling of arguments.
4769 for ac_config_target in $ac_config_targets
4770 do
4771 case $ac_config_target in
4772 "autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconfig.h" ;;
4773 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4774
4775 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4776 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4777 { (exit 1); exit 1; }; };;
4778 esac
4779 done
4780
4781
@@ -4811,146 +4766,130 @@
4811 {
4812 tmp=./conf$$-$RANDOM
4813 (umask 077 && mkdir "$tmp")
4814 } ||
4815 {
4816 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4817 { (exit 1); exit 1; }
4818 }
4819
4820 # Set up the scripts for CONFIG_FILES section.
4821 # No need to generate them if there are no CONFIG_FILES.
4822 # This happens for instance with `./config.status config.h'.
 
 
 
4823 if test -n "$CONFIG_FILES"; then
4824
4825
4826 ac_cr='
4827
4828 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4829 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4830 ac_cs_awk_cr='\\r'
4831 else
4832 ac_cs_awk_cr=$ac_cr
4833 fi
4834
4835 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4836 _ACEOF
4837
4838
4839 {
4840 echo "cat >conf$$subs.awk <<_ACEOF" &&
4841 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4842 echo "_ACEOF"
4843 } >conf$$subs.sh ||
4844 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4845 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4846 { (exit 1); exit 1; }; }
4847 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4848 ac_delim='%!_!# '
4849 for ac_last_try in false false false false false :; do
4850 . ./conf$$subs.sh ||
4851 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4852 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4853 { (exit 1); exit 1; }; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4854
4855 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
4856 break
4857 elif $ac_last_try; then
4858 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4859 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4860 { (exit 1); exit 1; }; }
4861 else
4862 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4863 fi
4864 done
4865 rm -f conf$$subs.sh
4866
4867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4868 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4869 _ACEOF
4870 sed -n '
4871 h
4872 s/^/S["/; s/!.*/"]=/
4873 p
4874 g
4875 s/^[^!]*!//
4876 :repl
4877 t repl
4878 s/'"$ac_delim"'$//
4879 t delim
4880 :nl
4881 h
4882 s/\(.\{148\}\).*/\1/
4883 t more1
4884 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4885 p
4886 n
4887 b repl
4888 :more1
4889 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4890 p
4891 g
4892 s/.\{148\}//
4893 t nl
4894 :delim
4895 h
4896 s/\(.\{148\}\).*/\1/
4897 t more2
4898 s/["\\]/\\&/g; s/^/"/; s/$/"/
4899 p
4900 b
4901 :more2
4902 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4903 p
4904 g
4905 s/.\{148\}//
4906 t delim
4907 ' <conf$$subs.awk | sed '
4908 /^[^""]/{
4909 N
4910 s/\n//
4911 }
4912 ' >>$CONFIG_STATUS || ac_write_fail=1
4913 rm -f conf$$subs.awk
4914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4915 _ACAWK
4916 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4917 for (key in S) S_is_set[key] = 1
4918 FS = ""
4919
4920 }
4921 {
4922 line = $ 0
4923 nfields = split(line, field, "@")
4924 substed = 0
4925 len = length(field[1])
4926 for (i = 2; i < nfields; i++) {
4927 key = field[i]
4928 keylen = length(key)
4929 if (S_is_set[key]) {
4930 value = S[key]
4931 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4932 len += length(value) + length(field[++i])
4933 substed = 1
4934 } else
4935 len += 1 + keylen
4936 }
4937
4938 print line
4939 }
4940
4941 _ACAWK
4942 _ACEOF
4943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4944 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4945 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4946 else
4947 cat
4948 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4949 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4950 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4951 { (exit 1); exit 1; }; }
4952 _ACEOF
4953
4954 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4955 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4956 # trailing colons and then remove the whole line if VPATH becomes empty
4957 # (actually we leave an empty line to preserve line numbers).
@@ -4963,137 +4902,23 @@
4963 s/:*$//
4964 s/^[^=]*=[ ]*$//
4965 }'
4966 fi
4967
4968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4969 fi # test -n "$CONFIG_FILES"
4970
4971 # Set up the scripts for CONFIG_HEADERS section.
4972 # No need to generate them if there are no CONFIG_HEADERS.
4973 # This happens for instance with `./config.status Makefile'.
4974 if test -n "$CONFIG_HEADERS"; then
4975 cat >"$tmp/defines.awk" <<\_ACAWK ||
4976 BEGIN {
4977 _ACEOF
4978
4979 # Transform confdefs.h into an awk script `defines.awk', embedded as
4980 # here-document in config.status, that substitutes the proper values into
4981 # config.h.in to produce config.h.
4982
4983 # Create a delimiter string that does not exist in confdefs.h, to ease
4984 # handling of long lines.
4985 ac_delim='%!_!# '
4986 for ac_last_try in false false :; do
4987 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4988 if test -z "$ac_t"; then
4989 break
4990 elif $ac_last_try; then
4991 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4992 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4993 { (exit 1); exit 1; }; }
4994 else
4995 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4996 fi
4997 done
4998
4999 # For the awk script, D is an array of macro values keyed by name,
5000 # likewise P contains macro parameters if any. Preserve backslash
5001 # newline sequences.
5002
5003 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5004 sed -n '
5005 s/.\{148\}/&'"$ac_delim"'/g
5006 t rset
5007 :rset
5008 s/^[ ]*#[ ]*define[ ][ ]*/ /
5009 t def
5010 d
5011 :def
5012 s/\\$//
5013 t bsnl
5014 s/["\\]/\\&/g
5015 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5016 D["\1"]=" \3"/p
5017 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5018 d
5019 :bsnl
5020 s/["\\]/\\&/g
5021 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5022 D["\1"]=" \3\\\\\\n"\\/p
5023 t cont
5024 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5025 t cont
5026 d
5027 :cont
5028 n
5029 s/.\{148\}/&'"$ac_delim"'/g
5030 t clear
5031 :clear
5032 s/\\$//
5033 t bsnlc
5034 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5035 d
5036 :bsnlc
5037 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5038 b cont
5039 ' <confdefs.h | sed '
5040 s/'"$ac_delim"'/"\\\
5041 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5042
5043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5044 for (key in D) D_is_set[key] = 1
5045 FS = ""
5046 }
5047 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5048 line = \$ 0
5049 split(line, arg, " ")
5050 if (arg[1] == "#") {
5051 defundef = arg[2]
5052 mac1 = arg[3]
5053 } else {
5054 defundef = substr(arg[1], 2)
5055 mac1 = arg[2]
5056 }
5057 split(mac1, mac2, "(") #)
5058 macro = mac2[1]
5059 if (D_is_set[macro]) {
5060 # Preserve the white space surrounding the "#".
5061 prefix = substr(line, 1, index(line, defundef) - 1)
5062 print prefix "define", macro P[macro] D[macro]
5063 next
5064 } else {
5065 # Replace #undef with comments. This is necessary, for example,
5066 # in the case of _POSIX_SOURCE, which is predefined and required
5067 # on some systems where configure will not decide to define it.
5068 if (defundef == "undef") {
5069 print "/*", line, "*/"
5070 next
5071 }
5072 }
5073 }
5074 { print }
5075 _ACAWK
5076 _ACEOF
5077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5078 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5079 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5080 { (exit 1); exit 1; }; }
5081 fi # test -n "$CONFIG_HEADERS"
5082
5083
5084 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5085 shift
5086 for ac_tag
5087 do
5088 case $ac_tag in
5089 :[FHLC]) ac_mode=$ac_tag; continue;;
5090 esac
5091 case $ac_mode$ac_tag in
5092 :[FHL]*:*);;
5093 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5094 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5095 { (exit 1); exit 1; }; };;
5096 :[FH]-) ac_tag=-:-;;
5097 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5098 esac
5099 ac_save_IFS=$IFS
@@ -5118,52 +4943,40 @@
5118 test -f "$ac_f" ||
5119 case $ac_f in
5120 [\\/$]*) false;;
5121 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5122 esac ||
5123 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5124 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5125 { (exit 1); exit 1; }; };;
5126 esac
5127 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5128 ac_file_inputs="$ac_file_inputs '$ac_f'"
5129 done
5130
5131 # Let's still pretend it is `configure' which instantiates (i.e., don't
5132 # use $as_me), people would be surprised to read:
5133 # /* config.h. Generated by config.status. */
5134 configure_input='Generated from '`
5135 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5136 `' by configure.'
5137 if test x"$ac_file" != x-; then
5138 configure_input="$ac_file. $configure_input"
5139 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5140 $as_echo "$as_me: creating $ac_file" >&6;}
5141 fi
5142 # Neutralize special characters interpreted by sed in replacement strings.
5143 case $configure_input in #(
5144 *\&* | *\|* | *\\* )
5145 ac_sed_conf_input=`$as_echo "$configure_input" |
5146 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5147 *) ac_sed_conf_input=$configure_input;;
5148 esac
5149
5150 case $ac_tag in
5151 *:-:* | *:-) cat >"$tmp/stdin" \
5152 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5153 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5154 { (exit 1); exit 1; }; } ;;
5155 esac
5156 ;;
5157 esac
5158
5159 ac_dir=`$as_dirname -- "$ac_file" ||
5160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5161 X"$ac_file" : 'X\(//\)[^/]' \| \
5162 X"$ac_file" : 'X\(//\)$' \| \
5163 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5164 $as_echo X"$ac_file" |
5165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5166 s//\1/
5167 q
5168 }
5169 /^X\(\/\/\)[^/].*/{
@@ -5185,20 +4998,20 @@
5185 esac
5186 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5187 as_dirs=
5188 while :; do
5189 case $as_dir in #(
5190 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5191 *) as_qdir=$as_dir;;
5192 esac
5193 as_dirs="'$as_qdir' $as_dirs"
5194 as_dir=`$as_dirname -- "$as_dir" ||
5195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5196 X"$as_dir" : 'X\(//\)[^/]' \| \
5197 X"$as_dir" : 'X\(//\)$' \| \
5198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5199 $as_echo X"$as_dir" |
5200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5201 s//\1/
5202 q
5203 }
5204 /^X\(\/\/\)[^/].*/{
@@ -5215,21 +5028,21 @@
5215 }
5216 s/.*/./; q'`
5217 test -d "$as_dir" && break
5218 done
5219 test -z "$as_dirs" || eval "mkdir $as_dirs"
5220 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5221 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5222 { (exit 1); exit 1; }; }; }
5223 ac_builddir=.
5224
5225 case "$ac_dir" in
5226 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5227 *)
5228 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5229 # A ".." for each directory in $ac_dir_suffix.
5230 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5231 case $ac_top_builddir_sub in
5232 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5233 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5234 esac ;;
5235 esac
@@ -5261,33 +5074,31 @@
5261 # CONFIG_FILE
5262 #
5263
5264 _ACEOF
5265
5266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5267 # If the template does not know about datarootdir, expand it.
5268 # FIXME: This hack should be removed a few years after 2.60.
5269 ac_datarootdir_hack=; ac_datarootdir_seen=
5270
5271 ac_sed_dataroot='
5272 /datarootdir/ {
5273 p
5274 q
5275 }
5276 /@datadir@/p
5277 /@docdir@/p
5278 /@infodir@/p
5279 /@localedir@/p
5280 /@mandir@/p
5281 '
5282 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5283 *datarootdir*) ac_datarootdir_seen=yes;;
5284 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5285 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5286 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5287 _ACEOF
5288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5289 ac_datarootdir_hack='
5290 s&@datadir@&$datadir&g
5291 s&@docdir@&$docdir&g
5292 s&@infodir@&$infodir&g
5293 s&@localedir@&$localedir&g
@@ -5297,80 +5108,140 @@
5297 _ACEOF
5298
5299 # Neutralize VPATH when `$srcdir' = `.'.
5300 # Shell code in configure.ac might set extrasub.
5301 # FIXME: do we really want to maintain this feature?
5302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5303 ac_sed_extra="$ac_vpsub
5304 $extrasub
5305 _ACEOF
5306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5307 :t
5308 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5309 s|@configure_input@|$ac_sed_conf_input|;t t
5310 s&@top_builddir@&$ac_top_builddir_sub&;t t
5311 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5312 s&@srcdir@&$ac_srcdir&;t t
5313 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5314 s&@top_srcdir@&$ac_top_srcdir&;t t
5315 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5316 s&@builddir@&$ac_builddir&;t t
5317 s&@abs_builddir@&$ac_abs_builddir&;t t
5318 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5319 $ac_datarootdir_hack
5320 "
5321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5322 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5323 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5324 { (exit 1); exit 1; }; }
5325
5326 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5327 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5328 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5329 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5330 which seems to be undefined. Please make sure it is defined." >&5
5331 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5332 which seems to be undefined. Please make sure it is defined." >&2;}
5333
5334 rm -f "$tmp/stdin"
5335 case $ac_file in
5336 -) cat "$tmp/out" && rm -f "$tmp/out";;
5337 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5338 esac \
5339 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5340 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5341 { (exit 1); exit 1; }; }
5342 ;;
5343 :H)
5344 #
5345 # CONFIG_HEADER
5346 #
5347 if test x"$ac_file" != x-; then
5348 {
5349 $as_echo "/* $configure_input */" \
5350 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5351 } >"$tmp/config.h" \
5352 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5353 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5354 { (exit 1); exit 1; }; }
5355 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5356 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5357 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5358 else
5359 rm -f "$ac_file"
5360 mv "$tmp/config.h" "$ac_file" \
5361 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5362 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5363 { (exit 1); exit 1; }; }
5364 fi
5365 else
5366 $as_echo "/* $configure_input */" \
5367 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5368 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5369 $as_echo "$as_me: error: could not create -" >&2;}
5370 { (exit 1); exit 1; }; }
5371 fi
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5372 ;;
5373
5374
5375 esac
5376
@@ -5380,15 +5251,10 @@
5380 { (exit 0); exit 0; }
5381 _ACEOF
5382 chmod +x $CONFIG_STATUS
5383 ac_clean_files=$ac_clean_files_save
5384
5385 test $ac_write_fail = 0 ||
5386 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5387 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5388 { (exit 1); exit 1; }; }
5389
5390
5391 # configure is writing to config.log, and then calls config.status.
5392 # config.status does its own redirection, appending to config.log.
5393 # Unfortunately, on DOS this fails, as config.log is still kept open
5394 # by configure, so config.status won't be able to write to it; its
@@ -5406,10 +5272,6 @@
5406 exec 5>>config.log
5407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5408 # would make configure fail if this is the last instruction.
5409 $ac_cs_success || { (exit 1); exit 1; }
5410 fi
5411 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5412 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
5413 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
5414 fi
5415
5416
--- configure
+++ configure
@@ -1,13 +1,13 @@
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for fossil 20110528.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
@@ -15,11 +15,11 @@
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
@@ -37,49 +37,21 @@
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
@@ -91,10 +63,12 @@
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
@@ -113,11 +87,11 @@
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
@@ -126,14 +100,21 @@
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
@@ -151,11 +132,11 @@
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
@@ -177,11 +158,11 @@
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
@@ -259,11 +240,11 @@
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
@@ -280,11 +261,11 @@
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
@@ -360,14 +341,14 @@
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
@@ -432,14 +413,13 @@
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell [email protected] about your system,
419 echo including any error possibly output before this
420 echo message
 
421 }
422
423
424
425 as_lineno_1=$LINENO
@@ -471,11 +451,11 @@
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
@@ -499,10 +479,11 @@
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
@@ -511,26 +492,23 @@
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
 
 
 
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
@@ -551,14 +529,14 @@
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
@@ -698,15 +676,10 @@
676 OPENSSL_LIBS
677 OPENSSL_LDFLAGS
678 LIBOBJS
679 LTLIBOBJS'
680 ac_subst_files=''
 
 
 
 
 
681 ac_precious_vars='build_alias
682 host_alias
683 target_alias
684 CC
685 CFLAGS
@@ -717,12 +690,10 @@
690
691
692 # Initialize some variables set by options.
693 ac_init_help=
694 ac_init_version=false
 
 
695 # The variables have the same names as the options, with
696 # dashes changed to underlines.
697 cache_file=/dev/null
698 exec_prefix=NONE
699 no_create=
@@ -817,25 +788,17 @@
788 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790 datarootdir=$ac_optarg ;;
791
792 -disable-* | --disable-*)
793 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794 # Reject names that are not valid shell variable names.
795 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
796 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
797 { (exit 1); exit 1; }; }
798 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
799 eval enable_$ac_feature=no ;;
 
 
 
 
 
 
 
 
800
801 -docdir | --docdir | --docdi | --doc | --do)
802 ac_prev=docdir ;;
803 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
804 docdir=$ac_optarg ;;
@@ -844,25 +807,17 @@
807 ac_prev=dvidir ;;
808 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
809 dvidir=$ac_optarg ;;
810
811 -enable-* | --enable-*)
812 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816 { (exit 1); exit 1; }; }
817 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818 eval enable_$ac_feature=\$ac_optarg ;;
 
 
 
 
 
 
 
 
819
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
@@ -1049,42 +1004,26 @@
1004
1005 -version | --version | --versio | --versi | --vers | -V)
1006 ac_init_version=: ;;
1007
1008 -with-* | --with-*)
1009 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012 { echo "$as_me: error: invalid package name: $ac_package" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1015 eval with_$ac_package=\$ac_optarg ;;
 
 
 
 
 
 
 
 
1016
1017 -without-* | --without-*)
1018 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021 { echo "$as_me: error: invalid package name: $ac_package" >&2
1022 { (exit 1); exit 1; }; }
1023 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1024 eval with_$ac_package=no ;;
 
 
 
 
 
 
 
 
1025
1026 --x)
1027 # Obsolete; use --with-x.
1028 with_x=yes ;;
1029
@@ -1100,69 +1039,53 @@
1039 ac_prev=x_libraries ;;
1040 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1041 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1042 x_libraries=$ac_optarg ;;
1043
1044 -*) { echo "$as_me: error: unrecognized option: $ac_option
1045 Try \`$0 --help' for more information." >&2
1046 { (exit 1); exit 1; }; }
1047 ;;
1048
1049 *=*)
1050 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1054 { (exit 1); exit 1; }; }
1055 eval $ac_envvar=\$ac_optarg
1056 export $ac_envvar ;;
1057
1058 *)
1059 # FIXME: should be removed in autoconf 3.0.
1060 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1061 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1063 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1064 ;;
1065
1066 esac
1067 done
1068
1069 if test -n "$ac_prev"; then
1070 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1071 { echo "$as_me: error: missing argument to $ac_option" >&2
1072 { (exit 1); exit 1; }; }
1073 fi
1074
1075 # Be sure to have absolute directory names.
 
 
 
 
 
 
 
 
 
1076 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1077 datadir sysconfdir sharedstatedir localstatedir includedir \
1078 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1079 libdir localedir mandir
1080 do
1081 eval ac_val=\$$ac_var
 
 
 
 
 
 
 
1082 case $ac_val in
1083 [\\/$]* | ?:[\\/]* ) continue;;
1084 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1085 esac
1086 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1087 { (exit 1); exit 1; }; }
1088 done
1089
1090 # There might be people who depend on the old broken behavior: `$host'
1091 # used to hold the argument of --host etc.
@@ -1173,11 +1096,11 @@
1096
1097 # FIXME: To remove some day.
1098 if test "x$host_alias" != x; then
1099 if test "x$build_alias" = x; then
1100 cross_compiling=maybe
1101 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1102 If a cross compiler is detected then cross compile mode will be used." >&2
1103 elif test "x$build_alias" != "x$host_alias"; then
1104 cross_compiling=yes
1105 fi
1106 fi
@@ -1189,27 +1112,27 @@
1112
1113
1114 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1115 ac_ls_di=`ls -di .` &&
1116 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1117 { echo "$as_me: error: Working directory cannot be determined" >&2
1118 { (exit 1); exit 1; }; }
1119 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1120 { echo "$as_me: error: pwd does not report name of working directory" >&2
1121 { (exit 1); exit 1; }; }
1122
1123
1124 # Find the source files, if location was not specified.
1125 if test -z "$srcdir"; then
1126 ac_srcdir_defaulted=yes
1127 # Try the directory containing this script, then the parent directory.
1128 ac_confdir=`$as_dirname -- "$0" ||
1129 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1130 X"$0" : 'X\(//\)[^/]' \| \
1131 X"$0" : 'X\(//\)$' \| \
1132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1133 echo X"$0" |
1134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1135 s//\1/
1136 q
1137 }
1138 /^X\(\/\/\)[^/].*/{
@@ -1232,16 +1155,16 @@
1155 else
1156 ac_srcdir_defaulted=no
1157 fi
1158 if test ! -r "$srcdir/$ac_unique_file"; then
1159 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1160 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1161 { (exit 1); exit 1; }; }
1162 fi
1163 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1164 ac_abs_confdir=`(
1165 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1166 { (exit 1); exit 1; }; }
1167 pwd)`
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 srcdir=.
@@ -1286,41 +1209,41 @@
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1211
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 [$ac_default_prefix]
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1216 [PREFIX]
1217
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1222
1223 For better control, use the options below.
1224
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root [DATAROOTDIR/doc/fossil]
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1245 _ACEOF
1246
1247 cat <<\_ACEOF
1248
1249 System types:
@@ -1334,11 +1257,10 @@
1257 short | recursive ) echo "Configuration of fossil 20110528:";;
1258 esac
1259 cat <<\_ACEOF
1260
1261 Optional Features:
 
1262 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1263 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1264 --enable-openssl Include HTTPS support using for OpenSSL
1265
1266 Optional Packages:
@@ -1365,21 +1287,19 @@
1287 fi
1288
1289 if test "$ac_init_help" = "recursive"; then
1290 # If there are subdirs, report their specific --help.
1291 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1292 test -d "$ac_dir" || continue
 
 
1293 ac_builddir=.
1294
1295 case "$ac_dir" in
1296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 *)
1298 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1299 # A ".." for each directory in $ac_dir_suffix.
1300 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1301 case $ac_top_builddir_sub in
1302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1304 esac ;;
1305 esac
@@ -1411,24 +1331,24 @@
1331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1332 elif test -f "$ac_srcdir/configure"; then
1333 echo &&
1334 $SHELL "$ac_srcdir/configure" --help=recursive
1335 else
1336 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 fi || ac_status=$?
1338 cd "$ac_pwd" || { ac_status=$?; break; }
1339 done
1340 fi
1341
1342 test -n "$ac_init_help" && exit $ac_status
1343 if $ac_init_version; then
1344 cat <<\_ACEOF
1345 fossil configure 20110528
1346 generated by GNU Autoconf 2.61
1347
1348 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1349 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1350 This configure script is free software; the Free Software Foundation
1351 gives unlimited permission to copy, distribute and modify it.
1352 _ACEOF
1353 exit
1354 fi
@@ -1435,11 +1355,11 @@
1355 cat >config.log <<_ACEOF
1356 This file contains any messages produced by compilers while
1357 running configure, to aid debugging if configure makes a mistake.
1358
1359 It was created by fossil $as_me 20110528, which was
1360 generated by GNU Autoconf 2.61. Invocation command line was
1361
1362 $ $0 $@
1363
1364 _ACEOF
1365 exec 5>>config.log
@@ -1471,11 +1391,11 @@
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392 for as_dir in $PATH
1393 do
1394 IFS=$as_save_IFS
1395 test -z "$as_dir" && as_dir=.
1396 echo "PATH: $as_dir"
1397 done
1398 IFS=$as_save_IFS
1399
1400 } >&5
1401
@@ -1506,11 +1426,11 @@
1426 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1427 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1428 | -silent | --silent | --silen | --sile | --sil)
1429 continue ;;
1430 *\'*)
1431 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1432 esac
1433 case $ac_pass in
1434 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1435 2)
1436 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
@@ -1558,16 +1478,15 @@
1478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1479 eval ac_val=\$$ac_var
1480 case $ac_val in #(
1481 *${as_nl}*)
1482 case $ac_var in #(
1483 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1484 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1485 esac
1486 case $ac_var in #(
1487 _ | IFS | as_nl) ;; #(
 
1488 *) $as_unset $ac_var ;;
1489 esac ;;
1490 esac
1491 done
1492 (set) 2>&1 |
@@ -1593,13 +1512,13 @@
1512 echo
1513 for ac_var in $ac_subst_vars
1514 do
1515 eval ac_val=\$$ac_var
1516 case $ac_val in
1517 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1518 esac
1519 echo "$ac_var='\''$ac_val'\''"
1520 done | sort
1521 echo
1522
1523 if test -n "$ac_subst_files"; then
1524 cat <<\_ASBOX
@@ -1610,13 +1529,13 @@
1529 echo
1530 for ac_var in $ac_subst_files
1531 do
1532 eval ac_val=\$$ac_var
1533 case $ac_val in
1534 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1535 esac
1536 echo "$ac_var='\''$ac_val'\''"
1537 done | sort
1538 echo
1539 fi
1540
1541 if test -s confdefs.h; then
@@ -1628,12 +1547,12 @@
1547 echo
1548 cat confdefs.h
1549 echo
1550 fi
1551 test "$ac_signal" != 0 &&
1552 echo "$as_me: caught signal $ac_signal"
1553 echo "$as_me: exit $exit_status"
1554 } >&5
1555 rm -f core *.core core.conftest.* &&
1556 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1557 exit $exit_status
1558 ' 0
@@ -1671,47 +1590,44 @@
1590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1591 _ACEOF
1592
1593
1594 # Let the site file select an alternate cache file if it wants to.
1595 # Prefer explicitly selected file to automatically selected ones.
 
 
1596 if test -n "$CONFIG_SITE"; then
1597 set x "$CONFIG_SITE"
1598 elif test "x$prefix" != xNONE; then
1599 set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1600 else
1601 set x "$ac_default_prefix/share/config.site" \
1602 "$ac_default_prefix/etc/config.site"
1603 fi
1604 shift
1605 for ac_site_file
1606 do
 
1607 if test -r "$ac_site_file"; then
1608 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1609 echo "$as_me: loading site script $ac_site_file" >&6;}
1610 sed 's/^/| /' "$ac_site_file" >&5
1611 . "$ac_site_file"
1612 fi
1613 done
1614
1615 if test -r "$cache_file"; then
1616 # Some versions of bash will fail to source /dev/null (special
1617 # files actually), so we avoid doing that.
1618 if test -f "$cache_file"; then
1619 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1620 echo "$as_me: loading cache $cache_file" >&6;}
1621 case $cache_file in
1622 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1623 *) . "./$cache_file";;
1624 esac
1625 fi
1626 else
1627 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1628 echo "$as_me: creating cache $cache_file" >&6;}
1629 >$cache_file
1630 fi
1631
1632 # Check that the precious variables saved in the cache have kept the same
1633 # value.
@@ -1721,55 +1637,46 @@
1637 eval ac_new_set=\$ac_env_${ac_var}_set
1638 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1639 eval ac_new_val=\$ac_env_${ac_var}_value
1640 case $ac_old_set,$ac_new_set in
1641 set,)
1642 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1643 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1644 ac_cache_corrupted=: ;;
1645 ,set)
1646 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1647 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1648 ac_cache_corrupted=: ;;
1649 ,);;
1650 *)
1651 if test "x$ac_old_val" != "x$ac_new_val"; then
1652 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1653 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1654 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1655 echo "$as_me: former value: $ac_old_val" >&2;}
1656 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1657 echo "$as_me: current value: $ac_new_val" >&2;}
1658 ac_cache_corrupted=:
 
 
 
 
 
 
 
 
 
1659 fi;;
1660 esac
1661 # Pass precious variables to config.status.
1662 if test "$ac_new_set" = set; then
1663 case $ac_new_val in
1664 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1665 *) ac_arg=$ac_var=$ac_new_val ;;
1666 esac
1667 case " $ac_configure_args " in
1668 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1669 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1670 esac
1671 fi
1672 done
1673 if $ac_cache_corrupted; then
1674 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1675 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1676 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1677 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1678 { (exit 1); exit 1; }; }
1679 fi
1680
1681
1682
@@ -1818,12 +1725,12 @@
1725 ac_install_sh="$ac_aux_dir/shtool install -c"
1726 break
1727 fi
1728 done
1729 if test -z "$ac_aux_dir"; then
1730 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1731 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1732 { (exit 1); exit 1; }; }
1733 fi
1734
1735 # These three variables are undocumented and unsupported,
1736 # and are intended to be withdrawn in a future Autoconf release.
@@ -1838,38 +1745,38 @@
1745 ac_config_headers="$ac_config_headers autoconfig.h"
1746
1747
1748 # Make sure we can run config.sub.
1749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1750 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1751 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1752 { (exit 1); exit 1; }; }
1753
1754 { echo "$as_me:$LINENO: checking build system type" >&5
1755 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1756 if test "${ac_cv_build+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 else
1759 ac_build_alias=$build_alias
1760 test "x$ac_build_alias" = x &&
1761 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1762 test "x$ac_build_alias" = x &&
1763 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1764 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1765 { (exit 1); exit 1; }; }
1766 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1767 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1768 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1769 { (exit 1); exit 1; }; }
1770
1771 fi
1772 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1773 echo "${ECHO_T}$ac_cv_build" >&6; }
1774 case $ac_cv_build in
1775 *-*-*) ;;
1776 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1777 echo "$as_me: error: invalid value of canonical build" >&2;}
1778 { (exit 1); exit 1; }; };;
1779 esac
1780 build=$ac_cv_build
1781 ac_save_IFS=$IFS; IFS='-'
1782 set x $ac_cv_build
@@ -1882,31 +1789,31 @@
1789 build_os=$*
1790 IFS=$ac_save_IFS
1791 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1792
1793
1794 { echo "$as_me:$LINENO: checking host system type" >&5
1795 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1796 if test "${ac_cv_host+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 else
1799 if test "x$host_alias" = x; then
1800 ac_cv_host=$ac_cv_build
1801 else
1802 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1803 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1804 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1805 { (exit 1); exit 1; }; }
1806 fi
1807
1808 fi
1809 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1810 echo "${ECHO_T}$ac_cv_host" >&6; }
1811 case $ac_cv_host in
1812 *-*-*) ;;
1813 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1814 echo "$as_me: error: invalid value of canonical host" >&2;}
1815 { (exit 1); exit 1; }; };;
1816 esac
1817 host=$ac_cv_host
1818 ac_save_IFS=$IFS; IFS='-'
1819 set x $ac_cv_host
@@ -1921,16 +1828,15 @@
1828 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1829
1830
1831
1832 # Checks for programs.
1833 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1834 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1835 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1836 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 else
1839 cat >conftest.make <<\_ACEOF
1840 SHELL = /bin/sh
1841 all:
1842 @echo '@@@%%%=$(MAKE)=@@@%%%'
@@ -1943,16 +1849,16 @@
1849 eval ac_cv_prog_make_${ac_make}_set=no;;
1850 esac
1851 rm -f conftest.make
1852 fi
1853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1854 { echo "$as_me:$LINENO: result: yes" >&5
1855 echo "${ECHO_T}yes" >&6; }
1856 SET_MAKE=
1857 else
1858 { echo "$as_me:$LINENO: result: no" >&5
1859 echo "${ECHO_T}no" >&6; }
1860 SET_MAKE="MAKE=${MAKE-make}"
1861 fi
1862
1863 ac_ext=c
1864 ac_cpp='$CPP $CPPFLAGS'
@@ -1960,14 +1866,14 @@
1866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 if test -n "$ac_tool_prefix"; then
1869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1873 if test "${ac_cv_prog_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 else
1876 if test -n "$CC"; then
1877 ac_cv_prog_CC="$CC" # Let the user override the test.
1878 else
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -1976,11 +1882,11 @@
1882 IFS=$as_save_IFS
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1886 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 break 2
1889 fi
1890 done
1891 done
1892 IFS=$as_save_IFS
@@ -1987,27 +1893,27 @@
1893
1894 fi
1895 fi
1896 CC=$ac_cv_prog_CC
1897 if test -n "$CC"; then
1898 { echo "$as_me:$LINENO: result: $CC" >&5
1899 echo "${ECHO_T}$CC" >&6; }
1900 else
1901 { echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6; }
1903 fi
1904
1905
1906 fi
1907 if test -z "$ac_cv_prog_CC"; then
1908 ac_ct_CC=$CC
1909 # Extract the first word of "gcc", so it can be a program name with args.
1910 set dummy gcc; ac_word=$2
1911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 else
1916 if test -n "$ac_ct_CC"; then
1917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2016,11 +1922,11 @@
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926 ac_cv_prog_ac_ct_CC="gcc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 break 2
1929 fi
1930 done
1931 done
1932 IFS=$as_save_IFS
@@ -2027,26 +1933,26 @@
1933
1934 fi
1935 fi
1936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1937 if test -n "$ac_ct_CC"; then
1938 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1939 echo "${ECHO_T}$ac_ct_CC" >&6; }
1940 else
1941 { echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6; }
1943 fi
1944
1945 if test "x$ac_ct_CC" = x; then
1946 CC=""
1947 else
1948 case $cross_compiling:$ac_tool_warned in
1949 yes:)
1950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1951 whose name does not start with the host triplet. If you think this
1952 configuration is useful to you, please write to [email protected]." >&5
1953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1954 whose name does not start with the host triplet. If you think this
1955 configuration is useful to you, please write to [email protected]." >&2;}
1956 ac_tool_warned=yes ;;
1957 esac
1958 CC=$ac_ct_CC
@@ -2057,14 +1963,14 @@
1963
1964 if test -z "$CC"; then
1965 if test -n "$ac_tool_prefix"; then
1966 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1967 set dummy ${ac_tool_prefix}cc; ac_word=$2
1968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1970 if test "${ac_cv_prog_CC+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 else
1973 if test -n "$CC"; then
1974 ac_cv_prog_CC="$CC" # Let the user override the test.
1975 else
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2073,11 +1979,11 @@
1979 IFS=$as_save_IFS
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_CC="${ac_tool_prefix}cc"
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 break 2
1986 fi
1987 done
1988 done
1989 IFS=$as_save_IFS
@@ -2084,27 +1990,27 @@
1990
1991 fi
1992 fi
1993 CC=$ac_cv_prog_CC
1994 if test -n "$CC"; then
1995 { echo "$as_me:$LINENO: result: $CC" >&5
1996 echo "${ECHO_T}$CC" >&6; }
1997 else
1998 { echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6; }
2000 fi
2001
2002
2003 fi
2004 fi
2005 if test -z "$CC"; then
2006 # Extract the first word of "cc", so it can be a program name with args.
2007 set dummy cc; ac_word=$2
2008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2015 else
2016 ac_prog_rejected=no
@@ -2118,11 +2024,11 @@
2024 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2025 ac_prog_rejected=yes
2026 continue
2027 fi
2028 ac_cv_prog_CC="cc"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 break 2
2031 fi
2032 done
2033 done
2034 IFS=$as_save_IFS
@@ -2141,15 +2047,15 @@
2047 fi
2048 fi
2049 fi
2050 CC=$ac_cv_prog_CC
2051 if test -n "$CC"; then
2052 { echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6; }
2054 else
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 fi
2058
2059
2060 fi
2061 if test -z "$CC"; then
@@ -2156,14 +2062,14 @@
2062 if test -n "$ac_tool_prefix"; then
2063 for ac_prog in cl.exe
2064 do
2065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2172,11 +2078,11 @@
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2085 fi
2086 done
2087 done
2088 IFS=$as_save_IFS
@@ -2183,15 +2089,15 @@
2089
2090 fi
2091 fi
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2096 else
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2099 fi
2100
2101
2102 test -n "$CC" && break
2103 done
@@ -2200,14 +2106,14 @@
2106 ac_ct_CC=$CC
2107 for ac_prog in cl.exe
2108 do
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy $ac_prog; ac_word=$2
2111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 else
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2118 else
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2216,11 +2122,11 @@
2122 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_CC="$ac_prog"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 break 2
2129 fi
2130 done
2131 done
2132 IFS=$as_save_IFS
@@ -2227,15 +2133,15 @@
2133
2134 fi
2135 fi
2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2137 if test -n "$ac_ct_CC"; then
2138 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2139 echo "${ECHO_T}$ac_ct_CC" >&6; }
2140 else
2141 { echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6; }
2143 fi
2144
2145
2146 test -n "$ac_ct_CC" && break
2147 done
@@ -2243,14 +2149,14 @@
2149 if test "x$ac_ct_CC" = x; then
2150 CC=""
2151 else
2152 case $cross_compiling:$ac_tool_warned in
2153 yes:)
2154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2155 whose name does not start with the host triplet. If you think this
2156 configuration is useful to you, please write to [email protected]." >&5
2157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2158 whose name does not start with the host triplet. If you think this
2159 configuration is useful to you, please write to [email protected]." >&2;}
2160 ac_tool_warned=yes ;;
2161 esac
2162 CC=$ac_ct_CC
@@ -2258,52 +2164,48 @@
2164 fi
2165
2166 fi
2167
2168
2169 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: no acceptable C compiler found in \$PATH
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2174
2175 # Provide some information about the compiler.
2176 echo "$as_me:$LINENO: checking for C compiler version" >&5
2177 ac_compiler=`set X $ac_compile; echo $2`
 
2178 { (ac_try="$ac_compiler --version >&5"
2179 case "(($ac_try" in
2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181 *) ac_try_echo=$ac_try;;
2182 esac
2183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2184 (eval "$ac_compiler --version >&5") 2>&5
2185 ac_status=$?
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }
2188 { (ac_try="$ac_compiler -v >&5"
2189 case "(($ac_try" in
2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2191 *) ac_try_echo=$ac_try;;
2192 esac
2193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2194 (eval "$ac_compiler -v >&5") 2>&5
2195 ac_status=$?
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }
2198 { (ac_try="$ac_compiler -V >&5"
2199 case "(($ac_try" in
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2202 esac
2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2204 (eval "$ac_compiler -V >&5") 2>&5
2205 ac_status=$?
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }
2208
2209 cat >conftest.$ac_ext <<_ACEOF
2210 /* confdefs.h. */
2211 _ACEOF
@@ -2318,26 +2220,31 @@
2220 ;
2221 return 0;
2222 }
2223 _ACEOF
2224 ac_clean_files_save=$ac_clean_files
2225 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2226 # Try to create an executable without -o first, disregard a.out.
2227 # It will help us diagnose broken compilers, and finding out an intuition
2228 # of exeext.
2229 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2230 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2231 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2232 #
2233 # List of possible output files, starting from the most likely.
2234 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2235 # only as a last resort. b.out is created by i960 compilers.
2236 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2237 #
2238 # The IRIX 6 linker writes into existing files which may not be
2239 # executable, retaining their permissions. Remove them first so a
2240 # subsequent execution test works.
2241 ac_rmfiles=
2242 for ac_file in $ac_files
2243 do
2244 case $ac_file in
2245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2247 esac
2248 done
2249 rm -f $ac_rmfiles
2250
@@ -2344,15 +2251,14 @@
2251 if { (ac_try="$ac_link_default"
2252 case "(($ac_try" in
2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2255 esac
2256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2257 (eval "$ac_link_default") 2>&5
2258 ac_status=$?
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; then
2261 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2262 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2263 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2264 # so that the user can short-circuit this test for compilers unknown to
@@ -2359,11 +2265,11 @@
2265 # Autoconf.
2266 for ac_file in $ac_files ''
2267 do
2268 test -f "$ac_file" || continue
2269 case $ac_file in
2270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2271 ;;
2272 [ab].out )
2273 # We found the default executable, but exeext='' is most
2274 # certainly right.
2275 break;;
@@ -2386,115 +2292,113 @@
2292
2293 else
2294 ac_file=''
2295 fi
2296
2297 { echo "$as_me:$LINENO: result: $ac_file" >&5
2298 echo "${ECHO_T}$ac_file" >&6; }
2299 if test -z "$ac_file"; then
2300 echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.$ac_ext >&5
2302
2303 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2304 See \`config.log' for more details." >&5
2305 echo "$as_me: error: C compiler cannot create executables
2306 See \`config.log' for more details." >&2;}
2307 { (exit 77); exit 77; }; }
2308 fi
2309
2310 ac_exeext=$ac_cv_exeext
2311
2312 # Check that the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2315 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2316 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2317 # If not cross compiling, check that we can run a simple program.
2318 if test "$cross_compiling" != yes; then
2319 if { ac_try='./$ac_file'
2320 { (case "(($ac_try" in
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2323 esac
2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2325 (eval "$ac_try") 2>&5
2326 ac_status=$?
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2329 cross_compiling=no
2330 else
2331 if test "$cross_compiling" = maybe; then
2332 cross_compiling=yes
2333 else
2334 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2335 If you meant to cross compile, use \`--host'.
2336 See \`config.log' for more details." >&5
2337 echo "$as_me: error: cannot run C compiled programs.
2338 If you meant to cross compile, use \`--host'.
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2341 fi
2342 fi
2343 fi
2344 { echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6; }
2346
2347 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2348 ac_clean_files=$ac_clean_files_save
2349 # Check that the compiler produces executables we can run. If not, either
2350 # the compiler is broken, or we cross compile.
2351 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2352 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2353 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2354 echo "${ECHO_T}$cross_compiling" >&6; }
2355
2356 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2357 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2358 if { (ac_try="$ac_link"
2359 case "(($ac_try" in
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2362 esac
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2364 (eval "$ac_link") 2>&5
2365 ac_status=$?
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then
2368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2370 # work properly (i.e., refer to `conftest.exe'), while it won't with
2371 # `rm'.
2372 for ac_file in conftest.exe conftest conftest.*; do
2373 test -f "$ac_file" || continue
2374 case $ac_file in
2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2377 break;;
2378 * ) break;;
2379 esac
2380 done
2381 else
2382 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2383 See \`config.log' for more details." >&5
2384 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2385 See \`config.log' for more details." >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389 rm -f conftest$ac_cv_exeext
2390 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2391 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2392
2393 rm -f conftest.$ac_ext
2394 EXEEXT=$ac_cv_exeext
2395 ac_exeext=$EXEEXT
2396 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2397 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2398 if test "${ac_cv_objext+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 cat >conftest.$ac_ext <<_ACEOF
2402 /* confdefs.h. */
2403 _ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
@@ -2513,45 +2417,44 @@
2417 if { (ac_try="$ac_compile"
2418 case "(($ac_try" in
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2421 esac
2422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2423 (eval "$ac_compile") 2>&5
2424 ac_status=$?
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; then
2427 for ac_file in conftest.o conftest.obj conftest.*; do
2428 test -f "$ac_file" || continue;
2429 case $ac_file in
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2431 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2432 break;;
2433 esac
2434 done
2435 else
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2438
2439 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2442 See \`config.log' for more details." >&2;}
2443 { (exit 1); exit 1; }; }
2444 fi
2445
2446 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2447 fi
2448 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2449 echo "${ECHO_T}$ac_cv_objext" >&6; }
2450 OBJEXT=$ac_cv_objext
2451 ac_objext=$OBJEXT
2452 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2453 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2454 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 else
2457 cat >conftest.$ac_ext <<_ACEOF
2458 /* confdefs.h. */
2459 _ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
@@ -2573,47 +2476,42 @@
2476 if { (ac_try="$ac_compile"
2477 case "(($ac_try" in
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2480 esac
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2482 (eval "$ac_compile") 2>conftest.er1
2483 ac_status=$?
2484 grep -v '^ *+' conftest.er1 >conftest.err
2485 rm -f conftest.er1
2486 cat conftest.err >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } && {
2489 test -z "$ac_c_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest.$ac_objext; then
2492 ac_compiler_gnu=yes
2493 else
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2496
2497 ac_compiler_gnu=no
2498 fi
2499
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2502
2503 fi
2504 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2505 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2506 GCC=`test $ac_compiler_gnu = yes && echo yes`
 
 
 
 
2507 ac_test_CFLAGS=${CFLAGS+set}
2508 ac_save_CFLAGS=$CFLAGS
2509 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2510 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_cc_g+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 ac_save_c_werror_flag=$ac_c_werror_flag
2515 ac_c_werror_flag=yes
2516 ac_cv_prog_cc_g=no
2517 CFLAGS="-g"
@@ -2636,25 +2534,24 @@
2534 if { (ac_try="$ac_compile"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2540 (eval "$ac_compile") 2>conftest.er1
2541 ac_status=$?
2542 grep -v '^ *+' conftest.er1 >conftest.err
2543 rm -f conftest.er1
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } && {
2547 test -z "$ac_c_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then
2550 ac_cv_prog_cc_g=yes
2551 else
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2554
2555 CFLAGS=""
2556 cat >conftest.$ac_ext <<_ACEOF
2557 /* confdefs.h. */
@@ -2675,25 +2572,24 @@
2572 if { (ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2578 (eval "$ac_compile") 2>conftest.er1
2579 ac_status=$?
2580 grep -v '^ *+' conftest.er1 >conftest.err
2581 rm -f conftest.er1
2582 cat conftest.err >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then
2588 :
2589 else
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2592
2593 ac_c_werror_flag=$ac_save_c_werror_flag
2594 CFLAGS="-g"
2595 cat >conftest.$ac_ext <<_ACEOF
@@ -2715,25 +2611,24 @@
2611 if { (ac_try="$ac_compile"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2617 (eval "$ac_compile") 2>conftest.er1
2618 ac_status=$?
2619 grep -v '^ *+' conftest.er1 >conftest.err
2620 rm -f conftest.er1
2621 cat conftest.err >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } && {
2624 test -z "$ac_c_werror_flag" ||
2625 test ! -s conftest.err
2626 } && test -s conftest.$ac_objext; then
2627 ac_cv_prog_cc_g=yes
2628 else
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2631
2632
2633 fi
2634
@@ -2744,12 +2639,12 @@
2639 fi
2640
2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 ac_c_werror_flag=$ac_save_c_werror_flag
2643 fi
2644 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2645 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2646 if test "$ac_test_CFLAGS" = set; then
2647 CFLAGS=$ac_save_CFLAGS
2648 elif test $ac_cv_prog_cc_g = yes; then
2649 if test "$GCC" = yes; then
2650 CFLAGS="-g -O2"
@@ -2761,14 +2656,14 @@
2656 CFLAGS="-O2"
2657 else
2658 CFLAGS=
2659 fi
2660 fi
2661 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2662 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_cc_c89+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666 ac_cv_prog_cc_c89=no
2667 ac_save_CC=$CC
2668 cat >conftest.$ac_ext <<_ACEOF
2669 /* confdefs.h. */
@@ -2835,25 +2730,24 @@
2730 if { (ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2736 (eval "$ac_compile") 2>conftest.er1
2737 ac_status=$?
2738 grep -v '^ *+' conftest.er1 >conftest.err
2739 rm -f conftest.er1
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_c89=$ac_arg
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2750
2751
2752 fi
2753
@@ -2865,19 +2759,19 @@
2759
2760 fi
2761 # AC_CACHE_VAL
2762 case "x$ac_cv_prog_cc_c89" in
2763 x)
2764 { echo "$as_me:$LINENO: result: none needed" >&5
2765 echo "${ECHO_T}none needed" >&6; } ;;
2766 xno)
2767 { echo "$as_me:$LINENO: result: unsupported" >&5
2768 echo "${ECHO_T}unsupported" >&6; } ;;
2769 *)
2770 CC="$CC $ac_cv_prog_cc_c89"
2771 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2772 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2773 esac
2774
2775
2776 ac_ext=c
2777 ac_cpp='$CPP $CPPFLAGS'
@@ -2893,14 +2787,14 @@
2787 _ACEOF
2788
2789 esac
2790
2791
2792 { echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
2793 echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; }
2794 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 else
2797 ac_check_lib_save_LIBS=$LIBS
2798 LIBS="-lz $LIBS"
2799 cat >conftest.$ac_ext <<_ACEOF
2800 /* confdefs.h. */
@@ -2928,40 +2822,36 @@
2822 if { (ac_try="$ac_link"
2823 case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2826 esac
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2828 (eval "$ac_link") 2>conftest.er1
2829 ac_status=$?
2830 grep -v '^ *+' conftest.er1 >conftest.err
2831 rm -f conftest.er1
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest$ac_exeext &&
2838 $as_test_x conftest$ac_exeext; then
 
 
2839 ac_cv_lib_z_inflateEnd=yes
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2843
2844 ac_cv_lib_z_inflateEnd=no
2845 fi
2846
 
2847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2848 conftest$ac_exeext conftest.$ac_ext
2849 LIBS=$ac_check_lib_save_LIBS
2850 fi
2851 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
2852 echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; }
2853 if test $ac_cv_lib_z_inflateEnd = yes; then
2854 zlib_cv_libz=yes
2855 else
2856 zlib_cv_libz=no
2857 fi
@@ -2969,19 +2859,19 @@
2859 ac_ext=c
2860 ac_cpp='$CPP $CPPFLAGS'
2861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2864 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2865 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2866 # On Suns, sometimes $CPP names a directory.
2867 if test -n "$CPP" && test -d "$CPP"; then
2868 CPP=
2869 fi
2870 if test -z "$CPP"; then
2871 if test "${ac_cv_prog_CPP+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 else
2874 # Double quotes because CPP needs to be expanded
2875 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2876 do
2877 ac_preproc_ok=false
@@ -3009,25 +2899,24 @@
2899 if { (ac_try="$ac_cpp conftest.$ac_ext"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } >/dev/null && {
2912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 }; then
2915 :
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2919
2920 # Broken: fails on valid input.
2921 continue
2922 fi
@@ -3047,26 +2936,25 @@
2936 if { (ac_try="$ac_cpp conftest.$ac_ext"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2943 ac_status=$?
2944 grep -v '^ *+' conftest.er1 >conftest.err
2945 rm -f conftest.er1
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } >/dev/null && {
2949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 }; then
2952 # Broken: success on invalid input.
2953 continue
2954 else
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2957
2958 # Passes both tests.
2959 ac_preproc_ok=:
2960 break
@@ -3087,12 +2975,12 @@
2975 fi
2976 CPP=$ac_cv_prog_CPP
2977 else
2978 ac_cv_prog_CPP=$CPP
2979 fi
2980 { echo "$as_me:$LINENO: result: $CPP" >&5
2981 echo "${ECHO_T}$CPP" >&6; }
2982 ac_preproc_ok=false
2983 for ac_c_preproc_warn_flag in '' yes
2984 do
2985 # Use a header file that comes with gcc, so configuring glibc
2986 # with a fresh cross-compiler works.
@@ -3116,25 +3004,24 @@
3004 if { (ac_try="$ac_cpp conftest.$ac_ext"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3011 ac_status=$?
3012 grep -v '^ *+' conftest.er1 >conftest.err
3013 rm -f conftest.er1
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } >/dev/null && {
3017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3018 test ! -s conftest.err
3019 }; then
3020 :
3021 else
3022 echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3024
3025 # Broken: fails on valid input.
3026 continue
3027 fi
@@ -3154,26 +3041,25 @@
3041 if { (ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3048 ac_status=$?
3049 grep -v '^ *+' conftest.er1 >conftest.err
3050 rm -f conftest.er1
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } >/dev/null && {
3054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3056 }; then
3057 # Broken: success on invalid input.
3058 continue
3059 else
3060 echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3062
3063 # Passes both tests.
3064 ac_preproc_ok=:
3065 break
@@ -3185,13 +3071,13 @@
3071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3072 rm -f conftest.err conftest.$ac_ext
3073 if $ac_preproc_ok; then
3074 :
3075 else
3076 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3077 See \`config.log' for more details." >&5
3078 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3079 See \`config.log' for more details." >&2;}
3080 { (exit 1); exit 1; }; }
3081 fi
3082
3083 ac_ext=c
@@ -3199,41 +3085,46 @@
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088
3089
3090 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3091 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3092 if test "${ac_cv_path_GREP+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 else
3095 # Extract the first word of "grep ggrep" to use in msg output
3096 if test -z "$GREP"; then
3097 set dummy grep ggrep; ac_prog_name=$2
3098 if test "${ac_cv_path_GREP+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
 
3101 ac_path_GREP_found=false
3102 # Loop through the user's path and test for each of PROGNAME-LIST
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3105 do
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 for ac_prog in grep ggrep; do
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3111 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3112 # Check for GNU ac_path_GREP and select it if it is found.
3113 # Check for GNU $ac_path_GREP
3114 case `"$ac_path_GREP" --version 2>&1` in
3115 *GNU*)
3116 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3117 *)
3118 ac_count=0
3119 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3120 while :
3121 do
3122 cat "conftest.in" "conftest.in" >"conftest.tmp"
3123 mv "conftest.tmp" "conftest.in"
3124 cp "conftest.in" "conftest.nl"
3125 echo 'GREP' >> "conftest.nl"
3126 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3128 ac_count=`expr $ac_count + 1`
3129 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3130 # Best one so far, save it but keep looking for a better one
@@ -3244,64 +3135,78 @@
3135 test $ac_count -gt 10 && break
3136 done
3137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3138 esac
3139
3140
3141 $ac_path_GREP_found && break 3
3142 done
3143 done
3144
3145 done
3146 IFS=$as_save_IFS
3147
3148
3149 fi
3150
3151 GREP="$ac_cv_path_GREP"
3152 if test -z "$GREP"; then
3153 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3154 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3155 { (exit 1); exit 1; }; }
3156 fi
3157
3158 else
3159 ac_cv_path_GREP=$GREP
3160 fi
3161
3162
3163 fi
3164 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3165 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3166 GREP="$ac_cv_path_GREP"
3167
3168
3169 { echo "$as_me:$LINENO: checking for egrep" >&5
3170 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3171 if test "${ac_cv_path_EGREP+set}" = set; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3173 else
3174 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3175 then ac_cv_path_EGREP="$GREP -E"
3176 else
3177 # Extract the first word of "egrep" to use in msg output
3178 if test -z "$EGREP"; then
3179 set dummy egrep; ac_prog_name=$2
3180 if test "${ac_cv_path_EGREP+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183 ac_path_EGREP_found=false
3184 # Loop through the user's path and test for each of PROGNAME-LIST
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3187 do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_prog in egrep; do
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3193 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3194 # Check for GNU ac_path_EGREP and select it if it is found.
3195 # Check for GNU $ac_path_EGREP
3196 case `"$ac_path_EGREP" --version 2>&1` in
3197 *GNU*)
3198 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3199 *)
3200 ac_count=0
3201 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3202 while :
3203 do
3204 cat "conftest.in" "conftest.in" >"conftest.tmp"
3205 mv "conftest.tmp" "conftest.in"
3206 cp "conftest.in" "conftest.nl"
3207 echo 'EGREP' >> "conftest.nl"
3208 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3210 ac_count=`expr $ac_count + 1`
3211 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3212 # Best one so far, save it but keep looking for a better one
@@ -3312,35 +3217,44 @@
3217 test $ac_count -gt 10 && break
3218 done
3219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3220 esac
3221
3222
3223 $ac_path_EGREP_found && break 3
3224 done
3225 done
3226
3227 done
3228 IFS=$as_save_IFS
3229
3230
3231 fi
3232
3233 EGREP="$ac_cv_path_EGREP"
3234 if test -z "$EGREP"; then
3235 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3236 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3237 { (exit 1); exit 1; }; }
3238 fi
3239
3240 else
3241 ac_cv_path_EGREP=$EGREP
3242 fi
3243
3244
3245 fi
3246 fi
3247 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3248 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3249 EGREP="$ac_cv_path_EGREP"
3250
3251
3252 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3253 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3254 if test "${ac_cv_header_stdc+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 else
3257 cat >conftest.$ac_ext <<_ACEOF
3258 /* confdefs.h. */
3259 _ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
@@ -3363,25 +3277,24 @@
3277 if { (ac_try="$ac_compile"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3283 (eval "$ac_compile") 2>conftest.er1
3284 ac_status=$?
3285 grep -v '^ *+' conftest.er1 >conftest.err
3286 rm -f conftest.er1
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.$ac_objext; then
3293 ac_cv_header_stdc=yes
3294 else
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3297
3298 ac_cv_header_stdc=no
3299 fi
3300
@@ -3402,11 +3315,11 @@
3315 $EGREP "memchr" >/dev/null 2>&1; then
3316 :
3317 else
3318 ac_cv_header_stdc=no
3319 fi
3320 rm -f -r conftest*
3321
3322 fi
3323
3324 if test $ac_cv_header_stdc = yes; then
3325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
@@ -3423,11 +3336,11 @@
3336 $EGREP "free" >/dev/null 2>&1; then
3337 :
3338 else
3339 ac_cv_header_stdc=no
3340 fi
3341 rm -f -r conftest*
3342
3343 fi
3344
3345 if test $ac_cv_header_stdc = yes; then
3346 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
@@ -3469,44 +3382,41 @@
3382 if { (ac_try="$ac_link"
3383 case "(($ac_try" in
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3386 esac
3387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3388 (eval "$ac_link") 2>&5
3389 ac_status=$?
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3392 { (case "(($ac_try" in
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3395 esac
3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3397 (eval "$ac_try") 2>&5
3398 ac_status=$?
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); }; }; then
3401 :
3402 else
3403 echo "$as_me: program exited with status $ac_status" >&5
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3406
3407 ( exit $ac_status )
3408 ac_cv_header_stdc=no
3409 fi
 
3410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3411 fi
3412
3413
3414 fi
3415 fi
3416 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3417 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3418 if test $ac_cv_header_stdc = yes; then
3419
3420 cat >>confdefs.h <<\_ACEOF
3421 #define STDC_HEADERS 1
3422 _ACEOF
@@ -3524,15 +3434,15 @@
3434
3435
3436 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3437 inttypes.h stdint.h unistd.h
3438 do
3439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445 cat >conftest.$ac_ext <<_ACEOF
3446 /* confdefs.h. */
3447 _ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
@@ -3546,59 +3456,56 @@
3456 if { (ac_try="$ac_compile"
3457 case "(($ac_try" in
3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3460 esac
3461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3462 (eval "$ac_compile") 2>conftest.er1
3463 ac_status=$?
3464 grep -v '^ *+' conftest.er1 >conftest.err
3465 rm -f conftest.er1
3466 cat conftest.err >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } && {
3469 test -z "$ac_c_werror_flag" ||
3470 test ! -s conftest.err
3471 } && test -s conftest.$ac_objext; then
3472 eval "$as_ac_Header=yes"
3473 else
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3476
3477 eval "$as_ac_Header=no"
3478 fi
3479
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 fi
3482 ac_res=`eval echo '${'$as_ac_Header'}'`
3483 { echo "$as_me:$LINENO: result: $ac_res" >&5
3484 echo "${ECHO_T}$ac_res" >&6; }
3485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3486 cat >>confdefs.h <<_ACEOF
3487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3488 _ACEOF
3489
3490 fi
3491
3492 done
3493
3494
3495 if test "${ac_cv_header_zlib_h+set}" = set; then
3496 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3497 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3498 if test "${ac_cv_header_zlib_h+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 fi
3501 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3502 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
 
 
3503 else
3504 # Is the header compilable?
3505 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
3506 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
3507 cat >conftest.$ac_ext <<_ACEOF
3508 /* confdefs.h. */
3509 _ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
@@ -3610,37 +3517,36 @@
3517 if { (ac_try="$ac_compile"
3518 case "(($ac_try" in
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3521 esac
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3523 (eval "$ac_compile") 2>conftest.er1
3524 ac_status=$?
3525 grep -v '^ *+' conftest.er1 >conftest.err
3526 rm -f conftest.er1
3527 cat conftest.err >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && {
3530 test -z "$ac_c_werror_flag" ||
3531 test ! -s conftest.err
3532 } && test -s conftest.$ac_objext; then
3533 ac_header_compiler=yes
3534 else
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3537
3538 ac_header_compiler=no
3539 fi
3540
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3543 echo "${ECHO_T}$ac_header_compiler" >&6; }
3544
3545 # Is the header present?
3546 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
3547 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
3548 cat >conftest.$ac_ext <<_ACEOF
3549 /* confdefs.h. */
3550 _ACEOF
3551 cat confdefs.h >>conftest.$ac_ext
3552 cat >>conftest.$ac_ext <<_ACEOF
@@ -3650,73 +3556,72 @@
3556 if { (ac_try="$ac_cpp conftest.$ac_ext"
3557 case "(($ac_try" in
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3560 esac
3561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3563 ac_status=$?
3564 grep -v '^ *+' conftest.er1 >conftest.err
3565 rm -f conftest.er1
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } >/dev/null && {
3569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3570 test ! -s conftest.err
3571 }; then
3572 ac_header_preproc=yes
3573 else
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3576
3577 ac_header_preproc=no
3578 fi
3579
3580 rm -f conftest.err conftest.$ac_ext
3581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3582 echo "${ECHO_T}$ac_header_preproc" >&6; }
3583
3584 # So? What about this header?
3585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3586 yes:no: )
3587 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3588 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3589 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3590 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3591 ac_header_preproc=yes
3592 ;;
3593 no:yes:* )
3594 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3595 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
3597 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
3598 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3599 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3600 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
3601 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3602 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3603 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3604 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3605 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3606 ( cat <<\_ASBOX
3607 ## ------------------------------- ##
3608 ## Report this to [email protected] ##
3609 ## ------------------------------- ##
3610 _ASBOX
3611 ) | sed "s/^/$as_me: WARNING: /" >&2
3612 ;;
3613 esac
3614 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3615 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3616 if test "${ac_cv_header_zlib_h+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 else
3619 ac_cv_header_zlib_h=$ac_header_preproc
3620 fi
3621 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3622 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3623
3624 fi
3625 if test $ac_cv_header_zlib_h = yes; then
3626 zlib_cv_zlib_h=yes
3627 else
@@ -3724,12 +3629,12 @@
3629 fi
3630
3631
3632
3633 if test "$zlib_cv_libz" != yes || test "$zlib_cv_zlib_h" != yes; then
3634 { { echo "$as_me:$LINENO: error: zlib not found" >&5
3635 echo "$as_me: error: zlib not found" >&2;}
3636 { (exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS); exit please install it or add the necessary flags to CPPFLAGS / LDFLAGS; }; }
3637 fi
3638 LIBS="$LIBS -lz"
3639
3640 enable_openssl=check
@@ -3747,12 +3652,12 @@
3652 # Check whether --with-openssl was given.
3653 if test "${with_openssl+set}" = set; then
3654 withval=$with_openssl;
3655 case "$withval" in
3656 "" | y | ye | yes | n | no)
3657 { { echo "$as_me:$LINENO: error: Invalid --with-openssl value" >&5
3658 echo "$as_me: error: Invalid --with-openssl value" >&2;}
3659 { (exit 1); exit 1; }; }
3660 ;;
3661 *) ssldirs="$withval"
3662 ;;
3663 esac
@@ -3761,14 +3666,14 @@
3666
3667 # if pkg-config is installed and openssl has installed a .pc file,
3668 # then use that information and don't search ssldirs
3669 # Extract the first word of "pkg-config", so it can be a program name with args.
3670 set dummy pkg-config; ac_word=$2
3671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 else
3676 case $PKG_CONFIG in
3677 [\\/]* | ?:[\\/]*)
3678 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3679 ;;
@@ -3779,11 +3684,11 @@
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 break 2
3691 fi
3692 done
3693 done
3694 IFS=$as_save_IFS
@@ -3791,15 +3696,15 @@
3696 ;;
3697 esac
3698 fi
3699 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3700 if test -n "$PKG_CONFIG"; then
3701 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3702 echo "${ECHO_T}$PKG_CONFIG" >&6; }
3703 else
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3706 fi
3707
3708
3709 if test x"$PKG_CONFIG" != x""; then
3710 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
@@ -3809,12 +3714,13 @@
3714 found=true
3715 fi
3716 fi
3717
3718 # no such luck; use some default ssldirs
3719 # -- check /usr/sfw first to get the right OpenSSL on Solaris 10
3720 if ! $found; then
3721 ssldirs="/usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
3722 fi
3723
3724
3725 fi
3726
@@ -3824,23 +3730,23 @@
3730 # an 'openssl' subdirectory
3731
3732 if ! $found; then
3733 OPENSSL_INCLUDES=
3734 for ssldir in $ssldirs; do
3735 { echo "$as_me:$LINENO: checking for openssl/ssl.h in $ssldir" >&5
3736 echo $ECHO_N "checking for openssl/ssl.h in $ssldir... $ECHO_C" >&6; }
3737 if test -f "$ssldir/include/openssl/ssl.h"; then
3738 OPENSSL_INCLUDES="-I$ssldir/include"
3739 OPENSSL_LDFLAGS="-L$ssldir/lib"
3740 OPENSSL_LIBS="-lssl -lcrypto"
3741 found=true
3742 { echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3744 break
3745 else
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 fi
3749 done
3750
3751 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
3752 # it will just work!
@@ -3847,12 +3753,12 @@
3753 fi
3754
3755 # try the preprocessor and linker with our new flags,
3756 # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
3757
3758 { echo "$as_me:$LINENO: checking whether compiling and linking against OpenSSL works" >&5
3759 echo $ECHO_N "checking whether compiling and linking against OpenSSL works... $ECHO_C" >&6; }
3760 echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
3761 "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
3762
3763 save_LIBS="$LIBS"
3764 save_LDFLAGS="$LDFLAGS"
@@ -3879,54 +3785,50 @@
3785 if { (ac_try="$ac_link"
3786 case "(($ac_try" in
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3789 esac
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3791 (eval "$ac_link") 2>conftest.er1
3792 ac_status=$?
3793 grep -v '^ *+' conftest.er1 >conftest.err
3794 rm -f conftest.er1
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } && {
3798 test -z "$ac_c_werror_flag" ||
3799 test ! -s conftest.err
3800 } && test -s conftest$ac_exeext &&
3801 $as_test_x conftest$ac_exeext; then
 
 
3802
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805
3806 cat >>confdefs.h <<\_ACEOF
3807 #define FOSSIL_ENABLE_SSL 1
3808 _ACEOF
3809
3810
3811 else
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3814
3815
3816 { echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6; }
3818 if test "$enable_openssl" = yes; then
3819 { echo "$as_me:$LINENO: result: failed" >&5
3820 echo "${ECHO_T}failed" >&6; }
3821 { { echo "$as_me:$LINENO: error: HTTPS support requested" >&5
3822 echo "$as_me: error: HTTPS support requested" >&2;}
3823 { (exit but OpenSSL not found); exit but OpenSSL not found; }; }
3824 fi
3825
3826
3827
3828 fi
3829
 
3830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3831 conftest$ac_exeext conftest.$ac_ext
3832 CPPFLAGS="$save_CPPFLAGS"
3833 LDFLAGS="$save_LDFLAGS"
3834 LIBS="$save_LIBS"
@@ -3936,14 +3838,14 @@
3838
3839
3840 fi
3841
3842 # Network functions on Solaris
3843 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3844 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
3845 if test "${ac_cv_search_gethostbyname+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 else
3848 ac_func_search_save_LIBS=$LIBS
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
@@ -3977,34 +3879,30 @@
3879 if { (ac_try="$ac_link"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3885 (eval "$ac_link") 2>conftest.er1
3886 ac_status=$?
3887 grep -v '^ *+' conftest.er1 >conftest.err
3888 rm -f conftest.er1
3889 cat conftest.err >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } && {
3892 test -z "$ac_c_werror_flag" ||
3893 test ! -s conftest.err
3894 } && test -s conftest$ac_exeext &&
3895 $as_test_x conftest$ac_exeext; then
 
 
3896 ac_cv_search_gethostbyname=$ac_res
3897 else
3898 echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.$ac_ext >&5
3900
3901
3902 fi
3903
 
3904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3905 conftest$ac_exeext
3906 if test "${ac_cv_search_gethostbyname+set}" = set; then
3907 break
3908 fi
@@ -4015,22 +3913,22 @@
3913 ac_cv_search_gethostbyname=no
3914 fi
3915 rm conftest.$ac_ext
3916 LIBS=$ac_func_search_save_LIBS
3917 fi
3918 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3919 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
3920 ac_res=$ac_cv_search_gethostbyname
3921 if test "$ac_res" != no; then
3922 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3923
3924 fi
3925
3926 { echo "$as_me:$LINENO: checking for library containing socket" >&5
3927 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
3928 if test "${ac_cv_search_socket+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 ac_func_search_save_LIBS=$LIBS
3932 cat >conftest.$ac_ext <<_ACEOF
3933 /* confdefs.h. */
3934 _ACEOF
@@ -4064,34 +3962,30 @@
3962 if { (ac_try="$ac_link"
3963 case "(($ac_try" in
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3966 esac
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3968 (eval "$ac_link") 2>conftest.er1
3969 ac_status=$?
3970 grep -v '^ *+' conftest.er1 >conftest.err
3971 rm -f conftest.er1
3972 cat conftest.err >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } && {
3975 test -z "$ac_c_werror_flag" ||
3976 test ! -s conftest.err
3977 } && test -s conftest$ac_exeext &&
3978 $as_test_x conftest$ac_exeext; then
 
 
3979 ac_cv_search_socket=$ac_res
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3983
3984
3985 fi
3986
 
3987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3988 conftest$ac_exeext
3989 if test "${ac_cv_search_socket+set}" = set; then
3990 break
3991 fi
@@ -4102,21 +3996,21 @@
3996 ac_cv_search_socket=no
3997 fi
3998 rm conftest.$ac_ext
3999 LIBS=$ac_func_search_save_LIBS
4000 fi
4001 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4002 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
4003 ac_res=$ac_cv_search_socket
4004 if test "$ac_res" != no; then
4005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4006
4007 else
4008 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4009 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
4010 if test "${ac_cv_lib_socket_socket+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 else
4013 ac_check_lib_save_LIBS=$LIBS
4014 LIBS="-lsocket -lnsl $LIBS"
4015 cat >conftest.$ac_ext <<_ACEOF
4016 /* confdefs.h. */
@@ -4144,47 +4038,139 @@
4038 if { (ac_try="$ac_link"
4039 case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4042 esac
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4044 (eval "$ac_link") 2>conftest.er1
4045 ac_status=$?
4046 grep -v '^ *+' conftest.er1 >conftest.err
4047 rm -f conftest.er1
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } && {
4051 test -z "$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4053 } && test -s conftest$ac_exeext &&
4054 $as_test_x conftest$ac_exeext; then
 
 
4055 ac_cv_lib_socket_socket=yes
4056 else
4057 echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4059
4060 ac_cv_lib_socket_socket=no
4061 fi
4062
 
4063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4064 conftest$ac_exeext conftest.$ac_ext
4065 LIBS=$ac_check_lib_save_LIBS
4066 fi
4067 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4068 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
4069 if test $ac_cv_lib_socket_socket = yes; then
4070 LIBS="-lsocket -lnsl $LIBS"
4071 fi
4072
4073 fi
4074
4075
4076
4077 # Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
4078
4079 for ac_func in getpassphrase
4080 do
4081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 else
4087 cat >conftest.$ac_ext <<_ACEOF
4088 /* confdefs.h. */
4089 _ACEOF
4090 cat confdefs.h >>conftest.$ac_ext
4091 cat >>conftest.$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4095 #define $ac_func innocuous_$ac_func
4096
4097 /* System header to define __stub macros and hopefully few prototypes,
4098 which can conflict with char $ac_func (); below.
4099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4100 <limits.h> exists even on freestanding compilers. */
4101
4102 #ifdef __STDC__
4103 # include <limits.h>
4104 #else
4105 # include <assert.h>
4106 #endif
4107
4108 #undef $ac_func
4109
4110 /* Override any GCC internal prototype to avoid an error.
4111 Use char because int might match the return type of a GCC
4112 builtin and then its argument prototype would still apply. */
4113 #ifdef __cplusplus
4114 extern "C"
4115 #endif
4116 char $ac_func ();
4117 /* The GNU C library defines this for functions which it implements
4118 to always fail with ENOSYS. Some functions are actually named
4119 something starting with __ and the normal name is an alias. */
4120 #if defined __stub_$ac_func || defined __stub___$ac_func
4121 choke me
4122 #endif
4123
4124 int
4125 main ()
4126 {
4127 return $ac_func ();
4128 ;
4129 return 0;
4130 }
4131 _ACEOF
4132 rm -f conftest.$ac_objext conftest$ac_exeext
4133 if { (ac_try="$ac_link"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4139 (eval "$ac_link") 2>conftest.er1
4140 ac_status=$?
4141 grep -v '^ *+' conftest.er1 >conftest.err
4142 rm -f conftest.er1
4143 cat conftest.err >&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); } && {
4146 test -z "$ac_c_werror_flag" ||
4147 test ! -s conftest.err
4148 } && test -s conftest$ac_exeext &&
4149 $as_test_x conftest$ac_exeext; then
4150 eval "$as_ac_var=yes"
4151 else
4152 echo "$as_me: failed program was:" >&5
4153 sed 's/^/| /' conftest.$ac_ext >&5
4154
4155 eval "$as_ac_var=no"
4156 fi
4157
4158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4159 conftest$ac_exeext conftest.$ac_ext
4160 fi
4161 ac_res=`eval echo '${'$as_ac_var'}'`
4162 { echo "$as_me:$LINENO: result: $ac_res" >&5
4163 echo "${ECHO_T}$ac_res" >&6; }
4164 if test `eval echo '${'$as_ac_var'}'` = yes; then
4165 cat >>confdefs.h <<_ACEOF
4166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4167 _ACEOF
4168
4169 fi
4170 done
4171
4172
4173 ac_config_files="$ac_config_files Makefile"
4174
4175 cat >confcache <<\_ACEOF
4176 # This file is a shell script that caches the results of configure
@@ -4211,16 +4197,15 @@
4197 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4198 eval ac_val=\$$ac_var
4199 case $ac_val in #(
4200 *${as_nl}*)
4201 case $ac_var in #(
4202 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4203 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4204 esac
4205 case $ac_var in #(
4206 _ | IFS | as_nl) ;; #(
 
4207 *) $as_unset $ac_var ;;
4208 esac ;;
4209 esac
4210 done
4211
@@ -4249,16 +4234,16 @@
4234 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4235 :end' >>confcache
4236 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4237 if test -w "$cache_file"; then
4238 test "x$cache_file" != "x/dev/null" &&
4239 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4240 echo "$as_me: updating cache $cache_file" >&6;}
4241 cat confcache >$cache_file
4242 else
4243 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4244 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4245 fi
4246 fi
4247 rm -f confcache
4248
4249 test "x$prefix" = xNONE && prefix=$ac_default_prefix
@@ -4270,11 +4255,11 @@
4255 ac_libobjs=
4256 ac_ltlibobjs=
4257 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4258 # 1. Remove the extension, and $U if already installed.
4259 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4260 ac_i=`echo "$ac_i" | sed "$ac_script"`
4261 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4262 # will be set to the directory where LIBOBJS objects are built.
4263 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4264 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4265 done
@@ -4283,16 +4268,15 @@
4268 LTLIBOBJS=$ac_ltlibobjs
4269
4270
4271
4272 : ${CONFIG_STATUS=./config.status}
 
4273 ac_clean_files_save=$ac_clean_files
4274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4275 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4276 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4277 cat >$CONFIG_STATUS <<_ACEOF
4278 #! $SHELL
4279 # Generated by $as_me.
4280 # Run this file to recreate the current configuration.
4281 # Compiler output produced by configure, useful for debugging
4282 # configure, is in config.log if it exists.
@@ -4301,21 +4285,21 @@
4285 ac_cs_recheck=false
4286 ac_cs_silent=false
4287 SHELL=\${CONFIG_SHELL-$SHELL}
4288 _ACEOF
4289
4290 cat >>$CONFIG_STATUS <<\_ACEOF
4291 ## --------------------- ##
4292 ## M4sh Initialization. ##
4293 ## --------------------- ##
4294
4295 # Be more Bourne compatible
4296 DUALCASE=1; export DUALCASE # for MKS sh
4297 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4298 emulate sh
4299 NULLCMD=:
4300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4301 # is contrary to our usage. Disable this feature.
4302 alias -g '${1+"$@"}'='"$@"'
4303 setopt NO_GLOB_SUBST
4304 else
4305 case `(set -o) 2>/dev/null` in
@@ -4333,49 +4317,21 @@
4317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4319 as_cr_digits='0123456789'
4320 as_cr_alnum=$as_cr_Letters$as_cr_digits
4321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4322 # The user is always right.
4323 if test "${PATH_SEPARATOR+set}" != set; then
4324 echo "#! /bin/sh" >conf$$.sh
4325 echo "exit 0" >>conf$$.sh
4326 chmod +x conf$$.sh
4327 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4328 PATH_SEPARATOR=';'
4329 else
4330 PATH_SEPARATOR=:
4331 fi
4332 rm -f conf$$.sh
4333 fi
4334
4335 # Support unset when possible.
4336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4337 as_unset=unset
@@ -4387,10 +4343,12 @@
4343 # IFS
4344 # We need space, tab and new line, in precisely that order. Quoting is
4345 # there to prevent editors from complaining about space-tab.
4346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4347 # splitting by setting IFS to empty value.)
4348 as_nl='
4349 '
4350 IFS=" "" $as_nl"
4351
4352 # Find who we are. Look in the path if we contain no directory separator.
4353 case $0 in
4354 *[\\/]* ) as_myself=$0 ;;
@@ -4409,11 +4367,11 @@
4367 # in which case we are not to be found in the path.
4368 if test "x$as_myself" = x; then
4369 as_myself=$0
4370 fi
4371 if test ! -f "$as_myself"; then
4372 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4373 { (exit 1); exit 1; }
4374 fi
4375
4376 # Work around bugs in pre-3.0 UWIN ksh.
4377 for as_var in ENV MAIL MAILPATH
@@ -4422,14 +4380,21 @@
4380 PS1='$ '
4381 PS2='> '
4382 PS4='+ '
4383
4384 # NLS nuisances.
4385 for as_var in \
4386 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4387 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4388 LC_TELEPHONE LC_TIME
4389 do
4390 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4391 eval $as_var=C; export $as_var
4392 else
4393 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4394 fi
4395 done
4396
4397 # Required to use basename.
4398 if expr a : '\(a\)' >/dev/null 2>&1 &&
4399 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4400 as_expr=expr
@@ -4447,11 +4412,11 @@
4412 # Name of the executable.
4413 as_me=`$as_basename -- "$0" ||
4414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4415 X"$0" : 'X\(//\)$' \| \
4416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4417 echo X/"$0" |
4418 sed '/^.*\/\([^/][^/]*\)\/*$/{
4419 s//\1/
4420 q
4421 }
4422 /^X\/\(\/\/\)$/{
@@ -4498,11 +4463,11 @@
4463 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4464 t loop
4465 s/-\n.*//
4466 ' >$as_me.lineno &&
4467 chmod +x "$as_me.lineno" ||
4468 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4469 { (exit 1); exit 1; }; }
4470
4471 # Don't try to exec as it changes $[0], causing all sort of problems
4472 # (the dirname of $[0] is not the place where we might find the
4473 # original and so on. Autoconf is especially sensitive to this).
@@ -4526,10 +4491,11 @@
4491 *) ECHO_C='\c';;
4492 esac;;
4493 *)
4494 ECHO_N='-n';;
4495 esac
4496
4497 if expr a : '\(a\)' >/dev/null 2>&1 &&
4498 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4499 as_expr=expr
4500 else
4501 as_expr=false
@@ -4538,26 +4504,23 @@
4504 rm -f conf$$ conf$$.exe conf$$.file
4505 if test -d conf$$.dir; then
4506 rm -f conf$$.dir/conf$$.file
4507 else
4508 rm -f conf$$.dir
4509 mkdir conf$$.dir
4510 fi
4511 echo >conf$$.file
4512 if ln -s conf$$.file conf$$ 2>/dev/null; then
4513 as_ln_s='ln -s'
4514 # ... but there are two gotchas:
4515 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4516 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4517 # In both cases, we have to default to `cp -p'.
4518 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4519 as_ln_s='cp -p'
4520 elif ln conf$$.file conf$$ 2>/dev/null; then
4521 as_ln_s=ln
 
 
 
4522 else
4523 as_ln_s='cp -p'
4524 fi
4525 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4526 rmdir conf$$.dir 2>/dev/null
@@ -4578,14 +4541,14 @@
4541 as_ls_L_option=
4542 fi
4543 as_test_x='
4544 eval sh -c '\''
4545 if test -d "$1"; then
4546 test -d "$1/.";
4547 else
4548 case $1 in
4549 -*)set "./$1";;
4550 esac;
4551 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4552 ???[sx]*):;;*)false;;esac;fi
4553 '\'' sh
4554 '
@@ -4604,11 +4567,11 @@
4567 # Save the log message, to keep $[0] and so on meaningful, and to
4568 # report actual input values of CONFIG_FILES etc. instead of their
4569 # values after options handling.
4570 ac_log="
4571 This file was extended by fossil $as_me 20110528, which was
4572 generated by GNU Autoconf 2.61. Invocation command line was
4573
4574 CONFIG_FILES = $CONFIG_FILES
4575 CONFIG_HEADERS = $CONFIG_HEADERS
4576 CONFIG_LINKS = $CONFIG_LINKS
4577 CONFIG_COMMANDS = $CONFIG_COMMANDS
@@ -4617,18 +4580,18 @@
4580 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4581 "
4582
4583 _ACEOF
4584
4585 cat >>$CONFIG_STATUS <<_ACEOF
4586 # Files that config.status was made for.
4587 config_files="$ac_config_files"
4588 config_headers="$ac_config_headers"
4589
4590 _ACEOF
4591
4592 cat >>$CONFIG_STATUS <<\_ACEOF
4593 ac_cs_usage="\
4594 \`$as_me' instantiates files from templates according to the
4595 current configuration.
4596
4597 Usage: $0 [OPTIONS] [FILE]...
@@ -4637,13 +4600,13 @@
4600 -V, --version print version number and configuration settings, then exit
4601 -q, --quiet do not print progress messages
4602 -d, --debug don't remove temporary files
4603 --recheck update $as_me by reconfiguring in the same conditions
4604 --file=FILE[:TEMPLATE]
4605 instantiate the configuration file FILE
4606 --header=FILE[:TEMPLATE]
4607 instantiate the configuration header FILE
4608
4609 Configuration files:
4610 $config_files
4611
4612 Configuration headers:
@@ -4650,27 +4613,27 @@
4613 $config_headers
4614
4615 Report bugs to <[email protected]>."
4616
4617 _ACEOF
4618 cat >>$CONFIG_STATUS <<_ACEOF
4619 ac_cs_version="\\
4620 fossil config.status 20110528
4621 configured by $0, generated by GNU Autoconf 2.61,
4622 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4623
4624 Copyright (C) 2006 Free Software Foundation, Inc.
4625 This config.status script is free software; the Free Software Foundation
4626 gives unlimited permission to copy, distribute and modify it."
4627
4628 ac_pwd='$ac_pwd'
4629 srcdir='$srcdir'
 
4630 _ACEOF
4631
4632 cat >>$CONFIG_STATUS <<\_ACEOF
4633 # If no file are specified by the user, then we need to provide default
4634 # value. By we need to know if files were specified by the user.
4635 ac_need_defaults=:
4636 while test $# != 0
4637 do
4638 case $1 in
4639 --*=*)
@@ -4688,40 +4651,34 @@
4651 case $ac_option in
4652 # Handling of the options.
4653 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4654 ac_cs_recheck=: ;;
4655 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4656 echo "$ac_cs_version"; exit ;;
4657 --debug | --debu | --deb | --de | --d | -d )
4658 debug=: ;;
4659 --file | --fil | --fi | --f )
4660 $ac_shift
4661 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
 
 
4662 ac_need_defaults=false;;
4663 --header | --heade | --head | --hea )
4664 $ac_shift
4665 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
 
 
4666 ac_need_defaults=false;;
4667 --he | --h)
4668 # Conflict between --help and --header
4669 { echo "$as_me: error: ambiguous option: $1
4670 Try \`$0 --help' for more information." >&2
4671 { (exit 1); exit 1; }; };;
4672 --help | --hel | -h )
4673 echo "$ac_cs_usage"; exit ;;
4674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4675 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4676 ac_cs_silent=: ;;
4677
4678 # This is an error.
4679 -*) { echo "$as_me: error: unrecognized option: $1
4680 Try \`$0 --help' for more information." >&2
4681 { (exit 1); exit 1; }; } ;;
4682
4683 *) ac_config_targets="$ac_config_targets $1"
4684 ac_need_defaults=false ;;
@@ -4736,46 +4693,44 @@
4693 exec 6>/dev/null
4694 ac_configure_extra_args="$ac_configure_extra_args --silent"
4695 fi
4696
4697 _ACEOF
4698 cat >>$CONFIG_STATUS <<_ACEOF
4699 if \$ac_cs_recheck; then
4700 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4701 CONFIG_SHELL=$SHELL
 
 
4702 export CONFIG_SHELL
4703 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4704 fi
4705
4706 _ACEOF
4707 cat >>$CONFIG_STATUS <<\_ACEOF
4708 exec 5>>config.log
4709 {
4710 echo
4711 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4712 ## Running $as_me. ##
4713 _ASBOX
4714 echo "$ac_log"
4715 } >&5
4716
4717 _ACEOF
4718 cat >>$CONFIG_STATUS <<_ACEOF
4719 _ACEOF
4720
4721 cat >>$CONFIG_STATUS <<\_ACEOF
4722
4723 # Handling of arguments.
4724 for ac_config_target in $ac_config_targets
4725 do
4726 case $ac_config_target in
4727 "autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconfig.h" ;;
4728 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4729
4730 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4731 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4732 { (exit 1); exit 1; }; };;
4733 esac
4734 done
4735
4736
@@ -4811,146 +4766,130 @@
4766 {
4767 tmp=./conf$$-$RANDOM
4768 (umask 077 && mkdir "$tmp")
4769 } ||
4770 {
4771 echo "$me: cannot create a temporary directory in ." >&2
4772 { (exit 1); exit 1; }
4773 }
4774
4775 #
4776 # Set up the sed scripts for CONFIG_FILES section.
4777 #
4778
4779 # No need to generate the scripts if there are no CONFIG_FILES.
4780 # This happens for instance when ./config.status config.h
4781 if test -n "$CONFIG_FILES"; then
4782
 
 
4783
 
 
 
 
 
 
 
 
4784 _ACEOF
4785
4786
4787
 
 
 
 
 
 
 
 
4788 ac_delim='%!_!# '
4789 for ac_last_try in false false false false false :; do
4790 cat >conf$$subs.sed <<_ACEOF
4791 SHELL!$SHELL$ac_delim
4792 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4793 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4794 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4795 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4796 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4797 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4798 exec_prefix!$exec_prefix$ac_delim
4799 prefix!$prefix$ac_delim
4800 program_transform_name!$program_transform_name$ac_delim
4801 bindir!$bindir$ac_delim
4802 sbindir!$sbindir$ac_delim
4803 libexecdir!$libexecdir$ac_delim
4804 datarootdir!$datarootdir$ac_delim
4805 datadir!$datadir$ac_delim
4806 sysconfdir!$sysconfdir$ac_delim
4807 sharedstatedir!$sharedstatedir$ac_delim
4808 localstatedir!$localstatedir$ac_delim
4809 includedir!$includedir$ac_delim
4810 oldincludedir!$oldincludedir$ac_delim
4811 docdir!$docdir$ac_delim
4812 infodir!$infodir$ac_delim
4813 htmldir!$htmldir$ac_delim
4814 dvidir!$dvidir$ac_delim
4815 pdfdir!$pdfdir$ac_delim
4816 psdir!$psdir$ac_delim
4817 libdir!$libdir$ac_delim
4818 localedir!$localedir$ac_delim
4819 mandir!$mandir$ac_delim
4820 DEFS!$DEFS$ac_delim
4821 ECHO_C!$ECHO_C$ac_delim
4822 ECHO_N!$ECHO_N$ac_delim
4823 ECHO_T!$ECHO_T$ac_delim
4824 LIBS!$LIBS$ac_delim
4825 build_alias!$build_alias$ac_delim
4826 host_alias!$host_alias$ac_delim
4827 target_alias!$target_alias$ac_delim
4828 build!$build$ac_delim
4829 build_cpu!$build_cpu$ac_delim
4830 build_vendor!$build_vendor$ac_delim
4831 build_os!$build_os$ac_delim
4832 host!$host$ac_delim
4833 host_cpu!$host_cpu$ac_delim
4834 host_vendor!$host_vendor$ac_delim
4835 host_os!$host_os$ac_delim
4836 SET_MAKE!$SET_MAKE$ac_delim
4837 CC!$CC$ac_delim
4838 CFLAGS!$CFLAGS$ac_delim
4839 LDFLAGS!$LDFLAGS$ac_delim
4840 CPPFLAGS!$CPPFLAGS$ac_delim
4841 ac_ct_CC!$ac_ct_CC$ac_delim
4842 EXEEXT!$EXEEXT$ac_delim
4843 OBJEXT!$OBJEXT$ac_delim
4844 CPP!$CPP$ac_delim
4845 GREP!$GREP$ac_delim
4846 EGREP!$EGREP$ac_delim
4847 PKG_CONFIG!$PKG_CONFIG$ac_delim
4848 OPENSSL_INCLUDES!$OPENSSL_INCLUDES$ac_delim
4849 OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
4850 OPENSSL_LDFLAGS!$OPENSSL_LDFLAGS$ac_delim
4851 LIBOBJS!$LIBOBJS$ac_delim
4852 LTLIBOBJS!$LTLIBOBJS$ac_delim
4853 _ACEOF
4854
4855 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
4856 break
4857 elif $ac_last_try; then
4858 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4859 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4860 { (exit 1); exit 1; }; }
4861 else
4862 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4863 fi
4864 done
4865
4866 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4867 if test -n "$ac_eof"; then
4868 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4869 ac_eof=`expr $ac_eof + 1`
4870 fi
4871
4872 cat >>$CONFIG_STATUS <<_ACEOF
4873 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4875 _ACEOF
4876 sed '
4877 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4878 s/^/s,@/; s/!/@,|#_!!_#|/
4879 :n
4880 t n
4881 s/'"$ac_delim"'$/,g/; t
4882 s/$/\\/; p
4883 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4884 ' >>$CONFIG_STATUS <conf$$subs.sed
4885 rm -f conf$$subs.sed
4886 cat >>$CONFIG_STATUS <<_ACEOF
4887 :end
4888 s/|#_!!_#|//g
4889 CEOF$ac_eof
4890 _ACEOF
4891
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4892
4893 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4894 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4895 # trailing colons and then remove the whole line if VPATH becomes empty
4896 # (actually we leave an empty line to preserve line numbers).
@@ -4963,137 +4902,23 @@
4902 s/:*$//
4903 s/^[^=]*=[ ]*$//
4904 }'
4905 fi
4906
4907 cat >>$CONFIG_STATUS <<\_ACEOF
4908 fi # test -n "$CONFIG_FILES"
4909
4910
4911 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4912 do
4913 case $ac_tag in
4914 :[FHLC]) ac_mode=$ac_tag; continue;;
4915 esac
4916 case $ac_mode$ac_tag in
4917 :[FHL]*:*);;
4918 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4919 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4920 { (exit 1); exit 1; }; };;
4921 :[FH]-) ac_tag=-:-;;
4922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4923 esac
4924 ac_save_IFS=$IFS
@@ -5118,52 +4943,40 @@
4943 test -f "$ac_f" ||
4944 case $ac_f in
4945 [\\/$]*) false;;
4946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4947 esac ||
4948 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4949 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4950 { (exit 1); exit 1; }; };;
4951 esac
4952 ac_file_inputs="$ac_file_inputs $ac_f"
 
4953 done
4954
4955 # Let's still pretend it is `configure' which instantiates (i.e., don't
4956 # use $as_me), people would be surprised to read:
4957 # /* config.h. Generated by config.status. */
4958 configure_input="Generated from "`IFS=:
4959 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4960 if test x"$ac_file" != x-; then
4961 configure_input="$ac_file. $configure_input"
4962 { echo "$as_me:$LINENO: creating $ac_file" >&5
4963 echo "$as_me: creating $ac_file" >&6;}
4964 fi
 
 
 
 
 
 
 
4965
4966 case $ac_tag in
4967 *:-:* | *:-) cat >"$tmp/stdin";;
 
 
 
4968 esac
4969 ;;
4970 esac
4971
4972 ac_dir=`$as_dirname -- "$ac_file" ||
4973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974 X"$ac_file" : 'X\(//\)[^/]' \| \
4975 X"$ac_file" : 'X\(//\)$' \| \
4976 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4977 echo X"$ac_file" |
4978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4979 s//\1/
4980 q
4981 }
4982 /^X\(\/\/\)[^/].*/{
@@ -5185,20 +4998,20 @@
4998 esac
4999 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5000 as_dirs=
5001 while :; do
5002 case $as_dir in #(
5003 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5004 *) as_qdir=$as_dir;;
5005 esac
5006 as_dirs="'$as_qdir' $as_dirs"
5007 as_dir=`$as_dirname -- "$as_dir" ||
5008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5009 X"$as_dir" : 'X\(//\)[^/]' \| \
5010 X"$as_dir" : 'X\(//\)$' \| \
5011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5012 echo X"$as_dir" |
5013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5014 s//\1/
5015 q
5016 }
5017 /^X\(\/\/\)[^/].*/{
@@ -5215,21 +5028,21 @@
5028 }
5029 s/.*/./; q'`
5030 test -d "$as_dir" && break
5031 done
5032 test -z "$as_dirs" || eval "mkdir $as_dirs"
5033 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5034 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5035 { (exit 1); exit 1; }; }; }
5036 ac_builddir=.
5037
5038 case "$ac_dir" in
5039 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5040 *)
5041 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5042 # A ".." for each directory in $ac_dir_suffix.
5043 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5044 case $ac_top_builddir_sub in
5045 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5046 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5047 esac ;;
5048 esac
@@ -5261,33 +5074,31 @@
5074 # CONFIG_FILE
5075 #
5076
5077 _ACEOF
5078
5079 cat >>$CONFIG_STATUS <<\_ACEOF
5080 # If the template does not know about datarootdir, expand it.
5081 # FIXME: This hack should be removed a few years after 2.60.
5082 ac_datarootdir_hack=; ac_datarootdir_seen=
5083
5084 case `sed -n '/datarootdir/ {
 
5085 p
5086 q
5087 }
5088 /@datadir@/p
5089 /@docdir@/p
5090 /@infodir@/p
5091 /@localedir@/p
5092 /@mandir@/p
5093 ' $ac_file_inputs` in
 
5094 *datarootdir*) ac_datarootdir_seen=yes;;
5095 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5096 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5097 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5098 _ACEOF
5099 cat >>$CONFIG_STATUS <<_ACEOF
5100 ac_datarootdir_hack='
5101 s&@datadir@&$datadir&g
5102 s&@docdir@&$docdir&g
5103 s&@infodir@&$infodir&g
5104 s&@localedir@&$localedir&g
@@ -5297,80 +5108,140 @@
5108 _ACEOF
5109
5110 # Neutralize VPATH when `$srcdir' = `.'.
5111 # Shell code in configure.ac might set extrasub.
5112 # FIXME: do we really want to maintain this feature?
5113 cat >>$CONFIG_STATUS <<_ACEOF
5114 sed "$ac_vpsub
5115 $extrasub
5116 _ACEOF
5117 cat >>$CONFIG_STATUS <<\_ACEOF
5118 :t
5119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5120 s&@configure_input@&$configure_input&;t t
5121 s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5122 s&@srcdir@&$ac_srcdir&;t t
5123 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5124 s&@top_srcdir@&$ac_top_srcdir&;t t
5125 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5126 s&@builddir@&$ac_builddir&;t t
5127 s&@abs_builddir@&$ac_abs_builddir&;t t
5128 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5129 $ac_datarootdir_hack
5130 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
 
 
 
5131
5132 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5133 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5134 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5135 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5136 which seems to be undefined. Please make sure it is defined." >&5
5137 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5138 which seems to be undefined. Please make sure it is defined." >&2;}
5139
5140 rm -f "$tmp/stdin"
5141 case $ac_file in
5142 -) cat "$tmp/out"; rm -f "$tmp/out";;
5143 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5144 esac
 
 
 
5145 ;;
5146 :H)
5147 #
5148 # CONFIG_HEADER
5149 #
5150 _ACEOF
5151
5152 # Transform confdefs.h into a sed script `conftest.defines', that
5153 # substitutes the proper values into config.h.in to produce config.h.
5154 rm -f conftest.defines conftest.tail
5155 # First, append a space to every undef/define line, to ease matching.
5156 echo 's/$/ /' >conftest.defines
5157 # Then, protect against being on the right side of a sed subst, or in
5158 # an unquoted here document, in config.status. If some macros were
5159 # called several times there might be several #defines for the same
5160 # symbol, which is useless. But do not sort them, since the last
5161 # AC_DEFINE must be honored.
5162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5163 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5164 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5165 # PARAMS is the parameter list in the macro definition--in most cases, it's
5166 # just an empty string.
5167 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5168 ac_dB='\\)[ (].*,\\1define\\2'
5169 ac_dC=' '
5170 ac_dD=' ,'
5171
5172 uniq confdefs.h |
5173 sed -n '
5174 t rset
5175 :rset
5176 s/^[ ]*#[ ]*define[ ][ ]*//
5177 t ok
5178 d
5179 :ok
5180 s/[\\&,]/\\&/g
5181 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5182 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5183 ' >>conftest.defines
5184
5185 # Remove the space that was appended to ease matching.
5186 # Then replace #undef with comments. This is necessary, for
5187 # example, in the case of _POSIX_SOURCE, which is predefined and required
5188 # on some systems where configure will not decide to define it.
5189 # (The regexp can be short, since the line contains either #define or #undef.)
5190 echo 's/ $//
5191 s,^[ #]*u.*,/* & */,' >>conftest.defines
5192
5193 # Break up conftest.defines:
5194 ac_max_sed_lines=50
5195
5196 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5197 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5198 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5199 # et cetera.
5200 ac_in='$ac_file_inputs'
5201 ac_out='"$tmp/out1"'
5202 ac_nxt='"$tmp/out2"'
5203
5204 while :
5205 do
5206 # Write a here document:
5207 cat >>$CONFIG_STATUS <<_ACEOF
5208 # First, check the format of the line:
5209 cat >"\$tmp/defines.sed" <<\\CEOF
5210 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5211 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5212 b
5213 :def
5214 _ACEOF
5215 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5216 echo 'CEOF
5217 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5218 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5219 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5220 grep . conftest.tail >/dev/null || break
5221 rm -f conftest.defines
5222 mv conftest.tail conftest.defines
5223 done
5224 rm -f conftest.defines conftest.tail
5225
5226 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5227 cat >>$CONFIG_STATUS <<\_ACEOF
5228 if test x"$ac_file" != x-; then
5229 echo "/* $configure_input */" >"$tmp/config.h"
5230 cat "$ac_result" >>"$tmp/config.h"
5231 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5232 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5233 echo "$as_me: $ac_file is unchanged" >&6;}
5234 else
5235 rm -f $ac_file
5236 mv "$tmp/config.h" $ac_file
5237 fi
5238 else
5239 echo "/* $configure_input */"
5240 cat "$ac_result"
5241 fi
5242 rm -f "$tmp/out12"
5243 ;;
5244
5245
5246 esac
5247
@@ -5380,15 +5251,10 @@
5251 { (exit 0); exit 0; }
5252 _ACEOF
5253 chmod +x $CONFIG_STATUS
5254 ac_clean_files=$ac_clean_files_save
5255
 
 
 
 
 
5256
5257 # configure is writing to config.log, and then calls config.status.
5258 # config.status does its own redirection, appending to config.log.
5259 # Unfortunately, on DOS this fails, as config.log is still kept open
5260 # by configure, so config.status won't be able to write to it; its
@@ -5406,10 +5272,6 @@
5272 exec 5>>config.log
5273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5274 # would make configure fail if this is the last instruction.
5275 $ac_cs_success || { (exit 1); exit 1; }
5276 fi
 
 
 
 
5277
5278
+4 -1
--- configure.ac
+++ configure.ac
@@ -1,7 +1,7 @@
11
dnl Process this file with autoconf to produce a configure script.
2
-AC_PREREQ(2.62)
2
+AC_PREREQ(2.61)
33
AC_INIT([fossil], [20110528], [[email protected]])
44
AC_CONFIG_SRCDIR([src/schema.c])
55
AC_CONFIG_AUX_DIR([autoconf])
66
AC_CONFIG_MACRO_DIR([autoconf])
77
AC_CONFIG_HEADER(autoconfig.h)
@@ -45,8 +45,11 @@
4545
[socket],
4646
[LIBS="-lsocket -lnsl $LIBS"],
4747
[],
4848
[-lnsl])])
4949
50
+
51
+# Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
52
+AC_CHECK_FUNCS(getpassphrase)
5053
5154
AC_CONFIG_FILES([Makefile])
5255
AC_OUTPUT
5356
--- configure.ac
+++ configure.ac
@@ -1,7 +1,7 @@
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.62)
3 AC_INIT([fossil], [20110528], [[email protected]])
4 AC_CONFIG_SRCDIR([src/schema.c])
5 AC_CONFIG_AUX_DIR([autoconf])
6 AC_CONFIG_MACRO_DIR([autoconf])
7 AC_CONFIG_HEADER(autoconfig.h)
@@ -45,8 +45,11 @@
45 [socket],
46 [LIBS="-lsocket -lnsl $LIBS"],
47 [],
48 [-lnsl])])
49
 
 
 
50
51 AC_CONFIG_FILES([Makefile])
52 AC_OUTPUT
53
--- configure.ac
+++ configure.ac
@@ -1,7 +1,7 @@
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.61)
3 AC_INIT([fossil], [20110528], [[email protected]])
4 AC_CONFIG_SRCDIR([src/schema.c])
5 AC_CONFIG_AUX_DIR([autoconf])
6 AC_CONFIG_MACRO_DIR([autoconf])
7 AC_CONFIG_HEADER(autoconfig.h)
@@ -45,8 +45,11 @@
45 [socket],
46 [LIBS="-lsocket -lnsl $LIBS"],
47 [],
48 [-lnsl])])
49
50
51 # Check for getpassphrase() for Solaris 10 where getpass() truncates to 10 chars
52 AC_CHECK_FUNCS(getpassphrase)
53
54 AC_CONFIG_FILES([Makefile])
55 AC_OUTPUT
56
+1 -1
--- src/config.h
+++ src/config.h
@@ -89,11 +89,11 @@
8989
#include "sqlite3.h"
9090
9191
/*
9292
** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
9393
*/
94
-#if defined(__sun__) || defined(sun)
94
+#if HAVE_GETPASSPHRASE
9595
#define getpass getpassphrase
9696
#endif
9797
9898
/*
9999
** Typedef for a 64-bit integer
100100
--- src/config.h
+++ src/config.h
@@ -89,11 +89,11 @@
89 #include "sqlite3.h"
90
91 /*
92 ** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
93 */
94 #if defined(__sun__) || defined(sun)
95 #define getpass getpassphrase
96 #endif
97
98 /*
99 ** Typedef for a 64-bit integer
100
--- src/config.h
+++ src/config.h
@@ -89,11 +89,11 @@
89 #include "sqlite3.h"
90
91 /*
92 ** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
93 */
94 #if HAVE_GETPASSPHRASE
95 #define getpass getpassphrase
96 #endif
97
98 /*
99 ** Typedef for a 64-bit integer
100

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button