source: gs2-extensions/tdb-edit/trunk/src/src/tdbcli-src/configure@ 25392

Last change on this file since 25392 was 25392, checked in by jmt12, 12 years ago

A new CLI tool for TDB to allow bidirectional pipe ala GDBMServer

  • Property svn:executable set to *
File size: 124.1 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for tdbcli 1.0.
4#
5# Report bugs to <[email protected]>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 case $- in # ((((
225 *v*x* | *x*v* ) as_opts=-vx ;;
226 *v* ) as_opts=-v ;;
227 *x* ) as_opts=-x ;;
228 * ) as_opts= ;;
229 esac
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231fi
232
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 else
240 $as_echo "$0: Please tell [email protected] and
241$0: [email protected] about your system, including any
242$0: error possibly output before this message. Then install
243$0: a modern shell, or manually run the script under such a
244$0: shell if you do have one."
245 fi
246 exit 1
247fi
248fi
249fi
250SHELL=${CONFIG_SHELL-/bin/sh}
251export SHELL
252# Unset more variables known to interfere with behavior of common tools.
253CLICOLOR_FORCE= GREP_OPTIONS=
254unset CLICOLOR_FORCE GREP_OPTIONS
255
256## --------------------- ##
257## M4sh Shell Functions. ##
258## --------------------- ##
259# as_fn_unset VAR
260# ---------------
261# Portably unset VAR.
262as_fn_unset ()
263{
264 { eval $1=; unset $1;}
265}
266as_unset=as_fn_unset
267
268# as_fn_set_status STATUS
269# -----------------------
270# Set $? to STATUS, without forking.
271as_fn_set_status ()
272{
273 return $1
274} # as_fn_set_status
275
276# as_fn_exit STATUS
277# -----------------
278# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279as_fn_exit ()
280{
281 set +e
282 as_fn_set_status $1
283 exit $1
284} # as_fn_exit
285
286# as_fn_mkdir_p
287# -------------
288# Create "$as_dir" as a directory, including parents if necessary.
289as_fn_mkdir_p ()
290{
291
292 case $as_dir in #(
293 -*) as_dir=./$as_dir;;
294 esac
295 test -d "$as_dir" || eval $as_mkdir_p || {
296 as_dirs=
297 while :; do
298 case $as_dir in #(
299 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 *) as_qdir=$as_dir;;
301 esac
302 as_dirs="'$as_qdir' $as_dirs"
303 as_dir=`$as_dirname -- "$as_dir" ||
304$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308$as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)[^/].*/{
314 s//\1/
315 q
316 }
317 /^X\(\/\/\)$/{
318 s//\1/
319 q
320 }
321 /^X\(\/\).*/{
322 s//\1/
323 q
324 }
325 s/.*/./; q'`
326 test -d "$as_dir" && break
327 done
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330
331
332} # as_fn_mkdir_p
333# as_fn_append VAR VALUE
334# ----------------------
335# Append the text in VALUE to the end of the definition contained in VAR. Take
336# advantage of any shell optimizations that allow amortized linear growth over
337# repeated appends, instead of the typical quadratic growth present in naive
338# implementations.
339if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
340 eval 'as_fn_append ()
341 {
342 eval $1+=\$2
343 }'
344else
345 as_fn_append ()
346 {
347 eval $1=\$$1\$2
348 }
349fi # as_fn_append
350
351# as_fn_arith ARG...
352# ------------------
353# Perform arithmetic evaluation on the ARGs, and store the result in the
354# global $as_val. Take advantage of shells that can avoid forks. The arguments
355# must be portable across $(()) and expr.
356if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 eval 'as_fn_arith ()
358 {
359 as_val=$(( $* ))
360 }'
361else
362 as_fn_arith ()
363 {
364 as_val=`expr "$@" || test $? -eq 1`
365 }
366fi # as_fn_arith
367
368
369# as_fn_error STATUS ERROR [LINENO LOG_FD]
370# ----------------------------------------
371# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373# script with STATUS, using 1 if that was 0.
374as_fn_error ()
375{
376 as_status=$1; test $as_status -eq 0 && as_status=1
377 if test "$4"; then
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
380 fi
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit $as_status
383} # as_fn_error
384
385if expr a : '\(a\)' >/dev/null 2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
387 as_expr=expr
388else
389 as_expr=false
390fi
391
392if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393 as_basename=basename
394else
395 as_basename=false
396fi
397
398if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399 as_dirname=dirname
400else
401 as_dirname=false
402fi
403
404as_me=`$as_basename -- "$0" ||
405$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408$as_echo X/"$0" |
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\/\)$/{
414 s//\1/
415 q
416 }
417 /^X\/\(\/\).*/{
418 s//\1/
419 q
420 }
421 s/.*/./; q'`
422
423# Avoid depending upon Character Ranges.
424as_cr_letters='abcdefghijklmnopqrstuvwxyz'
425as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426as_cr_Letters=$as_cr_letters$as_cr_LETTERS
427as_cr_digits='0123456789'
428as_cr_alnum=$as_cr_Letters$as_cr_digits
429
430
431 as_lineno_1=$LINENO as_lineno_1a=$LINENO
432 as_lineno_2=$LINENO as_lineno_2a=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 sed -n '
437 p
438 /[$]LINENO/=
439 ' <$as_myself |
440 sed '
441 s/[$]LINENO.*/&-/
442 t lineno
443 b
444 :lineno
445 N
446 :loop
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 t loop
449 s/-\n.*//
450 ' >$as_me.lineno &&
451 chmod +x "$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460}
461
462ECHO_C= ECHO_N= ECHO_T=
463case `echo -n x` in #(((((
464-n*)
465 case `echo 'xy\c'` in
466 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
467 xy) ECHO_C='\c';;
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 ECHO_T=' ';;
470 esac;;
471*)
472 ECHO_N='-n';;
473esac
474
475rm -f conf$$ conf$$.exe conf$$.file
476if test -d conf$$.dir; then
477 rm -f conf$$.dir/conf$$.file
478else
479 rm -f conf$$.dir
480 mkdir conf$$.dir 2>/dev/null
481fi
482if (echo >conf$$.file) 2>/dev/null; then
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
484 as_ln_s='ln -s'
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490 as_ln_s='cp -p'
491 elif ln conf$$.file conf$$ 2>/dev/null; then
492 as_ln_s=ln
493 else
494 as_ln_s='cp -p'
495 fi
496else
497 as_ln_s='cp -p'
498fi
499rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
500rmdir conf$$.dir 2>/dev/null
501
502if mkdir -p . 2>/dev/null; then
503 as_mkdir_p='mkdir -p "$as_dir"'
504else
505 test -d ./-p && rmdir ./-p
506 as_mkdir_p=false
507fi
508
509if test -x / >/dev/null 2>&1; then
510 as_test_x='test -x'
511else
512 if ls -dL / >/dev/null 2>&1; then
513 as_ls_L_option=L
514 else
515 as_ls_L_option=
516 fi
517 as_test_x='
518 eval sh -c '\''
519 if test -d "$1"; then
520 test -d "$1/.";
521 else
522 case $1 in #(
523 -*)set "./$1";;
524 esac;
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
527 '\'' sh
528 '
529fi
530as_executable_p=$as_test_x
531
532# Sed expression to map a string onto a valid CPP name.
533as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535# Sed expression to map a string onto a valid variable name.
536as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539test -n "$DJDIR" || exec 7<&0 </dev/null
540exec 6>&1
541
542# Name of the host.
543# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544# so uname gets run too.
545ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547#
548# Initializations.
549#
550ac_default_prefix=/usr/local
551ac_clean_files=
552ac_config_libobj_dir=.
553LIBOBJS=
554cross_compiling=no
555subdirs=
556MFLAGS=
557MAKEFLAGS=
558
559# Identity of this package.
560PACKAGE_NAME='tdbcli'
561PACKAGE_TARNAME='tdbcli'
562PACKAGE_VERSION='1.0'
563PACKAGE_STRING='tdbcli 1.0'
564PACKAGE_BUGREPORT='[email protected]'
565PACKAGE_URL=''
566
567ac_unique_file="tdbcli.cpp"
568ac_subst_vars='LTLIBOBJS
569LIBOBJS
570CPP
571ac_ct_CC
572CFLAGS
573CC
574OBJEXT
575EXEEXT
576ac_ct_CXX
577CPPFLAGS
578LDFLAGS
579CXXFLAGS
580CXX
581host_os
582host_vendor
583host_cpu
584host
585build_os
586build_vendor
587build_cpu
588build
589target_alias
590host_alias
591build_alias
592LIBS
593ECHO_T
594ECHO_N
595ECHO_C
596DEFS
597mandir
598localedir
599libdir
600psdir
601pdfdir
602dvidir
603htmldir
604infodir
605docdir
606oldincludedir
607includedir
608localstatedir
609sharedstatedir
610sysconfdir
611datadir
612datarootdir
613libexecdir
614sbindir
615bindir
616program_transform_name
617prefix
618exec_prefix
619PACKAGE_URL
620PACKAGE_BUGREPORT
621PACKAGE_STRING
622PACKAGE_VERSION
623PACKAGE_TARNAME
624PACKAGE_NAME
625PATH_SEPARATOR
626SHELL'
627ac_subst_files=''
628ac_user_opts='
629enable_option_checking
630'
631 ac_precious_vars='build_alias
632host_alias
633target_alias
634CXX
635CXXFLAGS
636LDFLAGS
637LIBS
638CPPFLAGS
639CCC
640CC
641CFLAGS
642CPP'
643
644
645# Initialize some variables set by options.
646ac_init_help=
647ac_init_version=false
648ac_unrecognized_opts=
649ac_unrecognized_sep=
650# The variables have the same names as the options, with
651# dashes changed to underlines.
652cache_file=/dev/null
653exec_prefix=NONE
654no_create=
655no_recursion=
656prefix=NONE
657program_prefix=NONE
658program_suffix=NONE
659program_transform_name=s,x,x,
660silent=
661site=
662srcdir=
663verbose=
664x_includes=NONE
665x_libraries=NONE
666
667# Installation directory options.
668# These are left unexpanded so users can "make install exec_prefix=/foo"
669# and all the variables that are supposed to be based on exec_prefix
670# by default will actually change.
671# Use braces instead of parens because sh, perl, etc. also accept them.
672# (The list follows the same order as the GNU Coding Standards.)
673bindir='${exec_prefix}/bin'
674sbindir='${exec_prefix}/sbin'
675libexecdir='${exec_prefix}/libexec'
676datarootdir='${prefix}/share'
677datadir='${datarootdir}'
678sysconfdir='${prefix}/etc'
679sharedstatedir='${prefix}/com'
680localstatedir='${prefix}/var'
681includedir='${prefix}/include'
682oldincludedir='/usr/include'
683docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
684infodir='${datarootdir}/info'
685htmldir='${docdir}'
686dvidir='${docdir}'
687pdfdir='${docdir}'
688psdir='${docdir}'
689libdir='${exec_prefix}/lib'
690localedir='${datarootdir}/locale'
691mandir='${datarootdir}/man'
692
693ac_prev=
694ac_dashdash=
695for ac_option
696do
697 # If the previous option needs an argument, assign it.
698 if test -n "$ac_prev"; then
699 eval $ac_prev=\$ac_option
700 ac_prev=
701 continue
702 fi
703
704 case $ac_option in
705 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706 *=) ac_optarg= ;;
707 *) ac_optarg=yes ;;
708 esac
709
710 # Accept the important Cygnus configure options, so we can diagnose typos.
711
712 case $ac_dashdash$ac_option in
713 --)
714 ac_dashdash=yes ;;
715
716 -bindir | --bindir | --bindi | --bind | --bin | --bi)
717 ac_prev=bindir ;;
718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719 bindir=$ac_optarg ;;
720
721 -build | --build | --buil | --bui | --bu)
722 ac_prev=build_alias ;;
723 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724 build_alias=$ac_optarg ;;
725
726 -cache-file | --cache-file | --cache-fil | --cache-fi \
727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728 ac_prev=cache_file ;;
729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731 cache_file=$ac_optarg ;;
732
733 --config-cache | -C)
734 cache_file=config.cache ;;
735
736 -datadir | --datadir | --datadi | --datad)
737 ac_prev=datadir ;;
738 -datadir=* | --datadir=* | --datadi=* | --datad=*)
739 datadir=$ac_optarg ;;
740
741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742 | --dataroo | --dataro | --datar)
743 ac_prev=datarootdir ;;
744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746 datarootdir=$ac_optarg ;;
747
748 -disable-* | --disable-*)
749 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
752 as_fn_error $? "invalid feature name: $ac_useropt"
753 ac_useropt_orig=$ac_useropt
754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
755 case $ac_user_opts in
756 *"
757"enable_$ac_useropt"
758"*) ;;
759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
760 ac_unrecognized_sep=', ';;
761 esac
762 eval enable_$ac_useropt=no ;;
763
764 -docdir | --docdir | --docdi | --doc | --do)
765 ac_prev=docdir ;;
766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
767 docdir=$ac_optarg ;;
768
769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
770 ac_prev=dvidir ;;
771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
772 dvidir=$ac_optarg ;;
773
774 -enable-* | --enable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 as_fn_error $? "invalid feature name: $ac_useropt"
779 ac_useropt_orig=$ac_useropt
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781 case $ac_user_opts in
782 *"
783"enable_$ac_useropt"
784"*) ;;
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
787 esac
788 eval enable_$ac_useropt=\$ac_optarg ;;
789
790 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
791 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
792 | --exec | --exe | --ex)
793 ac_prev=exec_prefix ;;
794 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
795 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
796 | --exec=* | --exe=* | --ex=*)
797 exec_prefix=$ac_optarg ;;
798
799 -gas | --gas | --ga | --g)
800 # Obsolete; use --with-gas.
801 with_gas=yes ;;
802
803 -help | --help | --hel | --he | -h)
804 ac_init_help=long ;;
805 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
806 ac_init_help=recursive ;;
807 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
808 ac_init_help=short ;;
809
810 -host | --host | --hos | --ho)
811 ac_prev=host_alias ;;
812 -host=* | --host=* | --hos=* | --ho=*)
813 host_alias=$ac_optarg ;;
814
815 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816 ac_prev=htmldir ;;
817 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818 | --ht=*)
819 htmldir=$ac_optarg ;;
820
821 -includedir | --includedir | --includedi | --included | --include \
822 | --includ | --inclu | --incl | --inc)
823 ac_prev=includedir ;;
824 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
825 | --includ=* | --inclu=* | --incl=* | --inc=*)
826 includedir=$ac_optarg ;;
827
828 -infodir | --infodir | --infodi | --infod | --info | --inf)
829 ac_prev=infodir ;;
830 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
831 infodir=$ac_optarg ;;
832
833 -libdir | --libdir | --libdi | --libd)
834 ac_prev=libdir ;;
835 -libdir=* | --libdir=* | --libdi=* | --libd=*)
836 libdir=$ac_optarg ;;
837
838 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
839 | --libexe | --libex | --libe)
840 ac_prev=libexecdir ;;
841 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
842 | --libexe=* | --libex=* | --libe=*)
843 libexecdir=$ac_optarg ;;
844
845 -localedir | --localedir | --localedi | --localed | --locale)
846 ac_prev=localedir ;;
847 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
848 localedir=$ac_optarg ;;
849
850 -localstatedir | --localstatedir | --localstatedi | --localstated \
851 | --localstate | --localstat | --localsta | --localst | --locals)
852 ac_prev=localstatedir ;;
853 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
854 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
855 localstatedir=$ac_optarg ;;
856
857 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
858 ac_prev=mandir ;;
859 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
860 mandir=$ac_optarg ;;
861
862 -nfp | --nfp | --nf)
863 # Obsolete; use --without-fp.
864 with_fp=no ;;
865
866 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
867 | --no-cr | --no-c | -n)
868 no_create=yes ;;
869
870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872 no_recursion=yes ;;
873
874 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
875 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
876 | --oldin | --oldi | --old | --ol | --o)
877 ac_prev=oldincludedir ;;
878 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
879 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
880 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
881 oldincludedir=$ac_optarg ;;
882
883 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
884 ac_prev=prefix ;;
885 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886 prefix=$ac_optarg ;;
887
888 -program-prefix | --program-prefix | --program-prefi | --program-pref \
889 | --program-pre | --program-pr | --program-p)
890 ac_prev=program_prefix ;;
891 -program-prefix=* | --program-prefix=* | --program-prefi=* \
892 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
893 program_prefix=$ac_optarg ;;
894
895 -program-suffix | --program-suffix | --program-suffi | --program-suff \
896 | --program-suf | --program-su | --program-s)
897 ac_prev=program_suffix ;;
898 -program-suffix=* | --program-suffix=* | --program-suffi=* \
899 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
900 program_suffix=$ac_optarg ;;
901
902 -program-transform-name | --program-transform-name \
903 | --program-transform-nam | --program-transform-na \
904 | --program-transform-n | --program-transform- \
905 | --program-transform | --program-transfor \
906 | --program-transfo | --program-transf \
907 | --program-trans | --program-tran \
908 | --progr-tra | --program-tr | --program-t)
909 ac_prev=program_transform_name ;;
910 -program-transform-name=* | --program-transform-name=* \
911 | --program-transform-nam=* | --program-transform-na=* \
912 | --program-transform-n=* | --program-transform-=* \
913 | --program-transform=* | --program-transfor=* \
914 | --program-transfo=* | --program-transf=* \
915 | --program-trans=* | --program-tran=* \
916 | --progr-tra=* | --program-tr=* | --program-t=*)
917 program_transform_name=$ac_optarg ;;
918
919 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920 ac_prev=pdfdir ;;
921 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922 pdfdir=$ac_optarg ;;
923
924 -psdir | --psdir | --psdi | --psd | --ps)
925 ac_prev=psdir ;;
926 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927 psdir=$ac_optarg ;;
928
929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
930 | -silent | --silent | --silen | --sile | --sil)
931 silent=yes ;;
932
933 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
934 ac_prev=sbindir ;;
935 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
936 | --sbi=* | --sb=*)
937 sbindir=$ac_optarg ;;
938
939 -sharedstatedir | --sharedstatedir | --sharedstatedi \
940 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
941 | --sharedst | --shareds | --shared | --share | --shar \
942 | --sha | --sh)
943 ac_prev=sharedstatedir ;;
944 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
945 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
946 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
947 | --sha=* | --sh=*)
948 sharedstatedir=$ac_optarg ;;
949
950 -site | --site | --sit)
951 ac_prev=site ;;
952 -site=* | --site=* | --sit=*)
953 site=$ac_optarg ;;
954
955 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
956 ac_prev=srcdir ;;
957 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958 srcdir=$ac_optarg ;;
959
960 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
961 | --syscon | --sysco | --sysc | --sys | --sy)
962 ac_prev=sysconfdir ;;
963 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
964 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
965 sysconfdir=$ac_optarg ;;
966
967 -target | --target | --targe | --targ | --tar | --ta | --t)
968 ac_prev=target_alias ;;
969 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
970 target_alias=$ac_optarg ;;
971
972 -v | -verbose | --verbose | --verbos | --verbo | --verb)
973 verbose=yes ;;
974
975 -version | --version | --versio | --versi | --vers | -V)
976 ac_init_version=: ;;
977
978 -with-* | --with-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982 as_fn_error $? "invalid package name: $ac_useropt"
983 ac_useropt_orig=$ac_useropt
984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
986 *"
987"with_$ac_useropt"
988"*) ;;
989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
990 ac_unrecognized_sep=', ';;
991 esac
992 eval with_$ac_useropt=\$ac_optarg ;;
993
994 -without-* | --without-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error $? "invalid package name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003"with_$ac_useropt"
1004"*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval with_$ac_useropt=no ;;
1009
1010 --x)
1011 # Obsolete; use --with-x.
1012 with_x=yes ;;
1013
1014 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1015 | --x-incl | --x-inc | --x-in | --x-i)
1016 ac_prev=x_includes ;;
1017 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1018 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1019 x_includes=$ac_optarg ;;
1020
1021 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1022 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1023 ac_prev=x_libraries ;;
1024 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1025 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1026 x_libraries=$ac_optarg ;;
1027
1028 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1029Try \`$0 --help' for more information"
1030 ;;
1031
1032 *=*)
1033 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1034 # Reject names that are not valid shell variable names.
1035 case $ac_envvar in #(
1036 '' | [0-9]* | *[!_$as_cr_alnum]* )
1037 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1038 esac
1039 eval $ac_envvar=\$ac_optarg
1040 export $ac_envvar ;;
1041
1042 *)
1043 # FIXME: should be removed in autoconf 3.0.
1044 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1045 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1047 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1048 ;;
1049
1050 esac
1051done
1052
1053if test -n "$ac_prev"; then
1054 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1055 as_fn_error $? "missing argument to $ac_option"
1056fi
1057
1058if test -n "$ac_unrecognized_opts"; then
1059 case $enable_option_checking in
1060 no) ;;
1061 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1062 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1063 esac
1064fi
1065
1066# Check all directory arguments for consistency.
1067for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1068 datadir sysconfdir sharedstatedir localstatedir includedir \
1069 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1070 libdir localedir mandir
1071do
1072 eval ac_val=\$$ac_var
1073 # Remove trailing slashes.
1074 case $ac_val in
1075 */ )
1076 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1077 eval $ac_var=\$ac_val;;
1078 esac
1079 # Be sure to have absolute directory names.
1080 case $ac_val in
1081 [\\/$]* | ?:[\\/]* ) continue;;
1082 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1083 esac
1084 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1085done
1086
1087# There might be people who depend on the old broken behavior: `$host'
1088# used to hold the argument of --host etc.
1089# FIXME: To remove some day.
1090build=$build_alias
1091host=$host_alias
1092target=$target_alias
1093
1094# FIXME: To remove some day.
1095if test "x$host_alias" != x; then
1096 if test "x$build_alias" = x; then
1097 cross_compiling=maybe
1098 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1099 If a cross compiler is detected then cross compile mode will be used" >&2
1100 elif test "x$build_alias" != "x$host_alias"; then
1101 cross_compiling=yes
1102 fi
1103fi
1104
1105ac_tool_prefix=
1106test -n "$host_alias" && ac_tool_prefix=$host_alias-
1107
1108test "$silent" = yes && exec 6>/dev/null
1109
1110
1111ac_pwd=`pwd` && test -n "$ac_pwd" &&
1112ac_ls_di=`ls -di .` &&
1113ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1114 as_fn_error $? "working directory cannot be determined"
1115test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1116 as_fn_error $? "pwd does not report name of working directory"
1117
1118
1119# Find the source files, if location was not specified.
1120if test -z "$srcdir"; then
1121 ac_srcdir_defaulted=yes
1122 # Try the directory containing this script, then the parent directory.
1123 ac_confdir=`$as_dirname -- "$as_myself" ||
1124$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1125 X"$as_myself" : 'X\(//\)[^/]' \| \
1126 X"$as_myself" : 'X\(//\)$' \| \
1127 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1128$as_echo X"$as_myself" |
1129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1130 s//\1/
1131 q
1132 }
1133 /^X\(\/\/\)[^/].*/{
1134 s//\1/
1135 q
1136 }
1137 /^X\(\/\/\)$/{
1138 s//\1/
1139 q
1140 }
1141 /^X\(\/\).*/{
1142 s//\1/
1143 q
1144 }
1145 s/.*/./; q'`
1146 srcdir=$ac_confdir
1147 if test ! -r "$srcdir/$ac_unique_file"; then
1148 srcdir=..
1149 fi
1150else
1151 ac_srcdir_defaulted=no
1152fi
1153if test ! -r "$srcdir/$ac_unique_file"; then
1154 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1155 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1156fi
1157ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1158ac_abs_confdir=`(
1159 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1160 pwd)`
1161# When building in place, set srcdir=.
1162if test "$ac_abs_confdir" = "$ac_pwd"; then
1163 srcdir=.
1164fi
1165# Remove unnecessary trailing slashes from srcdir.
1166# Double slashes in file names in object file debugging info
1167# mess up M-x gdb in Emacs.
1168case $srcdir in
1169*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1170esac
1171for ac_var in $ac_precious_vars; do
1172 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1173 eval ac_env_${ac_var}_value=\$${ac_var}
1174 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1175 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1176done
1177
1178#
1179# Report the --help message.
1180#
1181if test "$ac_init_help" = "long"; then
1182 # Omit some internal or obsolete options to make the list less imposing.
1183 # This message is too long to be a string in the A/UX 3.1 sh.
1184 cat <<_ACEOF
1185\`configure' configures tdbcli 1.0 to adapt to many kinds of systems.
1186
1187Usage: $0 [OPTION]... [VAR=VALUE]...
1188
1189To assign environment variables (e.g., CC, CFLAGS...), specify them as
1190VAR=VALUE. See below for descriptions of some of the useful variables.
1191
1192Defaults for the options are specified in brackets.
1193
1194Configuration:
1195 -h, --help display this help and exit
1196 --help=short display options specific to this package
1197 --help=recursive display the short help of all the included packages
1198 -V, --version display version information and exit
1199 -q, --quiet, --silent do not print \`checking ...' messages
1200 --cache-file=FILE cache test results in FILE [disabled]
1201 -C, --config-cache alias for \`--cache-file=config.cache'
1202 -n, --no-create do not create output files
1203 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1204
1205Installation directories:
1206 --prefix=PREFIX install architecture-independent files in PREFIX
1207 [$ac_default_prefix]
1208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1209 [PREFIX]
1210
1211By default, \`make install' will install all the files in
1212\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1213an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1214for instance \`--prefix=\$HOME'.
1215
1216For better control, use the options below.
1217
1218Fine tuning of the installation directories:
1219 --bindir=DIR user executables [EPREFIX/bin]
1220 --sbindir=DIR system admin executables [EPREFIX/sbin]
1221 --libexecdir=DIR program executables [EPREFIX/libexec]
1222 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1223 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1224 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1225 --libdir=DIR object code libraries [EPREFIX/lib]
1226 --includedir=DIR C header files [PREFIX/include]
1227 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1228 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1229 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1230 --infodir=DIR info documentation [DATAROOTDIR/info]
1231 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1232 --mandir=DIR man documentation [DATAROOTDIR/man]
1233 --docdir=DIR documentation root [DATAROOTDIR/doc/tdbcli]
1234 --htmldir=DIR html documentation [DOCDIR]
1235 --dvidir=DIR dvi documentation [DOCDIR]
1236 --pdfdir=DIR pdf documentation [DOCDIR]
1237 --psdir=DIR ps documentation [DOCDIR]
1238_ACEOF
1239
1240 cat <<\_ACEOF
1241
1242System types:
1243 --build=BUILD configure for building on BUILD [guessed]
1244 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1245_ACEOF
1246fi
1247
1248if test -n "$ac_init_help"; then
1249 case $ac_init_help in
1250 short | recursive ) echo "Configuration of tdbcli 1.0:";;
1251 esac
1252 cat <<\_ACEOF
1253
1254Some influential environment variables:
1255 CXX C++ compiler command
1256 CXXFLAGS C++ compiler flags
1257 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1258 nonstandard directory <lib dir>
1259 LIBS libraries to pass to the linker, e.g. -l<library>
1260 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1261 you have headers in a nonstandard directory <include dir>
1262 CC C compiler command
1263 CFLAGS C compiler flags
1264 CPP C preprocessor
1265
1266Use these variables to override the choices made by `configure' or to help
1267it to find libraries and programs with nonstandard names/locations.
1268
1269Report bugs to <[email protected]>.
1270_ACEOF
1271ac_status=$?
1272fi
1273
1274if test "$ac_init_help" = "recursive"; then
1275 # If there are subdirs, report their specific --help.
1276 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277 test -d "$ac_dir" ||
1278 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1279 continue
1280 ac_builddir=.
1281
1282case "$ac_dir" in
1283.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284*)
1285 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1286 # A ".." for each directory in $ac_dir_suffix.
1287 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1288 case $ac_top_builddir_sub in
1289 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1291 esac ;;
1292esac
1293ac_abs_top_builddir=$ac_pwd
1294ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295# for backward compatibility:
1296ac_top_builddir=$ac_top_build_prefix
1297
1298case $srcdir in
1299 .) # We are building in place.
1300 ac_srcdir=.
1301 ac_top_srcdir=$ac_top_builddir_sub
1302 ac_abs_top_srcdir=$ac_pwd ;;
1303 [\\/]* | ?:[\\/]* ) # Absolute name.
1304 ac_srcdir=$srcdir$ac_dir_suffix;
1305 ac_top_srcdir=$srcdir
1306 ac_abs_top_srcdir=$srcdir ;;
1307 *) # Relative name.
1308 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1309 ac_top_srcdir=$ac_top_build_prefix$srcdir
1310 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1311esac
1312ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1313
1314 cd "$ac_dir" || { ac_status=$?; continue; }
1315 # Check for guested configure.
1316 if test -f "$ac_srcdir/configure.gnu"; then
1317 echo &&
1318 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1319 elif test -f "$ac_srcdir/configure"; then
1320 echo &&
1321 $SHELL "$ac_srcdir/configure" --help=recursive
1322 else
1323 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1324 fi || ac_status=$?
1325 cd "$ac_pwd" || { ac_status=$?; break; }
1326 done
1327fi
1328
1329test -n "$ac_init_help" && exit $ac_status
1330if $ac_init_version; then
1331 cat <<\_ACEOF
1332tdbcli configure 1.0
1333generated by GNU Autoconf 2.68
1334
1335Copyright (C) 2010 Free Software Foundation, Inc.
1336This configure script is free software; the Free Software Foundation
1337gives unlimited permission to copy, distribute and modify it.
1338_ACEOF
1339 exit
1340fi
1341
1342## ------------------------ ##
1343## Autoconf initialization. ##
1344## ------------------------ ##
1345
1346# ac_fn_cxx_try_compile LINENO
1347# ----------------------------
1348# Try to compile conftest.$ac_ext, and return whether this succeeded.
1349ac_fn_cxx_try_compile ()
1350{
1351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1352 rm -f conftest.$ac_objext
1353 if { { ac_try="$ac_compile"
1354case "(($ac_try" in
1355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1356 *) ac_try_echo=$ac_try;;
1357esac
1358eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1359$as_echo "$ac_try_echo"; } >&5
1360 (eval "$ac_compile") 2>conftest.err
1361 ac_status=$?
1362 if test -s conftest.err; then
1363 grep -v '^ *+' conftest.err >conftest.er1
1364 cat conftest.er1 >&5
1365 mv -f conftest.er1 conftest.err
1366 fi
1367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1368 test $ac_status = 0; } && {
1369 test -z "$ac_cxx_werror_flag" ||
1370 test ! -s conftest.err
1371 } && test -s conftest.$ac_objext; then :
1372 ac_retval=0
1373else
1374 $as_echo "$as_me: failed program was:" >&5
1375sed 's/^/| /' conftest.$ac_ext >&5
1376
1377 ac_retval=1
1378fi
1379 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1380 as_fn_set_status $ac_retval
1381
1382} # ac_fn_cxx_try_compile
1383
1384# ac_fn_c_try_compile LINENO
1385# --------------------------
1386# Try to compile conftest.$ac_ext, and return whether this succeeded.
1387ac_fn_c_try_compile ()
1388{
1389 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1390 rm -f conftest.$ac_objext
1391 if { { ac_try="$ac_compile"
1392case "(($ac_try" in
1393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394 *) ac_try_echo=$ac_try;;
1395esac
1396eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397$as_echo "$ac_try_echo"; } >&5
1398 (eval "$ac_compile") 2>conftest.err
1399 ac_status=$?
1400 if test -s conftest.err; then
1401 grep -v '^ *+' conftest.err >conftest.er1
1402 cat conftest.er1 >&5
1403 mv -f conftest.er1 conftest.err
1404 fi
1405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406 test $ac_status = 0; } && {
1407 test -z "$ac_c_werror_flag" ||
1408 test ! -s conftest.err
1409 } && test -s conftest.$ac_objext; then :
1410 ac_retval=0
1411else
1412 $as_echo "$as_me: failed program was:" >&5
1413sed 's/^/| /' conftest.$ac_ext >&5
1414
1415 ac_retval=1
1416fi
1417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1418 as_fn_set_status $ac_retval
1419
1420} # ac_fn_c_try_compile
1421
1422# ac_fn_c_try_cpp LINENO
1423# ----------------------
1424# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1425ac_fn_c_try_cpp ()
1426{
1427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428 if { { ac_try="$ac_cpp conftest.$ac_ext"
1429case "(($ac_try" in
1430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431 *) ac_try_echo=$ac_try;;
1432esac
1433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434$as_echo "$ac_try_echo"; } >&5
1435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1436 ac_status=$?
1437 if test -s conftest.err; then
1438 grep -v '^ *+' conftest.err >conftest.er1
1439 cat conftest.er1 >&5
1440 mv -f conftest.er1 conftest.err
1441 fi
1442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 test $ac_status = 0; } > conftest.i && {
1444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1445 test ! -s conftest.err
1446 }; then :
1447 ac_retval=0
1448else
1449 $as_echo "$as_me: failed program was:" >&5
1450sed 's/^/| /' conftest.$ac_ext >&5
1451
1452 ac_retval=1
1453fi
1454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455 as_fn_set_status $ac_retval
1456
1457} # ac_fn_c_try_cpp
1458cat >config.log <<_ACEOF
1459This file contains any messages produced by compilers while
1460running configure, to aid debugging if configure makes a mistake.
1461
1462It was created by tdbcli $as_me 1.0, which was
1463generated by GNU Autoconf 2.68. Invocation command line was
1464
1465 $ $0 $@
1466
1467_ACEOF
1468exec 5>>config.log
1469{
1470cat <<_ASUNAME
1471## --------- ##
1472## Platform. ##
1473## --------- ##
1474
1475hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1476uname -m = `(uname -m) 2>/dev/null || echo unknown`
1477uname -r = `(uname -r) 2>/dev/null || echo unknown`
1478uname -s = `(uname -s) 2>/dev/null || echo unknown`
1479uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480
1481/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1482/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483
1484/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1485/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1486/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1487/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1488/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1489/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1490/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491
1492_ASUNAME
1493
1494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495for as_dir in $PATH
1496do
1497 IFS=$as_save_IFS
1498 test -z "$as_dir" && as_dir=.
1499 $as_echo "PATH: $as_dir"
1500 done
1501IFS=$as_save_IFS
1502
1503} >&5
1504
1505cat >&5 <<_ACEOF
1506
1507
1508## ----------- ##
1509## Core tests. ##
1510## ----------- ##
1511
1512_ACEOF
1513
1514
1515# Keep a trace of the command line.
1516# Strip out --no-create and --no-recursion so they do not pile up.
1517# Strip out --silent because we don't want to record it for future runs.
1518# Also quote any args containing shell meta-characters.
1519# Make two passes to allow for proper duplicate-argument suppression.
1520ac_configure_args=
1521ac_configure_args0=
1522ac_configure_args1=
1523ac_must_keep_next=false
1524for ac_pass in 1 2
1525do
1526 for ac_arg
1527 do
1528 case $ac_arg in
1529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531 | -silent | --silent | --silen | --sile | --sil)
1532 continue ;;
1533 *\'*)
1534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535 esac
1536 case $ac_pass in
1537 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1538 2)
1539 as_fn_append ac_configure_args1 " '$ac_arg'"
1540 if test $ac_must_keep_next = true; then
1541 ac_must_keep_next=false # Got value, back to normal.
1542 else
1543 case $ac_arg in
1544 *=* | --config-cache | -C | -disable-* | --disable-* \
1545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1547 | -with-* | --with-* | -without-* | --without-* | --x)
1548 case "$ac_configure_args0 " in
1549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 esac
1551 ;;
1552 -* ) ac_must_keep_next=true ;;
1553 esac
1554 fi
1555 as_fn_append ac_configure_args " '$ac_arg'"
1556 ;;
1557 esac
1558 done
1559done
1560{ ac_configure_args0=; unset ac_configure_args0;}
1561{ ac_configure_args1=; unset ac_configure_args1;}
1562
1563# When interrupted or exit'd, cleanup temporary files, and complete
1564# config.log. We remove comments because anyway the quotes in there
1565# would cause problems or look ugly.
1566# WARNING: Use '\'' to represent an apostrophe within the trap.
1567# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1570 {
1571 echo
1572
1573 $as_echo "## ---------------- ##
1574## Cache variables. ##
1575## ---------------- ##"
1576 echo
1577 # The following way of writing the cache mishandles newlines in values,
1578(
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1581 case $ac_val in #(
1582 *${as_nl}*)
1583 case $ac_var in #(
1584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1585$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1586 esac
1587 case $ac_var in #(
1588 _ | IFS | as_nl) ;; #(
1589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1590 *) { eval $ac_var=; unset $ac_var;} ;;
1591 esac ;;
1592 esac
1593 done
1594 (set) 2>&1 |
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1597 sed -n \
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 ;; #(
1601 *)
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1603 ;;
1604 esac |
1605 sort
1606)
1607 echo
1608
1609 $as_echo "## ----------------- ##
1610## Output variables. ##
1611## ----------------- ##"
1612 echo
1613 for ac_var in $ac_subst_vars
1614 do
1615 eval ac_val=\$$ac_var
1616 case $ac_val in
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 esac
1619 $as_echo "$ac_var='\''$ac_val'\''"
1620 done | sort
1621 echo
1622
1623 if test -n "$ac_subst_files"; then
1624 $as_echo "## ------------------- ##
1625## File substitutions. ##
1626## ------------------- ##"
1627 echo
1628 for ac_var in $ac_subst_files
1629 do
1630 eval ac_val=\$$ac_var
1631 case $ac_val in
1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac
1634 $as_echo "$ac_var='\''$ac_val'\''"
1635 done | sort
1636 echo
1637 fi
1638
1639 if test -s confdefs.h; then
1640 $as_echo "## ----------- ##
1641## confdefs.h. ##
1642## ----------- ##"
1643 echo
1644 cat confdefs.h
1645 echo
1646 fi
1647 test "$ac_signal" != 0 &&
1648 $as_echo "$as_me: caught signal $ac_signal"
1649 $as_echo "$as_me: exit $exit_status"
1650 } >&5
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1653 exit $exit_status
1654' 0
1655for ac_signal in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1657done
1658ac_signal=0
1659
1660# confdefs.h avoids OS command line length limits that DEFS can exceed.
1661rm -f -r conftest* confdefs.h
1662
1663$as_echo "/* confdefs.h */" > confdefs.h
1664
1665# Predefined preprocessor variables.
1666
1667cat >>confdefs.h <<_ACEOF
1668#define PACKAGE_NAME "$PACKAGE_NAME"
1669_ACEOF
1670
1671cat >>confdefs.h <<_ACEOF
1672#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1673_ACEOF
1674
1675cat >>confdefs.h <<_ACEOF
1676#define PACKAGE_VERSION "$PACKAGE_VERSION"
1677_ACEOF
1678
1679cat >>confdefs.h <<_ACEOF
1680#define PACKAGE_STRING "$PACKAGE_STRING"
1681_ACEOF
1682
1683cat >>confdefs.h <<_ACEOF
1684#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1685_ACEOF
1686
1687cat >>confdefs.h <<_ACEOF
1688#define PACKAGE_URL "$PACKAGE_URL"
1689_ACEOF
1690
1691
1692# Let the site file select an alternate cache file if it wants to.
1693# Prefer an explicitly selected file to automatically selected ones.
1694ac_site_file1=NONE
1695ac_site_file2=NONE
1696if test -n "$CONFIG_SITE"; then
1697 # We do not want a PATH search for config.site.
1698 case $CONFIG_SITE in #((
1699 -*) ac_site_file1=./$CONFIG_SITE;;
1700 */*) ac_site_file1=$CONFIG_SITE;;
1701 *) ac_site_file1=./$CONFIG_SITE;;
1702 esac
1703elif test "x$prefix" != xNONE; then
1704 ac_site_file1=$prefix/share/config.site
1705 ac_site_file2=$prefix/etc/config.site
1706else
1707 ac_site_file1=$ac_default_prefix/share/config.site
1708 ac_site_file2=$ac_default_prefix/etc/config.site
1709fi
1710for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1711do
1712 test "x$ac_site_file" = xNONE && continue
1713 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1715$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1716 sed 's/^/| /' "$ac_site_file" >&5
1717 . "$ac_site_file" \
1718 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1720as_fn_error $? "failed to load site script $ac_site_file
1721See \`config.log' for more details" "$LINENO" 5; }
1722 fi
1723done
1724
1725if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special files
1727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1730$as_echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1735 fi
1736else
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1738$as_echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1740fi
1741
1742# Check that the precious variables saved in the cache have kept the same
1743# value.
1744ac_cache_corrupted=false
1745for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1757$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1760 *)
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 # differences in whitespace do not lead to failure.
1763 ac_old_val_w=`echo x $ac_old_val`
1764 ac_new_val_w=`echo x $ac_new_val`
1765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1767$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 ac_cache_corrupted=:
1769 else
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1771$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772 eval $ac_var=\$ac_old_val
1773 fi
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1775$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1777$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1778 fi;;
1779 esac
1780 # Pass precious variables to config.status.
1781 if test "$ac_new_set" = set; then
1782 case $ac_new_val in
1783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 *) ac_arg=$ac_var=$ac_new_val ;;
1785 esac
1786 case " $ac_configure_args " in
1787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1789 esac
1790 fi
1791done
1792if $ac_cache_corrupted; then
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1796$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1798fi
1799## -------------------- ##
1800## Main body of script. ##
1801## -------------------- ##
1802
1803ac_ext=c
1804ac_cpp='$CPP $CPPFLAGS'
1805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808
1809
1810ac_aux_dir=
1811for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1812 if test -f "$ac_dir/install-sh"; then
1813 ac_aux_dir=$ac_dir
1814 ac_install_sh="$ac_aux_dir/install-sh -c"
1815 break
1816 elif test -f "$ac_dir/install.sh"; then
1817 ac_aux_dir=$ac_dir
1818 ac_install_sh="$ac_aux_dir/install.sh -c"
1819 break
1820 elif test -f "$ac_dir/shtool"; then
1821 ac_aux_dir=$ac_dir
1822 ac_install_sh="$ac_aux_dir/shtool install -c"
1823 break
1824 fi
1825done
1826if test -z "$ac_aux_dir"; then
1827 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1828fi
1829
1830# These three variables are undocumented and unsupported,
1831# and are intended to be withdrawn in a future Autoconf release.
1832# They can cause serious problems if a builder's source tree is in a directory
1833# whose full name contains unusual characters.
1834ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1835ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1836ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1837
1838
1839# Make sure we can run config.sub.
1840$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1841 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1842
1843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1844$as_echo_n "checking build system type... " >&6; }
1845if ${ac_cv_build+:} false; then :
1846 $as_echo_n "(cached) " >&6
1847else
1848 ac_build_alias=$build_alias
1849test "x$ac_build_alias" = x &&
1850 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1851test "x$ac_build_alias" = x &&
1852 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1853ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1854 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1855
1856fi
1857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1858$as_echo "$ac_cv_build" >&6; }
1859case $ac_cv_build in
1860*-*-*) ;;
1861*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1862esac
1863build=$ac_cv_build
1864ac_save_IFS=$IFS; IFS='-'
1865set x $ac_cv_build
1866shift
1867build_cpu=$1
1868build_vendor=$2
1869shift; shift
1870# Remember, the first character of IFS is used to create $*,
1871# except with old shells:
1872build_os=$*
1873IFS=$ac_save_IFS
1874case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1875
1876
1877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1878$as_echo_n "checking host system type... " >&6; }
1879if ${ac_cv_host+:} false; then :
1880 $as_echo_n "(cached) " >&6
1881else
1882 if test "x$host_alias" = x; then
1883 ac_cv_host=$ac_cv_build
1884else
1885 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1886 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1887fi
1888
1889fi
1890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1891$as_echo "$ac_cv_host" >&6; }
1892case $ac_cv_host in
1893*-*-*) ;;
1894*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1895esac
1896host=$ac_cv_host
1897ac_save_IFS=$IFS; IFS='-'
1898set x $ac_cv_host
1899shift
1900host_cpu=$1
1901host_vendor=$2
1902shift; shift
1903# Remember, the first character of IFS is used to create $*,
1904# except with old shells:
1905host_os=$*
1906IFS=$ac_save_IFS
1907case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1908
1909
1910
1911ac_config_headers="$ac_config_headers config.h"
1912
1913
1914# Checks for programs.
1915ac_ext=cpp
1916ac_cpp='$CXXCPP $CPPFLAGS'
1917ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1920if test -z "$CXX"; then
1921 if test -n "$CCC"; then
1922 CXX=$CCC
1923 else
1924 if test -n "$ac_tool_prefix"; then
1925 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1926 do
1927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1928set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1930$as_echo_n "checking for $ac_word... " >&6; }
1931if ${ac_cv_prog_CXX+:} false; then :
1932 $as_echo_n "(cached) " >&6
1933else
1934 if test -n "$CXX"; then
1935 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1936else
1937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH
1939do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1947 fi
1948done
1949 done
1950IFS=$as_save_IFS
1951
1952fi
1953fi
1954CXX=$ac_cv_prog_CXX
1955if test -n "$CXX"; then
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1957$as_echo "$CXX" >&6; }
1958else
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1960$as_echo "no" >&6; }
1961fi
1962
1963
1964 test -n "$CXX" && break
1965 done
1966fi
1967if test -z "$CXX"; then
1968 ac_ct_CXX=$CXX
1969 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1970do
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972set dummy $ac_prog; ac_word=$2
1973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1974$as_echo_n "checking for $ac_word... " >&6; }
1975if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1976 $as_echo_n "(cached) " >&6
1977else
1978 if test -n "$ac_ct_CXX"; then
1979 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1980else
1981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982for as_dir in $PATH
1983do
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_ac_ct_CXX="$ac_prog"
1989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 break 2
1991 fi
1992done
1993 done
1994IFS=$as_save_IFS
1995
1996fi
1997fi
1998ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1999if test -n "$ac_ct_CXX"; then
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2001$as_echo "$ac_ct_CXX" >&6; }
2002else
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2004$as_echo "no" >&6; }
2005fi
2006
2007
2008 test -n "$ac_ct_CXX" && break
2009done
2010
2011 if test "x$ac_ct_CXX" = x; then
2012 CXX="g++"
2013 else
2014 case $cross_compiling:$ac_tool_warned in
2015yes:)
2016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2018ac_tool_warned=yes ;;
2019esac
2020 CXX=$ac_ct_CXX
2021 fi
2022fi
2023
2024 fi
2025fi
2026# Provide some information about the compiler.
2027$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2028set X $ac_compile
2029ac_compiler=$2
2030for ac_option in --version -v -V -qversion; do
2031 { { ac_try="$ac_compiler $ac_option >&5"
2032case "(($ac_try" in
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2035esac
2036eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037$as_echo "$ac_try_echo"; } >&5
2038 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2039 ac_status=$?
2040 if test -s conftest.err; then
2041 sed '10a\
2042... rest of stderr output deleted ...
2043 10q' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 fi
2046 rm -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; }
2049done
2050
2051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052/* end confdefs.h. */
2053
2054int
2055main ()
2056{
2057
2058 ;
2059 return 0;
2060}
2061_ACEOF
2062ac_clean_files_save=$ac_clean_files
2063ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2064# Try to create an executable without -o first, disregard a.out.
2065# It will help us diagnose broken compilers, and finding out an intuition
2066# of exeext.
2067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2068$as_echo_n "checking whether the C++ compiler works... " >&6; }
2069ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2070
2071# The possible output files:
2072ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2073
2074ac_rmfiles=
2075for ac_file in $ac_files
2076do
2077 case $ac_file in
2078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2079 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2080 esac
2081done
2082rm -f $ac_rmfiles
2083
2084if { { ac_try="$ac_link_default"
2085case "(($ac_try" in
2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2088esac
2089eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090$as_echo "$ac_try_echo"; } >&5
2091 (eval "$ac_link_default") 2>&5
2092 ac_status=$?
2093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2094 test $ac_status = 0; }; then :
2095 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2096# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2097# in a Makefile. We should not override ac_cv_exeext if it was cached,
2098# so that the user can short-circuit this test for compilers unknown to
2099# Autoconf.
2100for ac_file in $ac_files ''
2101do
2102 test -f "$ac_file" || continue
2103 case $ac_file in
2104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2105 ;;
2106 [ab].out )
2107 # We found the default executable, but exeext='' is most
2108 # certainly right.
2109 break;;
2110 *.* )
2111 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2112 then :; else
2113 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2114 fi
2115 # We set ac_cv_exeext here because the later test for it is not
2116 # safe: cross compilers may not add the suffix if given an `-o'
2117 # argument, so we may need to know it at that point already.
2118 # Even if this section looks crufty: it has the advantage of
2119 # actually working.
2120 break;;
2121 * )
2122 break;;
2123 esac
2124done
2125test "$ac_cv_exeext" = no && ac_cv_exeext=
2126
2127else
2128 ac_file=''
2129fi
2130if test -z "$ac_file"; then :
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2132$as_echo "no" >&6; }
2133$as_echo "$as_me: failed program was:" >&5
2134sed 's/^/| /' conftest.$ac_ext >&5
2135
2136{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138as_fn_error 77 "C++ compiler cannot create executables
2139See \`config.log' for more details" "$LINENO" 5; }
2140else
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2142$as_echo "yes" >&6; }
2143fi
2144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2145$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2147$as_echo "$ac_file" >&6; }
2148ac_exeext=$ac_cv_exeext
2149
2150rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2151ac_clean_files=$ac_clean_files_save
2152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2153$as_echo_n "checking for suffix of executables... " >&6; }
2154if { { ac_try="$ac_link"
2155case "(($ac_try" in
2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157 *) ac_try_echo=$ac_try;;
2158esac
2159eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160$as_echo "$ac_try_echo"; } >&5
2161 (eval "$ac_link") 2>&5
2162 ac_status=$?
2163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2164 test $ac_status = 0; }; then :
2165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2166# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2167# work properly (i.e., refer to `conftest.exe'), while it won't with
2168# `rm'.
2169for ac_file in conftest.exe conftest conftest.*; do
2170 test -f "$ac_file" || continue
2171 case $ac_file in
2172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2173 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2174 break;;
2175 * ) break;;
2176 esac
2177done
2178else
2179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2182See \`config.log' for more details" "$LINENO" 5; }
2183fi
2184rm -f conftest conftest$ac_cv_exeext
2185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2186$as_echo "$ac_cv_exeext" >&6; }
2187
2188rm -f conftest.$ac_ext
2189EXEEXT=$ac_cv_exeext
2190ac_exeext=$EXEEXT
2191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192/* end confdefs.h. */
2193#include <stdio.h>
2194int
2195main ()
2196{
2197FILE *f = fopen ("conftest.out", "w");
2198 return ferror (f) || fclose (f) != 0;
2199
2200 ;
2201 return 0;
2202}
2203_ACEOF
2204ac_clean_files="$ac_clean_files conftest.out"
2205# Check that the compiler produces executables we can run. If not, either
2206# the compiler is broken, or we cross compile.
2207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2208$as_echo_n "checking whether we are cross compiling... " >&6; }
2209if test "$cross_compiling" != yes; then
2210 { { ac_try="$ac_link"
2211case "(($ac_try" in
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2214esac
2215eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216$as_echo "$ac_try_echo"; } >&5
2217 (eval "$ac_link") 2>&5
2218 ac_status=$?
2219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2220 test $ac_status = 0; }
2221 if { ac_try='./conftest$ac_cv_exeext'
2222 { { case "(($ac_try" in
2223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2225esac
2226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227$as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_try") 2>&5
2229 ac_status=$?
2230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2231 test $ac_status = 0; }; }; then
2232 cross_compiling=no
2233 else
2234 if test "$cross_compiling" = maybe; then
2235 cross_compiling=yes
2236 else
2237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239as_fn_error $? "cannot run C++ compiled programs.
2240If you meant to cross compile, use \`--host'.
2241See \`config.log' for more details" "$LINENO" 5; }
2242 fi
2243 fi
2244fi
2245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2246$as_echo "$cross_compiling" >&6; }
2247
2248rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2249ac_clean_files=$ac_clean_files_save
2250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2251$as_echo_n "checking for suffix of object files... " >&6; }
2252if ${ac_cv_objext+:} false; then :
2253 $as_echo_n "(cached) " >&6
2254else
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256/* end confdefs.h. */
2257
2258int
2259main ()
2260{
2261
2262 ;
2263 return 0;
2264}
2265_ACEOF
2266rm -f conftest.o conftest.obj
2267if { { ac_try="$ac_compile"
2268case "(($ac_try" in
2269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2270 *) ac_try_echo=$ac_try;;
2271esac
2272eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2273$as_echo "$ac_try_echo"; } >&5
2274 (eval "$ac_compile") 2>&5
2275 ac_status=$?
2276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2277 test $ac_status = 0; }; then :
2278 for ac_file in conftest.o conftest.obj conftest.*; do
2279 test -f "$ac_file" || continue;
2280 case $ac_file in
2281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2282 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2283 break;;
2284 esac
2285done
2286else
2287 $as_echo "$as_me: failed program was:" >&5
2288sed 's/^/| /' conftest.$ac_ext >&5
2289
2290{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2292as_fn_error $? "cannot compute suffix of object files: cannot compile
2293See \`config.log' for more details" "$LINENO" 5; }
2294fi
2295rm -f conftest.$ac_cv_objext conftest.$ac_ext
2296fi
2297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2298$as_echo "$ac_cv_objext" >&6; }
2299OBJEXT=$ac_cv_objext
2300ac_objext=$OBJEXT
2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2302$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2303if ${ac_cv_cxx_compiler_gnu+:} false; then :
2304 $as_echo_n "(cached) " >&6
2305else
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307/* end confdefs.h. */
2308
2309int
2310main ()
2311{
2312#ifndef __GNUC__
2313 choke me
2314#endif
2315
2316 ;
2317 return 0;
2318}
2319_ACEOF
2320if ac_fn_cxx_try_compile "$LINENO"; then :
2321 ac_compiler_gnu=yes
2322else
2323 ac_compiler_gnu=no
2324fi
2325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2327
2328fi
2329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2330$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2331if test $ac_compiler_gnu = yes; then
2332 GXX=yes
2333else
2334 GXX=
2335fi
2336ac_test_CXXFLAGS=${CXXFLAGS+set}
2337ac_save_CXXFLAGS=$CXXFLAGS
2338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2339$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2340if ${ac_cv_prog_cxx_g+:} false; then :
2341 $as_echo_n "(cached) " >&6
2342else
2343 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2344 ac_cxx_werror_flag=yes
2345 ac_cv_prog_cxx_g=no
2346 CXXFLAGS="-g"
2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348/* end confdefs.h. */
2349
2350int
2351main ()
2352{
2353
2354 ;
2355 return 0;
2356}
2357_ACEOF
2358if ac_fn_cxx_try_compile "$LINENO"; then :
2359 ac_cv_prog_cxx_g=yes
2360else
2361 CXXFLAGS=""
2362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363/* end confdefs.h. */
2364
2365int
2366main ()
2367{
2368
2369 ;
2370 return 0;
2371}
2372_ACEOF
2373if ac_fn_cxx_try_compile "$LINENO"; then :
2374
2375else
2376 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2377 CXXFLAGS="-g"
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379/* end confdefs.h. */
2380
2381int
2382main ()
2383{
2384
2385 ;
2386 return 0;
2387}
2388_ACEOF
2389if ac_fn_cxx_try_compile "$LINENO"; then :
2390 ac_cv_prog_cxx_g=yes
2391fi
2392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2393fi
2394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395fi
2396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2398fi
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2400$as_echo "$ac_cv_prog_cxx_g" >&6; }
2401if test "$ac_test_CXXFLAGS" = set; then
2402 CXXFLAGS=$ac_save_CXXFLAGS
2403elif test $ac_cv_prog_cxx_g = yes; then
2404 if test "$GXX" = yes; then
2405 CXXFLAGS="-g -O2"
2406 else
2407 CXXFLAGS="-g"
2408 fi
2409else
2410 if test "$GXX" = yes; then
2411 CXXFLAGS="-O2"
2412 else
2413 CXXFLAGS=
2414 fi
2415fi
2416ac_ext=c
2417ac_cpp='$CPP $CPPFLAGS'
2418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421
2422ac_ext=c
2423ac_cpp='$CPP $CPPFLAGS'
2424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2426ac_compiler_gnu=$ac_cv_c_compiler_gnu
2427if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2429set dummy ${ac_tool_prefix}gcc; ac_word=$2
2430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431$as_echo_n "checking for $ac_word... " >&6; }
2432if ${ac_cv_prog_CC+:} false; then :
2433 $as_echo_n "(cached) " >&6
2434else
2435 if test -n "$CC"; then
2436 ac_cv_prog_CC="$CC" # Let the user override the test.
2437else
2438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439for as_dir in $PATH
2440do
2441 IFS=$as_save_IFS
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 break 2
2448 fi
2449done
2450 done
2451IFS=$as_save_IFS
2452
2453fi
2454fi
2455CC=$ac_cv_prog_CC
2456if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458$as_echo "$CC" >&6; }
2459else
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461$as_echo "no" >&6; }
2462fi
2463
2464
2465fi
2466if test -z "$ac_cv_prog_CC"; then
2467 ac_ct_CC=$CC
2468 # Extract the first word of "gcc", so it can be a program name with args.
2469set dummy gcc; ac_word=$2
2470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471$as_echo_n "checking for $ac_word... " >&6; }
2472if ${ac_cv_prog_ac_ct_CC+:} false; then :
2473 $as_echo_n "(cached) " >&6
2474else
2475 if test -n "$ac_ct_CC"; then
2476 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2477else
2478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479for as_dir in $PATH
2480do
2481 IFS=$as_save_IFS
2482 test -z "$as_dir" && as_dir=.
2483 for ac_exec_ext in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_ac_ct_CC="gcc"
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 break 2
2488 fi
2489done
2490 done
2491IFS=$as_save_IFS
2492
2493fi
2494fi
2495ac_ct_CC=$ac_cv_prog_ac_ct_CC
2496if test -n "$ac_ct_CC"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2498$as_echo "$ac_ct_CC" >&6; }
2499else
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501$as_echo "no" >&6; }
2502fi
2503
2504 if test "x$ac_ct_CC" = x; then
2505 CC=""
2506 else
2507 case $cross_compiling:$ac_tool_warned in
2508yes:)
2509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511ac_tool_warned=yes ;;
2512esac
2513 CC=$ac_ct_CC
2514 fi
2515else
2516 CC="$ac_cv_prog_CC"
2517fi
2518
2519if test -z "$CC"; then
2520 if test -n "$ac_tool_prefix"; then
2521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2522set dummy ${ac_tool_prefix}cc; ac_word=$2
2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524$as_echo_n "checking for $ac_word... " >&6; }
2525if ${ac_cv_prog_CC+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527else
2528 if test -n "$CC"; then
2529 ac_cv_prog_CC="$CC" # Let the user override the test.
2530else
2531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532for as_dir in $PATH
2533do
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_CC="${ac_tool_prefix}cc"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 2
2541 fi
2542done
2543 done
2544IFS=$as_save_IFS
2545
2546fi
2547fi
2548CC=$ac_cv_prog_CC
2549if test -n "$CC"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2551$as_echo "$CC" >&6; }
2552else
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554$as_echo "no" >&6; }
2555fi
2556
2557
2558 fi
2559fi
2560if test -z "$CC"; then
2561 # Extract the first word of "cc", so it can be a program name with args.
2562set dummy cc; ac_word=$2
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564$as_echo_n "checking for $ac_word... " >&6; }
2565if ${ac_cv_prog_CC+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567else
2568 if test -n "$CC"; then
2569 ac_cv_prog_CC="$CC" # Let the user override the test.
2570else
2571 ac_prog_rejected=no
2572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573for as_dir in $PATH
2574do
2575 IFS=$as_save_IFS
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2580 ac_prog_rejected=yes
2581 continue
2582 fi
2583 ac_cv_prog_CC="cc"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 break 2
2586 fi
2587done
2588 done
2589IFS=$as_save_IFS
2590
2591if test $ac_prog_rejected = yes; then
2592 # We found a bogon in the path, so make sure we never use it.
2593 set dummy $ac_cv_prog_CC
2594 shift
2595 if test $# != 0; then
2596 # We chose a different compiler from the bogus one.
2597 # However, it has the same basename, so the bogon will be chosen
2598 # first if we set CC to just the basename; use the full file name.
2599 shift
2600 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2601 fi
2602fi
2603fi
2604fi
2605CC=$ac_cv_prog_CC
2606if test -n "$CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2608$as_echo "$CC" >&6; }
2609else
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611$as_echo "no" >&6; }
2612fi
2613
2614
2615fi
2616if test -z "$CC"; then
2617 if test -n "$ac_tool_prefix"; then
2618 for ac_prog in cl.exe
2619 do
2620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2621set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623$as_echo_n "checking for $ac_word... " >&6; }
2624if ${ac_cv_prog_CC+:} false; then :
2625 $as_echo_n "(cached) " >&6
2626else
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2629else
2630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631for as_dir in $PATH
2632do
2633 IFS=$as_save_IFS
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2640 fi
2641done
2642 done
2643IFS=$as_save_IFS
2644
2645fi
2646fi
2647CC=$ac_cv_prog_CC
2648if test -n "$CC"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2650$as_echo "$CC" >&6; }
2651else
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653$as_echo "no" >&6; }
2654fi
2655
2656
2657 test -n "$CC" && break
2658 done
2659fi
2660if test -z "$CC"; then
2661 ac_ct_CC=$CC
2662 for ac_prog in cl.exe
2663do
2664 # Extract the first word of "$ac_prog", so it can be a program name with args.
2665set dummy $ac_prog; ac_word=$2
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667$as_echo_n "checking for $ac_word... " >&6; }
2668if ${ac_cv_prog_ac_ct_CC+:} false; then :
2669 $as_echo_n "(cached) " >&6
2670else
2671 if test -n "$ac_ct_CC"; then
2672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2673else
2674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675for as_dir in $PATH
2676do
2677 IFS=$as_save_IFS
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_ac_ct_CC="$ac_prog"
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 break 2
2684 fi
2685done
2686 done
2687IFS=$as_save_IFS
2688
2689fi
2690fi
2691ac_ct_CC=$ac_cv_prog_ac_ct_CC
2692if test -n "$ac_ct_CC"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2694$as_echo "$ac_ct_CC" >&6; }
2695else
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697$as_echo "no" >&6; }
2698fi
2699
2700
2701 test -n "$ac_ct_CC" && break
2702done
2703
2704 if test "x$ac_ct_CC" = x; then
2705 CC=""
2706 else
2707 case $cross_compiling:$ac_tool_warned in
2708yes:)
2709{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2710$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2711ac_tool_warned=yes ;;
2712esac
2713 CC=$ac_ct_CC
2714 fi
2715fi
2716
2717fi
2718
2719
2720test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2722as_fn_error $? "no acceptable C compiler found in \$PATH
2723See \`config.log' for more details" "$LINENO" 5; }
2724
2725# Provide some information about the compiler.
2726$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2727set X $ac_compile
2728ac_compiler=$2
2729for ac_option in --version -v -V -qversion; do
2730 { { ac_try="$ac_compiler $ac_option >&5"
2731case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734esac
2735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736$as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2738 ac_status=$?
2739 if test -s conftest.err; then
2740 sed '10a\
2741... rest of stderr output deleted ...
2742 10q' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 fi
2745 rm -f conftest.er1 conftest.err
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; }
2748done
2749
2750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2751$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2752if ${ac_cv_c_compiler_gnu+:} false; then :
2753 $as_echo_n "(cached) " >&6
2754else
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756/* end confdefs.h. */
2757
2758int
2759main ()
2760{
2761#ifndef __GNUC__
2762 choke me
2763#endif
2764
2765 ;
2766 return 0;
2767}
2768_ACEOF
2769if ac_fn_c_try_compile "$LINENO"; then :
2770 ac_compiler_gnu=yes
2771else
2772 ac_compiler_gnu=no
2773fi
2774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775ac_cv_c_compiler_gnu=$ac_compiler_gnu
2776
2777fi
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2779$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2780if test $ac_compiler_gnu = yes; then
2781 GCC=yes
2782else
2783 GCC=
2784fi
2785ac_test_CFLAGS=${CFLAGS+set}
2786ac_save_CFLAGS=$CFLAGS
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2788$as_echo_n "checking whether $CC accepts -g... " >&6; }
2789if ${ac_cv_prog_cc_g+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791else
2792 ac_save_c_werror_flag=$ac_c_werror_flag
2793 ac_c_werror_flag=yes
2794 ac_cv_prog_cc_g=no
2795 CFLAGS="-g"
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797/* end confdefs.h. */
2798
2799int
2800main ()
2801{
2802
2803 ;
2804 return 0;
2805}
2806_ACEOF
2807if ac_fn_c_try_compile "$LINENO"; then :
2808 ac_cv_prog_cc_g=yes
2809else
2810 CFLAGS=""
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812/* end confdefs.h. */
2813
2814int
2815main ()
2816{
2817
2818 ;
2819 return 0;
2820}
2821_ACEOF
2822if ac_fn_c_try_compile "$LINENO"; then :
2823
2824else
2825 ac_c_werror_flag=$ac_save_c_werror_flag
2826 CFLAGS="-g"
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828/* end confdefs.h. */
2829
2830int
2831main ()
2832{
2833
2834 ;
2835 return 0;
2836}
2837_ACEOF
2838if ac_fn_c_try_compile "$LINENO"; then :
2839 ac_cv_prog_cc_g=yes
2840fi
2841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842fi
2843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844fi
2845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 ac_c_werror_flag=$ac_save_c_werror_flag
2847fi
2848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2849$as_echo "$ac_cv_prog_cc_g" >&6; }
2850if test "$ac_test_CFLAGS" = set; then
2851 CFLAGS=$ac_save_CFLAGS
2852elif test $ac_cv_prog_cc_g = yes; then
2853 if test "$GCC" = yes; then
2854 CFLAGS="-g -O2"
2855 else
2856 CFLAGS="-g"
2857 fi
2858else
2859 if test "$GCC" = yes; then
2860 CFLAGS="-O2"
2861 else
2862 CFLAGS=
2863 fi
2864fi
2865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2866$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2867if ${ac_cv_prog_cc_c89+:} false; then :
2868 $as_echo_n "(cached) " >&6
2869else
2870 ac_cv_prog_cc_c89=no
2871ac_save_CC=$CC
2872cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873/* end confdefs.h. */
2874#include <stdarg.h>
2875#include <stdio.h>
2876#include <sys/types.h>
2877#include <sys/stat.h>
2878/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2879struct buf { int x; };
2880FILE * (*rcsopen) (struct buf *, struct stat *, int);
2881static char *e (p, i)
2882 char **p;
2883 int i;
2884{
2885 return p[i];
2886}
2887static char *f (char * (*g) (char **, int), char **p, ...)
2888{
2889 char *s;
2890 va_list v;
2891 va_start (v,p);
2892 s = g (p, va_arg (v,int));
2893 va_end (v);
2894 return s;
2895}
2896
2897/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2898 function prototypes and stuff, but not '\xHH' hex character constants.
2899 These don't provoke an error unfortunately, instead are silently treated
2900 as 'x'. The following induces an error, until -std is added to get
2901 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2902 array size at least. It's necessary to write '\x00'==0 to get something
2903 that's true only with -std. */
2904int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2905
2906/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2907 inside strings and character constants. */
2908#define FOO(x) 'x'
2909int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2910
2911int test (int i, double x);
2912struct s1 {int (*f) (int a);};
2913struct s2 {int (*f) (double a);};
2914int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2915int argc;
2916char **argv;
2917int
2918main ()
2919{
2920return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2921 ;
2922 return 0;
2923}
2924_ACEOF
2925for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2926 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2927do
2928 CC="$ac_save_CC $ac_arg"
2929 if ac_fn_c_try_compile "$LINENO"; then :
2930 ac_cv_prog_cc_c89=$ac_arg
2931fi
2932rm -f core conftest.err conftest.$ac_objext
2933 test "x$ac_cv_prog_cc_c89" != "xno" && break
2934done
2935rm -f conftest.$ac_ext
2936CC=$ac_save_CC
2937
2938fi
2939# AC_CACHE_VAL
2940case "x$ac_cv_prog_cc_c89" in
2941 x)
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2943$as_echo "none needed" >&6; } ;;
2944 xno)
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2946$as_echo "unsupported" >&6; } ;;
2947 *)
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2950$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2951esac
2952if test "x$ac_cv_prog_cc_c89" != xno; then :
2953
2954fi
2955
2956ac_ext=c
2957ac_cpp='$CPP $CPPFLAGS'
2958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961
2962ac_ext=c
2963ac_cpp='$CPP $CPPFLAGS'
2964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2968$as_echo_n "checking how to run the C preprocessor... " >&6; }
2969# On Suns, sometimes $CPP names a directory.
2970if test -n "$CPP" && test -d "$CPP"; then
2971 CPP=
2972fi
2973if test -z "$CPP"; then
2974 if ${ac_cv_prog_CPP+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976else
2977 # Double quotes because CPP needs to be expanded
2978 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2979 do
2980 ac_preproc_ok=false
2981for ac_c_preproc_warn_flag in '' yes
2982do
2983 # Use a header file that comes with gcc, so configuring glibc
2984 # with a fresh cross-compiler works.
2985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2986 # <limits.h> exists even on freestanding compilers.
2987 # On the NeXT, cc -E runs the code through the compiler's parser,
2988 # not just through cpp. "Syntax error" is here to catch this case.
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990/* end confdefs.h. */
2991#ifdef __STDC__
2992# include <limits.h>
2993#else
2994# include <assert.h>
2995#endif
2996 Syntax error
2997_ACEOF
2998if ac_fn_c_try_cpp "$LINENO"; then :
2999
3000else
3001 # Broken: fails on valid input.
3002continue
3003fi
3004rm -f conftest.err conftest.i conftest.$ac_ext
3005
3006 # OK, works on sane cases. Now check whether nonexistent headers
3007 # can be detected and how.
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009/* end confdefs.h. */
3010#include <ac_nonexistent.h>
3011_ACEOF
3012if ac_fn_c_try_cpp "$LINENO"; then :
3013 # Broken: success on invalid input.
3014continue
3015else
3016 # Passes both tests.
3017ac_preproc_ok=:
3018break
3019fi
3020rm -f conftest.err conftest.i conftest.$ac_ext
3021
3022done
3023# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3024rm -f conftest.i conftest.err conftest.$ac_ext
3025if $ac_preproc_ok; then :
3026 break
3027fi
3028
3029 done
3030 ac_cv_prog_CPP=$CPP
3031
3032fi
3033 CPP=$ac_cv_prog_CPP
3034else
3035 ac_cv_prog_CPP=$CPP
3036fi
3037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3038$as_echo "$CPP" >&6; }
3039ac_preproc_ok=false
3040for ac_c_preproc_warn_flag in '' yes
3041do
3042 # Use a header file that comes with gcc, so configuring glibc
3043 # with a fresh cross-compiler works.
3044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3045 # <limits.h> exists even on freestanding compilers.
3046 # On the NeXT, cc -E runs the code through the compiler's parser,
3047 # not just through cpp. "Syntax error" is here to catch this case.
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049/* end confdefs.h. */
3050#ifdef __STDC__
3051# include <limits.h>
3052#else
3053# include <assert.h>
3054#endif
3055 Syntax error
3056_ACEOF
3057if ac_fn_c_try_cpp "$LINENO"; then :
3058
3059else
3060 # Broken: fails on valid input.
3061continue
3062fi
3063rm -f conftest.err conftest.i conftest.$ac_ext
3064
3065 # OK, works on sane cases. Now check whether nonexistent headers
3066 # can be detected and how.
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068/* end confdefs.h. */
3069#include <ac_nonexistent.h>
3070_ACEOF
3071if ac_fn_c_try_cpp "$LINENO"; then :
3072 # Broken: success on invalid input.
3073continue
3074else
3075 # Passes both tests.
3076ac_preproc_ok=:
3077break
3078fi
3079rm -f conftest.err conftest.i conftest.$ac_ext
3080
3081done
3082# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3083rm -f conftest.i conftest.err conftest.$ac_ext
3084if $ac_preproc_ok; then :
3085
3086else
3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3090See \`config.log' for more details" "$LINENO" 5; }
3091fi
3092
3093ac_ext=c
3094ac_cpp='$CPP $CPPFLAGS'
3095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098
3099
3100# Checks for libraries.
3101
3102# Checks for header files.
3103
3104# Checks for typedefs, structures, and compiler characteristics.
3105
3106# Checks for library functions.
3107
3108# Completion
3109ac_config_files="$ac_config_files Makefile"
3110
3111cat >confcache <<\_ACEOF
3112# This file is a shell script that caches the results of configure
3113# tests run on this system so they can be shared between configure
3114# scripts and configure runs, see configure's option --config-cache.
3115# It is not useful on other systems. If it contains results you don't
3116# want to keep, you may remove or edit it.
3117#
3118# config.status only pays attention to the cache file if you give it
3119# the --recheck option to rerun configure.
3120#
3121# `ac_cv_env_foo' variables (set or unset) will be overridden when
3122# loading this file, other *unset* `ac_cv_foo' will be assigned the
3123# following values.
3124
3125_ACEOF
3126
3127# The following way of writing the cache mishandles newlines in values,
3128# but we know of no workaround that is simple, portable, and efficient.
3129# So, we kill variables containing newlines.
3130# Ultrix sh set writes to stderr and can't be redirected directly,
3131# and sets the high bit in the cache file unless we assign to the vars.
3132(
3133 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3134 eval ac_val=\$$ac_var
3135 case $ac_val in #(
3136 *${as_nl}*)
3137 case $ac_var in #(
3138 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3139$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3140 esac
3141 case $ac_var in #(
3142 _ | IFS | as_nl) ;; #(
3143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3144 *) { eval $ac_var=; unset $ac_var;} ;;
3145 esac ;;
3146 esac
3147 done
3148
3149 (set) 2>&1 |
3150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3151 *${as_nl}ac_space=\ *)
3152 # `set' does not quote correctly, so add quotes: double-quote
3153 # substitution turns \\\\ into \\, and sed turns \\ into \.
3154 sed -n \
3155 "s/'/'\\\\''/g;
3156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3157 ;; #(
3158 *)
3159 # `set' quotes correctly as required by POSIX, so do not add quotes.
3160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3161 ;;
3162 esac |
3163 sort
3164) |
3165 sed '
3166 /^ac_cv_env_/b end
3167 t clear
3168 :clear
3169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3170 t end
3171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3172 :end' >>confcache
3173if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3174 if test -w "$cache_file"; then
3175 if test "x$cache_file" != "x/dev/null"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3177$as_echo "$as_me: updating cache $cache_file" >&6;}
3178 if test ! -f "$cache_file" || test -h "$cache_file"; then
3179 cat confcache >"$cache_file"
3180 else
3181 case $cache_file in #(
3182 */* | ?:*)
3183 mv -f confcache "$cache_file"$$ &&
3184 mv -f "$cache_file"$$ "$cache_file" ;; #(
3185 *)
3186 mv -f confcache "$cache_file" ;;
3187 esac
3188 fi
3189 fi
3190 else
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3192$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3193 fi
3194fi
3195rm -f confcache
3196
3197test "x$prefix" = xNONE && prefix=$ac_default_prefix
3198# Let make expand exec_prefix.
3199test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3200
3201DEFS=-DHAVE_CONFIG_H
3202
3203ac_libobjs=
3204ac_ltlibobjs=
3205U=
3206for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3207 # 1. Remove the extension, and $U if already installed.
3208 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3209 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3210 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3211 # will be set to the directory where LIBOBJS objects are built.
3212 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3213 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3214done
3215LIBOBJS=$ac_libobjs
3216
3217LTLIBOBJS=$ac_ltlibobjs
3218
3219
3220
3221: "${CONFIG_STATUS=./config.status}"
3222ac_write_fail=0
3223ac_clean_files_save=$ac_clean_files
3224ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3225{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3226$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3227as_write_fail=0
3228cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3229#! $SHELL
3230# Generated by $as_me.
3231# Run this file to recreate the current configuration.
3232# Compiler output produced by configure, useful for debugging
3233# configure, is in config.log if it exists.
3234
3235debug=false
3236ac_cs_recheck=false
3237ac_cs_silent=false
3238
3239SHELL=\${CONFIG_SHELL-$SHELL}
3240export SHELL
3241_ASEOF
3242cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3243## -------------------- ##
3244## M4sh Initialization. ##
3245## -------------------- ##
3246
3247# Be more Bourne compatible
3248DUALCASE=1; export DUALCASE # for MKS sh
3249if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3250 emulate sh
3251 NULLCMD=:
3252 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3253 # is contrary to our usage. Disable this feature.
3254 alias -g '${1+"$@"}'='"$@"'
3255 setopt NO_GLOB_SUBST
3256else
3257 case `(set -o) 2>/dev/null` in #(
3258 *posix*) :
3259 set -o posix ;; #(
3260 *) :
3261 ;;
3262esac
3263fi
3264
3265
3266as_nl='
3267'
3268export as_nl
3269# Printing a long string crashes Solaris 7 /usr/bin/printf.
3270as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3271as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3272as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3273# Prefer a ksh shell builtin over an external printf program on Solaris,
3274# but without wasting forks for bash or zsh.
3275if test -z "$BASH_VERSION$ZSH_VERSION" \
3276 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3277 as_echo='print -r --'
3278 as_echo_n='print -rn --'
3279elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3280 as_echo='printf %s\n'
3281 as_echo_n='printf %s'
3282else
3283 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3284 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3285 as_echo_n='/usr/ucb/echo -n'
3286 else
3287 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3288 as_echo_n_body='eval
3289 arg=$1;
3290 case $arg in #(
3291 *"$as_nl"*)
3292 expr "X$arg" : "X\\(.*\\)$as_nl";
3293 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3294 esac;
3295 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3296 '
3297 export as_echo_n_body
3298 as_echo_n='sh -c $as_echo_n_body as_echo'
3299 fi
3300 export as_echo_body
3301 as_echo='sh -c $as_echo_body as_echo'
3302fi
3303
3304# The user is always right.
3305if test "${PATH_SEPARATOR+set}" != set; then
3306 PATH_SEPARATOR=:
3307 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3308 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3309 PATH_SEPARATOR=';'
3310 }
3311fi
3312
3313
3314# IFS
3315# We need space, tab and new line, in precisely that order. Quoting is
3316# there to prevent editors from complaining about space-tab.
3317# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3318# splitting by setting IFS to empty value.)
3319IFS=" "" $as_nl"
3320
3321# Find who we are. Look in the path if we contain no directory separator.
3322as_myself=
3323case $0 in #((
3324 *[\\/]* ) as_myself=$0 ;;
3325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3326for as_dir in $PATH
3327do
3328 IFS=$as_save_IFS
3329 test -z "$as_dir" && as_dir=.
3330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3331 done
3332IFS=$as_save_IFS
3333
3334 ;;
3335esac
3336# We did not find ourselves, most probably we were run as `sh COMMAND'
3337# in which case we are not to be found in the path.
3338if test "x$as_myself" = x; then
3339 as_myself=$0
3340fi
3341if test ! -f "$as_myself"; then
3342 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3343 exit 1
3344fi
3345
3346# Unset variables that we do not need and which cause bugs (e.g. in
3347# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3348# suppresses any "Segmentation fault" message there. '((' could
3349# trigger a bug in pdksh 5.2.14.
3350for as_var in BASH_ENV ENV MAIL MAILPATH
3351do eval test x\${$as_var+set} = xset \
3352 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3353done
3354PS1='$ '
3355PS2='> '
3356PS4='+ '
3357
3358# NLS nuisances.
3359LC_ALL=C
3360export LC_ALL
3361LANGUAGE=C
3362export LANGUAGE
3363
3364# CDPATH.
3365(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3366
3367
3368# as_fn_error STATUS ERROR [LINENO LOG_FD]
3369# ----------------------------------------
3370# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3371# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3372# script with STATUS, using 1 if that was 0.
3373as_fn_error ()
3374{
3375 as_status=$1; test $as_status -eq 0 && as_status=1
3376 if test "$4"; then
3377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3379 fi
3380 $as_echo "$as_me: error: $2" >&2
3381 as_fn_exit $as_status
3382} # as_fn_error
3383
3384
3385# as_fn_set_status STATUS
3386# -----------------------
3387# Set $? to STATUS, without forking.
3388as_fn_set_status ()
3389{
3390 return $1
3391} # as_fn_set_status
3392
3393# as_fn_exit STATUS
3394# -----------------
3395# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3396as_fn_exit ()
3397{
3398 set +e
3399 as_fn_set_status $1
3400 exit $1
3401} # as_fn_exit
3402
3403# as_fn_unset VAR
3404# ---------------
3405# Portably unset VAR.
3406as_fn_unset ()
3407{
3408 { eval $1=; unset $1;}
3409}
3410as_unset=as_fn_unset
3411# as_fn_append VAR VALUE
3412# ----------------------
3413# Append the text in VALUE to the end of the definition contained in VAR. Take
3414# advantage of any shell optimizations that allow amortized linear growth over
3415# repeated appends, instead of the typical quadratic growth present in naive
3416# implementations.
3417if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3418 eval 'as_fn_append ()
3419 {
3420 eval $1+=\$2
3421 }'
3422else
3423 as_fn_append ()
3424 {
3425 eval $1=\$$1\$2
3426 }
3427fi # as_fn_append
3428
3429# as_fn_arith ARG...
3430# ------------------
3431# Perform arithmetic evaluation on the ARGs, and store the result in the
3432# global $as_val. Take advantage of shells that can avoid forks. The arguments
3433# must be portable across $(()) and expr.
3434if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3435 eval 'as_fn_arith ()
3436 {
3437 as_val=$(( $* ))
3438 }'
3439else
3440 as_fn_arith ()
3441 {
3442 as_val=`expr "$@" || test $? -eq 1`
3443 }
3444fi # as_fn_arith
3445
3446
3447if expr a : '\(a\)' >/dev/null 2>&1 &&
3448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3449 as_expr=expr
3450else
3451 as_expr=false
3452fi
3453
3454if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3455 as_basename=basename
3456else
3457 as_basename=false
3458fi
3459
3460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3461 as_dirname=dirname
3462else
3463 as_dirname=false
3464fi
3465
3466as_me=`$as_basename -- "$0" ||
3467$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3468 X"$0" : 'X\(//\)$' \| \
3469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3470$as_echo X/"$0" |
3471 sed '/^.*\/\([^/][^/]*\)\/*$/{
3472 s//\1/
3473 q
3474 }
3475 /^X\/\(\/\/\)$/{
3476 s//\1/
3477 q
3478 }
3479 /^X\/\(\/\).*/{
3480 s//\1/
3481 q
3482 }
3483 s/.*/./; q'`
3484
3485# Avoid depending upon Character Ranges.
3486as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3487as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3488as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3489as_cr_digits='0123456789'
3490as_cr_alnum=$as_cr_Letters$as_cr_digits
3491
3492ECHO_C= ECHO_N= ECHO_T=
3493case `echo -n x` in #(((((
3494-n*)
3495 case `echo 'xy\c'` in
3496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3497 xy) ECHO_C='\c';;
3498 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3499 ECHO_T=' ';;
3500 esac;;
3501*)
3502 ECHO_N='-n';;
3503esac
3504
3505rm -f conf$$ conf$$.exe conf$$.file
3506if test -d conf$$.dir; then
3507 rm -f conf$$.dir/conf$$.file
3508else
3509 rm -f conf$$.dir
3510 mkdir conf$$.dir 2>/dev/null
3511fi
3512if (echo >conf$$.file) 2>/dev/null; then
3513 if ln -s conf$$.file conf$$ 2>/dev/null; then
3514 as_ln_s='ln -s'
3515 # ... but there are two gotchas:
3516 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3517 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3518 # In both cases, we have to default to `cp -p'.
3519 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3520 as_ln_s='cp -p'
3521 elif ln conf$$.file conf$$ 2>/dev/null; then
3522 as_ln_s=ln
3523 else
3524 as_ln_s='cp -p'
3525 fi
3526else
3527 as_ln_s='cp -p'
3528fi
3529rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3530rmdir conf$$.dir 2>/dev/null
3531
3532
3533# as_fn_mkdir_p
3534# -------------
3535# Create "$as_dir" as a directory, including parents if necessary.
3536as_fn_mkdir_p ()
3537{
3538
3539 case $as_dir in #(
3540 -*) as_dir=./$as_dir;;
3541 esac
3542 test -d "$as_dir" || eval $as_mkdir_p || {
3543 as_dirs=
3544 while :; do
3545 case $as_dir in #(
3546 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3547 *) as_qdir=$as_dir;;
3548 esac
3549 as_dirs="'$as_qdir' $as_dirs"
3550 as_dir=`$as_dirname -- "$as_dir" ||
3551$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3552 X"$as_dir" : 'X\(//\)[^/]' \| \
3553 X"$as_dir" : 'X\(//\)$' \| \
3554 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3555$as_echo X"$as_dir" |
3556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3557 s//\1/
3558 q
3559 }
3560 /^X\(\/\/\)[^/].*/{
3561 s//\1/
3562 q
3563 }
3564 /^X\(\/\/\)$/{
3565 s//\1/
3566 q
3567 }
3568 /^X\(\/\).*/{
3569 s//\1/
3570 q
3571 }
3572 s/.*/./; q'`
3573 test -d "$as_dir" && break
3574 done
3575 test -z "$as_dirs" || eval "mkdir $as_dirs"
3576 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3577
3578
3579} # as_fn_mkdir_p
3580if mkdir -p . 2>/dev/null; then
3581 as_mkdir_p='mkdir -p "$as_dir"'
3582else
3583 test -d ./-p && rmdir ./-p
3584 as_mkdir_p=false
3585fi
3586
3587if test -x / >/dev/null 2>&1; then
3588 as_test_x='test -x'
3589else
3590 if ls -dL / >/dev/null 2>&1; then
3591 as_ls_L_option=L
3592 else
3593 as_ls_L_option=
3594 fi
3595 as_test_x='
3596 eval sh -c '\''
3597 if test -d "$1"; then
3598 test -d "$1/.";
3599 else
3600 case $1 in #(
3601 -*)set "./$1";;
3602 esac;
3603 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3604 ???[sx]*):;;*)false;;esac;fi
3605 '\'' sh
3606 '
3607fi
3608as_executable_p=$as_test_x
3609
3610# Sed expression to map a string onto a valid CPP name.
3611as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3612
3613# Sed expression to map a string onto a valid variable name.
3614as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3615
3616
3617exec 6>&1
3618## ----------------------------------- ##
3619## Main body of $CONFIG_STATUS script. ##
3620## ----------------------------------- ##
3621_ASEOF
3622test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3623
3624cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3625# Save the log message, to keep $0 and so on meaningful, and to
3626# report actual input values of CONFIG_FILES etc. instead of their
3627# values after options handling.
3628ac_log="
3629This file was extended by tdbcli $as_me 1.0, which was
3630generated by GNU Autoconf 2.68. Invocation command line was
3631
3632 CONFIG_FILES = $CONFIG_FILES
3633 CONFIG_HEADERS = $CONFIG_HEADERS
3634 CONFIG_LINKS = $CONFIG_LINKS
3635 CONFIG_COMMANDS = $CONFIG_COMMANDS
3636 $ $0 $@
3637
3638on `(hostname || uname -n) 2>/dev/null | sed 1q`
3639"
3640
3641_ACEOF
3642
3643case $ac_config_files in *"
3644"*) set x $ac_config_files; shift; ac_config_files=$*;;
3645esac
3646
3647case $ac_config_headers in *"
3648"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3649esac
3650
3651
3652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3653# Files that config.status was made for.
3654config_files="$ac_config_files"
3655config_headers="$ac_config_headers"
3656
3657_ACEOF
3658
3659cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3660ac_cs_usage="\
3661\`$as_me' instantiates files and other configuration actions
3662from templates according to the current configuration. Unless the files
3663and actions are specified as TAGs, all are instantiated by default.
3664
3665Usage: $0 [OPTION]... [TAG]...
3666
3667 -h, --help print this help, then exit
3668 -V, --version print version number and configuration settings, then exit
3669 --config print configuration, then exit
3670 -q, --quiet, --silent
3671 do not print progress messages
3672 -d, --debug don't remove temporary files
3673 --recheck update $as_me by reconfiguring in the same conditions
3674 --file=FILE[:TEMPLATE]
3675 instantiate the configuration file FILE
3676 --header=FILE[:TEMPLATE]
3677 instantiate the configuration header FILE
3678
3679Configuration files:
3680$config_files
3681
3682Configuration headers:
3683$config_headers
3684
3685Report bugs to <[email protected]>."
3686
3687_ACEOF
3688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3689ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3690ac_cs_version="\\
3691tdbcli config.status 1.0
3692configured by $0, generated by GNU Autoconf 2.68,
3693 with options \\"\$ac_cs_config\\"
3694
3695Copyright (C) 2010 Free Software Foundation, Inc.
3696This config.status script is free software; the Free Software Foundation
3697gives unlimited permission to copy, distribute and modify it."
3698
3699ac_pwd='$ac_pwd'
3700srcdir='$srcdir'
3701test -n "\$AWK" || AWK=awk
3702_ACEOF
3703
3704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3705# The default lists apply if the user does not specify any file.
3706ac_need_defaults=:
3707while test $# != 0
3708do
3709 case $1 in
3710 --*=?*)
3711 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3712 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3713 ac_shift=:
3714 ;;
3715 --*=)
3716 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3717 ac_optarg=
3718 ac_shift=:
3719 ;;
3720 *)
3721 ac_option=$1
3722 ac_optarg=$2
3723 ac_shift=shift
3724 ;;
3725 esac
3726
3727 case $ac_option in
3728 # Handling of the options.
3729 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3730 ac_cs_recheck=: ;;
3731 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3732 $as_echo "$ac_cs_version"; exit ;;
3733 --config | --confi | --conf | --con | --co | --c )
3734 $as_echo "$ac_cs_config"; exit ;;
3735 --debug | --debu | --deb | --de | --d | -d )
3736 debug=: ;;
3737 --file | --fil | --fi | --f )
3738 $ac_shift
3739 case $ac_optarg in
3740 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3741 '') as_fn_error $? "missing file argument" ;;
3742 esac
3743 as_fn_append CONFIG_FILES " '$ac_optarg'"
3744 ac_need_defaults=false;;
3745 --header | --heade | --head | --hea )
3746 $ac_shift
3747 case $ac_optarg in
3748 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3749 esac
3750 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3751 ac_need_defaults=false;;
3752 --he | --h)
3753 # Conflict between --help and --header
3754 as_fn_error $? "ambiguous option: \`$1'
3755Try \`$0 --help' for more information.";;
3756 --help | --hel | -h )
3757 $as_echo "$ac_cs_usage"; exit ;;
3758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3759 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3760 ac_cs_silent=: ;;
3761
3762 # This is an error.
3763 -*) as_fn_error $? "unrecognized option: \`$1'
3764Try \`$0 --help' for more information." ;;
3765
3766 *) as_fn_append ac_config_targets " $1"
3767 ac_need_defaults=false ;;
3768
3769 esac
3770 shift
3771done
3772
3773ac_configure_extra_args=
3774
3775if $ac_cs_silent; then
3776 exec 6>/dev/null
3777 ac_configure_extra_args="$ac_configure_extra_args --silent"
3778fi
3779
3780_ACEOF
3781cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3782if \$ac_cs_recheck; then
3783 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3784 shift
3785 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3786 CONFIG_SHELL='$SHELL'
3787 export CONFIG_SHELL
3788 exec "\$@"
3789fi
3790
3791_ACEOF
3792cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3793exec 5>>config.log
3794{
3795 echo
3796 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3797## Running $as_me. ##
3798_ASBOX
3799 $as_echo "$ac_log"
3800} >&5
3801
3802_ACEOF
3803cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3804_ACEOF
3805
3806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3807
3808# Handling of arguments.
3809for ac_config_target in $ac_config_targets
3810do
3811 case $ac_config_target in
3812 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3813 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3814
3815 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3816 esac
3817done
3818
3819
3820# If the user did not use the arguments to specify the items to instantiate,
3821# then the envvar interface is used. Set only those that are not.
3822# We use the long form for the default assignment because of an extremely
3823# bizarre bug on SunOS 4.1.3.
3824if $ac_need_defaults; then
3825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3826 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3827fi
3828
3829# Have a temporary directory for convenience. Make it in the build tree
3830# simply because there is no reason against having it here, and in addition,
3831# creating and moving files from /tmp can sometimes cause problems.
3832# Hook for its removal unless debugging.
3833# Note that there is a small window in which the directory will not be cleaned:
3834# after its creation but before its name has been assigned to `$tmp'.
3835$debug ||
3836{
3837 tmp= ac_tmp=
3838 trap 'exit_status=$?
3839 : "${ac_tmp:=$tmp}"
3840 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3841' 0
3842 trap 'as_fn_exit 1' 1 2 13 15
3843}
3844# Create a (secure) tmp directory for tmp files.
3845
3846{
3847 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3848 test -d "$tmp"
3849} ||
3850{
3851 tmp=./conf$$-$RANDOM
3852 (umask 077 && mkdir "$tmp")
3853} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3854ac_tmp=$tmp
3855
3856# Set up the scripts for CONFIG_FILES section.
3857# No need to generate them if there are no CONFIG_FILES.
3858# This happens for instance with `./config.status config.h'.
3859if test -n "$CONFIG_FILES"; then
3860
3861
3862ac_cr=`echo X | tr X '\015'`
3863# On cygwin, bash can eat \r inside `` if the user requested igncr.
3864# But we know of no other shell where ac_cr would be empty at this
3865# point, so we can use a bashism as a fallback.
3866if test "x$ac_cr" = x; then
3867 eval ac_cr=\$\'\\r\'
3868fi
3869ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3870if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3871 ac_cs_awk_cr='\\r'
3872else
3873 ac_cs_awk_cr=$ac_cr
3874fi
3875
3876echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3877_ACEOF
3878
3879
3880{
3881 echo "cat >conf$$subs.awk <<_ACEOF" &&
3882 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3883 echo "_ACEOF"
3884} >conf$$subs.sh ||
3885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3886ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3887ac_delim='%!_!# '
3888for ac_last_try in false false false false false :; do
3889 . ./conf$$subs.sh ||
3890 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3891
3892 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3893 if test $ac_delim_n = $ac_delim_num; then
3894 break
3895 elif $ac_last_try; then
3896 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3897 else
3898 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3899 fi
3900done
3901rm -f conf$$subs.sh
3902
3903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3904cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3905_ACEOF
3906sed -n '
3907h
3908s/^/S["/; s/!.*/"]=/
3909p
3910g
3911s/^[^!]*!//
3912:repl
3913t repl
3914s/'"$ac_delim"'$//
3915t delim
3916:nl
3917h
3918s/\(.\{148\}\)..*/\1/
3919t more1
3920s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3921p
3922n
3923b repl
3924:more1
3925s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3926p
3927g
3928s/.\{148\}//
3929t nl
3930:delim
3931h
3932s/\(.\{148\}\)..*/\1/
3933t more2
3934s/["\\]/\\&/g; s/^/"/; s/$/"/
3935p
3936b
3937:more2
3938s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3939p
3940g
3941s/.\{148\}//
3942t delim
3943' <conf$$subs.awk | sed '
3944/^[^""]/{
3945 N
3946 s/\n//
3947}
3948' >>$CONFIG_STATUS || ac_write_fail=1
3949rm -f conf$$subs.awk
3950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3951_ACAWK
3952cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3953 for (key in S) S_is_set[key] = 1
3954 FS = ""
3955
3956}
3957{
3958 line = $ 0
3959 nfields = split(line, field, "@")
3960 substed = 0
3961 len = length(field[1])
3962 for (i = 2; i < nfields; i++) {
3963 key = field[i]
3964 keylen = length(key)
3965 if (S_is_set[key]) {
3966 value = S[key]
3967 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3968 len += length(value) + length(field[++i])
3969 substed = 1
3970 } else
3971 len += 1 + keylen
3972 }
3973
3974 print line
3975}
3976
3977_ACAWK
3978_ACEOF
3979cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3980if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3981 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3982else
3983 cat
3984fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3985 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3986_ACEOF
3987
3988# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3989# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3990# trailing colons and then remove the whole line if VPATH becomes empty
3991# (actually we leave an empty line to preserve line numbers).
3992if test "x$srcdir" = x.; then
3993 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3994h
3995s///
3996s/^/:/
3997s/[ ]*$/:/
3998s/:\$(srcdir):/:/g
3999s/:\${srcdir}:/:/g
4000s/:@srcdir@:/:/g
4001s/^:*//
4002s/:*$//
4003x
4004s/\(=[ ]*\).*/\1/
4005G
4006s/\n//
4007s/^[^=]*=[ ]*$//
4008}'
4009fi
4010
4011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4012fi # test -n "$CONFIG_FILES"
4013
4014# Set up the scripts for CONFIG_HEADERS section.
4015# No need to generate them if there are no CONFIG_HEADERS.
4016# This happens for instance with `./config.status Makefile'.
4017if test -n "$CONFIG_HEADERS"; then
4018cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4019BEGIN {
4020_ACEOF
4021
4022# Transform confdefs.h into an awk script `defines.awk', embedded as
4023# here-document in config.status, that substitutes the proper values into
4024# config.h.in to produce config.h.
4025
4026# Create a delimiter string that does not exist in confdefs.h, to ease
4027# handling of long lines.
4028ac_delim='%!_!# '
4029for ac_last_try in false false :; do
4030 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4031 if test -z "$ac_tt"; then
4032 break
4033 elif $ac_last_try; then
4034 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4035 else
4036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4037 fi
4038done
4039
4040# For the awk script, D is an array of macro values keyed by name,
4041# likewise P contains macro parameters if any. Preserve backslash
4042# newline sequences.
4043
4044ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4045sed -n '
4046s/.\{148\}/&'"$ac_delim"'/g
4047t rset
4048:rset
4049s/^[ ]*#[ ]*define[ ][ ]*/ /
4050t def
4051d
4052:def
4053s/\\$//
4054t bsnl
4055s/["\\]/\\&/g
4056s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4057D["\1"]=" \3"/p
4058s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4059d
4060:bsnl
4061s/["\\]/\\&/g
4062s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4063D["\1"]=" \3\\\\\\n"\\/p
4064t cont
4065s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4066t cont
4067d
4068:cont
4069n
4070s/.\{148\}/&'"$ac_delim"'/g
4071t clear
4072:clear
4073s/\\$//
4074t bsnlc
4075s/["\\]/\\&/g; s/^/"/; s/$/"/p
4076d
4077:bsnlc
4078s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4079b cont
4080' <confdefs.h | sed '
4081s/'"$ac_delim"'/"\\\
4082"/g' >>$CONFIG_STATUS || ac_write_fail=1
4083
4084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4085 for (key in D) D_is_set[key] = 1
4086 FS = ""
4087}
4088/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4089 line = \$ 0
4090 split(line, arg, " ")
4091 if (arg[1] == "#") {
4092 defundef = arg[2]
4093 mac1 = arg[3]
4094 } else {
4095 defundef = substr(arg[1], 2)
4096 mac1 = arg[2]
4097 }
4098 split(mac1, mac2, "(") #)
4099 macro = mac2[1]
4100 prefix = substr(line, 1, index(line, defundef) - 1)
4101 if (D_is_set[macro]) {
4102 # Preserve the white space surrounding the "#".
4103 print prefix "define", macro P[macro] D[macro]
4104 next
4105 } else {
4106 # Replace #undef with comments. This is necessary, for example,
4107 # in the case of _POSIX_SOURCE, which is predefined and required
4108 # on some systems where configure will not decide to define it.
4109 if (defundef == "undef") {
4110 print "/*", prefix defundef, macro, "*/"
4111 next
4112 }
4113 }
4114}
4115{ print }
4116_ACAWK
4117_ACEOF
4118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4119 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4120fi # test -n "$CONFIG_HEADERS"
4121
4122
4123eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4124shift
4125for ac_tag
4126do
4127 case $ac_tag in
4128 :[FHLC]) ac_mode=$ac_tag; continue;;
4129 esac
4130 case $ac_mode$ac_tag in
4131 :[FHL]*:*);;
4132 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4133 :[FH]-) ac_tag=-:-;;
4134 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4135 esac
4136 ac_save_IFS=$IFS
4137 IFS=:
4138 set x $ac_tag
4139 IFS=$ac_save_IFS
4140 shift
4141 ac_file=$1
4142 shift
4143
4144 case $ac_mode in
4145 :L) ac_source=$1;;
4146 :[FH])
4147 ac_file_inputs=
4148 for ac_f
4149 do
4150 case $ac_f in
4151 -) ac_f="$ac_tmp/stdin";;
4152 *) # Look for the file first in the build tree, then in the source tree
4153 # (if the path is not absolute). The absolute path cannot be DOS-style,
4154 # because $ac_f cannot contain `:'.
4155 test -f "$ac_f" ||
4156 case $ac_f in
4157 [\\/$]*) false;;
4158 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4159 esac ||
4160 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4161 esac
4162 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4163 as_fn_append ac_file_inputs " '$ac_f'"
4164 done
4165
4166 # Let's still pretend it is `configure' which instantiates (i.e., don't
4167 # use $as_me), people would be surprised to read:
4168 # /* config.h. Generated by config.status. */
4169 configure_input='Generated from '`
4170 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4171 `' by configure.'
4172 if test x"$ac_file" != x-; then
4173 configure_input="$ac_file. $configure_input"
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4175$as_echo "$as_me: creating $ac_file" >&6;}
4176 fi
4177 # Neutralize special characters interpreted by sed in replacement strings.
4178 case $configure_input in #(
4179 *\&* | *\|* | *\\* )
4180 ac_sed_conf_input=`$as_echo "$configure_input" |
4181 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4182 *) ac_sed_conf_input=$configure_input;;
4183 esac
4184
4185 case $ac_tag in
4186 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4187 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4188 esac
4189 ;;
4190 esac
4191
4192 ac_dir=`$as_dirname -- "$ac_file" ||
4193$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4194 X"$ac_file" : 'X\(//\)[^/]' \| \
4195 X"$ac_file" : 'X\(//\)$' \| \
4196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4197$as_echo X"$ac_file" |
4198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4199 s//\1/
4200 q
4201 }
4202 /^X\(\/\/\)[^/].*/{
4203 s//\1/
4204 q
4205 }
4206 /^X\(\/\/\)$/{
4207 s//\1/
4208 q
4209 }
4210 /^X\(\/\).*/{
4211 s//\1/
4212 q
4213 }
4214 s/.*/./; q'`
4215 as_dir="$ac_dir"; as_fn_mkdir_p
4216 ac_builddir=.
4217
4218case "$ac_dir" in
4219.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4220*)
4221 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4222 # A ".." for each directory in $ac_dir_suffix.
4223 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4224 case $ac_top_builddir_sub in
4225 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4226 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4227 esac ;;
4228esac
4229ac_abs_top_builddir=$ac_pwd
4230ac_abs_builddir=$ac_pwd$ac_dir_suffix
4231# for backward compatibility:
4232ac_top_builddir=$ac_top_build_prefix
4233
4234case $srcdir in
4235 .) # We are building in place.
4236 ac_srcdir=.
4237 ac_top_srcdir=$ac_top_builddir_sub
4238 ac_abs_top_srcdir=$ac_pwd ;;
4239 [\\/]* | ?:[\\/]* ) # Absolute name.
4240 ac_srcdir=$srcdir$ac_dir_suffix;
4241 ac_top_srcdir=$srcdir
4242 ac_abs_top_srcdir=$srcdir ;;
4243 *) # Relative name.
4244 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4245 ac_top_srcdir=$ac_top_build_prefix$srcdir
4246 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4247esac
4248ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4249
4250
4251 case $ac_mode in
4252 :F)
4253 #
4254 # CONFIG_FILE
4255 #
4256
4257_ACEOF
4258
4259cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4260# If the template does not know about datarootdir, expand it.
4261# FIXME: This hack should be removed a few years after 2.60.
4262ac_datarootdir_hack=; ac_datarootdir_seen=
4263ac_sed_dataroot='
4264/datarootdir/ {
4265 p
4266 q
4267}
4268/@datadir@/p
4269/@docdir@/p
4270/@infodir@/p
4271/@localedir@/p
4272/@mandir@/p'
4273case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4274*datarootdir*) ac_datarootdir_seen=yes;;
4275*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4277$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4278_ACEOF
4279cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4280 ac_datarootdir_hack='
4281 s&@datadir@&$datadir&g
4282 s&@docdir@&$docdir&g
4283 s&@infodir@&$infodir&g
4284 s&@localedir@&$localedir&g
4285 s&@mandir@&$mandir&g
4286 s&\\\${datarootdir}&$datarootdir&g' ;;
4287esac
4288_ACEOF
4289
4290# Neutralize VPATH when `$srcdir' = `.'.
4291# Shell code in configure.ac might set extrasub.
4292# FIXME: do we really want to maintain this feature?
4293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4294ac_sed_extra="$ac_vpsub
4295$extrasub
4296_ACEOF
4297cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4298:t
4299/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4300s|@configure_input@|$ac_sed_conf_input|;t t
4301s&@top_builddir@&$ac_top_builddir_sub&;t t
4302s&@top_build_prefix@&$ac_top_build_prefix&;t t
4303s&@srcdir@&$ac_srcdir&;t t
4304s&@abs_srcdir@&$ac_abs_srcdir&;t t
4305s&@top_srcdir@&$ac_top_srcdir&;t t
4306s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4307s&@builddir@&$ac_builddir&;t t
4308s&@abs_builddir@&$ac_abs_builddir&;t t
4309s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4310$ac_datarootdir_hack
4311"
4312eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4313 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4314
4315test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4316 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4317 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4318 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4320which seems to be undefined. Please make sure it is defined" >&5
4321$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4322which seems to be undefined. Please make sure it is defined" >&2;}
4323
4324 rm -f "$ac_tmp/stdin"
4325 case $ac_file in
4326 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4327 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4328 esac \
4329 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4330 ;;
4331 :H)
4332 #
4333 # CONFIG_HEADER
4334 #
4335 if test x"$ac_file" != x-; then
4336 {
4337 $as_echo "/* $configure_input */" \
4338 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4339 } >"$ac_tmp/config.h" \
4340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4341 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4343$as_echo "$as_me: $ac_file is unchanged" >&6;}
4344 else
4345 rm -f "$ac_file"
4346 mv "$ac_tmp/config.h" "$ac_file" \
4347 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4348 fi
4349 else
4350 $as_echo "/* $configure_input */" \
4351 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4352 || as_fn_error $? "could not create -" "$LINENO" 5
4353 fi
4354 ;;
4355
4356
4357 esac
4358
4359done # for ac_tag
4360
4361
4362as_fn_exit 0
4363_ACEOF
4364ac_clean_files=$ac_clean_files_save
4365
4366test $ac_write_fail = 0 ||
4367 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4368
4369
4370# configure is writing to config.log, and then calls config.status.
4371# config.status does its own redirection, appending to config.log.
4372# Unfortunately, on DOS this fails, as config.log is still kept open
4373# by configure, so config.status won't be able to write to it; its
4374# output is simply discarded. So we exec the FD to /dev/null,
4375# effectively closing config.log, so it can be properly (re)opened and
4376# appended to by config.status. When coming back to configure, we
4377# need to make the FD available again.
4378if test "$no_create" != yes; then
4379 ac_cs_success=:
4380 ac_config_status_args=
4381 test "$silent" = yes &&
4382 ac_config_status_args="$ac_config_status_args --quiet"
4383 exec 5>/dev/null
4384 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4385 exec 5>>config.log
4386 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4387 # would make configure fail if this is the last instruction.
4388 $ac_cs_success || as_fn_exit 1
4389fi
4390if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4392$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4393fi
4394
Note: See TracBrowser for help on using the repository browser.