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

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

Had to reinitialize autoconf in order to get it to properly generate m4 rules and populate commands like INSTALL in the Makefile.in

  • Property svn:executable set to *
File size: 155.6 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='am__EXEEXT_FALSE
569am__EXEEXT_TRUE
570LTLIBOBJS
571LIBOBJS
572CPP
573am__fastdepCC_FALSE
574am__fastdepCC_TRUE
575CCDEPMODE
576ac_ct_CC
577CFLAGS
578CC
579am__fastdepCXX_FALSE
580am__fastdepCXX_TRUE
581CXXDEPMODE
582AMDEPBACKSLASH
583AMDEP_FALSE
584AMDEP_TRUE
585am__quote
586am__include
587DEPDIR
588OBJEXT
589EXEEXT
590ac_ct_CXX
591CPPFLAGS
592LDFLAGS
593CXXFLAGS
594CXX
595host_os
596host_vendor
597host_cpu
598host
599build_os
600build_vendor
601build_cpu
602build
603am__untar
604am__tar
605AMTAR
606am__leading_dot
607SET_MAKE
608AWK
609mkdir_p
610MKDIR_P
611INSTALL_STRIP_PROGRAM
612STRIP
613install_sh
614MAKEINFO
615AUTOHEADER
616AUTOMAKE
617AUTOCONF
618ACLOCAL
619VERSION
620PACKAGE
621CYGPATH_W
622am__isrc
623INSTALL_DATA
624INSTALL_SCRIPT
625INSTALL_PROGRAM
626target_alias
627host_alias
628build_alias
629LIBS
630ECHO_T
631ECHO_N
632ECHO_C
633DEFS
634mandir
635localedir
636libdir
637psdir
638pdfdir
639dvidir
640htmldir
641infodir
642docdir
643oldincludedir
644includedir
645localstatedir
646sharedstatedir
647sysconfdir
648datadir
649datarootdir
650libexecdir
651sbindir
652bindir
653program_transform_name
654prefix
655exec_prefix
656PACKAGE_URL
657PACKAGE_BUGREPORT
658PACKAGE_STRING
659PACKAGE_VERSION
660PACKAGE_TARNAME
661PACKAGE_NAME
662PATH_SEPARATOR
663SHELL'
664ac_subst_files=''
665ac_user_opts='
666enable_option_checking
667enable_dependency_tracking
668'
669 ac_precious_vars='build_alias
670host_alias
671target_alias
672CXX
673CXXFLAGS
674LDFLAGS
675LIBS
676CPPFLAGS
677CCC
678CC
679CFLAGS
680CPP'
681
682
683# Initialize some variables set by options.
684ac_init_help=
685ac_init_version=false
686ac_unrecognized_opts=
687ac_unrecognized_sep=
688# The variables have the same names as the options, with
689# dashes changed to underlines.
690cache_file=/dev/null
691exec_prefix=NONE
692no_create=
693no_recursion=
694prefix=NONE
695program_prefix=NONE
696program_suffix=NONE
697program_transform_name=s,x,x,
698silent=
699site=
700srcdir=
701verbose=
702x_includes=NONE
703x_libraries=NONE
704
705# Installation directory options.
706# These are left unexpanded so users can "make install exec_prefix=/foo"
707# and all the variables that are supposed to be based on exec_prefix
708# by default will actually change.
709# Use braces instead of parens because sh, perl, etc. also accept them.
710# (The list follows the same order as the GNU Coding Standards.)
711bindir='${exec_prefix}/bin'
712sbindir='${exec_prefix}/sbin'
713libexecdir='${exec_prefix}/libexec'
714datarootdir='${prefix}/share'
715datadir='${datarootdir}'
716sysconfdir='${prefix}/etc'
717sharedstatedir='${prefix}/com'
718localstatedir='${prefix}/var'
719includedir='${prefix}/include'
720oldincludedir='/usr/include'
721docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
722infodir='${datarootdir}/info'
723htmldir='${docdir}'
724dvidir='${docdir}'
725pdfdir='${docdir}'
726psdir='${docdir}'
727libdir='${exec_prefix}/lib'
728localedir='${datarootdir}/locale'
729mandir='${datarootdir}/man'
730
731ac_prev=
732ac_dashdash=
733for ac_option
734do
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\$ac_option
738 ac_prev=
739 continue
740 fi
741
742 case $ac_option in
743 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 *=) ac_optarg= ;;
745 *) ac_optarg=yes ;;
746 esac
747
748 # Accept the important Cygnus configure options, so we can diagnose typos.
749
750 case $ac_dashdash$ac_option in
751 --)
752 ac_dashdash=yes ;;
753
754 -bindir | --bindir | --bindi | --bind | --bin | --bi)
755 ac_prev=bindir ;;
756 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
757 bindir=$ac_optarg ;;
758
759 -build | --build | --buil | --bui | --bu)
760 ac_prev=build_alias ;;
761 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
762 build_alias=$ac_optarg ;;
763
764 -cache-file | --cache-file | --cache-fil | --cache-fi \
765 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
766 ac_prev=cache_file ;;
767 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
768 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
769 cache_file=$ac_optarg ;;
770
771 --config-cache | -C)
772 cache_file=config.cache ;;
773
774 -datadir | --datadir | --datadi | --datad)
775 ac_prev=datadir ;;
776 -datadir=* | --datadir=* | --datadi=* | --datad=*)
777 datadir=$ac_optarg ;;
778
779 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
780 | --dataroo | --dataro | --datar)
781 ac_prev=datarootdir ;;
782 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
783 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
784 datarootdir=$ac_optarg ;;
785
786 -disable-* | --disable-*)
787 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
790 as_fn_error $? "invalid feature name: $ac_useropt"
791 ac_useropt_orig=$ac_useropt
792 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793 case $ac_user_opts in
794 *"
795"enable_$ac_useropt"
796"*) ;;
797 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
798 ac_unrecognized_sep=', ';;
799 esac
800 eval enable_$ac_useropt=no ;;
801
802 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;;
806
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;;
811
812 -enable-* | --enable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error $? "invalid feature name: $ac_useropt"
817 ac_useropt_orig=$ac_useropt
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
820 *"
821"enable_$ac_useropt"
822"*) ;;
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';;
825 esac
826 eval enable_$ac_useropt=\$ac_optarg ;;
827
828 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
829 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
830 | --exec | --exe | --ex)
831 ac_prev=exec_prefix ;;
832 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
833 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
834 | --exec=* | --exe=* | --ex=*)
835 exec_prefix=$ac_optarg ;;
836
837 -gas | --gas | --ga | --g)
838 # Obsolete; use --with-gas.
839 with_gas=yes ;;
840
841 -help | --help | --hel | --he | -h)
842 ac_init_help=long ;;
843 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
844 ac_init_help=recursive ;;
845 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
846 ac_init_help=short ;;
847
848 -host | --host | --hos | --ho)
849 ac_prev=host_alias ;;
850 -host=* | --host=* | --hos=* | --ho=*)
851 host_alias=$ac_optarg ;;
852
853 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
854 ac_prev=htmldir ;;
855 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
856 | --ht=*)
857 htmldir=$ac_optarg ;;
858
859 -includedir | --includedir | --includedi | --included | --include \
860 | --includ | --inclu | --incl | --inc)
861 ac_prev=includedir ;;
862 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
863 | --includ=* | --inclu=* | --incl=* | --inc=*)
864 includedir=$ac_optarg ;;
865
866 -infodir | --infodir | --infodi | --infod | --info | --inf)
867 ac_prev=infodir ;;
868 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
869 infodir=$ac_optarg ;;
870
871 -libdir | --libdir | --libdi | --libd)
872 ac_prev=libdir ;;
873 -libdir=* | --libdir=* | --libdi=* | --libd=*)
874 libdir=$ac_optarg ;;
875
876 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
877 | --libexe | --libex | --libe)
878 ac_prev=libexecdir ;;
879 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
880 | --libexe=* | --libex=* | --libe=*)
881 libexecdir=$ac_optarg ;;
882
883 -localedir | --localedir | --localedi | --localed | --locale)
884 ac_prev=localedir ;;
885 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
886 localedir=$ac_optarg ;;
887
888 -localstatedir | --localstatedir | --localstatedi | --localstated \
889 | --localstate | --localstat | --localsta | --localst | --locals)
890 ac_prev=localstatedir ;;
891 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
892 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
893 localstatedir=$ac_optarg ;;
894
895 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
896 ac_prev=mandir ;;
897 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
898 mandir=$ac_optarg ;;
899
900 -nfp | --nfp | --nf)
901 # Obsolete; use --without-fp.
902 with_fp=no ;;
903
904 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
905 | --no-cr | --no-c | -n)
906 no_create=yes ;;
907
908 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
909 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
910 no_recursion=yes ;;
911
912 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
913 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
914 | --oldin | --oldi | --old | --ol | --o)
915 ac_prev=oldincludedir ;;
916 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
917 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
918 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
919 oldincludedir=$ac_optarg ;;
920
921 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
922 ac_prev=prefix ;;
923 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
924 prefix=$ac_optarg ;;
925
926 -program-prefix | --program-prefix | --program-prefi | --program-pref \
927 | --program-pre | --program-pr | --program-p)
928 ac_prev=program_prefix ;;
929 -program-prefix=* | --program-prefix=* | --program-prefi=* \
930 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
931 program_prefix=$ac_optarg ;;
932
933 -program-suffix | --program-suffix | --program-suffi | --program-suff \
934 | --program-suf | --program-su | --program-s)
935 ac_prev=program_suffix ;;
936 -program-suffix=* | --program-suffix=* | --program-suffi=* \
937 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
938 program_suffix=$ac_optarg ;;
939
940 -program-transform-name | --program-transform-name \
941 | --program-transform-nam | --program-transform-na \
942 | --program-transform-n | --program-transform- \
943 | --program-transform | --program-transfor \
944 | --program-transfo | --program-transf \
945 | --program-trans | --program-tran \
946 | --progr-tra | --program-tr | --program-t)
947 ac_prev=program_transform_name ;;
948 -program-transform-name=* | --program-transform-name=* \
949 | --program-transform-nam=* | --program-transform-na=* \
950 | --program-transform-n=* | --program-transform-=* \
951 | --program-transform=* | --program-transfor=* \
952 | --program-transfo=* | --program-transf=* \
953 | --program-trans=* | --program-tran=* \
954 | --progr-tra=* | --program-tr=* | --program-t=*)
955 program_transform_name=$ac_optarg ;;
956
957 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
958 ac_prev=pdfdir ;;
959 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
960 pdfdir=$ac_optarg ;;
961
962 -psdir | --psdir | --psdi | --psd | --ps)
963 ac_prev=psdir ;;
964 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
965 psdir=$ac_optarg ;;
966
967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
968 | -silent | --silent | --silen | --sile | --sil)
969 silent=yes ;;
970
971 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
972 ac_prev=sbindir ;;
973 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
974 | --sbi=* | --sb=*)
975 sbindir=$ac_optarg ;;
976
977 -sharedstatedir | --sharedstatedir | --sharedstatedi \
978 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
979 | --sharedst | --shareds | --shared | --share | --shar \
980 | --sha | --sh)
981 ac_prev=sharedstatedir ;;
982 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
983 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
984 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
985 | --sha=* | --sh=*)
986 sharedstatedir=$ac_optarg ;;
987
988 -site | --site | --sit)
989 ac_prev=site ;;
990 -site=* | --site=* | --sit=*)
991 site=$ac_optarg ;;
992
993 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
994 ac_prev=srcdir ;;
995 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
996 srcdir=$ac_optarg ;;
997
998 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
999 | --syscon | --sysco | --sysc | --sys | --sy)
1000 ac_prev=sysconfdir ;;
1001 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1002 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1003 sysconfdir=$ac_optarg ;;
1004
1005 -target | --target | --targe | --targ | --tar | --ta | --t)
1006 ac_prev=target_alias ;;
1007 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1008 target_alias=$ac_optarg ;;
1009
1010 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1011 verbose=yes ;;
1012
1013 -version | --version | --versio | --versi | --vers | -V)
1014 ac_init_version=: ;;
1015
1016 -with-* | --with-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error $? "invalid package name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025"with_$ac_useropt"
1026"*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval with_$ac_useropt=\$ac_optarg ;;
1031
1032 -without-* | --without-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1040 *"
1041"with_$ac_useropt"
1042"*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=no ;;
1047
1048 --x)
1049 # Obsolete; use --with-x.
1050 with_x=yes ;;
1051
1052 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;;
1058
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;;
1065
1066 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1067Try \`$0 --help' for more information"
1068 ;;
1069
1070 *=*)
1071 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 case $ac_envvar in #(
1074 '' | [0-9]* | *[!_$as_cr_alnum]* )
1075 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1076 esac
1077 eval $ac_envvar=\$ac_optarg
1078 export $ac_envvar ;;
1079
1080 *)
1081 # FIXME: should be removed in autoconf 3.0.
1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1086 ;;
1087
1088 esac
1089done
1090
1091if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093 as_fn_error $? "missing argument to $ac_option"
1094fi
1095
1096if test -n "$ac_unrecognized_opts"; then
1097 case $enable_option_checking in
1098 no) ;;
1099 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1100 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1101 esac
1102fi
1103
1104# Check all directory arguments for consistency.
1105for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir
1109do
1110 eval ac_val=\$$ac_var
1111 # Remove trailing slashes.
1112 case $ac_val in
1113 */ )
1114 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1115 eval $ac_var=\$ac_val;;
1116 esac
1117 # Be sure to have absolute directory names.
1118 case $ac_val in
1119 [\\/$]* | ?:[\\/]* ) continue;;
1120 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 esac
1122 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1123done
1124
1125# There might be people who depend on the old broken behavior: `$host'
1126# used to hold the argument of --host etc.
1127# FIXME: To remove some day.
1128build=$build_alias
1129host=$host_alias
1130target=$target_alias
1131
1132# FIXME: To remove some day.
1133if test "x$host_alias" != x; then
1134 if test "x$build_alias" = x; then
1135 cross_compiling=maybe
1136 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1137 If a cross compiler is detected then cross compile mode will be used" >&2
1138 elif test "x$build_alias" != "x$host_alias"; then
1139 cross_compiling=yes
1140 fi
1141fi
1142
1143ac_tool_prefix=
1144test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145
1146test "$silent" = yes && exec 6>/dev/null
1147
1148
1149ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150ac_ls_di=`ls -di .` &&
1151ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 as_fn_error $? "working directory cannot be determined"
1153test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 as_fn_error $? "pwd does not report name of working directory"
1155
1156
1157# Find the source files, if location was not specified.
1158if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$as_myself" ||
1162$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166$as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\/\)[^/].*/{
1172 s//\1/
1173 q
1174 }
1175 /^X\(\/\/\)$/{
1176 s//\1/
1177 q
1178 }
1179 /^X\(\/\).*/{
1180 s//\1/
1181 q
1182 }
1183 s/.*/./; q'`
1184 srcdir=$ac_confdir
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 srcdir=..
1187 fi
1188else
1189 ac_srcdir_defaulted=no
1190fi
1191if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1194fi
1195ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1198 pwd)`
1199# When building in place, set srcdir=.
1200if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 srcdir=.
1202fi
1203# Remove unnecessary trailing slashes from srcdir.
1204# Double slashes in file names in object file debugging info
1205# mess up M-x gdb in Emacs.
1206case $srcdir in
1207*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208esac
1209for ac_var in $ac_precious_vars; do
1210 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1211 eval ac_env_${ac_var}_value=\$${ac_var}
1212 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1213 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1214done
1215
1216#
1217# Report the --help message.
1218#
1219if test "$ac_init_help" = "long"; then
1220 # Omit some internal or obsolete options to make the list less imposing.
1221 # This message is too long to be a string in the A/UX 3.1 sh.
1222 cat <<_ACEOF
1223\`configure' configures tdbcli 1.0 to adapt to many kinds of systems.
1224
1225Usage: $0 [OPTION]... [VAR=VALUE]...
1226
1227To assign environment variables (e.g., CC, CFLAGS...), specify them as
1228VAR=VALUE. See below for descriptions of some of the useful variables.
1229
1230Defaults for the options are specified in brackets.
1231
1232Configuration:
1233 -h, --help display this help and exit
1234 --help=short display options specific to this package
1235 --help=recursive display the short help of all the included packages
1236 -V, --version display version information and exit
1237 -q, --quiet, --silent do not print \`checking ...' messages
1238 --cache-file=FILE cache test results in FILE [disabled]
1239 -C, --config-cache alias for \`--cache-file=config.cache'
1240 -n, --no-create do not create output files
1241 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242
1243Installation directories:
1244 --prefix=PREFIX install architecture-independent files in PREFIX
1245 [$ac_default_prefix]
1246 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 [PREFIX]
1248
1249By default, \`make install' will install all the files in
1250\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1251an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1252for instance \`--prefix=\$HOME'.
1253
1254For better control, use the options below.
1255
1256Fine tuning of the installation directories:
1257 --bindir=DIR user executables [EPREFIX/bin]
1258 --sbindir=DIR system admin executables [EPREFIX/sbin]
1259 --libexecdir=DIR program executables [EPREFIX/libexec]
1260 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1261 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1262 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1263 --libdir=DIR object code libraries [EPREFIX/lib]
1264 --includedir=DIR C header files [PREFIX/include]
1265 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1266 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1267 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1268 --infodir=DIR info documentation [DATAROOTDIR/info]
1269 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1270 --mandir=DIR man documentation [DATAROOTDIR/man]
1271 --docdir=DIR documentation root [DATAROOTDIR/doc/tdbcli]
1272 --htmldir=DIR html documentation [DOCDIR]
1273 --dvidir=DIR dvi documentation [DOCDIR]
1274 --pdfdir=DIR pdf documentation [DOCDIR]
1275 --psdir=DIR ps documentation [DOCDIR]
1276_ACEOF
1277
1278 cat <<\_ACEOF
1279
1280Program names:
1281 --program-prefix=PREFIX prepend PREFIX to installed program names
1282 --program-suffix=SUFFIX append SUFFIX to installed program names
1283 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1284
1285System types:
1286 --build=BUILD configure for building on BUILD [guessed]
1287 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1288_ACEOF
1289fi
1290
1291if test -n "$ac_init_help"; then
1292 case $ac_init_help in
1293 short | recursive ) echo "Configuration of tdbcli 1.0:";;
1294 esac
1295 cat <<\_ACEOF
1296
1297Optional Features:
1298 --disable-option-checking ignore unrecognized --enable/--with options
1299 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301 --disable-dependency-tracking speeds up one-time build
1302 --enable-dependency-tracking do not reject slow dependency extractors
1303
1304Some influential environment variables:
1305 CXX C++ compiler command
1306 CXXFLAGS C++ compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir>
1312 CC C compiler command
1313 CFLAGS C compiler flags
1314 CPP C preprocessor
1315
1316Use these variables to override the choices made by `configure' or to help
1317it to find libraries and programs with nonstandard names/locations.
1318
1319Report bugs to <[email protected]>.
1320_ACEOF
1321ac_status=$?
1322fi
1323
1324if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" ||
1328 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329 continue
1330 ac_builddir=.
1331
1332case "$ac_dir" in
1333.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334*)
1335 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 esac ;;
1342esac
1343ac_abs_top_builddir=$ac_pwd
1344ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345# for backward compatibility:
1346ac_top_builddir=$ac_top_build_prefix
1347
1348case $srcdir in
1349 .) # We are building in place.
1350 ac_srcdir=.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1357 *) # Relative name.
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361esac
1362ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1372 else
1373 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374 fi || ac_status=$?
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1376 done
1377fi
1378
1379test -n "$ac_init_help" && exit $ac_status
1380if $ac_init_version; then
1381 cat <<\_ACEOF
1382tdbcli configure 1.0
1383generated by GNU Autoconf 2.68
1384
1385Copyright (C) 2010 Free Software Foundation, Inc.
1386This configure script is free software; the Free Software Foundation
1387gives unlimited permission to copy, distribute and modify it.
1388_ACEOF
1389 exit
1390fi
1391
1392## ------------------------ ##
1393## Autoconf initialization. ##
1394## ------------------------ ##
1395
1396# ac_fn_cxx_try_compile LINENO
1397# ----------------------------
1398# Try to compile conftest.$ac_ext, and return whether this succeeded.
1399ac_fn_cxx_try_compile ()
1400{
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 rm -f conftest.$ac_objext
1403 if { { ac_try="$ac_compile"
1404case "(($ac_try" in
1405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406 *) ac_try_echo=$ac_try;;
1407esac
1408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409$as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_compile") 2>conftest.err
1411 ac_status=$?
1412 if test -s conftest.err; then
1413 grep -v '^ *+' conftest.err >conftest.er1
1414 cat conftest.er1 >&5
1415 mv -f conftest.er1 conftest.err
1416 fi
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } && {
1419 test -z "$ac_cxx_werror_flag" ||
1420 test ! -s conftest.err
1421 } && test -s conftest.$ac_objext; then :
1422 ac_retval=0
1423else
1424 $as_echo "$as_me: failed program was:" >&5
1425sed 's/^/| /' conftest.$ac_ext >&5
1426
1427 ac_retval=1
1428fi
1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430 as_fn_set_status $ac_retval
1431
1432} # ac_fn_cxx_try_compile
1433
1434# ac_fn_c_try_compile LINENO
1435# --------------------------
1436# Try to compile conftest.$ac_ext, and return whether this succeeded.
1437ac_fn_c_try_compile ()
1438{
1439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440 rm -f conftest.$ac_objext
1441 if { { ac_try="$ac_compile"
1442case "(($ac_try" in
1443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1444 *) ac_try_echo=$ac_try;;
1445esac
1446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1447$as_echo "$ac_try_echo"; } >&5
1448 (eval "$ac_compile") 2>conftest.err
1449 ac_status=$?
1450 if test -s conftest.err; then
1451 grep -v '^ *+' conftest.err >conftest.er1
1452 cat conftest.er1 >&5
1453 mv -f conftest.er1 conftest.err
1454 fi
1455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1456 test $ac_status = 0; } && {
1457 test -z "$ac_c_werror_flag" ||
1458 test ! -s conftest.err
1459 } && test -s conftest.$ac_objext; then :
1460 ac_retval=0
1461else
1462 $as_echo "$as_me: failed program was:" >&5
1463sed 's/^/| /' conftest.$ac_ext >&5
1464
1465 ac_retval=1
1466fi
1467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1468 as_fn_set_status $ac_retval
1469
1470} # ac_fn_c_try_compile
1471
1472# ac_fn_c_try_cpp LINENO
1473# ----------------------
1474# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1475ac_fn_c_try_cpp ()
1476{
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 if { { ac_try="$ac_cpp conftest.$ac_ext"
1479case "(($ac_try" in
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1482esac
1483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484$as_echo "$ac_try_echo"; } >&5
1485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1486 ac_status=$?
1487 if test -s conftest.err; then
1488 grep -v '^ *+' conftest.err >conftest.er1
1489 cat conftest.er1 >&5
1490 mv -f conftest.er1 conftest.err
1491 fi
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } > conftest.i && {
1494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1496 }; then :
1497 ac_retval=0
1498else
1499 $as_echo "$as_me: failed program was:" >&5
1500sed 's/^/| /' conftest.$ac_ext >&5
1501
1502 ac_retval=1
1503fi
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505 as_fn_set_status $ac_retval
1506
1507} # ac_fn_c_try_cpp
1508cat >config.log <<_ACEOF
1509This file contains any messages produced by compilers while
1510running configure, to aid debugging if configure makes a mistake.
1511
1512It was created by tdbcli $as_me 1.0, which was
1513generated by GNU Autoconf 2.68. Invocation command line was
1514
1515 $ $0 $@
1516
1517_ACEOF
1518exec 5>>config.log
1519{
1520cat <<_ASUNAME
1521## --------- ##
1522## Platform. ##
1523## --------- ##
1524
1525hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1526uname -m = `(uname -m) 2>/dev/null || echo unknown`
1527uname -r = `(uname -r) 2>/dev/null || echo unknown`
1528uname -s = `(uname -s) 2>/dev/null || echo unknown`
1529uname -v = `(uname -v) 2>/dev/null || echo unknown`
1530
1531/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1532/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1533
1534/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1535/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1536/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1537/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1538/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1539/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1540/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541
1542_ASUNAME
1543
1544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545for as_dir in $PATH
1546do
1547 IFS=$as_save_IFS
1548 test -z "$as_dir" && as_dir=.
1549 $as_echo "PATH: $as_dir"
1550 done
1551IFS=$as_save_IFS
1552
1553} >&5
1554
1555cat >&5 <<_ACEOF
1556
1557
1558## ----------- ##
1559## Core tests. ##
1560## ----------- ##
1561
1562_ACEOF
1563
1564
1565# Keep a trace of the command line.
1566# Strip out --no-create and --no-recursion so they do not pile up.
1567# Strip out --silent because we don't want to record it for future runs.
1568# Also quote any args containing shell meta-characters.
1569# Make two passes to allow for proper duplicate-argument suppression.
1570ac_configure_args=
1571ac_configure_args0=
1572ac_configure_args1=
1573ac_must_keep_next=false
1574for ac_pass in 1 2
1575do
1576 for ac_arg
1577 do
1578 case $ac_arg in
1579 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1581 | -silent | --silent | --silen | --sile | --sil)
1582 continue ;;
1583 *\'*)
1584 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1585 esac
1586 case $ac_pass in
1587 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1588 2)
1589 as_fn_append ac_configure_args1 " '$ac_arg'"
1590 if test $ac_must_keep_next = true; then
1591 ac_must_keep_next=false # Got value, back to normal.
1592 else
1593 case $ac_arg in
1594 *=* | --config-cache | -C | -disable-* | --disable-* \
1595 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1596 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1597 | -with-* | --with-* | -without-* | --without-* | --x)
1598 case "$ac_configure_args0 " in
1599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 esac
1601 ;;
1602 -* ) ac_must_keep_next=true ;;
1603 esac
1604 fi
1605 as_fn_append ac_configure_args " '$ac_arg'"
1606 ;;
1607 esac
1608 done
1609done
1610{ ac_configure_args0=; unset ac_configure_args0;}
1611{ ac_configure_args1=; unset ac_configure_args1;}
1612
1613# When interrupted or exit'd, cleanup temporary files, and complete
1614# config.log. We remove comments because anyway the quotes in there
1615# would cause problems or look ugly.
1616# WARNING: Use '\'' to represent an apostrophe within the trap.
1617# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1618trap 'exit_status=$?
1619 # Save into config.log some information that might help in debugging.
1620 {
1621 echo
1622
1623 $as_echo "## ---------------- ##
1624## Cache variables. ##
1625## ---------------- ##"
1626 echo
1627 # The following way of writing the cache mishandles newlines in values,
1628(
1629 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1630 eval ac_val=\$$ac_var
1631 case $ac_val in #(
1632 *${as_nl}*)
1633 case $ac_var in #(
1634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1635$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1636 esac
1637 case $ac_var in #(
1638 _ | IFS | as_nl) ;; #(
1639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1640 *) { eval $ac_var=; unset $ac_var;} ;;
1641 esac ;;
1642 esac
1643 done
1644 (set) 2>&1 |
1645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1646 *${as_nl}ac_space=\ *)
1647 sed -n \
1648 "s/'\''/'\''\\\\'\'''\''/g;
1649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 ;; #(
1651 *)
1652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1653 ;;
1654 esac |
1655 sort
1656)
1657 echo
1658
1659 $as_echo "## ----------------- ##
1660## Output variables. ##
1661## ----------------- ##"
1662 echo
1663 for ac_var in $ac_subst_vars
1664 do
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 $as_echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1672
1673 if test -n "$ac_subst_files"; then
1674 $as_echo "## ------------------- ##
1675## File substitutions. ##
1676## ------------------- ##"
1677 echo
1678 for ac_var in $ac_subst_files
1679 do
1680 eval ac_val=\$$ac_var
1681 case $ac_val in
1682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 esac
1684 $as_echo "$ac_var='\''$ac_val'\''"
1685 done | sort
1686 echo
1687 fi
1688
1689 if test -s confdefs.h; then
1690 $as_echo "## ----------- ##
1691## confdefs.h. ##
1692## ----------- ##"
1693 echo
1694 cat confdefs.h
1695 echo
1696 fi
1697 test "$ac_signal" != 0 &&
1698 $as_echo "$as_me: caught signal $ac_signal"
1699 $as_echo "$as_me: exit $exit_status"
1700 } >&5
1701 rm -f core *.core core.conftest.* &&
1702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 exit $exit_status
1704' 0
1705for ac_signal in 1 2 13 15; do
1706 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1707done
1708ac_signal=0
1709
1710# confdefs.h avoids OS command line length limits that DEFS can exceed.
1711rm -f -r conftest* confdefs.h
1712
1713$as_echo "/* confdefs.h */" > confdefs.h
1714
1715# Predefined preprocessor variables.
1716
1717cat >>confdefs.h <<_ACEOF
1718#define PACKAGE_NAME "$PACKAGE_NAME"
1719_ACEOF
1720
1721cat >>confdefs.h <<_ACEOF
1722#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723_ACEOF
1724
1725cat >>confdefs.h <<_ACEOF
1726#define PACKAGE_VERSION "$PACKAGE_VERSION"
1727_ACEOF
1728
1729cat >>confdefs.h <<_ACEOF
1730#define PACKAGE_STRING "$PACKAGE_STRING"
1731_ACEOF
1732
1733cat >>confdefs.h <<_ACEOF
1734#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735_ACEOF
1736
1737cat >>confdefs.h <<_ACEOF
1738#define PACKAGE_URL "$PACKAGE_URL"
1739_ACEOF
1740
1741
1742# Let the site file select an alternate cache file if it wants to.
1743# Prefer an explicitly selected file to automatically selected ones.
1744ac_site_file1=NONE
1745ac_site_file2=NONE
1746if test -n "$CONFIG_SITE"; then
1747 # We do not want a PATH search for config.site.
1748 case $CONFIG_SITE in #((
1749 -*) ac_site_file1=./$CONFIG_SITE;;
1750 */*) ac_site_file1=$CONFIG_SITE;;
1751 *) ac_site_file1=./$CONFIG_SITE;;
1752 esac
1753elif test "x$prefix" != xNONE; then
1754 ac_site_file1=$prefix/share/config.site
1755 ac_site_file2=$prefix/etc/config.site
1756else
1757 ac_site_file1=$ac_default_prefix/share/config.site
1758 ac_site_file2=$ac_default_prefix/etc/config.site
1759fi
1760for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1761do
1762 test "x$ac_site_file" = xNONE && continue
1763 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1765$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1766 sed 's/^/| /' "$ac_site_file" >&5
1767 . "$ac_site_file" \
1768 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1770as_fn_error $? "failed to load site script $ac_site_file
1771See \`config.log' for more details" "$LINENO" 5; }
1772 fi
1773done
1774
1775if test -r "$cache_file"; then
1776 # Some versions of bash will fail to source /dev/null (special files
1777 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1778 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1780$as_echo "$as_me: loading cache $cache_file" >&6;}
1781 case $cache_file in
1782 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1783 *) . "./$cache_file";;
1784 esac
1785 fi
1786else
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1788$as_echo "$as_me: creating cache $cache_file" >&6;}
1789 >$cache_file
1790fi
1791
1792# Check that the precious variables saved in the cache have kept the same
1793# value.
1794ac_cache_corrupted=false
1795for ac_var in $ac_precious_vars; do
1796 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1797 eval ac_new_set=\$ac_env_${ac_var}_set
1798 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1799 eval ac_new_val=\$ac_env_${ac_var}_value
1800 case $ac_old_set,$ac_new_set in
1801 set,)
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1803$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1804 ac_cache_corrupted=: ;;
1805 ,set)
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1807$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1808 ac_cache_corrupted=: ;;
1809 ,);;
1810 *)
1811 if test "x$ac_old_val" != "x$ac_new_val"; then
1812 # differences in whitespace do not lead to failure.
1813 ac_old_val_w=`echo x $ac_old_val`
1814 ac_new_val_w=`echo x $ac_new_val`
1815 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1817$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1818 ac_cache_corrupted=:
1819 else
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1821$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1822 eval $ac_var=\$ac_old_val
1823 fi
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1825$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1827$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 fi;;
1829 esac
1830 # Pass precious variables to config.status.
1831 if test "$ac_new_set" = set; then
1832 case $ac_new_val in
1833 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1834 *) ac_arg=$ac_var=$ac_new_val ;;
1835 esac
1836 case " $ac_configure_args " in
1837 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1838 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1839 esac
1840 fi
1841done
1842if $ac_cache_corrupted; then
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1844$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1846$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1847 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1848fi
1849## -------------------- ##
1850## Main body of script. ##
1851## -------------------- ##
1852
1853ac_ext=c
1854ac_cpp='$CPP $CPPFLAGS'
1855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857ac_compiler_gnu=$ac_cv_c_compiler_gnu
1858
1859
1860am__api_version='1.11'
1861
1862ac_aux_dir=
1863for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1864 if test -f "$ac_dir/install-sh"; then
1865 ac_aux_dir=$ac_dir
1866 ac_install_sh="$ac_aux_dir/install-sh -c"
1867 break
1868 elif test -f "$ac_dir/install.sh"; then
1869 ac_aux_dir=$ac_dir
1870 ac_install_sh="$ac_aux_dir/install.sh -c"
1871 break
1872 elif test -f "$ac_dir/shtool"; then
1873 ac_aux_dir=$ac_dir
1874 ac_install_sh="$ac_aux_dir/shtool install -c"
1875 break
1876 fi
1877done
1878if test -z "$ac_aux_dir"; then
1879 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1880fi
1881
1882# These three variables are undocumented and unsupported,
1883# and are intended to be withdrawn in a future Autoconf release.
1884# They can cause serious problems if a builder's source tree is in a directory
1885# whose full name contains unusual characters.
1886ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889
1890
1891# Find a good install program. We prefer a C program (faster),
1892# so one script is as good as another. But avoid the broken or
1893# incompatible versions:
1894# SysV /etc/install, /usr/sbin/install
1895# SunOS /usr/etc/install
1896# IRIX /sbin/install
1897# AIX /bin/install
1898# AmigaOS /C/install, which installs bootblocks on floppy discs
1899# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1900# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1901# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1902# OS/2's system install, which has a completely different semantic
1903# ./install, which can be erroneously created by make from ./install.sh.
1904# Reject install programs that cannot install multiple files.
1905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1906$as_echo_n "checking for a BSD-compatible install... " >&6; }
1907if test -z "$INSTALL"; then
1908if ${ac_cv_path_install+:} false; then :
1909 $as_echo_n "(cached) " >&6
1910else
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912for as_dir in $PATH
1913do
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 # Account for people who put trailing slashes in PATH elements.
1917case $as_dir/ in #((
1918 ./ | .// | /[cC]/* | \
1919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1920 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1921 /usr/ucb/* ) ;;
1922 *)
1923 # OSF1 and SCO ODT 3.0 have their own names for install.
1924 # Don't use installbsd from OSF since it installs stuff as root
1925 # by default.
1926 for ac_prog in ginstall scoinst install; do
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1929 if test $ac_prog = install &&
1930 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # AIX install. It has an incompatible calling convention.
1932 :
1933 elif test $ac_prog = install &&
1934 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1935 # program-specific install script used by HP pwplus--don't use.
1936 :
1937 else
1938 rm -rf conftest.one conftest.two conftest.dir
1939 echo one > conftest.one
1940 echo two > conftest.two
1941 mkdir conftest.dir
1942 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1943 test -s conftest.one && test -s conftest.two &&
1944 test -s conftest.dir/conftest.one &&
1945 test -s conftest.dir/conftest.two
1946 then
1947 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1948 break 3
1949 fi
1950 fi
1951 fi
1952 done
1953 done
1954 ;;
1955esac
1956
1957 done
1958IFS=$as_save_IFS
1959
1960rm -rf conftest.one conftest.two conftest.dir
1961
1962fi
1963 if test "${ac_cv_path_install+set}" = set; then
1964 INSTALL=$ac_cv_path_install
1965 else
1966 # As a last resort, use the slow shell script. Don't cache a
1967 # value for INSTALL within a source directory, because that will
1968 # break other packages using the cache if that directory is
1969 # removed, or if the value is a relative name.
1970 INSTALL=$ac_install_sh
1971 fi
1972fi
1973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1974$as_echo "$INSTALL" >&6; }
1975
1976# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1977# It thinks the first close brace ends the variable substitution.
1978test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1979
1980test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1981
1982test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1983
1984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1985$as_echo_n "checking whether build environment is sane... " >&6; }
1986# Just in case
1987sleep 1
1988echo timestamp > conftest.file
1989# Reject unsafe characters in $srcdir or the absolute working directory
1990# name. Accept space and tab only in the latter.
1991am_lf='
1992'
1993case `pwd` in
1994 *[\\\"\#\$\&\'\`$am_lf]*)
1995 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1996esac
1997case $srcdir in
1998 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1999 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2000esac
2001
2002# Do `set' in a subshell so we don't clobber the current shell's
2003# arguments. Must try -L first in case configure is actually a
2004# symlink; some systems play weird games with the mod time of symlinks
2005# (eg FreeBSD returns the mod time of the symlink's containing
2006# directory).
2007if (
2008 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2009 if test "$*" = "X"; then
2010 # -L didn't work.
2011 set X `ls -t "$srcdir/configure" conftest.file`
2012 fi
2013 rm -f conftest.file
2014 if test "$*" != "X $srcdir/configure conftest.file" \
2015 && test "$*" != "X conftest.file $srcdir/configure"; then
2016
2017 # If neither matched, then we have a broken ls. This can happen
2018 # if, for instance, CONFIG_SHELL is bash and it inherits a
2019 # broken ls alias from the environment. This has actually
2020 # happened. Such a system could not be considered "sane".
2021 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2022alias in your environment" "$LINENO" 5
2023 fi
2024
2025 test "$2" = conftest.file
2026 )
2027then
2028 # Ok.
2029 :
2030else
2031 as_fn_error $? "newly created file is older than distributed files!
2032Check your system clock" "$LINENO" 5
2033fi
2034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2035$as_echo "yes" >&6; }
2036test "$program_prefix" != NONE &&
2037 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2038# Use a double $ so make ignores it.
2039test "$program_suffix" != NONE &&
2040 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2041# Double any \ or $.
2042# By default was `s,x,x', remove it if useless.
2043ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2044program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2045
2046# expand $ac_aux_dir to an absolute path
2047am_aux_dir=`cd $ac_aux_dir && pwd`
2048
2049if test x"${MISSING+set}" != xset; then
2050 case $am_aux_dir in
2051 *\ * | *\ *)
2052 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2053 *)
2054 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2055 esac
2056fi
2057# Use eval to expand $SHELL
2058if eval "$MISSING --run true"; then
2059 am_missing_run="$MISSING --run "
2060else
2061 am_missing_run=
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2063$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2064fi
2065
2066if test x"${install_sh}" != xset; then
2067 case $am_aux_dir in
2068 *\ * | *\ *)
2069 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2070 *)
2071 install_sh="\${SHELL} $am_aux_dir/install-sh"
2072 esac
2073fi
2074
2075# Installed binaries are usually stripped using `strip' when the user
2076# run `make install-strip'. However `strip' might not be the right
2077# tool to use in cross-compilation environments, therefore Automake
2078# will honor the `STRIP' environment variable to overrule this program.
2079if test "$cross_compiling" != no; then
2080 if test -n "$ac_tool_prefix"; then
2081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2082set dummy ${ac_tool_prefix}strip; ac_word=$2
2083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084$as_echo_n "checking for $ac_word... " >&6; }
2085if ${ac_cv_prog_STRIP+:} false; then :
2086 $as_echo_n "(cached) " >&6
2087else
2088 if test -n "$STRIP"; then
2089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2090else
2091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092for as_dir in $PATH
2093do
2094 IFS=$as_save_IFS
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 break 2
2101 fi
2102done
2103 done
2104IFS=$as_save_IFS
2105
2106fi
2107fi
2108STRIP=$ac_cv_prog_STRIP
2109if test -n "$STRIP"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2111$as_echo "$STRIP" >&6; }
2112else
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114$as_echo "no" >&6; }
2115fi
2116
2117
2118fi
2119if test -z "$ac_cv_prog_STRIP"; then
2120 ac_ct_STRIP=$STRIP
2121 # Extract the first word of "strip", so it can be a program name with args.
2122set dummy strip; ac_word=$2
2123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124$as_echo_n "checking for $ac_word... " >&6; }
2125if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2126 $as_echo_n "(cached) " >&6
2127else
2128 if test -n "$ac_ct_STRIP"; then
2129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2130else
2131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132for as_dir in $PATH
2133do
2134 IFS=$as_save_IFS
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_ac_ct_STRIP="strip"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2141 fi
2142done
2143 done
2144IFS=$as_save_IFS
2145
2146fi
2147fi
2148ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2149if test -n "$ac_ct_STRIP"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2151$as_echo "$ac_ct_STRIP" >&6; }
2152else
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154$as_echo "no" >&6; }
2155fi
2156
2157 if test "x$ac_ct_STRIP" = x; then
2158 STRIP=":"
2159 else
2160 case $cross_compiling:$ac_tool_warned in
2161yes:)
2162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2164ac_tool_warned=yes ;;
2165esac
2166 STRIP=$ac_ct_STRIP
2167 fi
2168else
2169 STRIP="$ac_cv_prog_STRIP"
2170fi
2171
2172fi
2173INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2174
2175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2176$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2177if test -z "$MKDIR_P"; then
2178 if ${ac_cv_path_mkdir+:} false; then :
2179 $as_echo_n "(cached) " >&6
2180else
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2183do
2184 IFS=$as_save_IFS
2185 test -z "$as_dir" && as_dir=.
2186 for ac_prog in mkdir gmkdir; do
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2189 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2190 'mkdir (GNU coreutils) '* | \
2191 'mkdir (coreutils) '* | \
2192 'mkdir (fileutils) '4.1*)
2193 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2194 break 3;;
2195 esac
2196 done
2197 done
2198 done
2199IFS=$as_save_IFS
2200
2201fi
2202
2203 test -d ./--version && rmdir ./--version
2204 if test "${ac_cv_path_mkdir+set}" = set; then
2205 MKDIR_P="$ac_cv_path_mkdir -p"
2206 else
2207 # As a last resort, use the slow shell script. Don't cache a
2208 # value for MKDIR_P within a source directory, because that will
2209 # break other packages using the cache if that directory is
2210 # removed, or if the value is a relative name.
2211 MKDIR_P="$ac_install_sh -d"
2212 fi
2213fi
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2215$as_echo "$MKDIR_P" >&6; }
2216
2217mkdir_p="$MKDIR_P"
2218case $mkdir_p in
2219 [\\/$]* | ?:[\\/]*) ;;
2220 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2221esac
2222
2223for ac_prog in gawk mawk nawk awk
2224do
2225 # Extract the first word of "$ac_prog", so it can be a program name with args.
2226set dummy $ac_prog; ac_word=$2
2227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2228$as_echo_n "checking for $ac_word... " >&6; }
2229if ${ac_cv_prog_AWK+:} false; then :
2230 $as_echo_n "(cached) " >&6
2231else
2232 if test -n "$AWK"; then
2233 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2234else
2235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236for as_dir in $PATH
2237do
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_AWK="$ac_prog"
2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2245 fi
2246done
2247 done
2248IFS=$as_save_IFS
2249
2250fi
2251fi
2252AWK=$ac_cv_prog_AWK
2253if test -n "$AWK"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2255$as_echo "$AWK" >&6; }
2256else
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2258$as_echo "no" >&6; }
2259fi
2260
2261
2262 test -n "$AWK" && break
2263done
2264
2265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2266$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2267set x ${MAKE-make}
2268ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2269if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2270 $as_echo_n "(cached) " >&6
2271else
2272 cat >conftest.make <<\_ACEOF
2273SHELL = /bin/sh
2274all:
2275 @echo '@@@%%%=$(MAKE)=@@@%%%'
2276_ACEOF
2277# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2278case `${MAKE-make} -f conftest.make 2>/dev/null` in
2279 *@@@%%%=?*=@@@%%%*)
2280 eval ac_cv_prog_make_${ac_make}_set=yes;;
2281 *)
2282 eval ac_cv_prog_make_${ac_make}_set=no;;
2283esac
2284rm -f conftest.make
2285fi
2286if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2288$as_echo "yes" >&6; }
2289 SET_MAKE=
2290else
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292$as_echo "no" >&6; }
2293 SET_MAKE="MAKE=${MAKE-make}"
2294fi
2295
2296rm -rf .tst 2>/dev/null
2297mkdir .tst 2>/dev/null
2298if test -d .tst; then
2299 am__leading_dot=.
2300else
2301 am__leading_dot=_
2302fi
2303rmdir .tst 2>/dev/null
2304
2305if test "`cd $srcdir && pwd`" != "`pwd`"; then
2306 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2307 # is not polluted with repeated "-I."
2308 am__isrc=' -I$(srcdir)'
2309 # test to see if srcdir already configured
2310 if test -f $srcdir/config.status; then
2311 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2312 fi
2313fi
2314
2315# test whether we have cygpath
2316if test -z "$CYGPATH_W"; then
2317 if (cygpath --version) >/dev/null 2>/dev/null; then
2318 CYGPATH_W='cygpath -w'
2319 else
2320 CYGPATH_W=echo
2321 fi
2322fi
2323
2324
2325# Define the identity of the package.
2326 PACKAGE='tdbcli'
2327 VERSION='1.0'
2328
2329
2330cat >>confdefs.h <<_ACEOF
2331#define PACKAGE "$PACKAGE"
2332_ACEOF
2333
2334
2335cat >>confdefs.h <<_ACEOF
2336#define VERSION "$VERSION"
2337_ACEOF
2338
2339# Some tools Automake needs.
2340
2341ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2342
2343
2344AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2345
2346
2347AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2348
2349
2350AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2351
2352
2353MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2354
2355# We need awk for the "check" target. The system "awk" is bad on
2356# some platforms.
2357# Always define AMTAR for backward compatibility.
2358
2359AMTAR=${AMTAR-"${am_missing_run}tar"}
2360
2361am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2362
2363
2364
2365
2366
2367# Make sure we can run config.sub.
2368$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2369 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2370
2371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2372$as_echo_n "checking build system type... " >&6; }
2373if ${ac_cv_build+:} false; then :
2374 $as_echo_n "(cached) " >&6
2375else
2376 ac_build_alias=$build_alias
2377test "x$ac_build_alias" = x &&
2378 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2379test "x$ac_build_alias" = x &&
2380 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2381ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2382 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2383
2384fi
2385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2386$as_echo "$ac_cv_build" >&6; }
2387case $ac_cv_build in
2388*-*-*) ;;
2389*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2390esac
2391build=$ac_cv_build
2392ac_save_IFS=$IFS; IFS='-'
2393set x $ac_cv_build
2394shift
2395build_cpu=$1
2396build_vendor=$2
2397shift; shift
2398# Remember, the first character of IFS is used to create $*,
2399# except with old shells:
2400build_os=$*
2401IFS=$ac_save_IFS
2402case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2403
2404
2405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2406$as_echo_n "checking host system type... " >&6; }
2407if ${ac_cv_host+:} false; then :
2408 $as_echo_n "(cached) " >&6
2409else
2410 if test "x$host_alias" = x; then
2411 ac_cv_host=$ac_cv_build
2412else
2413 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2414 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2415fi
2416
2417fi
2418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2419$as_echo "$ac_cv_host" >&6; }
2420case $ac_cv_host in
2421*-*-*) ;;
2422*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2423esac
2424host=$ac_cv_host
2425ac_save_IFS=$IFS; IFS='-'
2426set x $ac_cv_host
2427shift
2428host_cpu=$1
2429host_vendor=$2
2430shift; shift
2431# Remember, the first character of IFS is used to create $*,
2432# except with old shells:
2433host_os=$*
2434IFS=$ac_save_IFS
2435case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2436
2437
2438
2439ac_config_headers="$ac_config_headers config.h"
2440
2441
2442# Checks for programs.
2443ac_ext=cpp
2444ac_cpp='$CXXCPP $CPPFLAGS'
2445ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2448if test -z "$CXX"; then
2449 if test -n "$CCC"; then
2450 CXX=$CCC
2451 else
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2454 do
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458$as_echo_n "checking for $ac_word... " >&6; }
2459if ${ac_cv_prog_CXX+:} false; then :
2460 $as_echo_n "(cached) " >&6
2461else
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2464else
2465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466for as_dir in $PATH
2467do
2468 IFS=$as_save_IFS
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2474 break 2
2475 fi
2476done
2477 done
2478IFS=$as_save_IFS
2479
2480fi
2481fi
2482CXX=$ac_cv_prog_CXX
2483if test -n "$CXX"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2485$as_echo "$CXX" >&6; }
2486else
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488$as_echo "no" >&6; }
2489fi
2490
2491
2492 test -n "$CXX" && break
2493 done
2494fi
2495if test -z "$CXX"; then
2496 ac_ct_CXX=$CXX
2497 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2498do
2499 # Extract the first word of "$ac_prog", so it can be a program name with args.
2500set dummy $ac_prog; ac_word=$2
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502$as_echo_n "checking for $ac_word... " >&6; }
2503if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2504 $as_echo_n "(cached) " >&6
2505else
2506 if test -n "$ac_ct_CXX"; then
2507 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2508else
2509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510for as_dir in $PATH
2511do
2512 IFS=$as_save_IFS
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 ac_cv_prog_ac_ct_CXX="$ac_prog"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 break 2
2519 fi
2520done
2521 done
2522IFS=$as_save_IFS
2523
2524fi
2525fi
2526ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2527if test -n "$ac_ct_CXX"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2529$as_echo "$ac_ct_CXX" >&6; }
2530else
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532$as_echo "no" >&6; }
2533fi
2534
2535
2536 test -n "$ac_ct_CXX" && break
2537done
2538
2539 if test "x$ac_ct_CXX" = x; then
2540 CXX="g++"
2541 else
2542 case $cross_compiling:$ac_tool_warned in
2543yes:)
2544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2546ac_tool_warned=yes ;;
2547esac
2548 CXX=$ac_ct_CXX
2549 fi
2550fi
2551
2552 fi
2553fi
2554# Provide some information about the compiler.
2555$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2556set X $ac_compile
2557ac_compiler=$2
2558for ac_option in --version -v -V -qversion; do
2559 { { ac_try="$ac_compiler $ac_option >&5"
2560case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2563esac
2564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565$as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2567 ac_status=$?
2568 if test -s conftest.err; then
2569 sed '10a\
2570... rest of stderr output deleted ...
2571 10q' conftest.err >conftest.er1
2572 cat conftest.er1 >&5
2573 fi
2574 rm -f conftest.er1 conftest.err
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; }
2577done
2578
2579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580/* end confdefs.h. */
2581
2582int
2583main ()
2584{
2585
2586 ;
2587 return 0;
2588}
2589_ACEOF
2590ac_clean_files_save=$ac_clean_files
2591ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2592# Try to create an executable without -o first, disregard a.out.
2593# It will help us diagnose broken compilers, and finding out an intuition
2594# of exeext.
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2596$as_echo_n "checking whether the C++ compiler works... " >&6; }
2597ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598
2599# The possible output files:
2600ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2601
2602ac_rmfiles=
2603for ac_file in $ac_files
2604do
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2607 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2608 esac
2609done
2610rm -f $ac_rmfiles
2611
2612if { { ac_try="$ac_link_default"
2613case "(($ac_try" in
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2616esac
2617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618$as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_link_default") 2>&5
2620 ac_status=$?
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; }; then :
2623 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2624# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2625# in a Makefile. We should not override ac_cv_exeext if it was cached,
2626# so that the user can short-circuit this test for compilers unknown to
2627# Autoconf.
2628for ac_file in $ac_files ''
2629do
2630 test -f "$ac_file" || continue
2631 case $ac_file in
2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2633 ;;
2634 [ab].out )
2635 # We found the default executable, but exeext='' is most
2636 # certainly right.
2637 break;;
2638 *.* )
2639 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2640 then :; else
2641 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642 fi
2643 # We set ac_cv_exeext here because the later test for it is not
2644 # safe: cross compilers may not add the suffix if given an `-o'
2645 # argument, so we may need to know it at that point already.
2646 # Even if this section looks crufty: it has the advantage of
2647 # actually working.
2648 break;;
2649 * )
2650 break;;
2651 esac
2652done
2653test "$ac_cv_exeext" = no && ac_cv_exeext=
2654
2655else
2656 ac_file=''
2657fi
2658if test -z "$ac_file"; then :
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660$as_echo "no" >&6; }
2661$as_echo "$as_me: failed program was:" >&5
2662sed 's/^/| /' conftest.$ac_ext >&5
2663
2664{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666as_fn_error 77 "C++ compiler cannot create executables
2667See \`config.log' for more details" "$LINENO" 5; }
2668else
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670$as_echo "yes" >&6; }
2671fi
2672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2673$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2675$as_echo "$ac_file" >&6; }
2676ac_exeext=$ac_cv_exeext
2677
2678rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2679ac_clean_files=$ac_clean_files_save
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2681$as_echo_n "checking for suffix of executables... " >&6; }
2682if { { ac_try="$ac_link"
2683case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686esac
2687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688$as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; then :
2693 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2694# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2695# work properly (i.e., refer to `conftest.exe'), while it won't with
2696# `rm'.
2697for ac_file in conftest.exe conftest conftest.*; do
2698 test -f "$ac_file" || continue
2699 case $ac_file in
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2701 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 break;;
2703 * ) break;;
2704 esac
2705done
2706else
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2710See \`config.log' for more details" "$LINENO" 5; }
2711fi
2712rm -f conftest conftest$ac_cv_exeext
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2714$as_echo "$ac_cv_exeext" >&6; }
2715
2716rm -f conftest.$ac_ext
2717EXEEXT=$ac_cv_exeext
2718ac_exeext=$EXEEXT
2719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720/* end confdefs.h. */
2721#include <stdio.h>
2722int
2723main ()
2724{
2725FILE *f = fopen ("conftest.out", "w");
2726 return ferror (f) || fclose (f) != 0;
2727
2728 ;
2729 return 0;
2730}
2731_ACEOF
2732ac_clean_files="$ac_clean_files conftest.out"
2733# Check that the compiler produces executables we can run. If not, either
2734# the compiler is broken, or we cross compile.
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2736$as_echo_n "checking whether we are cross compiling... " >&6; }
2737if test "$cross_compiling" != yes; then
2738 { { ac_try="$ac_link"
2739case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742esac
2743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744$as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_link") 2>&5
2746 ac_status=$?
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }
2749 if { ac_try='./conftest$ac_cv_exeext'
2750 { { case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753esac
2754eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755$as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_try") 2>&5
2757 ac_status=$?
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }; }; then
2760 cross_compiling=no
2761 else
2762 if test "$cross_compiling" = maybe; then
2763 cross_compiling=yes
2764 else
2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767as_fn_error $? "cannot run C++ compiled programs.
2768If you meant to cross compile, use \`--host'.
2769See \`config.log' for more details" "$LINENO" 5; }
2770 fi
2771 fi
2772fi
2773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2774$as_echo "$cross_compiling" >&6; }
2775
2776rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2777ac_clean_files=$ac_clean_files_save
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2779$as_echo_n "checking for suffix of object files... " >&6; }
2780if ${ac_cv_objext+:} false; then :
2781 $as_echo_n "(cached) " >&6
2782else
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784/* end confdefs.h. */
2785
2786int
2787main ()
2788{
2789
2790 ;
2791 return 0;
2792}
2793_ACEOF
2794rm -f conftest.o conftest.obj
2795if { { ac_try="$ac_compile"
2796case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799esac
2800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801$as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>&5
2803 ac_status=$?
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }; then :
2806 for ac_file in conftest.o conftest.obj conftest.*; do
2807 test -f "$ac_file" || continue;
2808 case $ac_file in
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2811 break;;
2812 esac
2813done
2814else
2815 $as_echo "$as_me: failed program was:" >&5
2816sed 's/^/| /' conftest.$ac_ext >&5
2817
2818{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820as_fn_error $? "cannot compute suffix of object files: cannot compile
2821See \`config.log' for more details" "$LINENO" 5; }
2822fi
2823rm -f conftest.$ac_cv_objext conftest.$ac_ext
2824fi
2825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2826$as_echo "$ac_cv_objext" >&6; }
2827OBJEXT=$ac_cv_objext
2828ac_objext=$OBJEXT
2829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2830$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2831if ${ac_cv_cxx_compiler_gnu+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835/* end confdefs.h. */
2836
2837int
2838main ()
2839{
2840#ifndef __GNUC__
2841 choke me
2842#endif
2843
2844 ;
2845 return 0;
2846}
2847_ACEOF
2848if ac_fn_cxx_try_compile "$LINENO"; then :
2849 ac_compiler_gnu=yes
2850else
2851 ac_compiler_gnu=no
2852fi
2853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2855
2856fi
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2858$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2859if test $ac_compiler_gnu = yes; then
2860 GXX=yes
2861else
2862 GXX=
2863fi
2864ac_test_CXXFLAGS=${CXXFLAGS+set}
2865ac_save_CXXFLAGS=$CXXFLAGS
2866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2867$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2868if ${ac_cv_prog_cxx_g+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870else
2871 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2872 ac_cxx_werror_flag=yes
2873 ac_cv_prog_cxx_g=no
2874 CXXFLAGS="-g"
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876/* end confdefs.h. */
2877
2878int
2879main ()
2880{
2881
2882 ;
2883 return 0;
2884}
2885_ACEOF
2886if ac_fn_cxx_try_compile "$LINENO"; then :
2887 ac_cv_prog_cxx_g=yes
2888else
2889 CXXFLAGS=""
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891/* end confdefs.h. */
2892
2893int
2894main ()
2895{
2896
2897 ;
2898 return 0;
2899}
2900_ACEOF
2901if ac_fn_cxx_try_compile "$LINENO"; then :
2902
2903else
2904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2905 CXXFLAGS="-g"
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907/* end confdefs.h. */
2908
2909int
2910main ()
2911{
2912
2913 ;
2914 return 0;
2915}
2916_ACEOF
2917if ac_fn_cxx_try_compile "$LINENO"; then :
2918 ac_cv_prog_cxx_g=yes
2919fi
2920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921fi
2922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923fi
2924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2926fi
2927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2928$as_echo "$ac_cv_prog_cxx_g" >&6; }
2929if test "$ac_test_CXXFLAGS" = set; then
2930 CXXFLAGS=$ac_save_CXXFLAGS
2931elif test $ac_cv_prog_cxx_g = yes; then
2932 if test "$GXX" = yes; then
2933 CXXFLAGS="-g -O2"
2934 else
2935 CXXFLAGS="-g"
2936 fi
2937else
2938 if test "$GXX" = yes; then
2939 CXXFLAGS="-O2"
2940 else
2941 CXXFLAGS=
2942 fi
2943fi
2944ac_ext=c
2945ac_cpp='$CPP $CPPFLAGS'
2946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949DEPDIR="${am__leading_dot}deps"
2950
2951ac_config_commands="$ac_config_commands depfiles"
2952
2953
2954am_make=${MAKE-make}
2955cat > confinc << 'END'
2956am__doit:
2957 @echo this is the am__doit target
2958.PHONY: am__doit
2959END
2960# If we don't find an include directive, just comment out the code.
2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2962$as_echo_n "checking for style of include used by $am_make... " >&6; }
2963am__include="#"
2964am__quote=
2965_am_result=none
2966# First try GNU make style include.
2967echo "include confinc" > confmf
2968# Ignore all kinds of additional output from `make'.
2969case `$am_make -s -f confmf 2> /dev/null` in #(
2970*the\ am__doit\ target*)
2971 am__include=include
2972 am__quote=
2973 _am_result=GNU
2974 ;;
2975esac
2976# Now try BSD make style include.
2977if test "$am__include" = "#"; then
2978 echo '.include "confinc"' > confmf
2979 case `$am_make -s -f confmf 2> /dev/null` in #(
2980 *the\ am__doit\ target*)
2981 am__include=.include
2982 am__quote="\""
2983 _am_result=BSD
2984 ;;
2985 esac
2986fi
2987
2988
2989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2990$as_echo "$_am_result" >&6; }
2991rm -f confinc confmf
2992
2993# Check whether --enable-dependency-tracking was given.
2994if test "${enable_dependency_tracking+set}" = set; then :
2995 enableval=$enable_dependency_tracking;
2996fi
2997
2998if test "x$enable_dependency_tracking" != xno; then
2999 am_depcomp="$ac_aux_dir/depcomp"
3000 AMDEPBACKSLASH='\'
3001fi
3002 if test "x$enable_dependency_tracking" != xno; then
3003 AMDEP_TRUE=
3004 AMDEP_FALSE='#'
3005else
3006 AMDEP_TRUE='#'
3007 AMDEP_FALSE=
3008fi
3009
3010
3011
3012depcc="$CXX" am_compiler_list=
3013
3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3015$as_echo_n "checking dependency style of $depcc... " >&6; }
3016if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018else
3019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3020 # We make a subdir and do the tests there. Otherwise we can end up
3021 # making bogus files that we don't know about and never remove. For
3022 # instance it was reported that on HP-UX the gcc test will end up
3023 # making a dummy file named `D' -- because `-MD' means `put the output
3024 # in D'.
3025 mkdir conftest.dir
3026 # Copy depcomp to subdir because otherwise we won't find it if we're
3027 # using a relative directory.
3028 cp "$am_depcomp" conftest.dir
3029 cd conftest.dir
3030 # We will build objects and dependencies in a subdirectory because
3031 # it helps to detect inapplicable dependency modes. For instance
3032 # both Tru64's cc and ICC support -MD to output dependencies as a
3033 # side effect of compilation, but ICC will put the dependencies in
3034 # the current directory while Tru64 will put them in the object
3035 # directory.
3036 mkdir sub
3037
3038 am_cv_CXX_dependencies_compiler_type=none
3039 if test "$am_compiler_list" = ""; then
3040 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3041 fi
3042 am__universal=false
3043 case " $depcc " in #(
3044 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3045 esac
3046
3047 for depmode in $am_compiler_list; do
3048 # Setup a source with many dependencies, because some compilers
3049 # like to wrap large dependency lists on column 80 (with \), and
3050 # we should not choose a depcomp mode which is confused by this.
3051 #
3052 # We need to recreate these files for each test, as the compiler may
3053 # overwrite some of them when testing with obscure command lines.
3054 # This happens at least with the AIX C compiler.
3055 : > sub/conftest.c
3056 for i in 1 2 3 4 5 6; do
3057 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3058 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3059 # Solaris 8's {/usr,}/bin/sh.
3060 touch sub/conftst$i.h
3061 done
3062 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3063
3064 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3065 # mode. It turns out that the SunPro C++ compiler does not properly
3066 # handle `-M -o', and we need to detect this. Also, some Intel
3067 # versions had trouble with output in subdirs
3068 am__obj=sub/conftest.${OBJEXT-o}
3069 am__minus_obj="-o $am__obj"
3070 case $depmode in
3071 gcc)
3072 # This depmode causes a compiler race in universal mode.
3073 test "$am__universal" = false || continue
3074 ;;
3075 nosideeffect)
3076 # after this tag, mechanisms are not by side-effect, so they'll
3077 # only be used when explicitly requested
3078 if test "x$enable_dependency_tracking" = xyes; then
3079 continue
3080 else
3081 break
3082 fi
3083 ;;
3084 msvisualcpp | msvcmsys)
3085 # This compiler won't grok `-c -o', but also, the minuso test has
3086 # not run yet. These depmodes are late enough in the game, and
3087 # so weak that their functioning should not be impacted.
3088 am__obj=conftest.${OBJEXT-o}
3089 am__minus_obj=
3090 ;;
3091 none) break ;;
3092 esac
3093 if depmode=$depmode \
3094 source=sub/conftest.c object=$am__obj \
3095 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3096 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3097 >/dev/null 2>conftest.err &&
3098 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3099 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3100 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3101 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3102 # icc doesn't choke on unknown options, it will just issue warnings
3103 # or remarks (even with -Werror). So we grep stderr for any message
3104 # that says an option was ignored or not supported.
3105 # When given -MP, icc 7.0 and 7.1 complain thusly:
3106 # icc: Command line warning: ignoring option '-M'; no argument required
3107 # The diagnosis changed in icc 8.0:
3108 # icc: Command line remark: option '-MP' not supported
3109 if (grep 'ignoring option' conftest.err ||
3110 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3111 am_cv_CXX_dependencies_compiler_type=$depmode
3112 break
3113 fi
3114 fi
3115 done
3116
3117 cd ..
3118 rm -rf conftest.dir
3119else
3120 am_cv_CXX_dependencies_compiler_type=none
3121fi
3122
3123fi
3124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3125$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3126CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3127
3128 if
3129 test "x$enable_dependency_tracking" != xno \
3130 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3131 am__fastdepCXX_TRUE=
3132 am__fastdepCXX_FALSE='#'
3133else
3134 am__fastdepCXX_TRUE='#'
3135 am__fastdepCXX_FALSE=
3136fi
3137
3138
3139ac_ext=c
3140ac_cpp='$CPP $CPPFLAGS'
3141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143ac_compiler_gnu=$ac_cv_c_compiler_gnu
3144if test -n "$ac_tool_prefix"; then
3145 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3146set dummy ${ac_tool_prefix}gcc; ac_word=$2
3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148$as_echo_n "checking for $ac_word... " >&6; }
3149if ${ac_cv_prog_CC+:} false; then :
3150 $as_echo_n "(cached) " >&6
3151else
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3154else
3155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156for as_dir in $PATH
3157do
3158 IFS=$as_save_IFS
3159 test -z "$as_dir" && as_dir=.
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3162 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 break 2
3165 fi
3166done
3167 done
3168IFS=$as_save_IFS
3169
3170fi
3171fi
3172CC=$ac_cv_prog_CC
3173if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175$as_echo "$CC" >&6; }
3176else
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178$as_echo "no" >&6; }
3179fi
3180
3181
3182fi
3183if test -z "$ac_cv_prog_CC"; then
3184 ac_ct_CC=$CC
3185 # Extract the first word of "gcc", so it can be a program name with args.
3186set dummy gcc; ac_word=$2
3187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188$as_echo_n "checking for $ac_word... " >&6; }
3189if ${ac_cv_prog_ac_ct_CC+:} false; then :
3190 $as_echo_n "(cached) " >&6
3191else
3192 if test -n "$ac_ct_CC"; then
3193 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3194else
3195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196for as_dir in $PATH
3197do
3198 IFS=$as_save_IFS
3199 test -z "$as_dir" && as_dir=.
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3202 ac_cv_prog_ac_ct_CC="gcc"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 break 2
3205 fi
3206done
3207 done
3208IFS=$as_save_IFS
3209
3210fi
3211fi
3212ac_ct_CC=$ac_cv_prog_ac_ct_CC
3213if test -n "$ac_ct_CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3215$as_echo "$ac_ct_CC" >&6; }
3216else
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218$as_echo "no" >&6; }
3219fi
3220
3221 if test "x$ac_ct_CC" = x; then
3222 CC=""
3223 else
3224 case $cross_compiling:$ac_tool_warned in
3225yes:)
3226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3228ac_tool_warned=yes ;;
3229esac
3230 CC=$ac_ct_CC
3231 fi
3232else
3233 CC="$ac_cv_prog_CC"
3234fi
3235
3236if test -z "$CC"; then
3237 if test -n "$ac_tool_prefix"; then
3238 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3239set dummy ${ac_tool_prefix}cc; ac_word=$2
3240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241$as_echo_n "checking for $ac_word... " >&6; }
3242if ${ac_cv_prog_CC+:} false; then :
3243 $as_echo_n "(cached) " >&6
3244else
3245 if test -n "$CC"; then
3246 ac_cv_prog_CC="$CC" # Let the user override the test.
3247else
3248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249for as_dir in $PATH
3250do
3251 IFS=$as_save_IFS
3252 test -z "$as_dir" && as_dir=.
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_CC="${ac_tool_prefix}cc"
3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 break 2
3258 fi
3259done
3260 done
3261IFS=$as_save_IFS
3262
3263fi
3264fi
3265CC=$ac_cv_prog_CC
3266if test -n "$CC"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3268$as_echo "$CC" >&6; }
3269else
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271$as_echo "no" >&6; }
3272fi
3273
3274
3275 fi
3276fi
3277if test -z "$CC"; then
3278 # Extract the first word of "cc", so it can be a program name with args.
3279set dummy cc; ac_word=$2
3280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281$as_echo_n "checking for $ac_word... " >&6; }
3282if ${ac_cv_prog_CC+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284else
3285 if test -n "$CC"; then
3286 ac_cv_prog_CC="$CC" # Let the user override the test.
3287else
3288 ac_prog_rejected=no
3289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290for as_dir in $PATH
3291do
3292 IFS=$as_save_IFS
3293 test -z "$as_dir" && as_dir=.
3294 for ac_exec_ext in '' $ac_executable_extensions; do
3295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3297 ac_prog_rejected=yes
3298 continue
3299 fi
3300 ac_cv_prog_CC="cc"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 break 2
3303 fi
3304done
3305 done
3306IFS=$as_save_IFS
3307
3308if test $ac_prog_rejected = yes; then
3309 # We found a bogon in the path, so make sure we never use it.
3310 set dummy $ac_cv_prog_CC
3311 shift
3312 if test $# != 0; then
3313 # We chose a different compiler from the bogus one.
3314 # However, it has the same basename, so the bogon will be chosen
3315 # first if we set CC to just the basename; use the full file name.
3316 shift
3317 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3318 fi
3319fi
3320fi
3321fi
3322CC=$ac_cv_prog_CC
3323if test -n "$CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3325$as_echo "$CC" >&6; }
3326else
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328$as_echo "no" >&6; }
3329fi
3330
3331
3332fi
3333if test -z "$CC"; then
3334 if test -n "$ac_tool_prefix"; then
3335 for ac_prog in cl.exe
3336 do
3337 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3338set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340$as_echo_n "checking for $ac_word... " >&6; }
3341if ${ac_cv_prog_CC+:} false; then :
3342 $as_echo_n "(cached) " >&6
3343else
3344 if test -n "$CC"; then
3345 ac_cv_prog_CC="$CC" # Let the user override the test.
3346else
3347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348for as_dir in $PATH
3349do
3350 IFS=$as_save_IFS
3351 test -z "$as_dir" && as_dir=.
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3354 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 break 2
3357 fi
3358done
3359 done
3360IFS=$as_save_IFS
3361
3362fi
3363fi
3364CC=$ac_cv_prog_CC
3365if test -n "$CC"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3367$as_echo "$CC" >&6; }
3368else
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370$as_echo "no" >&6; }
3371fi
3372
3373
3374 test -n "$CC" && break
3375 done
3376fi
3377if test -z "$CC"; then
3378 ac_ct_CC=$CC
3379 for ac_prog in cl.exe
3380do
3381 # Extract the first word of "$ac_prog", so it can be a program name with args.
3382set dummy $ac_prog; ac_word=$2
3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384$as_echo_n "checking for $ac_word... " >&6; }
3385if ${ac_cv_prog_ac_ct_CC+:} false; then :
3386 $as_echo_n "(cached) " >&6
3387else
3388 if test -n "$ac_ct_CC"; then
3389 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3390else
3391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392for as_dir in $PATH
3393do
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_CC="$ac_prog"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402done
3403 done
3404IFS=$as_save_IFS
3405
3406fi
3407fi
3408ac_ct_CC=$ac_cv_prog_ac_ct_CC
3409if test -n "$ac_ct_CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3411$as_echo "$ac_ct_CC" >&6; }
3412else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414$as_echo "no" >&6; }
3415fi
3416
3417
3418 test -n "$ac_ct_CC" && break
3419done
3420
3421 if test "x$ac_ct_CC" = x; then
3422 CC=""
3423 else
3424 case $cross_compiling:$ac_tool_warned in
3425yes:)
3426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3428ac_tool_warned=yes ;;
3429esac
3430 CC=$ac_ct_CC
3431 fi
3432fi
3433
3434fi
3435
3436
3437test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439as_fn_error $? "no acceptable C compiler found in \$PATH
3440See \`config.log' for more details" "$LINENO" 5; }
3441
3442# Provide some information about the compiler.
3443$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3444set X $ac_compile
3445ac_compiler=$2
3446for ac_option in --version -v -V -qversion; do
3447 { { ac_try="$ac_compiler $ac_option >&5"
3448case "(($ac_try" in
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3451esac
3452eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453$as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3455 ac_status=$?
3456 if test -s conftest.err; then
3457 sed '10a\
3458... rest of stderr output deleted ...
3459 10q' conftest.err >conftest.er1
3460 cat conftest.er1 >&5
3461 fi
3462 rm -f conftest.er1 conftest.err
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }
3465done
3466
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3468$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3469if ${ac_cv_c_compiler_gnu+:} false; then :
3470 $as_echo_n "(cached) " >&6
3471else
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473/* end confdefs.h. */
3474
3475int
3476main ()
3477{
3478#ifndef __GNUC__
3479 choke me
3480#endif
3481
3482 ;
3483 return 0;
3484}
3485_ACEOF
3486if ac_fn_c_try_compile "$LINENO"; then :
3487 ac_compiler_gnu=yes
3488else
3489 ac_compiler_gnu=no
3490fi
3491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493
3494fi
3495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3496$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3497if test $ac_compiler_gnu = yes; then
3498 GCC=yes
3499else
3500 GCC=
3501fi
3502ac_test_CFLAGS=${CFLAGS+set}
3503ac_save_CFLAGS=$CFLAGS
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3505$as_echo_n "checking whether $CC accepts -g... " >&6; }
3506if ${ac_cv_prog_cc_g+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508else
3509 ac_save_c_werror_flag=$ac_c_werror_flag
3510 ac_c_werror_flag=yes
3511 ac_cv_prog_cc_g=no
3512 CFLAGS="-g"
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514/* end confdefs.h. */
3515
3516int
3517main ()
3518{
3519
3520 ;
3521 return 0;
3522}
3523_ACEOF
3524if ac_fn_c_try_compile "$LINENO"; then :
3525 ac_cv_prog_cc_g=yes
3526else
3527 CFLAGS=""
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h. */
3530
3531int
3532main ()
3533{
3534
3535 ;
3536 return 0;
3537}
3538_ACEOF
3539if ac_fn_c_try_compile "$LINENO"; then :
3540
3541else
3542 ac_c_werror_flag=$ac_save_c_werror_flag
3543 CFLAGS="-g"
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h. */
3546
3547int
3548main ()
3549{
3550
3551 ;
3552 return 0;
3553}
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556 ac_cv_prog_cc_g=yes
3557fi
3558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559fi
3560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561fi
3562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_c_werror_flag=$ac_save_c_werror_flag
3564fi
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3566$as_echo "$ac_cv_prog_cc_g" >&6; }
3567if test "$ac_test_CFLAGS" = set; then
3568 CFLAGS=$ac_save_CFLAGS
3569elif test $ac_cv_prog_cc_g = yes; then
3570 if test "$GCC" = yes; then
3571 CFLAGS="-g -O2"
3572 else
3573 CFLAGS="-g"
3574 fi
3575else
3576 if test "$GCC" = yes; then
3577 CFLAGS="-O2"
3578 else
3579 CFLAGS=
3580 fi
3581fi
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3583$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3584if ${ac_cv_prog_cc_c89+:} false; then :
3585 $as_echo_n "(cached) " >&6
3586else
3587 ac_cv_prog_cc_c89=no
3588ac_save_CC=$CC
3589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590/* end confdefs.h. */
3591#include <stdarg.h>
3592#include <stdio.h>
3593#include <sys/types.h>
3594#include <sys/stat.h>
3595/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3596struct buf { int x; };
3597FILE * (*rcsopen) (struct buf *, struct stat *, int);
3598static char *e (p, i)
3599 char **p;
3600 int i;
3601{
3602 return p[i];
3603}
3604static char *f (char * (*g) (char **, int), char **p, ...)
3605{
3606 char *s;
3607 va_list v;
3608 va_start (v,p);
3609 s = g (p, va_arg (v,int));
3610 va_end (v);
3611 return s;
3612}
3613
3614/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3615 function prototypes and stuff, but not '\xHH' hex character constants.
3616 These don't provoke an error unfortunately, instead are silently treated
3617 as 'x'. The following induces an error, until -std is added to get
3618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3619 array size at least. It's necessary to write '\x00'==0 to get something
3620 that's true only with -std. */
3621int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3622
3623/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3624 inside strings and character constants. */
3625#define FOO(x) 'x'
3626int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3627
3628int test (int i, double x);
3629struct s1 {int (*f) (int a);};
3630struct s2 {int (*f) (double a);};
3631int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3632int argc;
3633char **argv;
3634int
3635main ()
3636{
3637return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3638 ;
3639 return 0;
3640}
3641_ACEOF
3642for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3644do
3645 CC="$ac_save_CC $ac_arg"
3646 if ac_fn_c_try_compile "$LINENO"; then :
3647 ac_cv_prog_cc_c89=$ac_arg
3648fi
3649rm -f core conftest.err conftest.$ac_objext
3650 test "x$ac_cv_prog_cc_c89" != "xno" && break
3651done
3652rm -f conftest.$ac_ext
3653CC=$ac_save_CC
3654
3655fi
3656# AC_CACHE_VAL
3657case "x$ac_cv_prog_cc_c89" in
3658 x)
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3660$as_echo "none needed" >&6; } ;;
3661 xno)
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3663$as_echo "unsupported" >&6; } ;;
3664 *)
3665 CC="$CC $ac_cv_prog_cc_c89"
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3667$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3668esac
3669if test "x$ac_cv_prog_cc_c89" != xno; then :
3670
3671fi
3672
3673ac_ext=c
3674ac_cpp='$CPP $CPPFLAGS'
3675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678
3679depcc="$CC" am_compiler_list=
3680
3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3682$as_echo_n "checking dependency style of $depcc... " >&6; }
3683if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685else
3686 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3687 # We make a subdir and do the tests there. Otherwise we can end up
3688 # making bogus files that we don't know about and never remove. For
3689 # instance it was reported that on HP-UX the gcc test will end up
3690 # making a dummy file named `D' -- because `-MD' means `put the output
3691 # in D'.
3692 mkdir conftest.dir
3693 # Copy depcomp to subdir because otherwise we won't find it if we're
3694 # using a relative directory.
3695 cp "$am_depcomp" conftest.dir
3696 cd conftest.dir
3697 # We will build objects and dependencies in a subdirectory because
3698 # it helps to detect inapplicable dependency modes. For instance
3699 # both Tru64's cc and ICC support -MD to output dependencies as a
3700 # side effect of compilation, but ICC will put the dependencies in
3701 # the current directory while Tru64 will put them in the object
3702 # directory.
3703 mkdir sub
3704
3705 am_cv_CC_dependencies_compiler_type=none
3706 if test "$am_compiler_list" = ""; then
3707 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708 fi
3709 am__universal=false
3710 case " $depcc " in #(
3711 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3712 esac
3713
3714 for depmode in $am_compiler_list; do
3715 # Setup a source with many dependencies, because some compilers
3716 # like to wrap large dependency lists on column 80 (with \), and
3717 # we should not choose a depcomp mode which is confused by this.
3718 #
3719 # We need to recreate these files for each test, as the compiler may
3720 # overwrite some of them when testing with obscure command lines.
3721 # This happens at least with the AIX C compiler.
3722 : > sub/conftest.c
3723 for i in 1 2 3 4 5 6; do
3724 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3725 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3726 # Solaris 8's {/usr,}/bin/sh.
3727 touch sub/conftst$i.h
3728 done
3729 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730
3731 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3732 # mode. It turns out that the SunPro C++ compiler does not properly
3733 # handle `-M -o', and we need to detect this. Also, some Intel
3734 # versions had trouble with output in subdirs
3735 am__obj=sub/conftest.${OBJEXT-o}
3736 am__minus_obj="-o $am__obj"
3737 case $depmode in
3738 gcc)
3739 # This depmode causes a compiler race in universal mode.
3740 test "$am__universal" = false || continue
3741 ;;
3742 nosideeffect)
3743 # after this tag, mechanisms are not by side-effect, so they'll
3744 # only be used when explicitly requested
3745 if test "x$enable_dependency_tracking" = xyes; then
3746 continue
3747 else
3748 break
3749 fi
3750 ;;
3751 msvisualcpp | msvcmsys)
3752 # This compiler won't grok `-c -o', but also, the minuso test has
3753 # not run yet. These depmodes are late enough in the game, and
3754 # so weak that their functioning should not be impacted.
3755 am__obj=conftest.${OBJEXT-o}
3756 am__minus_obj=
3757 ;;
3758 none) break ;;
3759 esac
3760 if depmode=$depmode \
3761 source=sub/conftest.c object=$am__obj \
3762 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3763 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3764 >/dev/null 2>conftest.err &&
3765 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3766 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3767 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3768 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3769 # icc doesn't choke on unknown options, it will just issue warnings
3770 # or remarks (even with -Werror). So we grep stderr for any message
3771 # that says an option was ignored or not supported.
3772 # When given -MP, icc 7.0 and 7.1 complain thusly:
3773 # icc: Command line warning: ignoring option '-M'; no argument required
3774 # The diagnosis changed in icc 8.0:
3775 # icc: Command line remark: option '-MP' not supported
3776 if (grep 'ignoring option' conftest.err ||
3777 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3778 am_cv_CC_dependencies_compiler_type=$depmode
3779 break
3780 fi
3781 fi
3782 done
3783
3784 cd ..
3785 rm -rf conftest.dir
3786else
3787 am_cv_CC_dependencies_compiler_type=none
3788fi
3789
3790fi
3791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3792$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3793CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3794
3795 if
3796 test "x$enable_dependency_tracking" != xno \
3797 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3798 am__fastdepCC_TRUE=
3799 am__fastdepCC_FALSE='#'
3800else
3801 am__fastdepCC_TRUE='#'
3802 am__fastdepCC_FALSE=
3803fi
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3812$as_echo_n "checking how to run the C preprocessor... " >&6; }
3813# On Suns, sometimes $CPP names a directory.
3814if test -n "$CPP" && test -d "$CPP"; then
3815 CPP=
3816fi
3817if test -z "$CPP"; then
3818 if ${ac_cv_prog_CPP+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820else
3821 # Double quotes because CPP needs to be expanded
3822 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3823 do
3824 ac_preproc_ok=false
3825for ac_c_preproc_warn_flag in '' yes
3826do
3827 # Use a header file that comes with gcc, so configuring glibc
3828 # with a fresh cross-compiler works.
3829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3830 # <limits.h> exists even on freestanding compilers.
3831 # On the NeXT, cc -E runs the code through the compiler's parser,
3832 # not just through cpp. "Syntax error" is here to catch this case.
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834/* end confdefs.h. */
3835#ifdef __STDC__
3836# include <limits.h>
3837#else
3838# include <assert.h>
3839#endif
3840 Syntax error
3841_ACEOF
3842if ac_fn_c_try_cpp "$LINENO"; then :
3843
3844else
3845 # Broken: fails on valid input.
3846continue
3847fi
3848rm -f conftest.err conftest.i conftest.$ac_ext
3849
3850 # OK, works on sane cases. Now check whether nonexistent headers
3851 # can be detected and how.
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853/* end confdefs.h. */
3854#include <ac_nonexistent.h>
3855_ACEOF
3856if ac_fn_c_try_cpp "$LINENO"; then :
3857 # Broken: success on invalid input.
3858continue
3859else
3860 # Passes both tests.
3861ac_preproc_ok=:
3862break
3863fi
3864rm -f conftest.err conftest.i conftest.$ac_ext
3865
3866done
3867# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3868rm -f conftest.i conftest.err conftest.$ac_ext
3869if $ac_preproc_ok; then :
3870 break
3871fi
3872
3873 done
3874 ac_cv_prog_CPP=$CPP
3875
3876fi
3877 CPP=$ac_cv_prog_CPP
3878else
3879 ac_cv_prog_CPP=$CPP
3880fi
3881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3882$as_echo "$CPP" >&6; }
3883ac_preproc_ok=false
3884for ac_c_preproc_warn_flag in '' yes
3885do
3886 # Use a header file that comes with gcc, so configuring glibc
3887 # with a fresh cross-compiler works.
3888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3889 # <limits.h> exists even on freestanding compilers.
3890 # On the NeXT, cc -E runs the code through the compiler's parser,
3891 # not just through cpp. "Syntax error" is here to catch this case.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893/* end confdefs.h. */
3894#ifdef __STDC__
3895# include <limits.h>
3896#else
3897# include <assert.h>
3898#endif
3899 Syntax error
3900_ACEOF
3901if ac_fn_c_try_cpp "$LINENO"; then :
3902
3903else
3904 # Broken: fails on valid input.
3905continue
3906fi
3907rm -f conftest.err conftest.i conftest.$ac_ext
3908
3909 # OK, works on sane cases. Now check whether nonexistent headers
3910 # can be detected and how.
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912/* end confdefs.h. */
3913#include <ac_nonexistent.h>
3914_ACEOF
3915if ac_fn_c_try_cpp "$LINENO"; then :
3916 # Broken: success on invalid input.
3917continue
3918else
3919 # Passes both tests.
3920ac_preproc_ok=:
3921break
3922fi
3923rm -f conftest.err conftest.i conftest.$ac_ext
3924
3925done
3926# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927rm -f conftest.i conftest.err conftest.$ac_ext
3928if $ac_preproc_ok; then :
3929
3930else
3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3934See \`config.log' for more details" "$LINENO" 5; }
3935fi
3936
3937ac_ext=c
3938ac_cpp='$CPP $CPPFLAGS'
3939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941ac_compiler_gnu=$ac_cv_c_compiler_gnu
3942
3943
3944# Checks for libraries.
3945
3946# Checks for header files.
3947
3948# Checks for typedefs, structures, and compiler characteristics.
3949
3950# Checks for library functions.
3951
3952# Completion
3953ac_config_files="$ac_config_files Makefile"
3954
3955cat >confcache <<\_ACEOF
3956# This file is a shell script that caches the results of configure
3957# tests run on this system so they can be shared between configure
3958# scripts and configure runs, see configure's option --config-cache.
3959# It is not useful on other systems. If it contains results you don't
3960# want to keep, you may remove or edit it.
3961#
3962# config.status only pays attention to the cache file if you give it
3963# the --recheck option to rerun configure.
3964#
3965# `ac_cv_env_foo' variables (set or unset) will be overridden when
3966# loading this file, other *unset* `ac_cv_foo' will be assigned the
3967# following values.
3968
3969_ACEOF
3970
3971# The following way of writing the cache mishandles newlines in values,
3972# but we know of no workaround that is simple, portable, and efficient.
3973# So, we kill variables containing newlines.
3974# Ultrix sh set writes to stderr and can't be redirected directly,
3975# and sets the high bit in the cache file unless we assign to the vars.
3976(
3977 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3978 eval ac_val=\$$ac_var
3979 case $ac_val in #(
3980 *${as_nl}*)
3981 case $ac_var in #(
3982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3983$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3984 esac
3985 case $ac_var in #(
3986 _ | IFS | as_nl) ;; #(
3987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3988 *) { eval $ac_var=; unset $ac_var;} ;;
3989 esac ;;
3990 esac
3991 done
3992
3993 (set) 2>&1 |
3994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3995 *${as_nl}ac_space=\ *)
3996 # `set' does not quote correctly, so add quotes: double-quote
3997 # substitution turns \\\\ into \\, and sed turns \\ into \.
3998 sed -n \
3999 "s/'/'\\\\''/g;
4000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4001 ;; #(
4002 *)
4003 # `set' quotes correctly as required by POSIX, so do not add quotes.
4004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4005 ;;
4006 esac |
4007 sort
4008) |
4009 sed '
4010 /^ac_cv_env_/b end
4011 t clear
4012 :clear
4013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4014 t end
4015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4016 :end' >>confcache
4017if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4018 if test -w "$cache_file"; then
4019 if test "x$cache_file" != "x/dev/null"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4021$as_echo "$as_me: updating cache $cache_file" >&6;}
4022 if test ! -f "$cache_file" || test -h "$cache_file"; then
4023 cat confcache >"$cache_file"
4024 else
4025 case $cache_file in #(
4026 */* | ?:*)
4027 mv -f confcache "$cache_file"$$ &&
4028 mv -f "$cache_file"$$ "$cache_file" ;; #(
4029 *)
4030 mv -f confcache "$cache_file" ;;
4031 esac
4032 fi
4033 fi
4034 else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4036$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4037 fi
4038fi
4039rm -f confcache
4040
4041test "x$prefix" = xNONE && prefix=$ac_default_prefix
4042# Let make expand exec_prefix.
4043test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4044
4045DEFS=-DHAVE_CONFIG_H
4046
4047ac_libobjs=
4048ac_ltlibobjs=
4049U=
4050for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4051 # 1. Remove the extension, and $U if already installed.
4052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4055 # will be set to the directory where LIBOBJS objects are built.
4056 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4057 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4058done
4059LIBOBJS=$ac_libobjs
4060
4061LTLIBOBJS=$ac_ltlibobjs
4062
4063
4064 if test -n "$EXEEXT"; then
4065 am__EXEEXT_TRUE=
4066 am__EXEEXT_FALSE='#'
4067else
4068 am__EXEEXT_TRUE='#'
4069 am__EXEEXT_FALSE=
4070fi
4071
4072if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4073 as_fn_error $? "conditional \"AMDEP\" was never defined.
4074Usually this means the macro was only invoked conditionally." "$LINENO" 5
4075fi
4076if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4077 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4078Usually this means the macro was only invoked conditionally." "$LINENO" 5
4079fi
4080if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4081 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4082Usually this means the macro was only invoked conditionally." "$LINENO" 5
4083fi
4084
4085: "${CONFIG_STATUS=./config.status}"
4086ac_write_fail=0
4087ac_clean_files_save=$ac_clean_files
4088ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4089{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4090$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4091as_write_fail=0
4092cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4093#! $SHELL
4094# Generated by $as_me.
4095# Run this file to recreate the current configuration.
4096# Compiler output produced by configure, useful for debugging
4097# configure, is in config.log if it exists.
4098
4099debug=false
4100ac_cs_recheck=false
4101ac_cs_silent=false
4102
4103SHELL=\${CONFIG_SHELL-$SHELL}
4104export SHELL
4105_ASEOF
4106cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4107## -------------------- ##
4108## M4sh Initialization. ##
4109## -------------------- ##
4110
4111# Be more Bourne compatible
4112DUALCASE=1; export DUALCASE # for MKS sh
4113if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4114 emulate sh
4115 NULLCMD=:
4116 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4117 # is contrary to our usage. Disable this feature.
4118 alias -g '${1+"$@"}'='"$@"'
4119 setopt NO_GLOB_SUBST
4120else
4121 case `(set -o) 2>/dev/null` in #(
4122 *posix*) :
4123 set -o posix ;; #(
4124 *) :
4125 ;;
4126esac
4127fi
4128
4129
4130as_nl='
4131'
4132export as_nl
4133# Printing a long string crashes Solaris 7 /usr/bin/printf.
4134as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4135as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4136as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4137# Prefer a ksh shell builtin over an external printf program on Solaris,
4138# but without wasting forks for bash or zsh.
4139if test -z "$BASH_VERSION$ZSH_VERSION" \
4140 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4141 as_echo='print -r --'
4142 as_echo_n='print -rn --'
4143elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4144 as_echo='printf %s\n'
4145 as_echo_n='printf %s'
4146else
4147 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4148 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4149 as_echo_n='/usr/ucb/echo -n'
4150 else
4151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4152 as_echo_n_body='eval
4153 arg=$1;
4154 case $arg in #(
4155 *"$as_nl"*)
4156 expr "X$arg" : "X\\(.*\\)$as_nl";
4157 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4158 esac;
4159 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4160 '
4161 export as_echo_n_body
4162 as_echo_n='sh -c $as_echo_n_body as_echo'
4163 fi
4164 export as_echo_body
4165 as_echo='sh -c $as_echo_body as_echo'
4166fi
4167
4168# The user is always right.
4169if test "${PATH_SEPARATOR+set}" != set; then
4170 PATH_SEPARATOR=:
4171 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4172 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4173 PATH_SEPARATOR=';'
4174 }
4175fi
4176
4177
4178# IFS
4179# We need space, tab and new line, in precisely that order. Quoting is
4180# there to prevent editors from complaining about space-tab.
4181# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4182# splitting by setting IFS to empty value.)
4183IFS=" "" $as_nl"
4184
4185# Find who we are. Look in the path if we contain no directory separator.
4186as_myself=
4187case $0 in #((
4188 *[\\/]* ) as_myself=$0 ;;
4189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190for as_dir in $PATH
4191do
4192 IFS=$as_save_IFS
4193 test -z "$as_dir" && as_dir=.
4194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4195 done
4196IFS=$as_save_IFS
4197
4198 ;;
4199esac
4200# We did not find ourselves, most probably we were run as `sh COMMAND'
4201# in which case we are not to be found in the path.
4202if test "x$as_myself" = x; then
4203 as_myself=$0
4204fi
4205if test ! -f "$as_myself"; then
4206 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4207 exit 1
4208fi
4209
4210# Unset variables that we do not need and which cause bugs (e.g. in
4211# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4212# suppresses any "Segmentation fault" message there. '((' could
4213# trigger a bug in pdksh 5.2.14.
4214for as_var in BASH_ENV ENV MAIL MAILPATH
4215do eval test x\${$as_var+set} = xset \
4216 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4217done
4218PS1='$ '
4219PS2='> '
4220PS4='+ '
4221
4222# NLS nuisances.
4223LC_ALL=C
4224export LC_ALL
4225LANGUAGE=C
4226export LANGUAGE
4227
4228# CDPATH.
4229(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4230
4231
4232# as_fn_error STATUS ERROR [LINENO LOG_FD]
4233# ----------------------------------------
4234# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4235# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4236# script with STATUS, using 1 if that was 0.
4237as_fn_error ()
4238{
4239 as_status=$1; test $as_status -eq 0 && as_status=1
4240 if test "$4"; then
4241 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4242 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4243 fi
4244 $as_echo "$as_me: error: $2" >&2
4245 as_fn_exit $as_status
4246} # as_fn_error
4247
4248
4249# as_fn_set_status STATUS
4250# -----------------------
4251# Set $? to STATUS, without forking.
4252as_fn_set_status ()
4253{
4254 return $1
4255} # as_fn_set_status
4256
4257# as_fn_exit STATUS
4258# -----------------
4259# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4260as_fn_exit ()
4261{
4262 set +e
4263 as_fn_set_status $1
4264 exit $1
4265} # as_fn_exit
4266
4267# as_fn_unset VAR
4268# ---------------
4269# Portably unset VAR.
4270as_fn_unset ()
4271{
4272 { eval $1=; unset $1;}
4273}
4274as_unset=as_fn_unset
4275# as_fn_append VAR VALUE
4276# ----------------------
4277# Append the text in VALUE to the end of the definition contained in VAR. Take
4278# advantage of any shell optimizations that allow amortized linear growth over
4279# repeated appends, instead of the typical quadratic growth present in naive
4280# implementations.
4281if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4282 eval 'as_fn_append ()
4283 {
4284 eval $1+=\$2
4285 }'
4286else
4287 as_fn_append ()
4288 {
4289 eval $1=\$$1\$2
4290 }
4291fi # as_fn_append
4292
4293# as_fn_arith ARG...
4294# ------------------
4295# Perform arithmetic evaluation on the ARGs, and store the result in the
4296# global $as_val. Take advantage of shells that can avoid forks. The arguments
4297# must be portable across $(()) and expr.
4298if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4299 eval 'as_fn_arith ()
4300 {
4301 as_val=$(( $* ))
4302 }'
4303else
4304 as_fn_arith ()
4305 {
4306 as_val=`expr "$@" || test $? -eq 1`
4307 }
4308fi # as_fn_arith
4309
4310
4311if expr a : '\(a\)' >/dev/null 2>&1 &&
4312 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4313 as_expr=expr
4314else
4315 as_expr=false
4316fi
4317
4318if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4319 as_basename=basename
4320else
4321 as_basename=false
4322fi
4323
4324if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4325 as_dirname=dirname
4326else
4327 as_dirname=false
4328fi
4329
4330as_me=`$as_basename -- "$0" ||
4331$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4332 X"$0" : 'X\(//\)$' \| \
4333 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4334$as_echo X/"$0" |
4335 sed '/^.*\/\([^/][^/]*\)\/*$/{
4336 s//\1/
4337 q
4338 }
4339 /^X\/\(\/\/\)$/{
4340 s//\1/
4341 q
4342 }
4343 /^X\/\(\/\).*/{
4344 s//\1/
4345 q
4346 }
4347 s/.*/./; q'`
4348
4349# Avoid depending upon Character Ranges.
4350as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4351as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4352as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4353as_cr_digits='0123456789'
4354as_cr_alnum=$as_cr_Letters$as_cr_digits
4355
4356ECHO_C= ECHO_N= ECHO_T=
4357case `echo -n x` in #(((((
4358-n*)
4359 case `echo 'xy\c'` in
4360 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4361 xy) ECHO_C='\c';;
4362 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4363 ECHO_T=' ';;
4364 esac;;
4365*)
4366 ECHO_N='-n';;
4367esac
4368
4369rm -f conf$$ conf$$.exe conf$$.file
4370if test -d conf$$.dir; then
4371 rm -f conf$$.dir/conf$$.file
4372else
4373 rm -f conf$$.dir
4374 mkdir conf$$.dir 2>/dev/null
4375fi
4376if (echo >conf$$.file) 2>/dev/null; then
4377 if ln -s conf$$.file conf$$ 2>/dev/null; then
4378 as_ln_s='ln -s'
4379 # ... but there are two gotchas:
4380 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4381 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4382 # In both cases, we have to default to `cp -p'.
4383 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4384 as_ln_s='cp -p'
4385 elif ln conf$$.file conf$$ 2>/dev/null; then
4386 as_ln_s=ln
4387 else
4388 as_ln_s='cp -p'
4389 fi
4390else
4391 as_ln_s='cp -p'
4392fi
4393rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4394rmdir conf$$.dir 2>/dev/null
4395
4396
4397# as_fn_mkdir_p
4398# -------------
4399# Create "$as_dir" as a directory, including parents if necessary.
4400as_fn_mkdir_p ()
4401{
4402
4403 case $as_dir in #(
4404 -*) as_dir=./$as_dir;;
4405 esac
4406 test -d "$as_dir" || eval $as_mkdir_p || {
4407 as_dirs=
4408 while :; do
4409 case $as_dir in #(
4410 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4411 *) as_qdir=$as_dir;;
4412 esac
4413 as_dirs="'$as_qdir' $as_dirs"
4414 as_dir=`$as_dirname -- "$as_dir" ||
4415$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4416 X"$as_dir" : 'X\(//\)[^/]' \| \
4417 X"$as_dir" : 'X\(//\)$' \| \
4418 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4419$as_echo X"$as_dir" |
4420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4421 s//\1/
4422 q
4423 }
4424 /^X\(\/\/\)[^/].*/{
4425 s//\1/
4426 q
4427 }
4428 /^X\(\/\/\)$/{
4429 s//\1/
4430 q
4431 }
4432 /^X\(\/\).*/{
4433 s//\1/
4434 q
4435 }
4436 s/.*/./; q'`
4437 test -d "$as_dir" && break
4438 done
4439 test -z "$as_dirs" || eval "mkdir $as_dirs"
4440 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4441
4442
4443} # as_fn_mkdir_p
4444if mkdir -p . 2>/dev/null; then
4445 as_mkdir_p='mkdir -p "$as_dir"'
4446else
4447 test -d ./-p && rmdir ./-p
4448 as_mkdir_p=false
4449fi
4450
4451if test -x / >/dev/null 2>&1; then
4452 as_test_x='test -x'
4453else
4454 if ls -dL / >/dev/null 2>&1; then
4455 as_ls_L_option=L
4456 else
4457 as_ls_L_option=
4458 fi
4459 as_test_x='
4460 eval sh -c '\''
4461 if test -d "$1"; then
4462 test -d "$1/.";
4463 else
4464 case $1 in #(
4465 -*)set "./$1";;
4466 esac;
4467 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4468 ???[sx]*):;;*)false;;esac;fi
4469 '\'' sh
4470 '
4471fi
4472as_executable_p=$as_test_x
4473
4474# Sed expression to map a string onto a valid CPP name.
4475as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4476
4477# Sed expression to map a string onto a valid variable name.
4478as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4479
4480
4481exec 6>&1
4482## ----------------------------------- ##
4483## Main body of $CONFIG_STATUS script. ##
4484## ----------------------------------- ##
4485_ASEOF
4486test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4487
4488cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4489# Save the log message, to keep $0 and so on meaningful, and to
4490# report actual input values of CONFIG_FILES etc. instead of their
4491# values after options handling.
4492ac_log="
4493This file was extended by tdbcli $as_me 1.0, which was
4494generated by GNU Autoconf 2.68. Invocation command line was
4495
4496 CONFIG_FILES = $CONFIG_FILES
4497 CONFIG_HEADERS = $CONFIG_HEADERS
4498 CONFIG_LINKS = $CONFIG_LINKS
4499 CONFIG_COMMANDS = $CONFIG_COMMANDS
4500 $ $0 $@
4501
4502on `(hostname || uname -n) 2>/dev/null | sed 1q`
4503"
4504
4505_ACEOF
4506
4507case $ac_config_files in *"
4508"*) set x $ac_config_files; shift; ac_config_files=$*;;
4509esac
4510
4511case $ac_config_headers in *"
4512"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4513esac
4514
4515
4516cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4517# Files that config.status was made for.
4518config_files="$ac_config_files"
4519config_headers="$ac_config_headers"
4520config_commands="$ac_config_commands"
4521
4522_ACEOF
4523
4524cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4525ac_cs_usage="\
4526\`$as_me' instantiates files and other configuration actions
4527from templates according to the current configuration. Unless the files
4528and actions are specified as TAGs, all are instantiated by default.
4529
4530Usage: $0 [OPTION]... [TAG]...
4531
4532 -h, --help print this help, then exit
4533 -V, --version print version number and configuration settings, then exit
4534 --config print configuration, then exit
4535 -q, --quiet, --silent
4536 do not print progress messages
4537 -d, --debug don't remove temporary files
4538 --recheck update $as_me by reconfiguring in the same conditions
4539 --file=FILE[:TEMPLATE]
4540 instantiate the configuration file FILE
4541 --header=FILE[:TEMPLATE]
4542 instantiate the configuration header FILE
4543
4544Configuration files:
4545$config_files
4546
4547Configuration headers:
4548$config_headers
4549
4550Configuration commands:
4551$config_commands
4552
4553Report bugs to <[email protected]>."
4554
4555_ACEOF
4556cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4557ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4558ac_cs_version="\\
4559tdbcli config.status 1.0
4560configured by $0, generated by GNU Autoconf 2.68,
4561 with options \\"\$ac_cs_config\\"
4562
4563Copyright (C) 2010 Free Software Foundation, Inc.
4564This config.status script is free software; the Free Software Foundation
4565gives unlimited permission to copy, distribute and modify it."
4566
4567ac_pwd='$ac_pwd'
4568srcdir='$srcdir'
4569INSTALL='$INSTALL'
4570MKDIR_P='$MKDIR_P'
4571AWK='$AWK'
4572test -n "\$AWK" || AWK=awk
4573_ACEOF
4574
4575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4576# The default lists apply if the user does not specify any file.
4577ac_need_defaults=:
4578while test $# != 0
4579do
4580 case $1 in
4581 --*=?*)
4582 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4583 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4584 ac_shift=:
4585 ;;
4586 --*=)
4587 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4588 ac_optarg=
4589 ac_shift=:
4590 ;;
4591 *)
4592 ac_option=$1
4593 ac_optarg=$2
4594 ac_shift=shift
4595 ;;
4596 esac
4597
4598 case $ac_option in
4599 # Handling of the options.
4600 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4601 ac_cs_recheck=: ;;
4602 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4603 $as_echo "$ac_cs_version"; exit ;;
4604 --config | --confi | --conf | --con | --co | --c )
4605 $as_echo "$ac_cs_config"; exit ;;
4606 --debug | --debu | --deb | --de | --d | -d )
4607 debug=: ;;
4608 --file | --fil | --fi | --f )
4609 $ac_shift
4610 case $ac_optarg in
4611 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4612 '') as_fn_error $? "missing file argument" ;;
4613 esac
4614 as_fn_append CONFIG_FILES " '$ac_optarg'"
4615 ac_need_defaults=false;;
4616 --header | --heade | --head | --hea )
4617 $ac_shift
4618 case $ac_optarg in
4619 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4620 esac
4621 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4622 ac_need_defaults=false;;
4623 --he | --h)
4624 # Conflict between --help and --header
4625 as_fn_error $? "ambiguous option: \`$1'
4626Try \`$0 --help' for more information.";;
4627 --help | --hel | -h )
4628 $as_echo "$ac_cs_usage"; exit ;;
4629 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4630 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4631 ac_cs_silent=: ;;
4632
4633 # This is an error.
4634 -*) as_fn_error $? "unrecognized option: \`$1'
4635Try \`$0 --help' for more information." ;;
4636
4637 *) as_fn_append ac_config_targets " $1"
4638 ac_need_defaults=false ;;
4639
4640 esac
4641 shift
4642done
4643
4644ac_configure_extra_args=
4645
4646if $ac_cs_silent; then
4647 exec 6>/dev/null
4648 ac_configure_extra_args="$ac_configure_extra_args --silent"
4649fi
4650
4651_ACEOF
4652cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4653if \$ac_cs_recheck; then
4654 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4655 shift
4656 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4657 CONFIG_SHELL='$SHELL'
4658 export CONFIG_SHELL
4659 exec "\$@"
4660fi
4661
4662_ACEOF
4663cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4664exec 5>>config.log
4665{
4666 echo
4667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4668## Running $as_me. ##
4669_ASBOX
4670 $as_echo "$ac_log"
4671} >&5
4672
4673_ACEOF
4674cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4675#
4676# INIT-COMMANDS
4677#
4678AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4679
4680_ACEOF
4681
4682cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4683
4684# Handling of arguments.
4685for ac_config_target in $ac_config_targets
4686do
4687 case $ac_config_target in
4688 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4689 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4690 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4691
4692 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4693 esac
4694done
4695
4696
4697# If the user did not use the arguments to specify the items to instantiate,
4698# then the envvar interface is used. Set only those that are not.
4699# We use the long form for the default assignment because of an extremely
4700# bizarre bug on SunOS 4.1.3.
4701if $ac_need_defaults; then
4702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4704 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4705fi
4706
4707# Have a temporary directory for convenience. Make it in the build tree
4708# simply because there is no reason against having it here, and in addition,
4709# creating and moving files from /tmp can sometimes cause problems.
4710# Hook for its removal unless debugging.
4711# Note that there is a small window in which the directory will not be cleaned:
4712# after its creation but before its name has been assigned to `$tmp'.
4713$debug ||
4714{
4715 tmp= ac_tmp=
4716 trap 'exit_status=$?
4717 : "${ac_tmp:=$tmp}"
4718 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4719' 0
4720 trap 'as_fn_exit 1' 1 2 13 15
4721}
4722# Create a (secure) tmp directory for tmp files.
4723
4724{
4725 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4726 test -d "$tmp"
4727} ||
4728{
4729 tmp=./conf$$-$RANDOM
4730 (umask 077 && mkdir "$tmp")
4731} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4732ac_tmp=$tmp
4733
4734# Set up the scripts for CONFIG_FILES section.
4735# No need to generate them if there are no CONFIG_FILES.
4736# This happens for instance with `./config.status config.h'.
4737if test -n "$CONFIG_FILES"; then
4738
4739
4740ac_cr=`echo X | tr X '\015'`
4741# On cygwin, bash can eat \r inside `` if the user requested igncr.
4742# But we know of no other shell where ac_cr would be empty at this
4743# point, so we can use a bashism as a fallback.
4744if test "x$ac_cr" = x; then
4745 eval ac_cr=\$\'\\r\'
4746fi
4747ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4748if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4749 ac_cs_awk_cr='\\r'
4750else
4751 ac_cs_awk_cr=$ac_cr
4752fi
4753
4754echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4755_ACEOF
4756
4757
4758{
4759 echo "cat >conf$$subs.awk <<_ACEOF" &&
4760 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4761 echo "_ACEOF"
4762} >conf$$subs.sh ||
4763 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4764ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4765ac_delim='%!_!# '
4766for ac_last_try in false false false false false :; do
4767 . ./conf$$subs.sh ||
4768 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4769
4770 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4771 if test $ac_delim_n = $ac_delim_num; then
4772 break
4773 elif $ac_last_try; then
4774 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4775 else
4776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4777 fi
4778done
4779rm -f conf$$subs.sh
4780
4781cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4782cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4783_ACEOF
4784sed -n '
4785h
4786s/^/S["/; s/!.*/"]=/
4787p
4788g
4789s/^[^!]*!//
4790:repl
4791t repl
4792s/'"$ac_delim"'$//
4793t delim
4794:nl
4795h
4796s/\(.\{148\}\)..*/\1/
4797t more1
4798s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4799p
4800n
4801b repl
4802:more1
4803s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4804p
4805g
4806s/.\{148\}//
4807t nl
4808:delim
4809h
4810s/\(.\{148\}\)..*/\1/
4811t more2
4812s/["\\]/\\&/g; s/^/"/; s/$/"/
4813p
4814b
4815:more2
4816s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4817p
4818g
4819s/.\{148\}//
4820t delim
4821' <conf$$subs.awk | sed '
4822/^[^""]/{
4823 N
4824 s/\n//
4825}
4826' >>$CONFIG_STATUS || ac_write_fail=1
4827rm -f conf$$subs.awk
4828cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4829_ACAWK
4830cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4831 for (key in S) S_is_set[key] = 1
4832 FS = ""
4833
4834}
4835{
4836 line = $ 0
4837 nfields = split(line, field, "@")
4838 substed = 0
4839 len = length(field[1])
4840 for (i = 2; i < nfields; i++) {
4841 key = field[i]
4842 keylen = length(key)
4843 if (S_is_set[key]) {
4844 value = S[key]
4845 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4846 len += length(value) + length(field[++i])
4847 substed = 1
4848 } else
4849 len += 1 + keylen
4850 }
4851
4852 print line
4853}
4854
4855_ACAWK
4856_ACEOF
4857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4858if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4859 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4860else
4861 cat
4862fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4863 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4864_ACEOF
4865
4866# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4867# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4868# trailing colons and then remove the whole line if VPATH becomes empty
4869# (actually we leave an empty line to preserve line numbers).
4870if test "x$srcdir" = x.; then
4871 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4872h
4873s///
4874s/^/:/
4875s/[ ]*$/:/
4876s/:\$(srcdir):/:/g
4877s/:\${srcdir}:/:/g
4878s/:@srcdir@:/:/g
4879s/^:*//
4880s/:*$//
4881x
4882s/\(=[ ]*\).*/\1/
4883G
4884s/\n//
4885s/^[^=]*=[ ]*$//
4886}'
4887fi
4888
4889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4890fi # test -n "$CONFIG_FILES"
4891
4892# Set up the scripts for CONFIG_HEADERS section.
4893# No need to generate them if there are no CONFIG_HEADERS.
4894# This happens for instance with `./config.status Makefile'.
4895if test -n "$CONFIG_HEADERS"; then
4896cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4897BEGIN {
4898_ACEOF
4899
4900# Transform confdefs.h into an awk script `defines.awk', embedded as
4901# here-document in config.status, that substitutes the proper values into
4902# config.h.in to produce config.h.
4903
4904# Create a delimiter string that does not exist in confdefs.h, to ease
4905# handling of long lines.
4906ac_delim='%!_!# '
4907for ac_last_try in false false :; do
4908 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4909 if test -z "$ac_tt"; then
4910 break
4911 elif $ac_last_try; then
4912 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4913 else
4914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4915 fi
4916done
4917
4918# For the awk script, D is an array of macro values keyed by name,
4919# likewise P contains macro parameters if any. Preserve backslash
4920# newline sequences.
4921
4922ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4923sed -n '
4924s/.\{148\}/&'"$ac_delim"'/g
4925t rset
4926:rset
4927s/^[ ]*#[ ]*define[ ][ ]*/ /
4928t def
4929d
4930:def
4931s/\\$//
4932t bsnl
4933s/["\\]/\\&/g
4934s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4935D["\1"]=" \3"/p
4936s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4937d
4938:bsnl
4939s/["\\]/\\&/g
4940s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4941D["\1"]=" \3\\\\\\n"\\/p
4942t cont
4943s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4944t cont
4945d
4946:cont
4947n
4948s/.\{148\}/&'"$ac_delim"'/g
4949t clear
4950:clear
4951s/\\$//
4952t bsnlc
4953s/["\\]/\\&/g; s/^/"/; s/$/"/p
4954d
4955:bsnlc
4956s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4957b cont
4958' <confdefs.h | sed '
4959s/'"$ac_delim"'/"\\\
4960"/g' >>$CONFIG_STATUS || ac_write_fail=1
4961
4962cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4963 for (key in D) D_is_set[key] = 1
4964 FS = ""
4965}
4966/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4967 line = \$ 0
4968 split(line, arg, " ")
4969 if (arg[1] == "#") {
4970 defundef = arg[2]
4971 mac1 = arg[3]
4972 } else {
4973 defundef = substr(arg[1], 2)
4974 mac1 = arg[2]
4975 }
4976 split(mac1, mac2, "(") #)
4977 macro = mac2[1]
4978 prefix = substr(line, 1, index(line, defundef) - 1)
4979 if (D_is_set[macro]) {
4980 # Preserve the white space surrounding the "#".
4981 print prefix "define", macro P[macro] D[macro]
4982 next
4983 } else {
4984 # Replace #undef with comments. This is necessary, for example,
4985 # in the case of _POSIX_SOURCE, which is predefined and required
4986 # on some systems where configure will not decide to define it.
4987 if (defundef == "undef") {
4988 print "/*", prefix defundef, macro, "*/"
4989 next
4990 }
4991 }
4992}
4993{ print }
4994_ACAWK
4995_ACEOF
4996cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4997 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4998fi # test -n "$CONFIG_HEADERS"
4999
5000
5001eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5002shift
5003for ac_tag
5004do
5005 case $ac_tag in
5006 :[FHLC]) ac_mode=$ac_tag; continue;;
5007 esac
5008 case $ac_mode$ac_tag in
5009 :[FHL]*:*);;
5010 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5011 :[FH]-) ac_tag=-:-;;
5012 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5013 esac
5014 ac_save_IFS=$IFS
5015 IFS=:
5016 set x $ac_tag
5017 IFS=$ac_save_IFS
5018 shift
5019 ac_file=$1
5020 shift
5021
5022 case $ac_mode in
5023 :L) ac_source=$1;;
5024 :[FH])
5025 ac_file_inputs=
5026 for ac_f
5027 do
5028 case $ac_f in
5029 -) ac_f="$ac_tmp/stdin";;
5030 *) # Look for the file first in the build tree, then in the source tree
5031 # (if the path is not absolute). The absolute path cannot be DOS-style,
5032 # because $ac_f cannot contain `:'.
5033 test -f "$ac_f" ||
5034 case $ac_f in
5035 [\\/$]*) false;;
5036 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5037 esac ||
5038 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5039 esac
5040 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5041 as_fn_append ac_file_inputs " '$ac_f'"
5042 done
5043
5044 # Let's still pretend it is `configure' which instantiates (i.e., don't
5045 # use $as_me), people would be surprised to read:
5046 # /* config.h. Generated by config.status. */
5047 configure_input='Generated from '`
5048 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5049 `' by configure.'
5050 if test x"$ac_file" != x-; then
5051 configure_input="$ac_file. $configure_input"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5053$as_echo "$as_me: creating $ac_file" >&6;}
5054 fi
5055 # Neutralize special characters interpreted by sed in replacement strings.
5056 case $configure_input in #(
5057 *\&* | *\|* | *\\* )
5058 ac_sed_conf_input=`$as_echo "$configure_input" |
5059 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5060 *) ac_sed_conf_input=$configure_input;;
5061 esac
5062
5063 case $ac_tag in
5064 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5066 esac
5067 ;;
5068 esac
5069
5070 ac_dir=`$as_dirname -- "$ac_file" ||
5071$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5072 X"$ac_file" : 'X\(//\)[^/]' \| \
5073 X"$ac_file" : 'X\(//\)$' \| \
5074 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5075$as_echo X"$ac_file" |
5076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5077 s//\1/
5078 q
5079 }
5080 /^X\(\/\/\)[^/].*/{
5081 s//\1/
5082 q
5083 }
5084 /^X\(\/\/\)$/{
5085 s//\1/
5086 q
5087 }
5088 /^X\(\/\).*/{
5089 s//\1/
5090 q
5091 }
5092 s/.*/./; q'`
5093 as_dir="$ac_dir"; as_fn_mkdir_p
5094 ac_builddir=.
5095
5096case "$ac_dir" in
5097.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5098*)
5099 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5100 # A ".." for each directory in $ac_dir_suffix.
5101 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5102 case $ac_top_builddir_sub in
5103 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5104 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5105 esac ;;
5106esac
5107ac_abs_top_builddir=$ac_pwd
5108ac_abs_builddir=$ac_pwd$ac_dir_suffix
5109# for backward compatibility:
5110ac_top_builddir=$ac_top_build_prefix
5111
5112case $srcdir in
5113 .) # We are building in place.
5114 ac_srcdir=.
5115 ac_top_srcdir=$ac_top_builddir_sub
5116 ac_abs_top_srcdir=$ac_pwd ;;
5117 [\\/]* | ?:[\\/]* ) # Absolute name.
5118 ac_srcdir=$srcdir$ac_dir_suffix;
5119 ac_top_srcdir=$srcdir
5120 ac_abs_top_srcdir=$srcdir ;;
5121 *) # Relative name.
5122 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5123 ac_top_srcdir=$ac_top_build_prefix$srcdir
5124 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5125esac
5126ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5127
5128
5129 case $ac_mode in
5130 :F)
5131 #
5132 # CONFIG_FILE
5133 #
5134
5135 case $INSTALL in
5136 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5137 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5138 esac
5139 ac_MKDIR_P=$MKDIR_P
5140 case $MKDIR_P in
5141 [\\/$]* | ?:[\\/]* ) ;;
5142 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5143 esac
5144_ACEOF
5145
5146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5147# If the template does not know about datarootdir, expand it.
5148# FIXME: This hack should be removed a few years after 2.60.
5149ac_datarootdir_hack=; ac_datarootdir_seen=
5150ac_sed_dataroot='
5151/datarootdir/ {
5152 p
5153 q
5154}
5155/@datadir@/p
5156/@docdir@/p
5157/@infodir@/p
5158/@localedir@/p
5159/@mandir@/p'
5160case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5161*datarootdir*) ac_datarootdir_seen=yes;;
5162*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5164$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5165_ACEOF
5166cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5167 ac_datarootdir_hack='
5168 s&@datadir@&$datadir&g
5169 s&@docdir@&$docdir&g
5170 s&@infodir@&$infodir&g
5171 s&@localedir@&$localedir&g
5172 s&@mandir@&$mandir&g
5173 s&\\\${datarootdir}&$datarootdir&g' ;;
5174esac
5175_ACEOF
5176
5177# Neutralize VPATH when `$srcdir' = `.'.
5178# Shell code in configure.ac might set extrasub.
5179# FIXME: do we really want to maintain this feature?
5180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5181ac_sed_extra="$ac_vpsub
5182$extrasub
5183_ACEOF
5184cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5185:t
5186/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5187s|@configure_input@|$ac_sed_conf_input|;t t
5188s&@top_builddir@&$ac_top_builddir_sub&;t t
5189s&@top_build_prefix@&$ac_top_build_prefix&;t t
5190s&@srcdir@&$ac_srcdir&;t t
5191s&@abs_srcdir@&$ac_abs_srcdir&;t t
5192s&@top_srcdir@&$ac_top_srcdir&;t t
5193s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5194s&@builddir@&$ac_builddir&;t t
5195s&@abs_builddir@&$ac_abs_builddir&;t t
5196s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5197s&@INSTALL@&$ac_INSTALL&;t t
5198s&@MKDIR_P@&$ac_MKDIR_P&;t t
5199$ac_datarootdir_hack
5200"
5201eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5202 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5203
5204test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5205 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5207 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5209which seems to be undefined. Please make sure it is defined" >&5
5210$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5211which seems to be undefined. Please make sure it is defined" >&2;}
5212
5213 rm -f "$ac_tmp/stdin"
5214 case $ac_file in
5215 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5216 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5217 esac \
5218 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5219 ;;
5220 :H)
5221 #
5222 # CONFIG_HEADER
5223 #
5224 if test x"$ac_file" != x-; then
5225 {
5226 $as_echo "/* $configure_input */" \
5227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5228 } >"$ac_tmp/config.h" \
5229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5230 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5232$as_echo "$as_me: $ac_file is unchanged" >&6;}
5233 else
5234 rm -f "$ac_file"
5235 mv "$ac_tmp/config.h" "$ac_file" \
5236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5237 fi
5238 else
5239 $as_echo "/* $configure_input */" \
5240 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5241 || as_fn_error $? "could not create -" "$LINENO" 5
5242 fi
5243# Compute "$ac_file"'s index in $config_headers.
5244_am_arg="$ac_file"
5245_am_stamp_count=1
5246for _am_header in $config_headers :; do
5247 case $_am_header in
5248 $_am_arg | $_am_arg:* )
5249 break ;;
5250 * )
5251 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5252 esac
5253done
5254echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5255$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5256 X"$_am_arg" : 'X\(//\)[^/]' \| \
5257 X"$_am_arg" : 'X\(//\)$' \| \
5258 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5259$as_echo X"$_am_arg" |
5260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5261 s//\1/
5262 q
5263 }
5264 /^X\(\/\/\)[^/].*/{
5265 s//\1/
5266 q
5267 }
5268 /^X\(\/\/\)$/{
5269 s//\1/
5270 q
5271 }
5272 /^X\(\/\).*/{
5273 s//\1/
5274 q
5275 }
5276 s/.*/./; q'`/stamp-h$_am_stamp_count
5277 ;;
5278
5279 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5280$as_echo "$as_me: executing $ac_file commands" >&6;}
5281 ;;
5282 esac
5283
5284
5285 case $ac_file$ac_mode in
5286 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5287 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5288 # are listed without --file. Let's play safe and only enable the eval
5289 # if we detect the quoting.
5290 case $CONFIG_FILES in
5291 *\'*) eval set x "$CONFIG_FILES" ;;
5292 *) set x $CONFIG_FILES ;;
5293 esac
5294 shift
5295 for mf
5296 do
5297 # Strip MF so we end up with the name of the file.
5298 mf=`echo "$mf" | sed -e 's/:.*$//'`
5299 # Check whether this is an Automake generated Makefile or not.
5300 # We used to match only the files named `Makefile.in', but
5301 # some people rename them; so instead we look at the file content.
5302 # Grep'ing the first line is not enough: some people post-process
5303 # each Makefile.in and add a new line on top of each file to say so.
5304 # Grep'ing the whole file is not good either: AIX grep has a line
5305 # limit of 2048, but all sed's we know have understand at least 4000.
5306 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5307 dirpart=`$as_dirname -- "$mf" ||
5308$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5309 X"$mf" : 'X\(//\)[^/]' \| \
5310 X"$mf" : 'X\(//\)$' \| \
5311 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5312$as_echo X"$mf" |
5313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5314 s//\1/
5315 q
5316 }
5317 /^X\(\/\/\)[^/].*/{
5318 s//\1/
5319 q
5320 }
5321 /^X\(\/\/\)$/{
5322 s//\1/
5323 q
5324 }
5325 /^X\(\/\).*/{
5326 s//\1/
5327 q
5328 }
5329 s/.*/./; q'`
5330 else
5331 continue
5332 fi
5333 # Extract the definition of DEPDIR, am__include, and am__quote
5334 # from the Makefile without running `make'.
5335 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5336 test -z "$DEPDIR" && continue
5337 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5338 test -z "am__include" && continue
5339 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5340 # When using ansi2knr, U may be empty or an underscore; expand it
5341 U=`sed -n 's/^U = //p' < "$mf"`
5342 # Find all dependency output files, they are included files with
5343 # $(DEPDIR) in their names. We invoke sed twice because it is the
5344 # simplest approach to changing $(DEPDIR) to its actual value in the
5345 # expansion.
5346 for file in `sed -n "
5347 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5348 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5349 # Make sure the directory exists.
5350 test -f "$dirpart/$file" && continue
5351 fdir=`$as_dirname -- "$file" ||
5352$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5353 X"$file" : 'X\(//\)[^/]' \| \
5354 X"$file" : 'X\(//\)$' \| \
5355 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5356$as_echo X"$file" |
5357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5358 s//\1/
5359 q
5360 }
5361 /^X\(\/\/\)[^/].*/{
5362 s//\1/
5363 q
5364 }
5365 /^X\(\/\/\)$/{
5366 s//\1/
5367 q
5368 }
5369 /^X\(\/\).*/{
5370 s//\1/
5371 q
5372 }
5373 s/.*/./; q'`
5374 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5375 # echo "creating $dirpart/$file"
5376 echo '# dummy' > "$dirpart/$file"
5377 done
5378 done
5379}
5380 ;;
5381
5382 esac
5383done # for ac_tag
5384
5385
5386as_fn_exit 0
5387_ACEOF
5388ac_clean_files=$ac_clean_files_save
5389
5390test $ac_write_fail = 0 ||
5391 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5392
5393
5394# configure is writing to config.log, and then calls config.status.
5395# config.status does its own redirection, appending to config.log.
5396# Unfortunately, on DOS this fails, as config.log is still kept open
5397# by configure, so config.status won't be able to write to it; its
5398# output is simply discarded. So we exec the FD to /dev/null,
5399# effectively closing config.log, so it can be properly (re)opened and
5400# appended to by config.status. When coming back to configure, we
5401# need to make the FD available again.
5402if test "$no_create" != yes; then
5403 ac_cs_success=:
5404 ac_config_status_args=
5405 test "$silent" = yes &&
5406 ac_config_status_args="$ac_config_status_args --quiet"
5407 exec 5>/dev/null
5408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5409 exec 5>>config.log
5410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5411 # would make configure fail if this is the last instruction.
5412 $ac_cs_success || as_fn_exit 1
5413fi
5414if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5416$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5417fi
5418
Note: See TracBrowser for help on using the repository browser.