2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
# Support unset when possible.
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90
# We need space, tab and new line, in precisely that order. Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
96
# Find who we are. Look in the path if we contain no directory separator.
98
*[\\/]* ) as_myself=$0 ;;
99
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103
test -z "$as_dir" && as_dir=.
104
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
115
if test ! -f "$as_myself"; then
116
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
{ (exit 1); exit 1; }
120
# Work around bugs in pre-3.0 UWIN ksh.
121
for as_var in ENV MAIL MAILPATH
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
173
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
test -z "$as_dir" && as_dir=.
247
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
469
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473
chmod +x "$as_me.lineno" ||
474
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
{ (exit 1); exit 1; }; }
477
# Don't try to exec as it changes $[0], causing all sort of problems
478
# (the dirname of $[0] is not the place where we might find the
479
# original and so on. Autoconf is especially sensitive to this).
481
# Exit status is that of the last command.
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492
ECHO_C= ECHO_N= ECHO_T=
496
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
test "X`expr 00001 : '.*\(...\)'`" = X001; then
509
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
511
rm -f conf$$.dir/conf$$.file
514
mkdir conf$$.dir 2>/dev/null
516
if (echo >conf$$.file) 2>/dev/null; then
517
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
# ... but there are two gotchas:
520
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
# In both cases, we have to default to `cp -p'.
523
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
elif ln conf$$.file conf$$ 2>/dev/null; then
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
536
if mkdir -p . 2>/dev/null; then
539
test -d ./-p && rmdir ./-p
543
if test -x / >/dev/null 2>&1; then
546
if ls -dL / >/dev/null 2>&1; then
553
if test -d "$1"; then
559
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
???[sx]*):;;*)false;;esac;fi
564
as_executable_p=$as_test_x
566
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574
exec 7<&0 </dev/null 6>&1
577
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578
# so uname gets run too.
579
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584
ac_default_prefix=/usr/local
586
ac_config_libobj_dir=.
592
SHELL=${CONFIG_SHELL-/bin/sh}
594
# Identity of this package.
601
ac_unique_file="pr3287.c"
602
# Factoring default headers for most tests.
603
ac_includes_default="\
605
#ifdef HAVE_SYS_TYPES_H
606
# include <sys/types.h>
608
#ifdef HAVE_SYS_STAT_H
609
# include <sys/stat.h>
615
# ifdef HAVE_STDLIB_H
620
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625
#ifdef HAVE_STRINGS_H
626
# include <strings.h>
628
#ifdef HAVE_INTTYPES_H
629
# include <inttypes.h>
638
ac_subst_vars='LTLIBOBJS
694
program_transform_name
706
enable_option_checking
712
ac_precious_vars='build_alias
723
# Initialize some variables set by options.
725
ac_init_version=false
726
ac_unrecognized_opts=
728
# The variables have the same names as the options, with
729
# dashes changed to underlines.
737
program_transform_name=s,x,x,
745
# Installation directory options.
746
# These are left unexpanded so users can "make install exec_prefix=/foo"
747
# and all the variables that are supposed to be based on exec_prefix
748
# by default will actually change.
749
# Use braces instead of parens because sh, perl, etc. also accept them.
750
# (The list follows the same order as the GNU Coding Standards.)
751
bindir='${exec_prefix}/bin'
752
sbindir='${exec_prefix}/sbin'
753
libexecdir='${exec_prefix}/libexec'
754
datarootdir='${prefix}/share'
755
datadir='${datarootdir}'
756
sysconfdir='${prefix}/etc'
757
sharedstatedir='${prefix}/com'
758
localstatedir='${prefix}/var'
759
includedir='${prefix}/include'
760
oldincludedir='/usr/include'
761
docdir='${datarootdir}/doc/${PACKAGE}'
762
infodir='${datarootdir}/info'
767
libdir='${exec_prefix}/lib'
768
localedir='${datarootdir}/locale'
769
mandir='${datarootdir}/man'
775
# If the previous option needs an argument, assign it.
776
if test -n "$ac_prev"; then
777
eval $ac_prev=\$ac_option
783
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
787
# Accept the important Cygnus configure options, so we can diagnose typos.
789
case $ac_dashdash$ac_option in
793
-bindir | --bindir | --bindi | --bind | --bin | --bi)
795
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
798
-build | --build | --buil | --bui | --bu)
799
ac_prev=build_alias ;;
800
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
801
build_alias=$ac_optarg ;;
803
-cache-file | --cache-file | --cache-fil | --cache-fi \
804
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
805
ac_prev=cache_file ;;
806
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
807
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
808
cache_file=$ac_optarg ;;
811
cache_file=config.cache ;;
813
-datadir | --datadir | --datadi | --datad)
815
-datadir=* | --datadir=* | --datadi=* | --datad=*)
816
datadir=$ac_optarg ;;
818
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
819
| --dataroo | --dataro | --datar)
820
ac_prev=datarootdir ;;
821
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
822
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
823
datarootdir=$ac_optarg ;;
825
-disable-* | --disable-*)
826
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
827
# Reject names that are not valid shell variable names.
828
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
830
{ (exit 1); exit 1; }; }
831
ac_useropt_orig=$ac_useropt
832
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833
case $ac_user_opts in
837
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838
ac_unrecognized_sep=', ';;
840
eval enable_$ac_useropt=no ;;
842
-docdir | --docdir | --docdi | --doc | --do)
844
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
849
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852
-enable-* | --enable-*)
853
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854
# Reject names that are not valid shell variable names.
855
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
857
{ (exit 1); exit 1; }; }
858
ac_useropt_orig=$ac_useropt
859
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860
case $ac_user_opts in
864
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
865
ac_unrecognized_sep=', ';;
867
eval enable_$ac_useropt=\$ac_optarg ;;
869
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
871
| --exec | --exe | --ex)
872
ac_prev=exec_prefix ;;
873
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
874
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
875
| --exec=* | --exe=* | --ex=*)
876
exec_prefix=$ac_optarg ;;
878
-gas | --gas | --ga | --g)
879
# Obsolete; use --with-gas.
882
-help | --help | --hel | --he | -h)
884
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
885
ac_init_help=recursive ;;
886
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
887
ac_init_help=short ;;
889
-host | --host | --hos | --ho)
890
ac_prev=host_alias ;;
891
-host=* | --host=* | --hos=* | --ho=*)
892
host_alias=$ac_optarg ;;
894
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898
htmldir=$ac_optarg ;;
900
-includedir | --includedir | --includedi | --included | --include \
901
| --includ | --inclu | --incl | --inc)
902
ac_prev=includedir ;;
903
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
904
| --includ=* | --inclu=* | --incl=* | --inc=*)
905
includedir=$ac_optarg ;;
907
-infodir | --infodir | --infodi | --infod | --info | --inf)
909
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910
infodir=$ac_optarg ;;
912
-libdir | --libdir | --libdi | --libd)
914
-libdir=* | --libdir=* | --libdi=* | --libd=*)
917
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
918
| --libexe | --libex | --libe)
919
ac_prev=libexecdir ;;
920
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
921
| --libexe=* | --libex=* | --libe=*)
922
libexecdir=$ac_optarg ;;
924
-localedir | --localedir | --localedi | --localed | --locale)
926
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927
localedir=$ac_optarg ;;
929
-localstatedir | --localstatedir | --localstatedi | --localstated \
930
| --localstate | --localstat | --localsta | --localst | --locals)
931
ac_prev=localstatedir ;;
932
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
933
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
934
localstatedir=$ac_optarg ;;
936
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942
# Obsolete; use --without-fp.
945
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
946
| --no-cr | --no-c | -n)
949
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
950
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
954
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
955
| --oldin | --oldi | --old | --ol | --o)
956
ac_prev=oldincludedir ;;
957
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
958
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
959
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
960
oldincludedir=$ac_optarg ;;
962
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
967
-program-prefix | --program-prefix | --program-prefi | --program-pref \
968
| --program-pre | --program-pr | --program-p)
969
ac_prev=program_prefix ;;
970
-program-prefix=* | --program-prefix=* | --program-prefi=* \
971
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
972
program_prefix=$ac_optarg ;;
974
-program-suffix | --program-suffix | --program-suffi | --program-suff \
975
| --program-suf | --program-su | --program-s)
976
ac_prev=program_suffix ;;
977
-program-suffix=* | --program-suffix=* | --program-suffi=* \
978
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
979
program_suffix=$ac_optarg ;;
981
-program-transform-name | --program-transform-name \
982
| --program-transform-nam | --program-transform-na \
983
| --program-transform-n | --program-transform- \
984
| --program-transform | --program-transfor \
985
| --program-transfo | --program-transf \
986
| --program-trans | --program-tran \
987
| --progr-tra | --program-tr | --program-t)
988
ac_prev=program_transform_name ;;
989
-program-transform-name=* | --program-transform-name=* \
990
| --program-transform-nam=* | --program-transform-na=* \
991
| --program-transform-n=* | --program-transform-=* \
992
| --program-transform=* | --program-transfor=* \
993
| --program-transfo=* | --program-transf=* \
994
| --program-trans=* | --program-tran=* \
995
| --progr-tra=* | --program-tr=* | --program-t=*)
996
program_transform_name=$ac_optarg ;;
998
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001
pdfdir=$ac_optarg ;;
1003
-psdir | --psdir | --psdi | --psd | --ps)
1005
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1008
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009
| -silent | --silent | --silen | --sile | --sil)
1012
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016
sbindir=$ac_optarg ;;
1018
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1019
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020
| --sharedst | --shareds | --shared | --share | --shar \
1022
ac_prev=sharedstatedir ;;
1023
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027
sharedstatedir=$ac_optarg ;;
1029
-site | --site | --sit)
1031
-site=* | --site=* | --sit=*)
1034
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037
srcdir=$ac_optarg ;;
1039
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040
| --syscon | --sysco | --sysc | --sys | --sy)
1041
ac_prev=sysconfdir ;;
1042
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044
sysconfdir=$ac_optarg ;;
1046
-target | --target | --targe | --targ | --tar | --ta | --t)
1047
ac_prev=target_alias ;;
1048
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049
target_alias=$ac_optarg ;;
1051
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1054
-version | --version | --versio | --versi | --vers | -V)
1055
ac_init_version=: ;;
1058
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059
# Reject names that are not valid shell variable names.
1060
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1062
{ (exit 1); exit 1; }; }
1063
ac_useropt_orig=$ac_useropt
1064
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065
case $ac_user_opts in
1069
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070
ac_unrecognized_sep=', ';;
1072
eval with_$ac_useropt=\$ac_optarg ;;
1074
-without-* | --without-*)
1075
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076
# Reject names that are not valid shell variable names.
1077
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1079
{ (exit 1); exit 1; }; }
1080
ac_useropt_orig=$ac_useropt
1081
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082
case $ac_user_opts in
1086
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1087
ac_unrecognized_sep=', ';;
1089
eval with_$ac_useropt=no ;;
1092
# Obsolete; use --with-x.
1095
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1096
| --x-incl | --x-inc | --x-in | --x-i)
1097
ac_prev=x_includes ;;
1098
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1099
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1100
x_includes=$ac_optarg ;;
1102
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1103
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1104
ac_prev=x_libraries ;;
1105
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1106
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1107
x_libraries=$ac_optarg ;;
1109
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1110
Try \`$0 --help' for more information." >&2
1111
{ (exit 1); exit 1; }; }
1115
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116
# Reject names that are not valid shell variable names.
1117
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1118
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1119
{ (exit 1); exit 1; }; }
1120
eval $ac_envvar=\$ac_optarg
1121
export $ac_envvar ;;
1124
# FIXME: should be removed in autoconf 3.0.
1125
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1126
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1128
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1134
if test -n "$ac_prev"; then
1135
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1136
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1137
{ (exit 1); exit 1; }; }
1140
if test -n "$ac_unrecognized_opts"; then
1141
case $enable_option_checking in
1143
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1144
{ (exit 1); exit 1; }; } ;;
1145
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1149
# Check all directory arguments for consistency.
1150
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151
datadir sysconfdir sharedstatedir localstatedir includedir \
1152
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153
libdir localedir mandir
1155
eval ac_val=\$$ac_var
1156
# Remove trailing slashes.
1159
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160
eval $ac_var=\$ac_val;;
1162
# Be sure to have absolute directory names.
1164
[\\/$]* | ?:[\\/]* ) continue;;
1165
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1168
{ (exit 1); exit 1; }; }
1171
# There might be people who depend on the old broken behavior: `$host'
1172
# used to hold the argument of --host etc.
1173
# FIXME: To remove some day.
1176
target=$target_alias
1178
# FIXME: To remove some day.
1179
if test "x$host_alias" != x; then
1180
if test "x$build_alias" = x; then
1181
cross_compiling=maybe
1182
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1183
If a cross compiler is detected then cross compile mode will be used." >&2
1184
elif test "x$build_alias" != "x$host_alias"; then
1190
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192
test "$silent" = yes && exec 6>/dev/null
1195
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196
ac_ls_di=`ls -di .` &&
1197
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1199
{ (exit 1); exit 1; }; }
1200
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1202
{ (exit 1); exit 1; }; }
1205
# Find the source files, if location was not specified.
1206
if test -z "$srcdir"; then
1207
ac_srcdir_defaulted=yes
1208
# Try the directory containing this script, then the parent directory.
1209
ac_confdir=`$as_dirname -- "$as_myself" ||
1210
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1211
X"$as_myself" : 'X\(//\)[^/]' \| \
1212
X"$as_myself" : 'X\(//\)$' \| \
1213
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1214
$as_echo X"$as_myself" |
1215
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1233
if test ! -r "$srcdir/$ac_unique_file"; then
1237
ac_srcdir_defaulted=no
1239
if test ! -r "$srcdir/$ac_unique_file"; then
1240
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1241
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1242
{ (exit 1); exit 1; }; }
1244
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1246
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1247
{ (exit 1); exit 1; }; }
1249
# When building in place, set srcdir=.
1250
if test "$ac_abs_confdir" = "$ac_pwd"; then
1253
# Remove unnecessary trailing slashes from srcdir.
1254
# Double slashes in file names in object file debugging info
1255
# mess up M-x gdb in Emacs.
1257
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1259
for ac_var in $ac_precious_vars; do
1260
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1261
eval ac_env_${ac_var}_value=\$${ac_var}
1262
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1263
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1267
# Report the --help message.
1269
if test "$ac_init_help" = "long"; then
1270
# Omit some internal or obsolete options to make the list less imposing.
1271
# This message is too long to be a string in the A/UX 3.1 sh.
1273
\`configure' configures this package to adapt to many kinds of systems.
1275
Usage: $0 [OPTION]... [VAR=VALUE]...
1277
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1278
VAR=VALUE. See below for descriptions of some of the useful variables.
1280
Defaults for the options are specified in brackets.
1283
-h, --help display this help and exit
1284
--help=short display options specific to this package
1285
--help=recursive display the short help of all the included packages
1286
-V, --version display version information and exit
1287
-q, --quiet, --silent do not print \`checking...' messages
1288
--cache-file=FILE cache test results in FILE [disabled]
1289
-C, --config-cache alias for \`--cache-file=config.cache'
1290
-n, --no-create do not create output files
1291
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1293
Installation directories:
1294
--prefix=PREFIX install architecture-independent files in PREFIX
1295
[$ac_default_prefix]
1296
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1299
By default, \`make install' will install all the files in
1300
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1301
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1302
for instance \`--prefix=\$HOME'.
1304
For better control, use the options below.
1306
Fine tuning of the installation directories:
1307
--bindir=DIR user executables [EPREFIX/bin]
1308
--sbindir=DIR system admin executables [EPREFIX/sbin]
1309
--libexecdir=DIR program executables [EPREFIX/libexec]
1310
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1311
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1312
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1313
--libdir=DIR object code libraries [EPREFIX/lib]
1314
--includedir=DIR C header files [PREFIX/include]
1315
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1316
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318
--infodir=DIR info documentation [DATAROOTDIR/info]
1319
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320
--mandir=DIR man documentation [DATAROOTDIR/man]
1321
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1322
--htmldir=DIR html documentation [DOCDIR]
1323
--dvidir=DIR dvi documentation [DOCDIR]
1324
--pdfdir=DIR pdf documentation [DOCDIR]
1325
--psdir=DIR ps documentation [DOCDIR]
1331
--build=BUILD configure for building on BUILD [guessed]
1332
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1336
if test -n "$ac_init_help"; then
1341
--disable-option-checking ignore unrecognized --enable/--with options
1342
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1343
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1344
--disable-dbcs leave out DBCS support
1345
--disable-ssl leave out OpenSSL support
1348
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1349
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1350
--with-ssl=DIR specify OpenSSL install directory
1351
--with-iconv ignore __STDC_ISO_10646__ and use iconv() instead
1353
Some influential environment variables:
1354
CC C compiler command
1355
CFLAGS C compiler flags
1356
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1357
nonstandard directory <lib dir>
1358
LIBS libraries to pass to the linker, e.g. -l<library>
1359
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1360
you have headers in a nonstandard directory <include dir>
1363
Use these variables to override the choices made by `configure' or to help
1364
it to find libraries and programs with nonstandard names/locations.
1370
if test "$ac_init_help" = "recursive"; then
1371
# If there are subdirs, report their specific --help.
1372
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373
test -d "$ac_dir" ||
1374
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1379
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1382
# A ".." for each directory in $ac_dir_suffix.
1383
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1384
case $ac_top_builddir_sub in
1385
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1386
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389
ac_abs_top_builddir=$ac_pwd
1390
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1391
# for backward compatibility:
1392
ac_top_builddir=$ac_top_build_prefix
1395
.) # We are building in place.
1397
ac_top_srcdir=$ac_top_builddir_sub
1398
ac_abs_top_srcdir=$ac_pwd ;;
1399
[\\/]* | ?:[\\/]* ) # Absolute name.
1400
ac_srcdir=$srcdir$ac_dir_suffix;
1401
ac_top_srcdir=$srcdir
1402
ac_abs_top_srcdir=$srcdir ;;
1404
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1405
ac_top_srcdir=$ac_top_build_prefix$srcdir
1406
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1408
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1410
cd "$ac_dir" || { ac_status=$?; continue; }
1411
# Check for guested configure.
1412
if test -f "$ac_srcdir/configure.gnu"; then
1414
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415
elif test -f "$ac_srcdir/configure"; then
1417
$SHELL "$ac_srcdir/configure" --help=recursive
1419
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1421
cd "$ac_pwd" || { ac_status=$?; break; }
1425
test -n "$ac_init_help" && exit $ac_status
1426
if $ac_init_version; then
1429
generated by GNU Autoconf 2.63
1431
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1432
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1433
This configure script is free software; the Free Software Foundation
1434
gives unlimited permission to copy, distribute and modify it.
1438
cat >config.log <<_ACEOF
1439
This file contains any messages produced by compilers while
1440
running configure, to aid debugging if configure makes a mistake.
1442
It was created by $as_me, which was
1443
generated by GNU Autoconf 2.63. Invocation command line was
1455
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1456
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1457
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1458
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1459
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1461
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1462
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1464
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1465
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1466
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1467
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1468
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1469
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1470
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478
test -z "$as_dir" && as_dir=.
1479
$as_echo "PATH: $as_dir"
1495
# Keep a trace of the command line.
1496
# Strip out --no-create and --no-recursion so they do not pile up.
1497
# Strip out --silent because we don't want to record it for future runs.
1498
# Also quote any args containing shell meta-characters.
1499
# Make two passes to allow for proper duplicate-argument suppression.
1503
ac_must_keep_next=false
1509
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1510
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1511
| -silent | --silent | --silen | --sile | --sil)
1514
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1519
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1520
if test $ac_must_keep_next = true; then
1521
ac_must_keep_next=false # Got value, back to normal.
1524
*=* | --config-cache | -C | -disable-* | --disable-* \
1525
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1526
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1527
| -with-* | --with-* | -without-* | --without-* | --x)
1528
case "$ac_configure_args0 " in
1529
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532
-* ) ac_must_keep_next=true ;;
1535
ac_configure_args="$ac_configure_args '$ac_arg'"
1540
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1541
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1543
# When interrupted or exit'd, cleanup temporary files, and complete
1544
# config.log. We remove comments because anyway the quotes in there
1545
# would cause problems or look ugly.
1546
# WARNING: Use '\'' to represent an apostrophe within the trap.
1547
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1548
trap 'exit_status=$?
1549
# Save into config.log some information that might help in debugging.
1554
## ---------------- ##
1555
## Cache variables. ##
1556
## ---------------- ##
1559
# The following way of writing the cache mishandles newlines in values,
1561
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562
eval ac_val=\$$ac_var
1566
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1567
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570
_ | IFS | as_nl) ;; #(
1571
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572
*) $as_unset $ac_var ;;
1577
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578
*${as_nl}ac_space=\ *)
1580
"s/'\''/'\''\\\\'\'''\''/g;
1581
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1592
## ----------------- ##
1593
## Output variables. ##
1594
## ----------------- ##
1597
for ac_var in $ac_subst_vars
1599
eval ac_val=\$$ac_var
1601
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603
$as_echo "$ac_var='\''$ac_val'\''"
1607
if test -n "$ac_subst_files"; then
1609
## ------------------- ##
1610
## File substitutions. ##
1611
## ------------------- ##
1614
for ac_var in $ac_subst_files
1616
eval ac_val=\$$ac_var
1618
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620
$as_echo "$ac_var='\''$ac_val'\''"
1625
if test -s confdefs.h; then
1635
test "$ac_signal" != 0 &&
1636
$as_echo "$as_me: caught signal $ac_signal"
1637
$as_echo "$as_me: exit $exit_status"
1639
rm -f core *.core core.conftest.* &&
1640
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1643
for ac_signal in 1 2 13 15; do
1644
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1648
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1649
rm -f -r conftest* confdefs.h
1651
# Predefined preprocessor variables.
1653
cat >>confdefs.h <<_ACEOF
1654
#define PACKAGE_NAME "$PACKAGE_NAME"
1658
cat >>confdefs.h <<_ACEOF
1659
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1663
cat >>confdefs.h <<_ACEOF
1664
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1668
cat >>confdefs.h <<_ACEOF
1669
#define PACKAGE_STRING "$PACKAGE_STRING"
1673
cat >>confdefs.h <<_ACEOF
1674
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1678
# Let the site file select an alternate cache file if it wants to.
1679
# Prefer an explicitly selected file to automatically selected ones.
1682
if test -n "$CONFIG_SITE"; then
1683
ac_site_file1=$CONFIG_SITE
1684
elif test "x$prefix" != xNONE; then
1685
ac_site_file1=$prefix/share/config.site
1686
ac_site_file2=$prefix/etc/config.site
1688
ac_site_file1=$ac_default_prefix/share/config.site
1689
ac_site_file2=$ac_default_prefix/etc/config.site
1691
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1693
test "x$ac_site_file" = xNONE && continue
1694
if test -r "$ac_site_file"; then
1695
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1696
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1697
sed 's/^/| /' "$ac_site_file" >&5
1702
if test -r "$cache_file"; then
1703
# Some versions of bash will fail to source /dev/null (special
1704
# files actually), so we avoid doing that.
1705
if test -f "$cache_file"; then
1706
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1707
$as_echo "$as_me: loading cache $cache_file" >&6;}
1709
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1710
*) . "./$cache_file";;
1714
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1715
$as_echo "$as_me: creating cache $cache_file" >&6;}
1719
# Check that the precious variables saved in the cache have kept the same
1721
ac_cache_corrupted=false
1722
for ac_var in $ac_precious_vars; do
1723
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1724
eval ac_new_set=\$ac_env_${ac_var}_set
1725
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1726
eval ac_new_val=\$ac_env_${ac_var}_value
1727
case $ac_old_set,$ac_new_set in
1729
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1730
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1731
ac_cache_corrupted=: ;;
1733
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1734
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1735
ac_cache_corrupted=: ;;
1738
if test "x$ac_old_val" != "x$ac_new_val"; then
1739
# differences in whitespace do not lead to failure.
1740
ac_old_val_w=`echo x $ac_old_val`
1741
ac_new_val_w=`echo x $ac_new_val`
1742
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1743
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1744
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1745
ac_cache_corrupted=:
1747
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1748
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1749
eval $ac_var=\$ac_old_val
1751
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1752
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1753
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1754
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1757
# Pass precious variables to config.status.
1758
if test "$ac_new_set" = set; then
1760
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1761
*) ac_arg=$ac_var=$ac_new_val ;;
1763
case " $ac_configure_args " in
1764
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1765
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1769
if $ac_cache_corrupted; then
1770
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1772
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1773
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1774
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1775
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1776
{ (exit 1); exit 1; }; }
1796
ac_cpp='$CPP $CPPFLAGS'
1797
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1805
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1806
if test -f "$ac_dir/install-sh"; then
1808
ac_install_sh="$ac_aux_dir/install-sh -c"
1810
elif test -f "$ac_dir/install.sh"; then
1812
ac_install_sh="$ac_aux_dir/install.sh -c"
1814
elif test -f "$ac_dir/shtool"; then
1816
ac_install_sh="$ac_aux_dir/shtool install -c"
1820
if test -z "$ac_aux_dir"; then
1821
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1822
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1823
{ (exit 1); exit 1; }; }
1826
# These three variables are undocumented and unsupported,
1827
# and are intended to be withdrawn in a future Autoconf release.
1828
# They can cause serious problems if a builder's source tree is in a directory
1829
# whose full name contains unusual characters.
1830
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1831
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1832
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1835
# Find a good install program. We prefer a C program (faster),
1836
# so one script is as good as another. But avoid the broken or
1837
# incompatible versions:
1838
# SysV /etc/install, /usr/sbin/install
1839
# SunOS /usr/etc/install
1840
# IRIX /sbin/install
1842
# AmigaOS /C/install, which installs bootblocks on floppy discs
1843
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1844
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1845
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1846
# OS/2's system install, which has a completely different semantic
1847
# ./install, which can be erroneously created by make from ./install.sh.
1848
# Reject install programs that cannot install multiple files.
1849
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1850
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1851
if test -z "$INSTALL"; then
1852
if test "${ac_cv_path_install+set}" = set; then
1853
$as_echo_n "(cached) " >&6
1855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859
test -z "$as_dir" && as_dir=.
1860
# Account for people who put trailing slashes in PATH elements.
1862
./ | .// | /cC/* | \
1863
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1864
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1867
# OSF1 and SCO ODT 3.0 have their own names for install.
1868
# Don't use installbsd from OSF since it installs stuff as root
1870
for ac_prog in ginstall scoinst install; do
1871
for ac_exec_ext in '' $ac_executable_extensions; do
1872
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1873
if test $ac_prog = install &&
1874
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1875
# AIX install. It has an incompatible calling convention.
1877
elif test $ac_prog = install &&
1878
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1879
# program-specific install script used by HP pwplus--don't use.
1882
rm -rf conftest.one conftest.two conftest.dir
1883
echo one > conftest.one
1884
echo two > conftest.two
1886
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1887
test -s conftest.one && test -s conftest.two &&
1888
test -s conftest.dir/conftest.one &&
1889
test -s conftest.dir/conftest.two
1891
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1904
rm -rf conftest.one conftest.two conftest.dir
1907
if test "${ac_cv_path_install+set}" = set; then
1908
INSTALL=$ac_cv_path_install
1910
# As a last resort, use the slow shell script. Don't cache a
1911
# value for INSTALL within a source directory, because that will
1912
# break other packages using the cache if that directory is
1913
# removed, or if the value is a relative name.
1914
INSTALL=$ac_install_sh
1917
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1918
$as_echo "$INSTALL" >&6; }
1920
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1921
# It thinks the first close brace ends the variable substitution.
1922
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1924
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1926
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1929
ac_cpp='$CPP $CPPFLAGS'
1930
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1933
if test -n "$ac_tool_prefix"; then
1934
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1935
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1936
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1937
$as_echo_n "checking for $ac_word... " >&6; }
1938
if test "${ac_cv_prog_CC+set}" = set; then
1939
$as_echo_n "(cached) " >&6
1941
if test -n "$CC"; then
1942
ac_cv_prog_CC="$CC" # Let the user override the test.
1944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948
test -z "$as_dir" && as_dir=.
1949
for ac_exec_ext in '' $ac_executable_extensions; do
1950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1951
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1952
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962
if test -n "$CC"; then
1963
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
1964
$as_echo "$CC" >&6; }
1966
{ $as_echo "$as_me:$LINENO: result: no" >&5
1967
$as_echo "no" >&6; }
1972
if test -z "$ac_cv_prog_CC"; then
1974
# Extract the first word of "gcc", so it can be a program name with args.
1975
set dummy gcc; ac_word=$2
1976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1977
$as_echo_n "checking for $ac_word... " >&6; }
1978
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979
$as_echo_n "(cached) " >&6
1981
if test -n "$ac_ct_CC"; then
1982
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988
test -z "$as_dir" && as_dir=.
1989
for ac_exec_ext in '' $ac_executable_extensions; do
1990
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1991
ac_cv_prog_ac_ct_CC="gcc"
1992
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2001
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2002
if test -n "$ac_ct_CC"; then
2003
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2004
$as_echo "$ac_ct_CC" >&6; }
2006
{ $as_echo "$as_me:$LINENO: result: no" >&5
2007
$as_echo "no" >&6; }
2010
if test "x$ac_ct_CC" = x; then
2013
case $cross_compiling:$ac_tool_warned in
2015
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2016
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2017
ac_tool_warned=yes ;;
2025
if test -z "$CC"; then
2026
if test -n "$ac_tool_prefix"; then
2027
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2028
set dummy ${ac_tool_prefix}cc; ac_word=$2
2029
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2030
$as_echo_n "checking for $ac_word... " >&6; }
2031
if test "${ac_cv_prog_CC+set}" = set; then
2032
$as_echo_n "(cached) " >&6
2034
if test -n "$CC"; then
2035
ac_cv_prog_CC="$CC" # Let the user override the test.
2037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041
test -z "$as_dir" && as_dir=.
2042
for ac_exec_ext in '' $ac_executable_extensions; do
2043
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2044
ac_cv_prog_CC="${ac_tool_prefix}cc"
2045
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055
if test -n "$CC"; then
2056
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2057
$as_echo "$CC" >&6; }
2059
{ $as_echo "$as_me:$LINENO: result: no" >&5
2060
$as_echo "no" >&6; }
2066
if test -z "$CC"; then
2067
# Extract the first word of "cc", so it can be a program name with args.
2068
set dummy cc; ac_word=$2
2069
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2070
$as_echo_n "checking for $ac_word... " >&6; }
2071
if test "${ac_cv_prog_CC+set}" = set; then
2072
$as_echo_n "(cached) " >&6
2074
if test -n "$CC"; then
2075
ac_cv_prog_CC="$CC" # Let the user override the test.
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
test -z "$as_dir" && as_dir=.
2083
for ac_exec_ext in '' $ac_executable_extensions; do
2084
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2086
ac_prog_rejected=yes
2090
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097
if test $ac_prog_rejected = yes; then
2098
# We found a bogon in the path, so make sure we never use it.
2099
set dummy $ac_cv_prog_CC
2101
if test $# != 0; then
2102
# We chose a different compiler from the bogus one.
2103
# However, it has the same basename, so the bogon will be chosen
2104
# first if we set CC to just the basename; use the full file name.
2106
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2112
if test -n "$CC"; then
2113
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2114
$as_echo "$CC" >&6; }
2116
{ $as_echo "$as_me:$LINENO: result: no" >&5
2117
$as_echo "no" >&6; }
2122
if test -z "$CC"; then
2123
if test -n "$ac_tool_prefix"; then
2124
for ac_prog in cl.exe
2126
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2127
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2128
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2129
$as_echo_n "checking for $ac_word... " >&6; }
2130
if test "${ac_cv_prog_CC+set}" = set; then
2131
$as_echo_n "(cached) " >&6
2133
if test -n "$CC"; then
2134
ac_cv_prog_CC="$CC" # Let the user override the test.
2136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140
test -z "$as_dir" && as_dir=.
2141
for ac_exec_ext in '' $ac_executable_extensions; do
2142
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2144
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154
if test -n "$CC"; then
2155
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2156
$as_echo "$CC" >&6; }
2158
{ $as_echo "$as_me:$LINENO: result: no" >&5
2159
$as_echo "no" >&6; }
2163
test -n "$CC" && break
2166
if test -z "$CC"; then
2168
for ac_prog in cl.exe
2170
# Extract the first word of "$ac_prog", so it can be a program name with args.
2171
set dummy $ac_prog; ac_word=$2
2172
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2173
$as_echo_n "checking for $ac_word... " >&6; }
2174
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2175
$as_echo_n "(cached) " >&6
2177
if test -n "$ac_ct_CC"; then
2178
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184
test -z "$as_dir" && as_dir=.
2185
for ac_exec_ext in '' $ac_executable_extensions; do
2186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187
ac_cv_prog_ac_ct_CC="$ac_prog"
2188
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2198
if test -n "$ac_ct_CC"; then
2199
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2200
$as_echo "$ac_ct_CC" >&6; }
2202
{ $as_echo "$as_me:$LINENO: result: no" >&5
2203
$as_echo "no" >&6; }
2207
test -n "$ac_ct_CC" && break
2210
if test "x$ac_ct_CC" = x; then
2213
case $cross_compiling:$ac_tool_warned in
2215
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2216
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2217
ac_tool_warned=yes ;;
2226
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2229
See \`config.log' for more details." >&5
2230
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2231
See \`config.log' for more details." >&2;}
2232
{ (exit 1); exit 1; }; }; }
2234
# Provide some information about the compiler.
2235
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2238
{ (ac_try="$ac_compiler --version >&5"
2240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
*) ac_try_echo=$ac_try;;
2243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2244
$as_echo "$ac_try_echo") >&5
2245
(eval "$ac_compiler --version >&5") 2>&5
2247
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248
(exit $ac_status); }
2249
{ (ac_try="$ac_compiler -v >&5"
2251
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2252
*) ac_try_echo=$ac_try;;
2254
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2255
$as_echo "$ac_try_echo") >&5
2256
(eval "$ac_compiler -v >&5") 2>&5
2258
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259
(exit $ac_status); }
2260
{ (ac_try="$ac_compiler -V >&5"
2262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263
*) ac_try_echo=$ac_try;;
2265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2266
$as_echo "$ac_try_echo") >&5
2267
(eval "$ac_compiler -V >&5") 2>&5
2269
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270
(exit $ac_status); }
2272
cat >conftest.$ac_ext <<_ACEOF
2275
cat confdefs.h >>conftest.$ac_ext
2276
cat >>conftest.$ac_ext <<_ACEOF
2277
/* end confdefs.h. */
2287
ac_clean_files_save=$ac_clean_files
2288
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2289
# Try to create an executable without -o first, disregard a.out.
2290
# It will help us diagnose broken compilers, and finding out an intuition
2292
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2293
$as_echo_n "checking for C compiler default output file name... " >&6; }
2294
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2296
# The possible output files:
2297
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2300
for ac_file in $ac_files
2303
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2304
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2309
if { (ac_try="$ac_link_default"
2311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312
*) ac_try_echo=$ac_try;;
2314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2315
$as_echo "$ac_try_echo") >&5
2316
(eval "$ac_link_default") 2>&5
2318
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
(exit $ac_status); }; then
2320
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2321
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2322
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2323
# so that the user can short-circuit this test for compilers unknown to
2325
for ac_file in $ac_files ''
2327
test -f "$ac_file" || continue
2329
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2332
# We found the default executable, but exeext='' is most
2336
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2338
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340
# We set ac_cv_exeext here because the later test for it is not
2341
# safe: cross compilers may not add the suffix if given an `-o'
2342
# argument, so we may need to know it at that point already.
2343
# Even if this section looks crufty: it has the advantage of
2350
test "$ac_cv_exeext" = no && ac_cv_exeext=
2356
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2357
$as_echo "$ac_file" >&6; }
2358
if test -z "$ac_file"; then
2359
$as_echo "$as_me: failed program was:" >&5
2360
sed 's/^/| /' conftest.$ac_ext >&5
2362
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2363
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2364
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2365
See \`config.log' for more details." >&5
2366
$as_echo "$as_me: error: C compiler cannot create executables
2367
See \`config.log' for more details." >&2;}
2368
{ (exit 77); exit 77; }; }; }
2371
ac_exeext=$ac_cv_exeext
2373
# Check that the compiler produces executables we can run. If not, either
2374
# the compiler is broken, or we cross compile.
2375
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2376
$as_echo_n "checking whether the C compiler works... " >&6; }
2377
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2378
# If not cross compiling, check that we can run a simple program.
2379
if test "$cross_compiling" != yes; then
2380
if { ac_try='./$ac_file'
2381
{ (case "(($ac_try" in
2382
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383
*) ac_try_echo=$ac_try;;
2385
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2386
$as_echo "$ac_try_echo") >&5
2387
(eval "$ac_try") 2>&5
2389
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390
(exit $ac_status); }; }; then
2393
if test "$cross_compiling" = maybe; then
2396
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2397
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2399
If you meant to cross compile, use \`--host'.
2400
See \`config.log' for more details." >&5
2401
$as_echo "$as_me: error: cannot run C compiled programs.
2402
If you meant to cross compile, use \`--host'.
2403
See \`config.log' for more details." >&2;}
2404
{ (exit 1); exit 1; }; }; }
2408
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2409
$as_echo "yes" >&6; }
2411
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2412
ac_clean_files=$ac_clean_files_save
2413
# Check that the compiler produces executables we can run. If not, either
2414
# the compiler is broken, or we cross compile.
2415
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2416
$as_echo_n "checking whether we are cross compiling... " >&6; }
2417
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2418
$as_echo "$cross_compiling" >&6; }
2420
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2421
$as_echo_n "checking for suffix of executables... " >&6; }
2422
if { (ac_try="$ac_link"
2424
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425
*) ac_try_echo=$ac_try;;
2427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2428
$as_echo "$ac_try_echo") >&5
2429
(eval "$ac_link") 2>&5
2431
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432
(exit $ac_status); }; then
2433
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2434
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2435
# work properly (i.e., refer to `conftest.exe'), while it won't with
2437
for ac_file in conftest.exe conftest conftest.*; do
2438
test -f "$ac_file" || continue
2440
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2441
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2447
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2448
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2450
See \`config.log' for more details." >&5
2451
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2452
See \`config.log' for more details." >&2;}
2453
{ (exit 1); exit 1; }; }; }
2456
rm -f conftest$ac_cv_exeext
2457
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2458
$as_echo "$ac_cv_exeext" >&6; }
2460
rm -f conftest.$ac_ext
2461
EXEEXT=$ac_cv_exeext
2463
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2464
$as_echo_n "checking for suffix of object files... " >&6; }
2465
if test "${ac_cv_objext+set}" = set; then
2466
$as_echo_n "(cached) " >&6
2468
cat >conftest.$ac_ext <<_ACEOF
2471
cat confdefs.h >>conftest.$ac_ext
2472
cat >>conftest.$ac_ext <<_ACEOF
2473
/* end confdefs.h. */
2483
rm -f conftest.o conftest.obj
2484
if { (ac_try="$ac_compile"
2486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487
*) ac_try_echo=$ac_try;;
2489
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2490
$as_echo "$ac_try_echo") >&5
2491
(eval "$ac_compile") 2>&5
2493
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
(exit $ac_status); }; then
2495
for ac_file in conftest.o conftest.obj conftest.*; do
2496
test -f "$ac_file" || continue;
2498
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2499
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2504
$as_echo "$as_me: failed program was:" >&5
2505
sed 's/^/| /' conftest.$ac_ext >&5
2507
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2510
See \`config.log' for more details." >&5
2511
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2512
See \`config.log' for more details." >&2;}
2513
{ (exit 1); exit 1; }; }; }
2516
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2518
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2519
$as_echo "$ac_cv_objext" >&6; }
2520
OBJEXT=$ac_cv_objext
2522
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2523
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2524
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2525
$as_echo_n "(cached) " >&6
2527
cat >conftest.$ac_ext <<_ACEOF
2530
cat confdefs.h >>conftest.$ac_ext
2531
cat >>conftest.$ac_ext <<_ACEOF
2532
/* end confdefs.h. */
2545
rm -f conftest.$ac_objext
2546
if { (ac_try="$ac_compile"
2548
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549
*) ac_try_echo=$ac_try;;
2551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2552
$as_echo "$ac_try_echo") >&5
2553
(eval "$ac_compile") 2>conftest.er1
2555
grep -v '^ *+' conftest.er1 >conftest.err
2557
cat conftest.err >&5
2558
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559
(exit $ac_status); } && {
2560
test -z "$ac_c_werror_flag" ||
2561
test ! -s conftest.err
2562
} && test -s conftest.$ac_objext; then
2565
$as_echo "$as_me: failed program was:" >&5
2566
sed 's/^/| /' conftest.$ac_ext >&5
2571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2572
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2575
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2576
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2577
if test $ac_compiler_gnu = yes; then
2582
ac_test_CFLAGS=${CFLAGS+set}
2583
ac_save_CFLAGS=$CFLAGS
2584
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2585
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2586
if test "${ac_cv_prog_cc_g+set}" = set; then
2587
$as_echo_n "(cached) " >&6
2589
ac_save_c_werror_flag=$ac_c_werror_flag
2590
ac_c_werror_flag=yes
2593
cat >conftest.$ac_ext <<_ACEOF
2596
cat confdefs.h >>conftest.$ac_ext
2597
cat >>conftest.$ac_ext <<_ACEOF
2598
/* end confdefs.h. */
2608
rm -f conftest.$ac_objext
2609
if { (ac_try="$ac_compile"
2611
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612
*) ac_try_echo=$ac_try;;
2614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2615
$as_echo "$ac_try_echo") >&5
2616
(eval "$ac_compile") 2>conftest.er1
2618
grep -v '^ *+' conftest.er1 >conftest.err
2620
cat conftest.err >&5
2621
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622
(exit $ac_status); } && {
2623
test -z "$ac_c_werror_flag" ||
2624
test ! -s conftest.err
2625
} && test -s conftest.$ac_objext; then
2628
$as_echo "$as_me: failed program was:" >&5
2629
sed 's/^/| /' conftest.$ac_ext >&5
2632
cat >conftest.$ac_ext <<_ACEOF
2635
cat confdefs.h >>conftest.$ac_ext
2636
cat >>conftest.$ac_ext <<_ACEOF
2637
/* end confdefs.h. */
2647
rm -f conftest.$ac_objext
2648
if { (ac_try="$ac_compile"
2650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651
*) ac_try_echo=$ac_try;;
2653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2654
$as_echo "$ac_try_echo") >&5
2655
(eval "$ac_compile") 2>conftest.er1
2657
grep -v '^ *+' conftest.er1 >conftest.err
2659
cat conftest.err >&5
2660
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661
(exit $ac_status); } && {
2662
test -z "$ac_c_werror_flag" ||
2663
test ! -s conftest.err
2664
} && test -s conftest.$ac_objext; then
2667
$as_echo "$as_me: failed program was:" >&5
2668
sed 's/^/| /' conftest.$ac_ext >&5
2670
ac_c_werror_flag=$ac_save_c_werror_flag
2672
cat >conftest.$ac_ext <<_ACEOF
2675
cat confdefs.h >>conftest.$ac_ext
2676
cat >>conftest.$ac_ext <<_ACEOF
2677
/* end confdefs.h. */
2687
rm -f conftest.$ac_objext
2688
if { (ac_try="$ac_compile"
2690
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691
*) ac_try_echo=$ac_try;;
2693
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2694
$as_echo "$ac_try_echo") >&5
2695
(eval "$ac_compile") 2>conftest.er1
2697
grep -v '^ *+' conftest.er1 >conftest.err
2699
cat conftest.err >&5
2700
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701
(exit $ac_status); } && {
2702
test -z "$ac_c_werror_flag" ||
2703
test ! -s conftest.err
2704
} && test -s conftest.$ac_objext; then
2707
$as_echo "$as_me: failed program was:" >&5
2708
sed 's/^/| /' conftest.$ac_ext >&5
2713
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720
ac_c_werror_flag=$ac_save_c_werror_flag
2722
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2723
$as_echo "$ac_cv_prog_cc_g" >&6; }
2724
if test "$ac_test_CFLAGS" = set; then
2725
CFLAGS=$ac_save_CFLAGS
2726
elif test $ac_cv_prog_cc_g = yes; then
2727
if test "$GCC" = yes; then
2733
if test "$GCC" = yes; then
2739
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2740
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2741
if test "${ac_cv_prog_cc_c89+set}" = set; then
2742
$as_echo_n "(cached) " >&6
2744
ac_cv_prog_cc_c89=no
2746
cat >conftest.$ac_ext <<_ACEOF
2749
cat confdefs.h >>conftest.$ac_ext
2750
cat >>conftest.$ac_ext <<_ACEOF
2751
/* end confdefs.h. */
2754
#include <sys/types.h>
2755
#include <sys/stat.h>
2756
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2757
struct buf { int x; };
2758
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2759
static char *e (p, i)
2765
static char *f (char * (*g) (char **, int), char **p, ...)
2770
s = g (p, va_arg (v,int));
2775
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2776
function prototypes and stuff, but not '\xHH' hex character constants.
2777
These don't provoke an error unfortunately, instead are silently treated
2778
as 'x'. The following induces an error, until -std is added to get
2779
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2780
array size at least. It's necessary to write '\x00'==0 to get something
2781
that's true only with -std. */
2782
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2784
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2785
inside strings and character constants. */
2787
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2789
int test (int i, double x);
2790
struct s1 {int (*f) (int a);};
2791
struct s2 {int (*f) (double a);};
2792
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2798
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2803
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2804
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2806
CC="$ac_save_CC $ac_arg"
2807
rm -f conftest.$ac_objext
2808
if { (ac_try="$ac_compile"
2810
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811
*) ac_try_echo=$ac_try;;
2813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2814
$as_echo "$ac_try_echo") >&5
2815
(eval "$ac_compile") 2>conftest.er1
2817
grep -v '^ *+' conftest.er1 >conftest.err
2819
cat conftest.err >&5
2820
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821
(exit $ac_status); } && {
2822
test -z "$ac_c_werror_flag" ||
2823
test ! -s conftest.err
2824
} && test -s conftest.$ac_objext; then
2825
ac_cv_prog_cc_c89=$ac_arg
2827
$as_echo "$as_me: failed program was:" >&5
2828
sed 's/^/| /' conftest.$ac_ext >&5
2833
rm -f core conftest.err conftest.$ac_objext
2834
test "x$ac_cv_prog_cc_c89" != "xno" && break
2836
rm -f conftest.$ac_ext
2841
case "x$ac_cv_prog_cc_c89" in
2843
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
2844
$as_echo "none needed" >&6; } ;;
2846
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
2847
$as_echo "unsupported" >&6; } ;;
2849
CC="$CC $ac_cv_prog_cc_c89"
2850
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2851
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2856
ac_cpp='$CPP $CPPFLAGS'
2857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2862
# Make sure we can run config.sub.
2863
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2864
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2865
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2866
{ (exit 1); exit 1; }; }
2868
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2869
$as_echo_n "checking build system type... " >&6; }
2870
if test "${ac_cv_build+set}" = set; then
2871
$as_echo_n "(cached) " >&6
2873
ac_build_alias=$build_alias
2874
test "x$ac_build_alias" = x &&
2875
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2876
test "x$ac_build_alias" = x &&
2877
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2878
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2879
{ (exit 1); exit 1; }; }
2880
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2881
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2882
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2883
{ (exit 1); exit 1; }; }
2886
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2887
$as_echo "$ac_cv_build" >&6; }
2888
case $ac_cv_build in
2890
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2891
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2892
{ (exit 1); exit 1; }; };;
2895
ac_save_IFS=$IFS; IFS='-'
2901
# Remember, the first character of IFS is used to create $*,
2902
# except with old shells:
2905
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2908
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2909
$as_echo_n "checking host system type... " >&6; }
2910
if test "${ac_cv_host+set}" = set; then
2911
$as_echo_n "(cached) " >&6
2913
if test "x$host_alias" = x; then
2914
ac_cv_host=$ac_cv_build
2916
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2917
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2918
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2919
{ (exit 1); exit 1; }; }
2923
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2924
$as_echo "$ac_cv_host" >&6; }
2927
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2928
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2929
{ (exit 1); exit 1; }; };;
2932
ac_save_IFS=$IFS; IFS='-'
2938
# Remember, the first character of IFS is used to create $*,
2939
# except with old shells:
2942
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2946
solaris2*) XANSI=-D__EXTENSIONS__
2948
darwin*) XPRECOMP=-no-cpp-precomp
2950
linux*) XANSI="-D_BSD_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE"
2958
# Set up the configuration directory.
2959
LIBX3270DIR='${sysconfdir}/x3270'
2963
{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
2964
$as_echo_n "checking for library containing gethostbyname... " >&6; }
2965
if test "${ac_cv_search_gethostbyname+set}" = set; then
2966
$as_echo_n "(cached) " >&6
2968
ac_func_search_save_LIBS=$LIBS
2969
cat >conftest.$ac_ext <<_ACEOF
2972
cat confdefs.h >>conftest.$ac_ext
2973
cat >>conftest.$ac_ext <<_ACEOF
2974
/* end confdefs.h. */
2976
/* Override any GCC internal prototype to avoid an error.
2977
Use char because int might match the return type of a GCC
2978
builtin and then its argument prototype would still apply. */
2982
char gethostbyname ();
2986
return gethostbyname ();
2991
for ac_lib in '' nsl; do
2992
if test -z "$ac_lib"; then
2993
ac_res="none required"
2996
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2998
rm -f conftest.$ac_objext conftest$ac_exeext
2999
if { (ac_try="$ac_link"
3001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002
*) ac_try_echo=$ac_try;;
3004
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3005
$as_echo "$ac_try_echo") >&5
3006
(eval "$ac_link") 2>conftest.er1
3008
grep -v '^ *+' conftest.er1 >conftest.err
3010
cat conftest.err >&5
3011
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
(exit $ac_status); } && {
3013
test -z "$ac_c_werror_flag" ||
3014
test ! -s conftest.err
3015
} && test -s conftest$ac_exeext && {
3016
test "$cross_compiling" = yes ||
3017
$as_test_x conftest$ac_exeext
3019
ac_cv_search_gethostbyname=$ac_res
3021
$as_echo "$as_me: failed program was:" >&5
3022
sed 's/^/| /' conftest.$ac_ext >&5
3027
rm -rf conftest.dSYM
3028
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3030
if test "${ac_cv_search_gethostbyname+set}" = set; then
3034
if test "${ac_cv_search_gethostbyname+set}" = set; then
3037
ac_cv_search_gethostbyname=no
3040
LIBS=$ac_func_search_save_LIBS
3042
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3043
$as_echo "$ac_cv_search_gethostbyname" >&6; }
3044
ac_res=$ac_cv_search_gethostbyname
3045
if test "$ac_res" != no; then
3046
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3050
{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
3051
$as_echo_n "checking for library containing socket... " >&6; }
3052
if test "${ac_cv_search_socket+set}" = set; then
3053
$as_echo_n "(cached) " >&6
3055
ac_func_search_save_LIBS=$LIBS
3056
cat >conftest.$ac_ext <<_ACEOF
3059
cat confdefs.h >>conftest.$ac_ext
3060
cat >>conftest.$ac_ext <<_ACEOF
3061
/* end confdefs.h. */
3063
/* Override any GCC internal prototype to avoid an error.
3064
Use char because int might match the return type of a GCC
3065
builtin and then its argument prototype would still apply. */
3078
for ac_lib in '' socket; do
3079
if test -z "$ac_lib"; then
3080
ac_res="none required"
3083
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3085
rm -f conftest.$ac_objext conftest$ac_exeext
3086
if { (ac_try="$ac_link"
3088
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089
*) ac_try_echo=$ac_try;;
3091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092
$as_echo "$ac_try_echo") >&5
3093
(eval "$ac_link") 2>conftest.er1
3095
grep -v '^ *+' conftest.er1 >conftest.err
3097
cat conftest.err >&5
3098
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099
(exit $ac_status); } && {
3100
test -z "$ac_c_werror_flag" ||
3101
test ! -s conftest.err
3102
} && test -s conftest$ac_exeext && {
3103
test "$cross_compiling" = yes ||
3104
$as_test_x conftest$ac_exeext
3106
ac_cv_search_socket=$ac_res
3108
$as_echo "$as_me: failed program was:" >&5
3109
sed 's/^/| /' conftest.$ac_ext >&5
3114
rm -rf conftest.dSYM
3115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3117
if test "${ac_cv_search_socket+set}" = set; then
3121
if test "${ac_cv_search_socket+set}" = set; then
3124
ac_cv_search_socket=no
3127
LIBS=$ac_func_search_save_LIBS
3129
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
3130
$as_echo "$ac_cv_search_socket" >&6; }
3131
ac_res=$ac_cv_search_socket
3132
if test "$ac_res" != no; then
3133
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3138
if test "$enable_ssl" != no
3139
then orig_LDFLAGS="$LDFLAGS"
3141
for dir in "$with_ssl" /usr/local /usr/pkg /usr /var /opt
3143
if test -n "$dir" -a ! -d "$dir/ssl/lib"
3148
then { $as_echo "$as_me:$LINENO: retrying with -L$dir/ssl/lib" >&5
3149
$as_echo "$as_me: retrying with -L$dir/ssl/lib" >&6;}
3152
then LDFLAGS="$orig_LDFLAGS -L$dir/ssl/lib"
3155
{ $as_echo "$as_me:$LINENO: checking for CRYPTO_malloc in -lcrypto" >&5
3156
$as_echo_n "checking for CRYPTO_malloc in -lcrypto... " >&6; }
3157
if test "${ac_cv_lib_crypto_CRYPTO_malloc+set}" = set; then
3158
$as_echo_n "(cached) " >&6
3160
ac_check_lib_save_LIBS=$LIBS
3161
LIBS="-lcrypto $LIBS"
3162
cat >conftest.$ac_ext <<_ACEOF
3165
cat confdefs.h >>conftest.$ac_ext
3166
cat >>conftest.$ac_ext <<_ACEOF
3167
/* end confdefs.h. */
3169
/* Override any GCC internal prototype to avoid an error.
3170
Use char because int might match the return type of a GCC
3171
builtin and then its argument prototype would still apply. */
3175
char CRYPTO_malloc ();
3179
return CRYPTO_malloc ();
3184
rm -f conftest.$ac_objext conftest$ac_exeext
3185
if { (ac_try="$ac_link"
3187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188
*) ac_try_echo=$ac_try;;
3190
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3191
$as_echo "$ac_try_echo") >&5
3192
(eval "$ac_link") 2>conftest.er1
3194
grep -v '^ *+' conftest.er1 >conftest.err
3196
cat conftest.err >&5
3197
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198
(exit $ac_status); } && {
3199
test -z "$ac_c_werror_flag" ||
3200
test ! -s conftest.err
3201
} && test -s conftest$ac_exeext && {
3202
test "$cross_compiling" = yes ||
3203
$as_test_x conftest$ac_exeext
3205
ac_cv_lib_crypto_CRYPTO_malloc=yes
3207
$as_echo "$as_me: failed program was:" >&5
3208
sed 's/^/| /' conftest.$ac_ext >&5
3210
ac_cv_lib_crypto_CRYPTO_malloc=no
3213
rm -rf conftest.dSYM
3214
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3215
conftest$ac_exeext conftest.$ac_ext
3216
LIBS=$ac_check_lib_save_LIBS
3218
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_malloc" >&5
3219
$as_echo "$ac_cv_lib_crypto_CRYPTO_malloc" >&6; }
3220
if test "x$ac_cv_lib_crypto_CRYPTO_malloc" = x""yes; then
3221
cat >>confdefs.h <<_ACEOF
3222
#define HAVE_LIBCRYPTO 1
3225
LIBS="-lcrypto $LIBS"
3231
if test "$lib_fail" -eq 0
3233
{ $as_echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
3234
$as_echo_n "checking for SSL_new in -lssl... " >&6; }
3235
if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
3236
$as_echo_n "(cached) " >&6
3238
ac_check_lib_save_LIBS=$LIBS
3240
cat >conftest.$ac_ext <<_ACEOF
3243
cat confdefs.h >>conftest.$ac_ext
3244
cat >>conftest.$ac_ext <<_ACEOF
3245
/* end confdefs.h. */
3247
/* Override any GCC internal prototype to avoid an error.
3248
Use char because int might match the return type of a GCC
3249
builtin and then its argument prototype would still apply. */
3262
rm -f conftest.$ac_objext conftest$ac_exeext
3263
if { (ac_try="$ac_link"
3265
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266
*) ac_try_echo=$ac_try;;
3268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3269
$as_echo "$ac_try_echo") >&5
3270
(eval "$ac_link") 2>conftest.er1
3272
grep -v '^ *+' conftest.er1 >conftest.err
3274
cat conftest.err >&5
3275
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
(exit $ac_status); } && {
3277
test -z "$ac_c_werror_flag" ||
3278
test ! -s conftest.err
3279
} && test -s conftest$ac_exeext && {
3280
test "$cross_compiling" = yes ||
3281
$as_test_x conftest$ac_exeext
3283
ac_cv_lib_ssl_SSL_new=yes
3285
$as_echo "$as_me: failed program was:" >&5
3286
sed 's/^/| /' conftest.$ac_ext >&5
3288
ac_cv_lib_ssl_SSL_new=no
3291
rm -rf conftest.dSYM
3292
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3293
conftest$ac_exeext conftest.$ac_ext
3294
LIBS=$ac_check_lib_save_LIBS
3296
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
3297
$as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
3298
if test "x$ac_cv_lib_ssl_SSL_new" = x""yes; then
3299
cat >>confdefs.h <<_ACEOF
3300
#define HAVE_LIBSSL 1
3310
if test "$lib_fail" -eq 0
3313
unset `echo ac_cv_lib_crypto_CRYPTO_malloc | $as_tr_sh`
3314
unset `echo ac_cv_lib_ssl_SSL_new | $as_tr_sh`
3315
LDFLAGS="$orig_LDFLAGS"
3318
if test $lib_fail -eq 1
3319
then { $as_echo "$as_me:$LINENO: WARNING: Disabling OpenSSL" >&5
3320
$as_echo "$as_me: WARNING: Disabling OpenSSL" >&2;}
3326
# Check whether --with-ssl was given.
3327
if test "${with_ssl+set}" = set; then
3331
if test "$enable_ssl" != no
3332
then orig_CPPFLAGS="$CPPFLAGS"
3334
for dir in "$with_ssl" /usr/local /usr/local/ssl /usr/lib/ssl /usr/pkg/ssl /usr/ssl /var/ssl /opt/ssl
3336
if test -n "$dir" -a ! -d "$dir/include"
3341
then { $as_echo "$as_me:$LINENO: retrying with -I$dir/include" >&5
3342
$as_echo "$as_me: retrying with -I$dir/include" >&6;}
3345
then CPPFLAGS="$orig_CPPFLAGS -I$dir/include"
3348
ac_cpp='$CPP $CPPFLAGS'
3349
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3353
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3354
# On Suns, sometimes $CPP names a directory.
3355
if test -n "$CPP" && test -d "$CPP"; then
3358
if test -z "$CPP"; then
3359
if test "${ac_cv_prog_CPP+set}" = set; then
3360
$as_echo_n "(cached) " >&6
3362
# Double quotes because CPP needs to be expanded
3363
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3366
for ac_c_preproc_warn_flag in '' yes
3368
# Use a header file that comes with gcc, so configuring glibc
3369
# with a fresh cross-compiler works.
3370
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371
# <limits.h> exists even on freestanding compilers.
3372
# On the NeXT, cc -E runs the code through the compiler's parser,
3373
# not just through cpp. "Syntax error" is here to catch this case.
3374
cat >conftest.$ac_ext <<_ACEOF
3377
cat confdefs.h >>conftest.$ac_ext
3378
cat >>conftest.$ac_ext <<_ACEOF
3379
/* end confdefs.h. */
3381
# include <limits.h>
3383
# include <assert.h>
3387
if { (ac_try="$ac_cpp conftest.$ac_ext"
3389
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390
*) ac_try_echo=$ac_try;;
3392
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3393
$as_echo "$ac_try_echo") >&5
3394
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3396
grep -v '^ *+' conftest.er1 >conftest.err
3398
cat conftest.err >&5
3399
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400
(exit $ac_status); } >/dev/null && {
3401
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3402
test ! -s conftest.err
3406
$as_echo "$as_me: failed program was:" >&5
3407
sed 's/^/| /' conftest.$ac_ext >&5
3409
# Broken: fails on valid input.
3413
rm -f conftest.err conftest.$ac_ext
3415
# OK, works on sane cases. Now check whether nonexistent headers
3416
# can be detected and how.
3417
cat >conftest.$ac_ext <<_ACEOF
3420
cat confdefs.h >>conftest.$ac_ext
3421
cat >>conftest.$ac_ext <<_ACEOF
3422
/* end confdefs.h. */
3423
#include <ac_nonexistent.h>
3425
if { (ac_try="$ac_cpp conftest.$ac_ext"
3427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428
*) ac_try_echo=$ac_try;;
3430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3431
$as_echo "$ac_try_echo") >&5
3432
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3434
grep -v '^ *+' conftest.er1 >conftest.err
3436
cat conftest.err >&5
3437
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438
(exit $ac_status); } >/dev/null && {
3439
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3440
test ! -s conftest.err
3442
# Broken: success on invalid input.
3445
$as_echo "$as_me: failed program was:" >&5
3446
sed 's/^/| /' conftest.$ac_ext >&5
3448
# Passes both tests.
3453
rm -f conftest.err conftest.$ac_ext
3456
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3457
rm -f conftest.err conftest.$ac_ext
3458
if $ac_preproc_ok; then
3470
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3471
$as_echo "$CPP" >&6; }
3473
for ac_c_preproc_warn_flag in '' yes
3475
# Use a header file that comes with gcc, so configuring glibc
3476
# with a fresh cross-compiler works.
3477
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3478
# <limits.h> exists even on freestanding compilers.
3479
# On the NeXT, cc -E runs the code through the compiler's parser,
3480
# not just through cpp. "Syntax error" is here to catch this case.
3481
cat >conftest.$ac_ext <<_ACEOF
3484
cat confdefs.h >>conftest.$ac_ext
3485
cat >>conftest.$ac_ext <<_ACEOF
3486
/* end confdefs.h. */
3488
# include <limits.h>
3490
# include <assert.h>
3494
if { (ac_try="$ac_cpp conftest.$ac_ext"
3496
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497
*) ac_try_echo=$ac_try;;
3499
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3500
$as_echo "$ac_try_echo") >&5
3501
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3503
grep -v '^ *+' conftest.er1 >conftest.err
3505
cat conftest.err >&5
3506
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507
(exit $ac_status); } >/dev/null && {
3508
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3509
test ! -s conftest.err
3513
$as_echo "$as_me: failed program was:" >&5
3514
sed 's/^/| /' conftest.$ac_ext >&5
3516
# Broken: fails on valid input.
3520
rm -f conftest.err conftest.$ac_ext
3522
# OK, works on sane cases. Now check whether nonexistent headers
3523
# can be detected and how.
3524
cat >conftest.$ac_ext <<_ACEOF
3527
cat confdefs.h >>conftest.$ac_ext
3528
cat >>conftest.$ac_ext <<_ACEOF
3529
/* end confdefs.h. */
3530
#include <ac_nonexistent.h>
3532
if { (ac_try="$ac_cpp conftest.$ac_ext"
3534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535
*) ac_try_echo=$ac_try;;
3537
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3538
$as_echo "$ac_try_echo") >&5
3539
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3541
grep -v '^ *+' conftest.er1 >conftest.err
3543
cat conftest.err >&5
3544
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545
(exit $ac_status); } >/dev/null && {
3546
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3547
test ! -s conftest.err
3549
# Broken: success on invalid input.
3552
$as_echo "$as_me: failed program was:" >&5
3553
sed 's/^/| /' conftest.$ac_ext >&5
3555
# Passes both tests.
3560
rm -f conftest.err conftest.$ac_ext
3563
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3564
rm -f conftest.err conftest.$ac_ext
3565
if $ac_preproc_ok; then
3568
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3569
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3571
See \`config.log' for more details." >&5
3572
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3573
See \`config.log' for more details." >&2;}
3574
{ (exit 1); exit 1; }; }; }
3578
ac_cpp='$CPP $CPPFLAGS'
3579
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3584
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3585
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3586
if test "${ac_cv_path_GREP+set}" = set; then
3587
$as_echo_n "(cached) " >&6
3589
if test -z "$GREP"; then
3590
ac_path_GREP_found=false
3591
# Loop through the user's path and test for each of PROGNAME-LIST
3592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3596
test -z "$as_dir" && as_dir=.
3597
for ac_prog in grep ggrep; do
3598
for ac_exec_ext in '' $ac_executable_extensions; do
3599
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3600
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3601
# Check for GNU ac_path_GREP and select it if it is found.
3602
# Check for GNU $ac_path_GREP
3603
case `"$ac_path_GREP" --version 2>&1` in
3605
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3608
$as_echo_n 0123456789 >"conftest.in"
3611
cat "conftest.in" "conftest.in" >"conftest.tmp"
3612
mv "conftest.tmp" "conftest.in"
3613
cp "conftest.in" "conftest.nl"
3614
$as_echo 'GREP' >> "conftest.nl"
3615
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3616
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3617
ac_count=`expr $ac_count + 1`
3618
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3619
# Best one so far, save it but keep looking for a better one
3620
ac_cv_path_GREP="$ac_path_GREP"
3621
ac_path_GREP_max=$ac_count
3623
# 10*(2^10) chars as input seems more than enough
3624
test $ac_count -gt 10 && break
3626
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3629
$ac_path_GREP_found && break 3
3634
if test -z "$ac_cv_path_GREP"; then
3635
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3636
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3637
{ (exit 1); exit 1; }; }
3640
ac_cv_path_GREP=$GREP
3644
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3645
$as_echo "$ac_cv_path_GREP" >&6; }
3646
GREP="$ac_cv_path_GREP"
3649
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3650
$as_echo_n "checking for egrep... " >&6; }
3651
if test "${ac_cv_path_EGREP+set}" = set; then
3652
$as_echo_n "(cached) " >&6
3654
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3655
then ac_cv_path_EGREP="$GREP -E"
3657
if test -z "$EGREP"; then
3658
ac_path_EGREP_found=false
3659
# Loop through the user's path and test for each of PROGNAME-LIST
3660
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3664
test -z "$as_dir" && as_dir=.
3665
for ac_prog in egrep; do
3666
for ac_exec_ext in '' $ac_executable_extensions; do
3667
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3668
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3669
# Check for GNU ac_path_EGREP and select it if it is found.
3670
# Check for GNU $ac_path_EGREP
3671
case `"$ac_path_EGREP" --version 2>&1` in
3673
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3676
$as_echo_n 0123456789 >"conftest.in"
3679
cat "conftest.in" "conftest.in" >"conftest.tmp"
3680
mv "conftest.tmp" "conftest.in"
3681
cp "conftest.in" "conftest.nl"
3682
$as_echo 'EGREP' >> "conftest.nl"
3683
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3684
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3685
ac_count=`expr $ac_count + 1`
3686
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3687
# Best one so far, save it but keep looking for a better one
3688
ac_cv_path_EGREP="$ac_path_EGREP"
3689
ac_path_EGREP_max=$ac_count
3691
# 10*(2^10) chars as input seems more than enough
3692
test $ac_count -gt 10 && break
3694
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3697
$ac_path_EGREP_found && break 3
3702
if test -z "$ac_cv_path_EGREP"; then
3703
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3704
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3705
{ (exit 1); exit 1; }; }
3708
ac_cv_path_EGREP=$EGREP
3713
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3714
$as_echo "$ac_cv_path_EGREP" >&6; }
3715
EGREP="$ac_cv_path_EGREP"
3718
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3719
$as_echo_n "checking for ANSI C header files... " >&6; }
3720
if test "${ac_cv_header_stdc+set}" = set; then
3721
$as_echo_n "(cached) " >&6
3723
cat >conftest.$ac_ext <<_ACEOF
3726
cat confdefs.h >>conftest.$ac_ext
3727
cat >>conftest.$ac_ext <<_ACEOF
3728
/* end confdefs.h. */
3742
rm -f conftest.$ac_objext
3743
if { (ac_try="$ac_compile"
3745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746
*) ac_try_echo=$ac_try;;
3748
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3749
$as_echo "$ac_try_echo") >&5
3750
(eval "$ac_compile") 2>conftest.er1
3752
grep -v '^ *+' conftest.er1 >conftest.err
3754
cat conftest.err >&5
3755
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756
(exit $ac_status); } && {
3757
test -z "$ac_c_werror_flag" ||
3758
test ! -s conftest.err
3759
} && test -s conftest.$ac_objext; then
3760
ac_cv_header_stdc=yes
3762
$as_echo "$as_me: failed program was:" >&5
3763
sed 's/^/| /' conftest.$ac_ext >&5
3765
ac_cv_header_stdc=no
3768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770
if test $ac_cv_header_stdc = yes; then
3771
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3772
cat >conftest.$ac_ext <<_ACEOF
3775
cat confdefs.h >>conftest.$ac_ext
3776
cat >>conftest.$ac_ext <<_ACEOF
3777
/* end confdefs.h. */
3781
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3782
$EGREP "memchr" >/dev/null 2>&1; then
3785
ac_cv_header_stdc=no
3791
if test $ac_cv_header_stdc = yes; then
3792
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3793
cat >conftest.$ac_ext <<_ACEOF
3796
cat confdefs.h >>conftest.$ac_ext
3797
cat >>conftest.$ac_ext <<_ACEOF
3798
/* end confdefs.h. */
3802
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3803
$EGREP "free" >/dev/null 2>&1; then
3806
ac_cv_header_stdc=no
3812
if test $ac_cv_header_stdc = yes; then
3813
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3814
if test "$cross_compiling" = yes; then
3817
cat >conftest.$ac_ext <<_ACEOF
3820
cat confdefs.h >>conftest.$ac_ext
3821
cat >>conftest.$ac_ext <<_ACEOF
3822
/* end confdefs.h. */
3825
#if ((' ' & 0x0FF) == 0x020)
3826
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3827
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3829
# define ISLOWER(c) \
3830
(('a' <= (c) && (c) <= 'i') \
3831
|| ('j' <= (c) && (c) <= 'r') \
3832
|| ('s' <= (c) && (c) <= 'z'))
3833
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3836
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3841
for (i = 0; i < 256; i++)
3842
if (XOR (islower (i), ISLOWER (i))
3843
|| toupper (i) != TOUPPER (i))
3848
rm -f conftest$ac_exeext
3849
if { (ac_try="$ac_link"
3851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852
*) ac_try_echo=$ac_try;;
3854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3855
$as_echo "$ac_try_echo") >&5
3856
(eval "$ac_link") 2>&5
3858
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3860
{ (case "(($ac_try" in
3861
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862
*) ac_try_echo=$ac_try;;
3864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3865
$as_echo "$ac_try_echo") >&5
3866
(eval "$ac_try") 2>&5
3868
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869
(exit $ac_status); }; }; then
3872
$as_echo "$as_me: program exited with status $ac_status" >&5
3873
$as_echo "$as_me: failed program was:" >&5
3874
sed 's/^/| /' conftest.$ac_ext >&5
3877
ac_cv_header_stdc=no
3879
rm -rf conftest.dSYM
3880
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3886
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3887
$as_echo "$ac_cv_header_stdc" >&6; }
3888
if test $ac_cv_header_stdc = yes; then
3890
cat >>confdefs.h <<\_ACEOF
3891
#define STDC_HEADERS 1
3896
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3906
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3907
inttypes.h stdint.h unistd.h
3909
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3910
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3911
$as_echo_n "checking for $ac_header... " >&6; }
3912
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3913
$as_echo_n "(cached) " >&6
3915
cat >conftest.$ac_ext <<_ACEOF
3918
cat confdefs.h >>conftest.$ac_ext
3919
cat >>conftest.$ac_ext <<_ACEOF
3920
/* end confdefs.h. */
3921
$ac_includes_default
3923
#include <$ac_header>
3925
rm -f conftest.$ac_objext
3926
if { (ac_try="$ac_compile"
3928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929
*) ac_try_echo=$ac_try;;
3931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3932
$as_echo "$ac_try_echo") >&5
3933
(eval "$ac_compile") 2>conftest.er1
3935
grep -v '^ *+' conftest.er1 >conftest.err
3937
cat conftest.err >&5
3938
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
(exit $ac_status); } && {
3940
test -z "$ac_c_werror_flag" ||
3941
test ! -s conftest.err
3942
} && test -s conftest.$ac_objext; then
3943
eval "$as_ac_Header=yes"
3945
$as_echo "$as_me: failed program was:" >&5
3946
sed 's/^/| /' conftest.$ac_ext >&5
3948
eval "$as_ac_Header=no"
3951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953
ac_res=`eval 'as_val=${'$as_ac_Header'}
3954
$as_echo "$as_val"'`
3955
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3956
$as_echo "$ac_res" >&6; }
3957
as_val=`eval 'as_val=${'$as_ac_Header'}
3958
$as_echo "$as_val"'`
3959
if test "x$as_val" = x""yes; then
3960
cat >>confdefs.h <<_ACEOF
3961
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3970
for ac_header in openssl/ssl.h
3972
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3973
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3974
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3975
$as_echo_n "checking for $ac_header... " >&6; }
3976
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3977
$as_echo_n "(cached) " >&6
3979
ac_res=`eval 'as_val=${'$as_ac_Header'}
3980
$as_echo "$as_val"'`
3981
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3982
$as_echo "$ac_res" >&6; }
3984
# Is the header compilable?
3985
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3986
$as_echo_n "checking $ac_header usability... " >&6; }
3987
cat >conftest.$ac_ext <<_ACEOF
3990
cat confdefs.h >>conftest.$ac_ext
3991
cat >>conftest.$ac_ext <<_ACEOF
3992
/* end confdefs.h. */
3993
$ac_includes_default
3994
#include <$ac_header>
3996
rm -f conftest.$ac_objext
3997
if { (ac_try="$ac_compile"
3999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000
*) ac_try_echo=$ac_try;;
4002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4003
$as_echo "$ac_try_echo") >&5
4004
(eval "$ac_compile") 2>conftest.er1
4006
grep -v '^ *+' conftest.er1 >conftest.err
4008
cat conftest.err >&5
4009
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
(exit $ac_status); } && {
4011
test -z "$ac_c_werror_flag" ||
4012
test ! -s conftest.err
4013
} && test -s conftest.$ac_objext; then
4014
ac_header_compiler=yes
4016
$as_echo "$as_me: failed program was:" >&5
4017
sed 's/^/| /' conftest.$ac_ext >&5
4019
ac_header_compiler=no
4022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4024
$as_echo "$ac_header_compiler" >&6; }
4026
# Is the header present?
4027
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4028
$as_echo_n "checking $ac_header presence... " >&6; }
4029
cat >conftest.$ac_ext <<_ACEOF
4032
cat confdefs.h >>conftest.$ac_ext
4033
cat >>conftest.$ac_ext <<_ACEOF
4034
/* end confdefs.h. */
4035
#include <$ac_header>
4037
if { (ac_try="$ac_cpp conftest.$ac_ext"
4039
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040
*) ac_try_echo=$ac_try;;
4042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043
$as_echo "$ac_try_echo") >&5
4044
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4046
grep -v '^ *+' conftest.er1 >conftest.err
4048
cat conftest.err >&5
4049
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050
(exit $ac_status); } >/dev/null && {
4051
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4052
test ! -s conftest.err
4054
ac_header_preproc=yes
4056
$as_echo "$as_me: failed program was:" >&5
4057
sed 's/^/| /' conftest.$ac_ext >&5
4059
ac_header_preproc=no
4062
rm -f conftest.err conftest.$ac_ext
4063
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4064
$as_echo "$ac_header_preproc" >&6; }
4066
# So? What about this header?
4067
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4069
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4070
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4071
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4072
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4073
ac_header_preproc=yes
4076
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4077
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4078
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4079
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4080
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4081
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4082
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4083
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4084
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4085
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4086
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4087
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4091
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4092
$as_echo_n "checking for $ac_header... " >&6; }
4093
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4094
$as_echo_n "(cached) " >&6
4096
eval "$as_ac_Header=\$ac_header_preproc"
4098
ac_res=`eval 'as_val=${'$as_ac_Header'}
4099
$as_echo "$as_val"'`
4100
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4101
$as_echo "$ac_res" >&6; }
4104
as_val=`eval 'as_val=${'$as_ac_Header'}
4105
$as_echo "$as_val"'`
4106
if test "x$as_val" = x""yes; then
4107
cat >>confdefs.h <<_ACEOF
4108
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4117
if test "$header_fail" -eq 0
4120
unset `echo ac_cv_header_openssl/ssl_h | $as_tr_sh`
4121
CPPFLAGS="$orig_CPPFLAGS"
4124
if test $header_fail -eq 1
4125
then { $as_echo "$as_me:$LINENO: WARNING: Disabling OpenSSL" >&5
4126
$as_echo "$as_me: WARNING: Disabling OpenSSL" >&2;}
4132
{ $as_echo "$as_me:$LINENO: checking whether __STDC_ISO_10646__ is declared" >&5
4133
$as_echo_n "checking whether __STDC_ISO_10646__ is declared... " >&6; }
4134
if test "${ac_cv_have_decl___STDC_ISO_10646__+set}" = set; then
4135
$as_echo_n "(cached) " >&6
4137
cat >conftest.$ac_ext <<_ACEOF
4140
cat confdefs.h >>conftest.$ac_ext
4141
cat >>conftest.$ac_ext <<_ACEOF
4142
/* end confdefs.h. */
4143
$ac_includes_default
4147
#ifndef __STDC_ISO_10646__
4148
(void) __STDC_ISO_10646__;
4155
rm -f conftest.$ac_objext
4156
if { (ac_try="$ac_compile"
4158
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159
*) ac_try_echo=$ac_try;;
4161
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4162
$as_echo "$ac_try_echo") >&5
4163
(eval "$ac_compile") 2>conftest.er1
4165
grep -v '^ *+' conftest.er1 >conftest.err
4167
cat conftest.err >&5
4168
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169
(exit $ac_status); } && {
4170
test -z "$ac_c_werror_flag" ||
4171
test ! -s conftest.err
4172
} && test -s conftest.$ac_objext; then
4173
ac_cv_have_decl___STDC_ISO_10646__=yes
4175
$as_echo "$as_me: failed program was:" >&5
4176
sed 's/^/| /' conftest.$ac_ext >&5
4178
ac_cv_have_decl___STDC_ISO_10646__=no
4181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___STDC_ISO_10646__" >&5
4184
$as_echo "$ac_cv_have_decl___STDC_ISO_10646__" >&6; }
4185
if test "x$ac_cv_have_decl___STDC_ISO_10646__" = x""yes; then
4187
cat >>confdefs.h <<_ACEOF
4188
#define HAVE_DECL___STDC_ISO_10646__ 1
4193
cat >>confdefs.h <<_ACEOF
4194
#define HAVE_DECL___STDC_ISO_10646__ 0
4202
# Check whether --with-iconv was given.
4203
if test "${with_iconv+set}" = set; then
4204
withval=$with_iconv;
4207
case "$with_iconv" in
4210
cat >>confdefs.h <<\_ACEOF
4219
for ac_header in iconv.h
4221
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4222
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4223
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4224
$as_echo_n "checking for $ac_header... " >&6; }
4225
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4226
$as_echo_n "(cached) " >&6
4228
ac_res=`eval 'as_val=${'$as_ac_Header'}
4229
$as_echo "$as_val"'`
4230
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4231
$as_echo "$ac_res" >&6; }
4233
# Is the header compilable?
4234
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4235
$as_echo_n "checking $ac_header usability... " >&6; }
4236
cat >conftest.$ac_ext <<_ACEOF
4239
cat confdefs.h >>conftest.$ac_ext
4240
cat >>conftest.$ac_ext <<_ACEOF
4241
/* end confdefs.h. */
4242
$ac_includes_default
4243
#include <$ac_header>
4245
rm -f conftest.$ac_objext
4246
if { (ac_try="$ac_compile"
4248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249
*) ac_try_echo=$ac_try;;
4251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4252
$as_echo "$ac_try_echo") >&5
4253
(eval "$ac_compile") 2>conftest.er1
4255
grep -v '^ *+' conftest.er1 >conftest.err
4257
cat conftest.err >&5
4258
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
(exit $ac_status); } && {
4260
test -z "$ac_c_werror_flag" ||
4261
test ! -s conftest.err
4262
} && test -s conftest.$ac_objext; then
4263
ac_header_compiler=yes
4265
$as_echo "$as_me: failed program was:" >&5
4266
sed 's/^/| /' conftest.$ac_ext >&5
4268
ac_header_compiler=no
4271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4273
$as_echo "$ac_header_compiler" >&6; }
4275
# Is the header present?
4276
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4277
$as_echo_n "checking $ac_header presence... " >&6; }
4278
cat >conftest.$ac_ext <<_ACEOF
4281
cat confdefs.h >>conftest.$ac_ext
4282
cat >>conftest.$ac_ext <<_ACEOF
4283
/* end confdefs.h. */
4284
#include <$ac_header>
4286
if { (ac_try="$ac_cpp conftest.$ac_ext"
4288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289
*) ac_try_echo=$ac_try;;
4291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4292
$as_echo "$ac_try_echo") >&5
4293
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4295
grep -v '^ *+' conftest.er1 >conftest.err
4297
cat conftest.err >&5
4298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
(exit $ac_status); } >/dev/null && {
4300
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4301
test ! -s conftest.err
4303
ac_header_preproc=yes
4305
$as_echo "$as_me: failed program was:" >&5
4306
sed 's/^/| /' conftest.$ac_ext >&5
4308
ac_header_preproc=no
4311
rm -f conftest.err conftest.$ac_ext
4312
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4313
$as_echo "$ac_header_preproc" >&6; }
4315
# So? What about this header?
4316
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4318
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4319
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4320
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4321
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4322
ac_header_preproc=yes
4325
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4326
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4327
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4328
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4329
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4330
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4331
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4332
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4333
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4334
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4335
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4336
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4340
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4341
$as_echo_n "checking for $ac_header... " >&6; }
4342
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4343
$as_echo_n "(cached) " >&6
4345
eval "$as_ac_Header=\$ac_header_preproc"
4347
ac_res=`eval 'as_val=${'$as_ac_Header'}
4348
$as_echo "$as_val"'`
4349
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4350
$as_echo "$ac_res" >&6; }
4353
as_val=`eval 'as_val=${'$as_ac_Header'}
4354
$as_echo "$as_val"'`
4355
if test "x$as_val" = x""yes; then
4356
cat >>confdefs.h <<_ACEOF
4357
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4364
{ $as_echo "$as_me:$LINENO: checking for library containing iconv" >&5
4365
$as_echo_n "checking for library containing iconv... " >&6; }
4366
if test "${ac_cv_search_iconv+set}" = set; then
4367
$as_echo_n "(cached) " >&6
4369
ac_func_search_save_LIBS=$LIBS
4370
cat >conftest.$ac_ext <<_ACEOF
4373
cat confdefs.h >>conftest.$ac_ext
4374
cat >>conftest.$ac_ext <<_ACEOF
4375
/* end confdefs.h. */
4377
/* Override any GCC internal prototype to avoid an error.
4378
Use char because int might match the return type of a GCC
4379
builtin and then its argument prototype would still apply. */
4392
for ac_lib in '' iconv; do
4393
if test -z "$ac_lib"; then
4394
ac_res="none required"
4397
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4399
rm -f conftest.$ac_objext conftest$ac_exeext
4400
if { (ac_try="$ac_link"
4402
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403
*) ac_try_echo=$ac_try;;
4405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4406
$as_echo "$ac_try_echo") >&5
4407
(eval "$ac_link") 2>conftest.er1
4409
grep -v '^ *+' conftest.er1 >conftest.err
4411
cat conftest.err >&5
4412
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413
(exit $ac_status); } && {
4414
test -z "$ac_c_werror_flag" ||
4415
test ! -s conftest.err
4416
} && test -s conftest$ac_exeext && {
4417
test "$cross_compiling" = yes ||
4418
$as_test_x conftest$ac_exeext
4420
ac_cv_search_iconv=$ac_res
4422
$as_echo "$as_me: failed program was:" >&5
4423
sed 's/^/| /' conftest.$ac_ext >&5
4428
rm -rf conftest.dSYM
4429
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4431
if test "${ac_cv_search_iconv+set}" = set; then
4435
if test "${ac_cv_search_iconv+set}" = set; then
4438
ac_cv_search_iconv=no
4441
LIBS=$ac_func_search_save_LIBS
4443
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
4444
$as_echo "$ac_cv_search_iconv" >&6; }
4445
ac_res=$ac_cv_search_iconv
4446
if test "$ac_res" != no; then
4447
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4450
{ $as_echo "$as_me:$LINENO: checking for library containing libiconv" >&5
4451
$as_echo_n "checking for library containing libiconv... " >&6; }
4452
if test "${ac_cv_search_libiconv+set}" = set; then
4453
$as_echo_n "(cached) " >&6
4455
ac_func_search_save_LIBS=$LIBS
4456
cat >conftest.$ac_ext <<_ACEOF
4459
cat confdefs.h >>conftest.$ac_ext
4460
cat >>conftest.$ac_ext <<_ACEOF
4461
/* end confdefs.h. */
4463
/* Override any GCC internal prototype to avoid an error.
4464
Use char because int might match the return type of a GCC
4465
builtin and then its argument prototype would still apply. */
4478
for ac_lib in '' iconv; do
4479
if test -z "$ac_lib"; then
4480
ac_res="none required"
4483
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4485
rm -f conftest.$ac_objext conftest$ac_exeext
4486
if { (ac_try="$ac_link"
4488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489
*) ac_try_echo=$ac_try;;
4491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4492
$as_echo "$ac_try_echo") >&5
4493
(eval "$ac_link") 2>conftest.er1
4495
grep -v '^ *+' conftest.er1 >conftest.err
4497
cat conftest.err >&5
4498
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499
(exit $ac_status); } && {
4500
test -z "$ac_c_werror_flag" ||
4501
test ! -s conftest.err
4502
} && test -s conftest$ac_exeext && {
4503
test "$cross_compiling" = yes ||
4504
$as_test_x conftest$ac_exeext
4506
ac_cv_search_libiconv=$ac_res
4508
$as_echo "$as_me: failed program was:" >&5
4509
sed 's/^/| /' conftest.$ac_ext >&5
4514
rm -rf conftest.dSYM
4515
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4517
if test "${ac_cv_search_libiconv+set}" = set; then
4521
if test "${ac_cv_search_libiconv+set}" = set; then
4524
ac_cv_search_libiconv=no
4527
LIBS=$ac_func_search_save_LIBS
4529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_libiconv" >&5
4530
$as_echo "$ac_cv_search_libiconv" >&6; }
4531
ac_res=$ac_cv_search_libiconv
4532
if test "$ac_res" != no; then
4533
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4536
if test "$unkw"; then { { $as_echo "$as_me:$LINENO: error: \"No iconv library function\"" >&5
4537
$as_echo "$as_me: error: \"No iconv library function\"" >&2;}
4538
{ (exit 1); exit 1; }; }; fi
4544
# Check whether --enable-dbcs was given.
4545
if test "${enable_dbcs+set}" = set; then
4546
enableval=$enable_dbcs;
4549
case "$enable_dbcs" in
4551
*) cat >>confdefs.h <<\_ACEOF
4552
#define X3270_DBCS 1
4559
# Check whether --enable-ssl was given.
4560
if test "${enable_ssl+set}" = set; then
4561
enableval=$enable_ssl;
4564
case "$enable_ssl" in
4566
*) SSL=-DHAVE_LIBSSL
4571
ac_config_files="$ac_config_files Makefile"
4573
cat >confcache <<\_ACEOF
4574
# This file is a shell script that caches the results of configure
4575
# tests run on this system so they can be shared between configure
4576
# scripts and configure runs, see configure's option --config-cache.
4577
# It is not useful on other systems. If it contains results you don't
4578
# want to keep, you may remove or edit it.
4580
# config.status only pays attention to the cache file if you give it
4581
# the --recheck option to rerun configure.
4583
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4584
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4589
# The following way of writing the cache mishandles newlines in values,
4590
# but we know of no workaround that is simple, portable, and efficient.
4591
# So, we kill variables containing newlines.
4592
# Ultrix sh set writes to stderr and can't be redirected directly,
4593
# and sets the high bit in the cache file unless we assign to the vars.
4595
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4596
eval ac_val=\$$ac_var
4600
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4601
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4604
_ | IFS | as_nl) ;; #(
4605
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4606
*) $as_unset $ac_var ;;
4612
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4613
*${as_nl}ac_space=\ *)
4614
# `set' does not quote correctly, so add quotes (double-quote
4615
# substitution turns \\\\ into \\, and sed turns \\ into \).
4618
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621
# `set' quotes correctly as required by POSIX, so do not add quotes.
4622
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4631
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4633
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4635
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4636
if test -w "$cache_file"; then
4637
test "x$cache_file" != "x/dev/null" &&
4638
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4639
$as_echo "$as_me: updating cache $cache_file" >&6;}
4640
cat confcache >$cache_file
4642
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4643
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4648
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4649
# Let make expand exec_prefix.
4650
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4652
# Transform confdefs.h into DEFS.
4653
# Protect against shell expansion while executing Makefile rules.
4654
# Protect against Makefile macro expansion.
4656
# If the first sed substitution is executed (which looks for macros that
4657
# take arguments), then branch to the quote section. Otherwise,
4658
# look for a macro that doesn't take arguments.
4668
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4670
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4674
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4687
DEFS=`sed -n "$ac_script" confdefs.h`
4692
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4693
# 1. Remove the extension, and $U if already installed.
4694
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4695
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4696
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4697
# will be set to the directory where LIBOBJS objects are built.
4698
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4699
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4703
LTLIBOBJS=$ac_ltlibobjs
4707
: ${CONFIG_STATUS=./config.status}
4709
ac_clean_files_save=$ac_clean_files
4710
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4711
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4712
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4713
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4715
# Generated by $as_me.
4716
# Run this file to recreate the current configuration.
4717
# Compiler output produced by configure, useful for debugging
4718
# configure, is in config.log if it exists.
4723
SHELL=\${CONFIG_SHELL-$SHELL}
4726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4727
## --------------------- ##
4728
## M4sh Initialization. ##
4729
## --------------------- ##
4731
# Be more Bourne compatible
4732
DUALCASE=1; export DUALCASE # for MKS sh
4733
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4736
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4737
# is contrary to our usage. Disable this feature.
4738
alias -g '${1+"$@"}'='"$@"'
4739
setopt NO_GLOB_SUBST
4741
case `(set -o) 2>/dev/null` in
4742
*posix*) set -o posix ;;
4751
# Avoid depending upon Character Ranges.
4752
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4753
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4754
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4755
as_cr_digits='0123456789'
4756
as_cr_alnum=$as_cr_Letters$as_cr_digits
4761
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4762
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4763
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4764
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4765
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4766
as_echo='printf %s\n'
4767
as_echo_n='printf %s'
4769
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4770
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4771
as_echo_n='/usr/ucb/echo -n'
4773
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4774
as_echo_n_body='eval
4778
expr "X$arg" : "X\\(.*\\)$as_nl";
4779
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4781
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4783
export as_echo_n_body
4784
as_echo_n='sh -c $as_echo_n_body as_echo'
4787
as_echo='sh -c $as_echo_body as_echo'
4790
# The user is always right.
4791
if test "${PATH_SEPARATOR+set}" != set; then
4793
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4794
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4799
# Support unset when possible.
4800
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4808
# We need space, tab and new line, in precisely that order. Quoting is
4809
# there to prevent editors from complaining about space-tab.
4810
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4811
# splitting by setting IFS to empty value.)
4814
# Find who we are. Look in the path if we contain no directory separator.
4816
*[\\/]* ) as_myself=$0 ;;
4817
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821
test -z "$as_dir" && as_dir=.
4822
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4828
# We did not find ourselves, most probably we were run as `sh COMMAND'
4829
# in which case we are not to be found in the path.
4830
if test "x$as_myself" = x; then
4833
if test ! -f "$as_myself"; then
4834
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4835
{ (exit 1); exit 1; }
4838
# Work around bugs in pre-3.0 UWIN ksh.
4839
for as_var in ENV MAIL MAILPATH
4840
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4852
# Required to use basename.
4853
if expr a : '\(a\)' >/dev/null 2>&1 &&
4854
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4860
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4861
as_basename=basename
4867
# Name of the executable.
4868
as_me=`$as_basename -- "$0" ||
4869
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4870
X"$0" : 'X\(//\)$' \| \
4871
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4873
sed '/^.*\/\([^/][^/]*\)\/*$/{
4894
test "x$as_lineno_1" != "x$as_lineno_2" &&
4895
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4897
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4898
# uniformly replaced by the line number. The first 'sed' inserts a
4899
# line-number line after each line using $LINENO; the second 'sed'
4900
# does the real work. The second script uses 'N' to pair each
4901
# line-number line with the line containing $LINENO, and appends
4902
# trailing '-' during substitution so that $LINENO is not a special
4904
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4905
# scripts with optimization help from Paolo Bonzini. Blame Lee
4906
# E. McMahon (1931-1989) for sed's syntax. :-)
4918
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4922
chmod +x "$as_me.lineno" ||
4923
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4924
{ (exit 1); exit 1; }; }
4926
# Don't try to exec as it changes $[0], causing all sort of problems
4927
# (the dirname of $[0] is not the place where we might find the
4928
# original and so on. Autoconf is especially sensitive to this).
4930
# Exit status is that of the last command.
4935
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4941
ECHO_C= ECHO_N= ECHO_T=
4944
case `echo 'x\c'` in
4945
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4951
if expr a : '\(a\)' >/dev/null 2>&1 &&
4952
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4958
rm -f conf$$ conf$$.exe conf$$.file
4959
if test -d conf$$.dir; then
4960
rm -f conf$$.dir/conf$$.file
4963
mkdir conf$$.dir 2>/dev/null
4965
if (echo >conf$$.file) 2>/dev/null; then
4966
if ln -s conf$$.file conf$$ 2>/dev/null; then
4968
# ... but there are two gotchas:
4969
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4970
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4971
# In both cases, we have to default to `cp -p'.
4972
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4974
elif ln conf$$.file conf$$ 2>/dev/null; then
4982
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4983
rmdir conf$$.dir 2>/dev/null
4985
if mkdir -p . 2>/dev/null; then
4988
test -d ./-p && rmdir ./-p
4992
if test -x / >/dev/null 2>&1; then
4995
if ls -dL / >/dev/null 2>&1; then
5002
if test -d "$1"; then
5008
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5009
???[sx]*):;;*)false;;esac;fi
5013
as_executable_p=$as_test_x
5015
# Sed expression to map a string onto a valid CPP name.
5016
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5018
# Sed expression to map a string onto a valid variable name.
5019
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5024
# Save the log message, to keep $[0] and so on meaningful, and to
5025
# report actual input values of CONFIG_FILES etc. instead of their
5026
# values after options handling.
5028
This file was extended by $as_me, which was
5029
generated by GNU Autoconf 2.63. Invocation command line was
5031
CONFIG_FILES = $CONFIG_FILES
5032
CONFIG_HEADERS = $CONFIG_HEADERS
5033
CONFIG_LINKS = $CONFIG_LINKS
5034
CONFIG_COMMANDS = $CONFIG_COMMANDS
5037
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5042
case $ac_config_files in *"
5043
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5048
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5049
# Files that config.status was made for.
5050
config_files="$ac_config_files"
5054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5056
\`$as_me' instantiates files from templates according to the
5057
current configuration.
5059
Usage: $0 [OPTION]... [FILE]...
5061
-h, --help print this help, then exit
5062
-V, --version print version number and configuration settings, then exit
5063
-q, --quiet, --silent
5064
do not print progress messages
5065
-d, --debug don't remove temporary files
5066
--recheck update $as_me by reconfiguring in the same conditions
5067
--file=FILE[:TEMPLATE]
5068
instantiate the configuration file FILE
5070
Configuration files:
5073
Report bugs to <bug-autoconf@gnu.org>."
5076
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5079
configured by $0, generated by GNU Autoconf 2.63,
5080
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5082
Copyright (C) 2008 Free Software Foundation, Inc.
5083
This config.status script is free software; the Free Software Foundation
5084
gives unlimited permission to copy, distribute and modify it."
5089
test -n "\$AWK" || AWK=awk
5092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5093
# The default lists apply if the user does not specify any file.
5099
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5100
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5111
# Handling of the options.
5112
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5114
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5115
$as_echo "$ac_cs_version"; exit ;;
5116
--debug | --debu | --deb | --de | --d | -d )
5118
--file | --fil | --fi | --f )
5121
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5123
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5124
ac_need_defaults=false;;
5125
--he | --h | --help | --hel | -h )
5126
$as_echo "$ac_cs_usage"; exit ;;
5127
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5128
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5132
-*) { $as_echo "$as_me: error: unrecognized option: $1
5133
Try \`$0 --help' for more information." >&2
5134
{ (exit 1); exit 1; }; } ;;
5136
*) ac_config_targets="$ac_config_targets $1"
5137
ac_need_defaults=false ;;
5143
ac_configure_extra_args=
5145
if $ac_cs_silent; then
5147
ac_configure_extra_args="$ac_configure_extra_args --silent"
5151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5152
if \$ac_cs_recheck; then
5153
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5155
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5156
CONFIG_SHELL='$SHELL'
5162
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5166
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5167
## Running $as_me. ##
5173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5176
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5178
# Handling of arguments.
5179
for ac_config_target in $ac_config_targets
5181
case $ac_config_target in
5182
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5184
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5185
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5186
{ (exit 1); exit 1; }; };;
5191
# If the user did not use the arguments to specify the items to instantiate,
5192
# then the envvar interface is used. Set only those that are not.
5193
# We use the long form for the default assignment because of an extremely
5194
# bizarre bug on SunOS 4.1.3.
5195
if $ac_need_defaults; then
5196
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5199
# Have a temporary directory for convenience. Make it in the build tree
5200
# simply because there is no reason against having it here, and in addition,
5201
# creating and moving files from /tmp can sometimes cause problems.
5202
# Hook for its removal unless debugging.
5203
# Note that there is a small window in which the directory will not be cleaned:
5204
# after its creation but before its name has been assigned to `$tmp'.
5208
trap 'exit_status=$?
5209
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5211
trap '{ (exit 1); exit 1; }' 1 2 13 15
5213
# Create a (secure) tmp directory for tmp files.
5216
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5217
test -n "$tmp" && test -d "$tmp"
5220
tmp=./conf$$-$RANDOM
5221
(umask 077 && mkdir "$tmp")
5224
$as_echo "$as_me: cannot create a temporary directory in ." >&2
5225
{ (exit 1); exit 1; }
5228
# Set up the scripts for CONFIG_FILES section.
5229
# No need to generate them if there are no CONFIG_FILES.
5230
# This happens for instance with `./config.status config.h'.
5231
if test -n "$CONFIG_FILES"; then
5235
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5236
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5242
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5247
echo "cat >conf$$subs.awk <<_ACEOF" &&
5248
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5251
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5252
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5253
{ (exit 1); exit 1; }; }
5254
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5256
for ac_last_try in false false false false false :; do
5257
. ./conf$$subs.sh ||
5258
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5259
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5260
{ (exit 1); exit 1; }; }
5262
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5263
if test $ac_delim_n = $ac_delim_num; then
5265
elif $ac_last_try; then
5266
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5267
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5268
{ (exit 1); exit 1; }; }
5270
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5275
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5276
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5280
s/^/S["/; s/!.*/"]=/
5290
s/\(.\{148\}\).*/\1/
5292
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5297
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5304
s/\(.\{148\}\).*/\1/
5306
s/["\\]/\\&/g; s/^/"/; s/$/"/
5310
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5315
' <conf$$subs.awk | sed '
5320
' >>$CONFIG_STATUS || ac_write_fail=1
5321
rm -f conf$$subs.awk
5322
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5324
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5325
for (key in S) S_is_set[key] = 1
5331
nfields = split(line, field, "@")
5333
len = length(field[1])
5334
for (i = 2; i < nfields; i++) {
5336
keylen = length(key)
5337
if (S_is_set[key]) {
5339
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5340
len += length(value) + length(field[++i])
5351
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5352
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5353
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5356
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5357
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5358
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5359
{ (exit 1); exit 1; }; }
5362
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5363
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5364
# trailing colons and then remove the whole line if VPATH becomes empty
5365
# (actually we leave an empty line to preserve line numbers).
5366
if test "x$srcdir" = x.; then
5367
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5371
s/^\([^=]*=[ ]*\):*/\1/
5377
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5378
fi # test -n "$CONFIG_FILES"
5381
eval set X " :F $CONFIG_FILES "
5386
:[FHLC]) ac_mode=$ac_tag; continue;;
5388
case $ac_mode$ac_tag in
5390
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5391
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5392
{ (exit 1); exit 1; }; };;
5393
:[FH]-) ac_tag=-:-;;
5394
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5411
-) ac_f="$tmp/stdin";;
5412
*) # Look for the file first in the build tree, then in the source tree
5413
# (if the path is not absolute). The absolute path cannot be DOS-style,
5414
# because $ac_f cannot contain `:'.
5418
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5420
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5421
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5422
{ (exit 1); exit 1; }; };;
5424
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5425
ac_file_inputs="$ac_file_inputs '$ac_f'"
5428
# Let's still pretend it is `configure' which instantiates (i.e., don't
5429
# use $as_me), people would be surprised to read:
5430
# /* config.h. Generated by config.status. */
5431
configure_input='Generated from '`
5432
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5434
if test x"$ac_file" != x-; then
5435
configure_input="$ac_file. $configure_input"
5436
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5437
$as_echo "$as_me: creating $ac_file" >&6;}
5439
# Neutralize special characters interpreted by sed in replacement strings.
5440
case $configure_input in #(
5441
*\&* | *\|* | *\\* )
5442
ac_sed_conf_input=`$as_echo "$configure_input" |
5443
sed 's/[\\\\&|]/\\\\&/g'`;; #(
5444
*) ac_sed_conf_input=$configure_input;;
5448
*:-:* | *:-) cat >"$tmp/stdin" \
5449
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5450
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5451
{ (exit 1); exit 1; }; } ;;
5456
ac_dir=`$as_dirname -- "$ac_file" ||
5457
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5458
X"$ac_file" : 'X\(//\)[^/]' \| \
5459
X"$ac_file" : 'X\(//\)$' \| \
5460
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5461
$as_echo X"$ac_file" |
5462
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5481
-*) as_dir=./$as_dir;;
5483
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5487
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5488
*) as_qdir=$as_dir;;
5490
as_dirs="'$as_qdir' $as_dirs"
5491
as_dir=`$as_dirname -- "$as_dir" ||
5492
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5493
X"$as_dir" : 'X\(//\)[^/]' \| \
5494
X"$as_dir" : 'X\(//\)$' \| \
5495
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5496
$as_echo X"$as_dir" |
5497
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5514
test -d "$as_dir" && break
5516
test -z "$as_dirs" || eval "mkdir $as_dirs"
5517
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5518
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5519
{ (exit 1); exit 1; }; }; }
5523
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5525
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5526
# A ".." for each directory in $ac_dir_suffix.
5527
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5528
case $ac_top_builddir_sub in
5529
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5530
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5533
ac_abs_top_builddir=$ac_pwd
5534
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5535
# for backward compatibility:
5536
ac_top_builddir=$ac_top_build_prefix
5539
.) # We are building in place.
5541
ac_top_srcdir=$ac_top_builddir_sub
5542
ac_abs_top_srcdir=$ac_pwd ;;
5543
[\\/]* | ?:[\\/]* ) # Absolute name.
5544
ac_srcdir=$srcdir$ac_dir_suffix;
5545
ac_top_srcdir=$srcdir
5546
ac_abs_top_srcdir=$srcdir ;;
5548
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5549
ac_top_srcdir=$ac_top_build_prefix$srcdir
5550
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5552
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5562
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5563
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5567
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5568
# If the template does not know about datarootdir, expand it.
5569
# FIXME: This hack should be removed a few years after 2.60.
5570
ac_datarootdir_hack=; ac_datarootdir_seen=
5583
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5584
*datarootdir*) ac_datarootdir_seen=yes;;
5585
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5586
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5587
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5589
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5590
ac_datarootdir_hack='
5591
s&@datadir@&$datadir&g
5592
s&@docdir@&$docdir&g
5593
s&@infodir@&$infodir&g
5594
s&@localedir@&$localedir&g
5595
s&@mandir@&$mandir&g
5596
s&\\\${datarootdir}&$datarootdir&g' ;;
5600
# Neutralize VPATH when `$srcdir' = `.'.
5601
# Shell code in configure.ac might set extrasub.
5602
# FIXME: do we really want to maintain this feature?
5603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5604
ac_sed_extra="$ac_vpsub
5607
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5609
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5610
s|@configure_input@|$ac_sed_conf_input|;t t
5611
s&@top_builddir@&$ac_top_builddir_sub&;t t
5612
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5613
s&@srcdir@&$ac_srcdir&;t t
5614
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5615
s&@top_srcdir@&$ac_top_srcdir&;t t
5616
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5617
s&@builddir@&$ac_builddir&;t t
5618
s&@abs_builddir@&$ac_abs_builddir&;t t
5619
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5620
s&@INSTALL@&$ac_INSTALL&;t t
5621
$ac_datarootdir_hack
5623
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5624
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5625
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5626
{ (exit 1); exit 1; }; }
5628
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5629
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5630
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5631
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5632
which seems to be undefined. Please make sure it is defined." >&5
5633
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5634
which seems to be undefined. Please make sure it is defined." >&2;}
5638
-) cat "$tmp/out" && rm -f "$tmp/out";;
5639
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5641
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5642
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5643
{ (exit 1); exit 1; }; }
5653
{ (exit 0); exit 0; }
5655
chmod +x $CONFIG_STATUS
5656
ac_clean_files=$ac_clean_files_save
5658
test $ac_write_fail = 0 ||
5659
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5660
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5661
{ (exit 1); exit 1; }; }
5664
# configure is writing to config.log, and then calls config.status.
5665
# config.status does its own redirection, appending to config.log.
5666
# Unfortunately, on DOS this fails, as config.log is still kept open
5667
# by configure, so config.status won't be able to write to it; its
5668
# output is simply discarded. So we exec the FD to /dev/null,
5669
# effectively closing config.log, so it can be properly (re)opened and
5670
# appended to by config.status. When coming back to configure, we
5671
# need to make the FD available again.
5672
if test "$no_create" != yes; then
5674
ac_config_status_args=
5675
test "$silent" = yes &&
5676
ac_config_status_args="$ac_config_status_args --quiet"
5678
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5680
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5681
# would make configure fail if this is the last instruction.
5682
$ac_cs_success || { (exit 1); exit 1; }
5684
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5685
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5686
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}