Debian Codegraph @

plus/configure

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