Debian Codegraph @

ruby/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-ruby 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-ruby'
550 PACKAGE_TARNAME='qdbm-ruby'
551 PACKAGE_VERSION='1.0.0'
552 PACKAGE_STRING='qdbm-ruby 1.0.0'
553 PACKAGE_BUGREPORT=''
554 PACKAGE_URL=''
555
556 ac_subst_vars='LTLIBOBJS
557 LIBOBJS
558 OBJEXT
559 EXEEXT
560 ac_ct_CC
561 CPPFLAGS
562 LDFLAGS
563 CFLAGS
564 CC
565 target_alias
566 host_alias
567 build_alias
568 LIBS
569 ECHO_T
570 ECHO_N
571 ECHO_C
572 DEFS
573 mandir
574 localedir
575 libdir
576 psdir
577 pdfdir
578 dvidir
579 htmldir
580 infodir
581 docdir
582 oldincludedir
583 includedir
584 localstatedir
585 sharedstatedir
586 sysconfdir
587 datadir
588 datarootdir
589 libexecdir
590 sbindir
591 bindir
592 program_transform_name
593 prefix
594 exec_prefix
595 PACKAGE_URL
596 PACKAGE_BUGREPORT
597 PACKAGE_STRING
598 PACKAGE_VERSION
599 PACKAGE_TARNAME
600 PACKAGE_NAME
601 PATH_SEPARATOR
602 SHELL'
603 ac_subst_files=''
604 ac_user_opts='
605 enable_option_checking
606 '
607 ac_precious_vars='build_alias
608 host_alias
609 target_alias
610 CC
611 CFLAGS
612 LDFLAGS
613 LIBS
614 CPPFLAGS'
615
616
617 # Initialize some variables set by options.
618 ac_init_help=
619 ac_init_version=false
620 ac_unrecognized_opts=
621 ac_unrecognized_sep=
622 # The variables have the same names as the options, with
623 # dashes changed to underlines.
624 cache_file=/dev/null
625 exec_prefix=NONE
626 no_create=
627 no_recursion=
628 prefix=NONE
629 program_prefix=NONE
630 program_suffix=NONE
631 program_transform_name=s,x,x,
632 silent=
633 site=
634 srcdir=
635 verbose=
636 x_includes=NONE
637 x_libraries=NONE
638
639 # Installation directory options.
640 # These are left unexpanded so users can "make install exec_prefix=/foo"
641 # and all the variables that are supposed to be based on exec_prefix
642 # by default will actually change.
643 # Use braces instead of parens because sh, perl, etc. also accept them.
644 # (The list follows the same order as the GNU Coding Standards.)
645 bindir='${exec_prefix}/bin'
646 sbindir='${exec_prefix}/sbin'
647 libexecdir='${exec_prefix}/libexec'
648 datarootdir='${prefix}/share'
649 datadir='${datarootdir}'
650 sysconfdir='${prefix}/etc'
651 sharedstatedir='${prefix}/com'
652 localstatedir='${prefix}/var'
653 includedir='${prefix}/include'
654 oldincludedir='/usr/include'
655 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
656 infodir='${datarootdir}/info'
657 htmldir='${docdir}'
658 dvidir='${docdir}'
659 pdfdir='${docdir}'
660 psdir='${docdir}'
661 libdir='${exec_prefix}/lib'
662 localedir='${datarootdir}/locale'
663 mandir='${datarootdir}/man'
664
665 ac_prev=
666 ac_dashdash=
667 for ac_option
668 do
669 # If the previous option needs an argument, assign it.
670 if test -n "$ac_prev"; then
671 eval $ac_prev=\$ac_option
672 ac_prev=
673 continue
674 fi
675
676 case $ac_option in
677 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
678 *) ac_optarg=yes ;;
679 esac
680
681 # Accept the important Cygnus configure options, so we can diagnose typos.
682
683 case $ac_dashdash$ac_option in
684 --)
685 ac_dashdash=yes ;;
686
687 -bindir | --bindir | --bindi | --bind | --bin | --bi)
688 ac_prev=bindir ;;
689 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
690 bindir=$ac_optarg ;;
691
692 -build | --build | --buil | --bui | --bu)
693 ac_prev=build_alias ;;
694 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
695 build_alias=$ac_optarg ;;
696
697 -cache-file | --cache-file | --cache-fil | --cache-fi \
698 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
699 ac_prev=cache_file ;;
700 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
701 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
702 cache_file=$ac_optarg ;;
703
704 --config-cache | -C)
705 cache_file=config.cache ;;
706
707 -datadir | --datadir | --datadi | --datad)
708 ac_prev=datadir ;;
709 -datadir=* | --datadir=* | --datadi=* | --datad=*)
710 datadir=$ac_optarg ;;
711
712 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
713 | --dataroo | --dataro | --datar)
714 ac_prev=datarootdir ;;
715 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
716 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
717 datarootdir=$ac_optarg ;;
718
719 -disable-* | --disable-*)
720 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
721 # Reject names that are not valid shell variable names.
722 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
723 as_fn_error "invalid feature name: $ac_useropt"
724 ac_useropt_orig=$ac_useropt
725 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
726 case $ac_user_opts in
727 *"
728 "enable_$ac_useropt"
729 "*) ;;
730 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
731 ac_unrecognized_sep=', ';;
732 esac
733 eval enable_$ac_useropt=no ;;
734
735 -docdir | --docdir | --docdi | --doc | --do)
736 ac_prev=docdir ;;
737 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
738 docdir=$ac_optarg ;;
739
740 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
741 ac_prev=dvidir ;;
742 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
743 dvidir=$ac_optarg ;;
744
745 -enable-* | --enable-*)
746 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
747 # Reject names that are not valid shell variable names.
748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
749 as_fn_error "invalid feature name: $ac_useropt"
750 ac_useropt_orig=$ac_useropt
751 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
752 case $ac_user_opts in
753 *"
754 "enable_$ac_useropt"
755 "*) ;;
756 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
757 ac_unrecognized_sep=', ';;
758 esac
759 eval enable_$ac_useropt=\$ac_optarg ;;
760
761 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
762 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
763 | --exec | --exe | --ex)
764 ac_prev=exec_prefix ;;
765 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
766 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
767 | --exec=* | --exe=* | --ex=*)
768 exec_prefix=$ac_optarg ;;
769
770 -gas | --gas | --ga | --g)
771 # Obsolete; use --with-gas.
772 with_gas=yes ;;
773
774 -help | --help | --hel | --he | -h)
775 ac_init_help=long ;;
776 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
777 ac_init_help=recursive ;;
778 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
779 ac_init_help=short ;;
780
781 -host | --host | --hos | --ho)
782 ac_prev=host_alias ;;
783 -host=* | --host=* | --hos=* | --ho=*)
784 host_alias=$ac_optarg ;;
785
786 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
787 ac_prev=htmldir ;;
788 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
789 | --ht=*)
790 htmldir=$ac_optarg ;;
791
792 -includedir | --includedir | --includedi | --included | --include \
793 | --includ | --inclu | --incl | --inc)
794 ac_prev=includedir ;;
795 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
796 | --includ=* | --inclu=* | --incl=* | --inc=*)
797 includedir=$ac_optarg ;;
798
799 -infodir | --infodir | --infodi | --infod | --info | --inf)
800 ac_prev=infodir ;;
801 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
802 infodir=$ac_optarg ;;
803
804 -libdir | --libdir | --libdi | --libd)
805 ac_prev=libdir ;;
806 -libdir=* | --libdir=* | --libdi=* | --libd=*)
807 libdir=$ac_optarg ;;
808
809 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
810 | --libexe | --libex | --libe)
811 ac_prev=libexecdir ;;
812 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
813 | --libexe=* | --libex=* | --libe=*)
814 libexecdir=$ac_optarg ;;
815
816 -localedir | --localedir | --localedi | --localed | --locale)
817 ac_prev=localedir ;;
818 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
819 localedir=$ac_optarg ;;
820
821 -localstatedir | --localstatedir | --localstatedi | --localstated \
822 | --localstate | --localstat | --localsta | --localst | --locals)
823 ac_prev=localstatedir ;;
824 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
825 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
826 localstatedir=$ac_optarg ;;
827
828 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
829 ac_prev=mandir ;;
830 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
831 mandir=$ac_optarg ;;
832
833 -nfp | --nfp | --nf)
834 # Obsolete; use --without-fp.
835 with_fp=no ;;
836
837 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
838 | --no-cr | --no-c | -n)
839 no_create=yes ;;
840
841 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
842 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
843 no_recursion=yes ;;
844
845 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
846 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
847 | --oldin | --oldi | --old | --ol | --o)
848 ac_prev=oldincludedir ;;
849 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
850 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
851 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
852 oldincludedir=$ac_optarg ;;
853
854 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
855 ac_prev=prefix ;;
856 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
857 prefix=$ac_optarg ;;
858
859 -program-prefix | --program-prefix | --program-prefi | --program-pref \
860 | --program-pre | --program-pr | --program-p)
861 ac_prev=program_prefix ;;
862 -program-prefix=* | --program-prefix=* | --program-prefi=* \
863 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
864 program_prefix=$ac_optarg ;;
865
866 -program-suffix | --program-suffix | --program-suffi | --program-suff \
867 | --program-suf | --program-su | --program-s)
868 ac_prev=program_suffix ;;
869 -program-suffix=* | --program-suffix=* | --program-suffi=* \
870 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
871 program_suffix=$ac_optarg ;;
872
873 -program-transform-name | --program-transform-name \
874 | --program-transform-nam | --program-transform-na \
875 | --program-transform-n | --program-transform- \
876 | --program-transform | --program-transfor \
877 | --program-transfo | --program-transf \
878 | --program-trans | --program-tran \
879 | --progr-tra | --program-tr | --program-t)
880 ac_prev=program_transform_name ;;
881 -program-transform-name=* | --program-transform-name=* \
882 | --program-transform-nam=* | --program-transform-na=* \
883 | --program-transform-n=* | --program-transform-=* \
884 | --program-transform=* | --program-transfor=* \
885 | --program-transfo=* | --program-transf=* \
886 | --program-trans=* | --program-tran=* \
887 | --progr-tra=* | --program-tr=* | --program-t=*)
888 program_transform_name=$ac_optarg ;;
889
890 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
891 ac_prev=pdfdir ;;
892 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
893 pdfdir=$ac_optarg ;;
894
895 -psdir | --psdir | --psdi | --psd | --ps)
896 ac_prev=psdir ;;
897 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
898 psdir=$ac_optarg ;;
899
900 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
901 | -silent | --silent | --silen | --sile | --sil)
902 silent=yes ;;
903
904 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
905 ac_prev=sbindir ;;
906 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
907 | --sbi=* | --sb=*)
908 sbindir=$ac_optarg ;;
909
910 -sharedstatedir | --sharedstatedir | --sharedstatedi \
911 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
912 | --sharedst | --shareds | --shared | --share | --shar \
913 | --sha | --sh)
914 ac_prev=sharedstatedir ;;
915 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
916 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
917 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
918 | --sha=* | --sh=*)
919 sharedstatedir=$ac_optarg ;;
920
921 -site | --site | --sit)
922 ac_prev=site ;;
923 -site=* | --site=* | --sit=*)
924 site=$ac_optarg ;;
925
926 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
927 ac_prev=srcdir ;;
928 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
929 srcdir=$ac_optarg ;;
930
931 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
932 | --syscon | --sysco | --sysc | --sys | --sy)
933 ac_prev=sysconfdir ;;
934 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
935 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
936 sysconfdir=$ac_optarg ;;
937
938 -target | --target | --targe | --targ | --tar | --ta | --t)
939 ac_prev=target_alias ;;
940 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
941 target_alias=$ac_optarg ;;
942
943 -v | -verbose | --verbose | --verbos | --verbo | --verb)
944 verbose=yes ;;
945
946 -version | --version | --versio | --versi | --vers | -V)
947 ac_init_version=: ;;
948
949 -with-* | --with-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error "invalid package name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
957 *"
958 "with_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval with_$ac_useropt=\$ac_optarg ;;
964
965 -without-* | --without-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 as_fn_error "invalid package name: $ac_useropt"
970 ac_useropt_orig=$ac_useropt
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
973 *"
974 "with_$ac_useropt"
975 "*) ;;
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
978 esac
979 eval with_$ac_useropt=no ;;
980
981 --x)
982 # Obsolete; use --with-x.
983 with_x=yes ;;
984
985 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
986 | --x-incl | --x-inc | --x-in | --x-i)
987 ac_prev=x_includes ;;
988 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
989 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
990 x_includes=$ac_optarg ;;
991
992 -x-libraries | --x-libraries | --x-librarie | --x-librari \
993 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
994 ac_prev=x_libraries ;;
995 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
996 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
997 x_libraries=$ac_optarg ;;
998
999 -*) as_fn_error "unrecognized option: \`$ac_option'
1000 Try \`$0 --help' for more information."
1001 ;;
1002
1003 *=*)
1004 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1005 # Reject names that are not valid shell variable names.
1006 case $ac_envvar in #(
1007 '' | [0-9]* | *[!_$as_cr_alnum]* )
1008 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1009 esac
1010 eval $ac_envvar=\$ac_optarg
1011 export $ac_envvar ;;
1012
1013 *)
1014 # FIXME: should be removed in autoconf 3.0.
1015 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1016 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1018 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1019 ;;
1020
1021 esac
1022 done
1023
1024 if test -n "$ac_prev"; then
1025 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1026 as_fn_error "missing argument to $ac_option"
1027 fi
1028
1029 if test -n "$ac_unrecognized_opts"; then
1030 case $enable_option_checking in
1031 no) ;;
1032 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1033 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1034 esac
1035 fi
1036
1037 # Check all directory arguments for consistency.
1038 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1039 datadir sysconfdir sharedstatedir localstatedir includedir \
1040 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1041 libdir localedir mandir
1042 do
1043 eval ac_val=\$$ac_var
1044 # Remove trailing slashes.
1045 case $ac_val in
1046 */ )
1047 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1048 eval $ac_var=\$ac_val;;
1049 esac
1050 # Be sure to have absolute directory names.
1051 case $ac_val in
1052 [\\/$]* | ?:[\\/]* ) continue;;
1053 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1054 esac
1055 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1056 done
1057
1058 # There might be people who depend on the old broken behavior: `$host'
1059 # used to hold the argument of --host etc.
1060 # FIXME: To remove some day.
1061 build=$build_alias
1062 host=$host_alias
1063 target=$target_alias
1064
1065 # FIXME: To remove some day.
1066 if test "x$host_alias" != x; then
1067 if test "x$build_alias" = x; then
1068 cross_compiling=maybe
1069 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1070 If a cross compiler is detected then cross compile mode will be used." >&2
1071 elif test "x$build_alias" != "x$host_alias"; then
1072 cross_compiling=yes
1073 fi
1074 fi
1075
1076 ac_tool_prefix=
1077 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1078
1079 test "$silent" = yes && exec 6>/dev/null
1080
1081
1082 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1083 ac_ls_di=`ls -di .` &&
1084 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1085 as_fn_error "working directory cannot be determined"
1086 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1087 as_fn_error "pwd does not report name of working directory"
1088
1089
1090 # Find the source files, if location was not specified.
1091 if test -z "$srcdir"; then
1092 ac_srcdir_defaulted=yes
1093 # Try the directory containing this script, then the parent directory.
1094 ac_confdir=`$as_dirname -- "$as_myself" ||
1095 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1096 X"$as_myself" : 'X\(//\)[^/]' \| \
1097 X"$as_myself" : 'X\(//\)$' \| \
1098 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1099 $as_echo X"$as_myself" |
1100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1101 s//\1/
1102 q
1103 }
1104 /^X\(\/\/\)[^/].*/{
1105 s//\1/
1106 q
1107 }
1108 /^X\(\/\/\)$/{
1109 s//\1/
1110 q
1111 }
1112 /^X\(\/\).*/{
1113 s//\1/
1114 q
1115 }
1116 s/.*/./; q'`
1117 srcdir=$ac_confdir
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 srcdir=..
1120 fi
1121 else
1122 ac_srcdir_defaulted=no
1123 fi
1124 if test ! -r "$srcdir/$ac_unique_file"; then
1125 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1126 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1127 fi
1128 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1129 ac_abs_confdir=`(
1130 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1131 pwd)`
1132 # When building in place, set srcdir=.
1133 if test "$ac_abs_confdir" = "$ac_pwd"; then
1134 srcdir=.
1135 fi
1136 # Remove unnecessary trailing slashes from srcdir.
1137 # Double slashes in file names in object file debugging info
1138 # mess up M-x gdb in Emacs.
1139 case $srcdir in
1140 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1141 esac
1142 for ac_var in $ac_precious_vars; do
1143 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1144 eval ac_env_${ac_var}_value=\$${ac_var}
1145 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1146 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1147 done
1148
1149 #
1150 # Report the --help message.
1151 #
1152 if test "$ac_init_help" = "long"; then
1153 # Omit some internal or obsolete options to make the list less imposing.
1154 # This message is too long to be a string in the A/UX 3.1 sh.
1155 cat <<_ACEOF
1156 \`configure' configures qdbm-ruby 1.0.0 to adapt to many kinds of systems.
1157
1158 Usage: $0 [OPTION]... [VAR=VALUE]...
1159
1160 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1161 VAR=VALUE. See below for descriptions of some of the useful variables.
1162
1163 Defaults for the options are specified in brackets.
1164
1165 Configuration:
1166 -h, --help display this help and exit
1167 --help=short display options specific to this package
1168 --help=recursive display the short help of all the included packages
1169 -V, --version display version information and exit
1170 -q, --quiet, --silent do not print \`checking...' messages
1171 --cache-file=FILE cache test results in FILE [disabled]
1172 -C, --config-cache alias for \`--cache-file=config.cache'
1173 -n, --no-create do not create output files
1174 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1175
1176 Installation directories:
1177 --prefix=PREFIX install architecture-independent files in PREFIX
1178 [$ac_default_prefix]
1179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1180 [PREFIX]
1181
1182 By default, \`make install' will install all the files in
1183 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1184 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1185 for instance \`--prefix=\$HOME'.
1186
1187 For better control, use the options below.
1188
1189 Fine tuning of the installation directories:
1190 --bindir=DIR user executables [EPREFIX/bin]
1191 --sbindir=DIR system admin executables [EPREFIX/sbin]
1192 --libexecdir=DIR program executables [EPREFIX/libexec]
1193 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1194 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1195 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1196 --libdir=DIR object code libraries [EPREFIX/lib]
1197 --includedir=DIR C header files [PREFIX/include]
1198 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1199 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1200 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1201 --infodir=DIR info documentation [DATAROOTDIR/info]
1202 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1203 --mandir=DIR man documentation [DATAROOTDIR/man]
1204 --docdir=DIR documentation root [DATAROOTDIR/doc/qdbm-ruby]
1205 --htmldir=DIR html documentation [DOCDIR]
1206 --dvidir=DIR dvi documentation [DOCDIR]
1207 --pdfdir=DIR pdf documentation [DOCDIR]
1208 --psdir=DIR ps documentation [DOCDIR]
1209 _ACEOF
1210
1211 cat <<\_ACEOF
1212 _ACEOF
1213 fi
1214
1215 if test -n "$ac_init_help"; then
1216 case $ac_init_help in
1217 short | recursive ) echo "Configuration of qdbm-ruby 1.0.0:";;
1218 esac
1219 cat <<\_ACEOF
1220
1221 Some influential environment variables:
1222 CC C compiler command
1223 CFLAGS C compiler flags
1224 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1225 nonstandard directory <lib dir>
1226 LIBS libraries to pass to the linker, e.g. -l<library>
1227 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1228 you have headers in a nonstandard directory <include dir>
1229
1230 Use these variables to override the choices made by `configure' or to help
1231 it to find libraries and programs with nonstandard names/locations.
1232
1233 Report bugs to the package provider.
1234 _ACEOF
1235 ac_status=$?
1236 fi
1237
1238 if test "$ac_init_help" = "recursive"; then
1239 # If there are subdirs, report their specific --help.
1240 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1241 test -d "$ac_dir" ||
1242 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1243 continue
1244 ac_builddir=.
1245
1246 case "$ac_dir" in
1247 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1248 *)
1249 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1250 # A ".." for each directory in $ac_dir_suffix.
1251 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1252 case $ac_top_builddir_sub in
1253 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1255 esac ;;
1256 esac
1257 ac_abs_top_builddir=$ac_pwd
1258 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1259 # for backward compatibility:
1260 ac_top_builddir=$ac_top_build_prefix
1261
1262 case $srcdir in
1263 .) # We are building in place.
1264 ac_srcdir=.
1265 ac_top_srcdir=$ac_top_builddir_sub
1266 ac_abs_top_srcdir=$ac_pwd ;;
1267 [\\/]* | ?:[\\/]* ) # Absolute name.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir
1270 ac_abs_top_srcdir=$srcdir ;;
1271 *) # Relative name.
1272 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1273 ac_top_srcdir=$ac_top_build_prefix$srcdir
1274 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1275 esac
1276 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1277
1278 cd "$ac_dir" || { ac_status=$?; continue; }
1279 # Check for guested configure.
1280 if test -f "$ac_srcdir/configure.gnu"; then
1281 echo &&
1282 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1283 elif test -f "$ac_srcdir/configure"; then
1284 echo &&
1285 $SHELL "$ac_srcdir/configure" --help=recursive
1286 else
1287 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1288 fi || ac_status=$?
1289 cd "$ac_pwd" || { ac_status=$?; break; }
1290 done
1291 fi
1292
1293 test -n "$ac_init_help" && exit $ac_status
1294 if $ac_init_version; then
1295 cat <<\_ACEOF
1296 qdbm-ruby configure 1.0.0
1297 generated by GNU Autoconf 2.65
1298
1299 Copyright (C) 2009 Free Software Foundation, Inc.
1300 This configure script is free software; the Free Software Foundation
1301 gives unlimited permission to copy, distribute and modify it.
1302 _ACEOF
1303 exit
1304 fi
1305
1306 ## ------------------------ ##
1307 ## Autoconf initialization. ##
1308 ## ------------------------ ##
1309
1310 # ac_fn_c_try_compile LINENO
1311 # --------------------------
1312 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1313 ac_fn_c_try_compile ()
1314 {
1315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1316 rm -f conftest.$ac_objext
1317 if { { ac_try="$ac_compile"
1318 case "(($ac_try" in
1319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1320 *) ac_try_echo=$ac_try;;
1321 esac
1322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1323 $as_echo "$ac_try_echo"; } >&5
1324 (eval "$ac_compile") 2>conftest.err
1325 ac_status=$?
1326 if test -s conftest.err; then
1327 grep -v '^ *+' conftest.err >conftest.er1
1328 cat conftest.er1 >&5
1329 mv -f conftest.er1 conftest.err
1330 fi
1331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1332 test $ac_status = 0; } && {
1333 test -z "$ac_c_werror_flag" ||
1334 test ! -s conftest.err
1335 } && test -s conftest.$ac_objext; then :
1336 ac_retval=0
1337 else
1338 $as_echo "$as_me: failed program was:" >&5
1339 sed 's/^/| /' conftest.$ac_ext >&5
1340
1341 ac_retval=1
1342 fi
1343 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1344 as_fn_set_status $ac_retval
1345
1346 } # ac_fn_c_try_compile
1347
1348 # ac_fn_c_try_link LINENO
1349 # -----------------------
1350 # Try to link conftest.$ac_ext, and return whether this succeeded.
1351 ac_fn_c_try_link ()
1352 {
1353 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1354 rm -f conftest.$ac_objext conftest$ac_exeext
1355 if { { ac_try="$ac_link"
1356 case "(($ac_try" in
1357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1358 *) ac_try_echo=$ac_try;;
1359 esac
1360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1361 $as_echo "$ac_try_echo"; } >&5
1362 (eval "$ac_link") 2>conftest.err
1363 ac_status=$?
1364 if test -s conftest.err; then
1365 grep -v '^ *+' conftest.err >conftest.er1
1366 cat conftest.er1 >&5
1367 mv -f conftest.er1 conftest.err
1368 fi
1369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1370 test $ac_status = 0; } && {
1371 test -z "$ac_c_werror_flag" ||
1372 test ! -s conftest.err
1373 } && test -s conftest$ac_exeext && {
1374 test "$cross_compiling" = yes ||
1375 $as_test_x conftest$ac_exeext
1376 }; then :
1377 ac_retval=0
1378 else
1379 $as_echo "$as_me: failed program was:" >&5
1380 sed 's/^/| /' conftest.$ac_ext >&5
1381
1382 ac_retval=1
1383 fi
1384 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1385 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1386 # interfere with the next link command; also delete a directory that is
1387 # left behind by Apple's compiler. We do this before executing the actions.
1388 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1389 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1390 as_fn_set_status $ac_retval
1391
1392 } # ac_fn_c_try_link
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1396
1397 It was created by qdbm-ruby $as_me 1.0.0, which was
1398 generated by GNU Autoconf 2.65. Invocation command line was
1399
1400 $ $0 $@
1401
1402 _ACEOF
1403 exec 5>>config.log
1404 {
1405 cat <<_ASUNAME
1406 ## --------- ##
1407 ## Platform. ##
1408 ## --------- ##
1409
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1415
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1418
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1426
1427 _ASUNAME
1428
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 for as_dir in $PATH
1431 do
1432 IFS=$as_save_IFS
1433 test -z "$as_dir" && as_dir=.
1434 $as_echo "PATH: $as_dir"
1435 done
1436 IFS=$as_save_IFS
1437
1438 } >&5
1439
1440 cat >&5 <<_ACEOF
1441
1442
1443 ## ----------- ##
1444 ## Core tests. ##
1445 ## ----------- ##
1446
1447 _ACEOF
1448
1449
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1455 ac_configure_args=
1456 ac_configure_args0=
1457 ac_configure_args1=
1458 ac_must_keep_next=false
1459 for ac_pass in 1 2
1460 do
1461 for ac_arg
1462 do
1463 case $ac_arg in
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1467 continue ;;
1468 *\'*)
1469 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470 esac
1471 case $ac_pass in
1472 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1473 2)
1474 as_fn_append ac_configure_args1 " '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1477 else
1478 case $ac_arg in
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1485 esac
1486 ;;
1487 -* ) ac_must_keep_next=true ;;
1488 esac
1489 fi
1490 as_fn_append ac_configure_args " '$ac_arg'"
1491 ;;
1492 esac
1493 done
1494 done
1495 { ac_configure_args0=; unset ac_configure_args0;}
1496 { ac_configure_args1=; unset ac_configure_args1;}
1497
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1505 {
1506 echo
1507
1508 cat <<\_ASBOX
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1512 _ASBOX
1513 echo
1514 # The following way of writing the cache mishandles newlines in values,
1515 (
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1518 case $ac_val in #(
1519 *${as_nl}*)
1520 case $ac_var in #(
1521 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1522 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1523 esac
1524 case $ac_var in #(
1525 _ | IFS | as_nl) ;; #(
1526 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1527 *) { eval $ac_var=; unset $ac_var;} ;;
1528 esac ;;
1529 esac
1530 done
1531 (set) 2>&1 |
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1534 sed -n \
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1537 ;; #(
1538 *)
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1540 ;;
1541 esac |
1542 sort
1543 )
1544 echo
1545
1546 cat <<\_ASBOX
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1550 _ASBOX
1551 echo
1552 for ac_var in $ac_subst_vars
1553 do
1554 eval ac_val=\$$ac_var
1555 case $ac_val in
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 esac
1558 $as_echo "$ac_var='\''$ac_val'\''"
1559 done | sort
1560 echo
1561
1562 if test -n "$ac_subst_files"; then
1563 cat <<\_ASBOX
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1567 _ASBOX
1568 echo
1569 for ac_var in $ac_subst_files
1570 do
1571 eval ac_val=\$$ac_var
1572 case $ac_val in
1573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 esac
1575 $as_echo "$ac_var='\''$ac_val'\''"
1576 done | sort
1577 echo
1578 fi
1579
1580 if test -s confdefs.h; then
1581 cat <<\_ASBOX
1582 ## ----------- ##
1583 ## confdefs.h. ##
1584 ## ----------- ##
1585 _ASBOX
1586 echo
1587 cat confdefs.h
1588 echo
1589 fi
1590 test "$ac_signal" != 0 &&
1591 $as_echo "$as_me: caught signal $ac_signal"
1592 $as_echo "$as_me: exit $exit_status"
1593 } >&5
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1596 exit $exit_status
1597 ' 0
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1600 done
1601 ac_signal=0
1602
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1605
1606 $as_echo "/* confdefs.h */" > confdefs.h
1607
1608 # Predefined preprocessor variables.
1609
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 _ACEOF
1613
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1616 _ACEOF
1617
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1620 _ACEOF
1621
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_STRING "$PACKAGE_STRING"
1624 _ACEOF
1625
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1628 _ACEOF
1629
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_URL "$PACKAGE_URL"
1632 _ACEOF
1633
1634
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer an explicitly selected file to automatically selected ones.
1637 ac_site_file1=NONE
1638 ac_site_file2=NONE
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1644 else
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1647 fi
1648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1649 do
1650 test "x$ac_site_file" = xNONE && continue
1651 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1655 . "$ac_site_file"
1656 fi
1657 done
1658
1659 if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special files
1661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1664 $as_echo "$as_me: loading cache $cache_file" >&6;}
1665 case $cache_file in
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1668 esac
1669 fi
1670 else
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1672 $as_echo "$as_me: creating cache $cache_file" >&6;}
1673 >$cache_file
1674 fi
1675
1676 # Check that the precious variables saved in the cache have kept the same
1677 # value.
1678 ac_cache_corrupted=false
1679 for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1685 set,)
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1689 ,set)
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,);;
1694 *)
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 # differences in whitespace do not lead to failure.
1697 ac_old_val_w=`echo x $ac_old_val`
1698 ac_new_val_w=`echo x $ac_new_val`
1699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 ac_cache_corrupted=:
1703 else
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706 eval $ac_var=\$ac_old_val
1707 fi
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1709 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1711 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 fi;;
1713 esac
1714 # Pass precious variables to config.status.
1715 if test "$ac_new_set" = set; then
1716 case $ac_new_val in
1717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 *) ac_arg=$ac_var=$ac_new_val ;;
1719 esac
1720 case " $ac_configure_args " in
1721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1723 esac
1724 fi
1725 done
1726 if $ac_cache_corrupted; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1732 fi
1733 ## -------------------- ##
1734 ## Main body of script. ##
1735 ## -------------------- ##
1736
1737 ac_ext=c
1738 ac_cpp='$CPP $CPPFLAGS'
1739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1742
1743
1744
1745 # Building paths
1746 pathtmp="$PATH"
1747 PATH="$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
1748 PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
1749 LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
1750 LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
1751 CPATH="$HOME/include:/usr/local/include:$CPATH"
1752 export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH
1753
1754 # Setting the default prefix
1755 if test "$prefix" = NONE
1756 then
1757 prefix=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("prefix"))'`
1758 fi
1759
1760 # Duplication of QDBM for Ruby
1761 ac_ext=c
1762 ac_cpp='$CPP $CPPFLAGS'
1763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1770 $as_echo_n "checking for $ac_word... " >&6; }
1771 if test "${ac_cv_prog_CC+set}" = set; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1779 do
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1784 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 break 2
1787 fi
1788 done
1789 done
1790 IFS=$as_save_IFS
1791
1792 fi
1793 fi
1794 CC=$ac_cv_prog_CC
1795 if test -n "$CC"; then
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1797 $as_echo "$CC" >&6; }
1798 else
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1800 $as_echo "no" >&6; }
1801 fi
1802
1803
1804 fi
1805 if test -z "$ac_cv_prog_CC"; then
1806 ac_ct_CC=$CC
1807 # Extract the first word of "gcc", so it can be a program name with args.
1808 set dummy gcc; ac_word=$2
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1810 $as_echo_n "checking for $ac_word... " >&6; }
1811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1812 $as_echo_n "(cached) " >&6
1813 else
1814 if test -n "$ac_ct_CC"; then
1815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1824 ac_cv_prog_ac_ct_CC="gcc"
1825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 break 2
1827 fi
1828 done
1829 done
1830 IFS=$as_save_IFS
1831
1832 fi
1833 fi
1834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1835 if test -n "$ac_ct_CC"; then
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1837 $as_echo "$ac_ct_CC" >&6; }
1838 else
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1840 $as_echo "no" >&6; }
1841 fi
1842
1843 if test "x$ac_ct_CC" = x; then
1844 CC=""
1845 else
1846 case $cross_compiling:$ac_tool_warned in
1847 yes:)
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1850 ac_tool_warned=yes ;;
1851 esac
1852 CC=$ac_ct_CC
1853 fi
1854 else
1855 CC="$ac_cv_prog_CC"
1856 fi
1857
1858 if test -z "$CC"; then
1859 if test -n "$ac_tool_prefix"; then
1860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1861 set dummy ${ac_tool_prefix}cc; ac_word=$2
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1863 $as_echo_n "checking for $ac_word... " >&6; }
1864 if test "${ac_cv_prog_CC+set}" = set; then :
1865 $as_echo_n "(cached) " >&6
1866 else
1867 if test -n "$CC"; then
1868 ac_cv_prog_CC="$CC" # Let the user override the test.
1869 else
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 for as_dir in $PATH
1872 do
1873 IFS=$as_save_IFS
1874 test -z "$as_dir" && as_dir=.
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1877 ac_cv_prog_CC="${ac_tool_prefix}cc"
1878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1879 break 2
1880 fi
1881 done
1882 done
1883 IFS=$as_save_IFS
1884
1885 fi
1886 fi
1887 CC=$ac_cv_prog_CC
1888 if test -n "$CC"; then
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1890 $as_echo "$CC" >&6; }
1891 else
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1893 $as_echo "no" >&6; }
1894 fi
1895
1896
1897 fi
1898 fi
1899 if test -z "$CC"; then
1900 # Extract the first word of "cc", so it can be a program name with args.
1901 set dummy cc; ac_word=$2
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1903 $as_echo_n "checking for $ac_word... " >&6; }
1904 if test "${ac_cv_prog_CC+set}" = set; then :
1905 $as_echo_n "(cached) " >&6
1906 else
1907 if test -n "$CC"; then
1908 ac_cv_prog_CC="$CC" # Let the user override the test.
1909 else
1910 ac_prog_rejected=no
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 for as_dir in $PATH
1913 do
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1919 ac_prog_rejected=yes
1920 continue
1921 fi
1922 ac_cv_prog_CC="cc"
1923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 break 2
1925 fi
1926 done
1927 done
1928 IFS=$as_save_IFS
1929
1930 if test $ac_prog_rejected = yes; then
1931 # We found a bogon in the path, so make sure we never use it.
1932 set dummy $ac_cv_prog_CC
1933 shift
1934 if test $# != 0; then
1935 # We chose a different compiler from the bogus one.
1936 # However, it has the same basename, so the bogon will be chosen
1937 # first if we set CC to just the basename; use the full file name.
1938 shift
1939 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1940 fi
1941 fi
1942 fi
1943 fi
1944 CC=$ac_cv_prog_CC
1945 if test -n "$CC"; then
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1947 $as_echo "$CC" >&6; }
1948 else
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1950 $as_echo "no" >&6; }
1951 fi
1952
1953
1954 fi
1955 if test -z "$CC"; then
1956 if test -n "$ac_tool_prefix"; then
1957 for ac_prog in cl.exe
1958 do
1959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if test "${ac_cv_prog_CC+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC="$CC" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 CC=$ac_cv_prog_CC
1987 if test -n "$CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1989 $as_echo "$CC" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 test -n "$CC" && break
1997 done
1998 fi
1999 if test -z "$CC"; then
2000 ac_ct_CC=$CC
2001 for ac_prog in cl.exe
2002 do
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy $ac_prog; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH
2015 do
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_CC="$ac_prog"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2023 fi
2024 done
2025 done
2026 IFS=$as_save_IFS
2027
2028 fi
2029 fi
2030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2033 $as_echo "$ac_ct_CC" >&6; }
2034 else
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2037 fi
2038
2039
2040 test -n "$ac_ct_CC" && break
2041 done
2042
2043 if test "x$ac_ct_CC" = x; then
2044 CC=""
2045 else
2046 case $cross_compiling:$ac_tool_warned in
2047 yes:)
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2050 ac_tool_warned=yes ;;
2051 esac
2052 CC=$ac_ct_CC
2053 fi
2054 fi
2055
2056 fi
2057
2058
2059 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 as_fn_error "no acceptable C compiler found in \$PATH
2062 See \`config.log' for more details." "$LINENO" 5; }
2063
2064 # Provide some information about the compiler.
2065 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2066 set X $ac_compile
2067 ac_compiler=$2
2068 for ac_option in --version -v -V -qversion; do
2069 { { ac_try="$ac_compiler $ac_option >&5"
2070 case "(($ac_try" in
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2073 esac
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2077 ac_status=$?
2078 if test -s conftest.err; then
2079 sed '10a\
2080 ... rest of stderr output deleted ...
2081 10q' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 fi
2084 rm -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; }
2087 done
2088
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2091
2092 int
2093 main ()
2094 {
2095
2096 ;
2097 return 0;
2098 }
2099 _ACEOF
2100 ac_clean_files_save=$ac_clean_files
2101 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2102 # Try to create an executable without -o first, disregard a.out.
2103 # It will help us diagnose broken compilers, and finding out an intuition
2104 # of exeext.
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2106 $as_echo_n "checking whether the C compiler works... " >&6; }
2107 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2108
2109 # The possible output files:
2110 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2111
2112 ac_rmfiles=
2113 for ac_file in $ac_files
2114 do
2115 case $ac_file in
2116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2117 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2118 esac
2119 done
2120 rm -f $ac_rmfiles
2121
2122 if { { ac_try="$ac_link_default"
2123 case "(($ac_try" in
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2126 esac
2127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128 $as_echo "$ac_try_echo"; } >&5
2129 (eval "$ac_link_default") 2>&5
2130 ac_status=$?
2131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2132 test $ac_status = 0; }; then :
2133 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2135 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2136 # so that the user can short-circuit this test for compilers unknown to
2137 # Autoconf.
2138 for ac_file in $ac_files ''
2139 do
2140 test -f "$ac_file" || continue
2141 case $ac_file in
2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2143 ;;
2144 [ab].out )
2145 # We found the default executable, but exeext='' is most
2146 # certainly right.
2147 break;;
2148 *.* )
2149 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2150 then :; else
2151 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2152 fi
2153 # We set ac_cv_exeext here because the later test for it is not
2154 # safe: cross compilers may not add the suffix if given an `-o'
2155 # argument, so we may need to know it at that point already.
2156 # Even if this section looks crufty: it has the advantage of
2157 # actually working.
2158 break;;
2159 * )
2160 break;;
2161 esac
2162 done
2163 test "$ac_cv_exeext" = no && ac_cv_exeext=
2164
2165 else
2166 ac_file=''
2167 fi
2168 if test -z "$ac_file"; then :
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2171 $as_echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2173
2174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 { as_fn_set_status 77
2177 as_fn_error "C compiler cannot create executables
2178 See \`config.log' for more details." "$LINENO" 5; }; }
2179 else
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2181 $as_echo "yes" >&6; }
2182 fi
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2184 $as_echo_n "checking for C compiler default output file name... " >&6; }
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2186 $as_echo "$ac_file" >&6; }
2187 ac_exeext=$ac_cv_exeext
2188
2189 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2190 ac_clean_files=$ac_clean_files_save
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2192 $as_echo_n "checking for suffix of executables... " >&6; }
2193 if { { ac_try="$ac_link"
2194 case "(($ac_try" in
2195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2196 *) ac_try_echo=$ac_try;;
2197 esac
2198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2199 $as_echo "$ac_try_echo"; } >&5
2200 (eval "$ac_link") 2>&5
2201 ac_status=$?
2202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2203 test $ac_status = 0; }; then :
2204 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2205 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2206 # work properly (i.e., refer to `conftest.exe'), while it won't with
2207 # `rm'.
2208 for ac_file in conftest.exe conftest conftest.*; do
2209 test -f "$ac_file" || continue
2210 case $ac_file in
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2212 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2213 break;;
2214 * ) break;;
2215 esac
2216 done
2217 else
2218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2220 as_fn_error "cannot compute suffix of executables: cannot compile and link
2221 See \`config.log' for more details." "$LINENO" 5; }
2222 fi
2223 rm -f conftest conftest$ac_cv_exeext
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2225 $as_echo "$ac_cv_exeext" >&6; }
2226
2227 rm -f conftest.$ac_ext
2228 EXEEXT=$ac_cv_exeext
2229 ac_exeext=$EXEEXT
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2232 #include <stdio.h>
2233 int
2234 main ()
2235 {
2236 FILE *f = fopen ("conftest.out", "w");
2237 return ferror (f) || fclose (f) != 0;
2238
2239 ;
2240 return 0;
2241 }
2242 _ACEOF
2243 ac_clean_files="$ac_clean_files conftest.out"
2244 # Check that the compiler produces executables we can run. If not, either
2245 # the compiler is broken, or we cross compile.
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2247 $as_echo_n "checking whether we are cross compiling... " >&6; }
2248 if test "$cross_compiling" != yes; then
2249 { { ac_try="$ac_link"
2250 case "(($ac_try" in
2251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2252 *) ac_try_echo=$ac_try;;
2253 esac
2254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2255 $as_echo "$ac_try_echo"; } >&5
2256 (eval "$ac_link") 2>&5
2257 ac_status=$?
2258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2259 test $ac_status = 0; }
2260 if { ac_try='./conftest$ac_cv_exeext'
2261 { { case "(($ac_try" in
2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263 *) ac_try_echo=$ac_try;;
2264 esac
2265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266 $as_echo "$ac_try_echo"; } >&5
2267 (eval "$ac_try") 2>&5
2268 ac_status=$?
2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270 test $ac_status = 0; }; }; then
2271 cross_compiling=no
2272 else
2273 if test "$cross_compiling" = maybe; then
2274 cross_compiling=yes
2275 else
2276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 as_fn_error "cannot run C compiled programs.
2279 If you meant to cross compile, use \`--host'.
2280 See \`config.log' for more details." "$LINENO" 5; }
2281 fi
2282 fi
2283 fi
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2285 $as_echo "$cross_compiling" >&6; }
2286
2287 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2288 ac_clean_files=$ac_clean_files_save
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2290 $as_echo_n "checking for suffix of object files... " >&6; }
2291 if test "${ac_cv_objext+set}" = set; then :
2292 $as_echo_n "(cached) " >&6
2293 else
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2296
2297 int
2298 main ()
2299 {
2300
2301 ;
2302 return 0;
2303 }
2304 _ACEOF
2305 rm -f conftest.o conftest.obj
2306 if { { ac_try="$ac_compile"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_compile") 2>&5
2314 ac_status=$?
2315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2316 test $ac_status = 0; }; then :
2317 for ac_file in conftest.o conftest.obj conftest.*; do
2318 test -f "$ac_file" || continue;
2319 case $ac_file in
2320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2322 break;;
2323 esac
2324 done
2325 else
2326 $as_echo "$as_me: failed program was:" >&5
2327 sed 's/^/| /' conftest.$ac_ext >&5
2328
2329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2331 as_fn_error "cannot compute suffix of object files: cannot compile
2332 See \`config.log' for more details." "$LINENO" 5; }
2333 fi
2334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2335 fi
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2337 $as_echo "$ac_cv_objext" >&6; }
2338 OBJEXT=$ac_cv_objext
2339 ac_objext=$OBJEXT
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2341 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2342 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2343 $as_echo_n "(cached) " >&6
2344 else
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2347
2348 int
2349 main ()
2350 {
2351 #ifndef __GNUC__
2352 choke me
2353 #endif
2354
2355 ;
2356 return 0;
2357 }
2358 _ACEOF
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360 ac_compiler_gnu=yes
2361 else
2362 ac_compiler_gnu=no
2363 fi
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2366
2367 fi
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2369 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2370 if test $ac_compiler_gnu = yes; then
2371 GCC=yes
2372 else
2373 GCC=
2374 fi
2375 ac_test_CFLAGS=${CFLAGS+set}
2376 ac_save_CFLAGS=$CFLAGS
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2378 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2379 if test "${ac_cv_prog_cc_g+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2381 else
2382 ac_save_c_werror_flag=$ac_c_werror_flag
2383 ac_c_werror_flag=yes
2384 ac_cv_prog_cc_g=no
2385 CFLAGS="-g"
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2388
2389 int
2390 main ()
2391 {
2392
2393 ;
2394 return 0;
2395 }
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_cv_prog_cc_g=yes
2399 else
2400 CFLAGS=""
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2403
2404 int
2405 main ()
2406 {
2407
2408 ;
2409 return 0;
2410 }
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413
2414 else
2415 ac_c_werror_flag=$ac_save_c_werror_flag
2416 CFLAGS="-g"
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2419
2420 int
2421 main ()
2422 {
2423
2424 ;
2425 return 0;
2426 }
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429 ac_cv_prog_cc_g=yes
2430 fi
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 fi
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 fi
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 ac_c_werror_flag=$ac_save_c_werror_flag
2437 fi
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2439 $as_echo "$ac_cv_prog_cc_g" >&6; }
2440 if test "$ac_test_CFLAGS" = set; then
2441 CFLAGS=$ac_save_CFLAGS
2442 elif test $ac_cv_prog_cc_g = yes; then
2443 if test "$GCC" = yes; then
2444 CFLAGS="-g -O2"
2445 else
2446 CFLAGS="-g"
2447 fi
2448 else
2449 if test "$GCC" = yes; then
2450 CFLAGS="-O2"
2451 else
2452 CFLAGS=
2453 fi
2454 fi
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2456 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2457 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2459 else
2460 ac_cv_prog_cc_c89=no
2461 ac_save_CC=$CC
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 #include <stdarg.h>
2465 #include <stdio.h>
2466 #include <sys/types.h>
2467 #include <sys/stat.h>
2468 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2469 struct buf { int x; };
2470 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2471 static char *e (p, i)
2472 char **p;
2473 int i;
2474 {
2475 return p[i];
2476 }
2477 static char *f (char * (*g) (char **, int), char **p, ...)
2478 {
2479 char *s;
2480 va_list v;
2481 va_start (v,p);
2482 s = g (p, va_arg (v,int));
2483 va_end (v);
2484 return s;
2485 }
2486
2487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2488 function prototypes and stuff, but not '\xHH' hex character constants.
2489 These don't provoke an error unfortunately, instead are silently treated
2490 as 'x'. The following induces an error, until -std is added to get
2491 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2492 array size at least. It's necessary to write '\x00'==0 to get something
2493 that's true only with -std. */
2494 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2495
2496 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2497 inside strings and character constants. */
2498 #define FOO(x) 'x'
2499 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2500
2501 int test (int i, double x);
2502 struct s1 {int (*f) (int a);};
2503 struct s2 {int (*f) (double a);};
2504 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2505 int argc;
2506 char **argv;
2507 int
2508 main ()
2509 {
2510 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2511 ;
2512 return 0;
2513 }
2514 _ACEOF
2515 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2516 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2517 do
2518 CC="$ac_save_CC $ac_arg"
2519 if ac_fn_c_try_compile "$LINENO"; then :
2520 ac_cv_prog_cc_c89=$ac_arg
2521 fi
2522 rm -f core conftest.err conftest.$ac_objext
2523 test "x$ac_cv_prog_cc_c89" != "xno" && break
2524 done
2525 rm -f conftest.$ac_ext
2526 CC=$ac_save_CC
2527
2528 fi
2529 # AC_CACHE_VAL
2530 case "x$ac_cv_prog_cc_c89" in
2531 x)
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2533 $as_echo "none needed" >&6; } ;;
2534 xno)
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2536 $as_echo "unsupported" >&6; } ;;
2537 *)
2538 CC="$CC $ac_cv_prog_cc_c89"
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2540 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2541 esac
2542 if test "x$ac_cv_prog_cc_c89" != xno; then :
2543
2544 fi
2545
2546 ac_ext=c
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551
2552
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqdbm" >&5
2554 $as_echo_n "checking for main in -lqdbm... " >&6; }
2555 if test "${ac_cv_lib_qdbm_main+set}" = set; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 ac_check_lib_save_LIBS=$LIBS
2559 LIBS="-lqdbm $LIBS"
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2562
2563
2564 int
2565 main ()
2566 {
2567 return main ();
2568 ;
2569 return 0;
2570 }
2571 _ACEOF
2572 if ac_fn_c_try_link "$LINENO"; then :
2573 ac_cv_lib_qdbm_main=yes
2574 else
2575 ac_cv_lib_qdbm_main=no
2576 fi
2577 rm -f core conftest.err conftest.$ac_objext \
2578 conftest$ac_exeext conftest.$ac_ext
2579 LIBS=$ac_check_lib_save_LIBS
2580 fi
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qdbm_main" >&5
2582 $as_echo "$ac_cv_lib_qdbm_main" >&6; }
2583 if test "x$ac_cv_lib_qdbm_main" = x""yes; then :
2584 true
2585 else
2586 printf 'checking whether /usr/local/lib/libqdbm.* is... '
2587 if ls /usr/local/lib/libqdbm.* > /dev/null 2>&1
2588 then
2589 printf 'yes\n'
2590 else
2591 printf 'no\n'
2592 printf '#================================================================\n' 1>&2
2593 printf '# WARNING: Install QDBM libraries before installation.\n' 1>&2
2594 printf '#================================================================\n' 1>&2
2595 fi
2596
2597 fi
2598
2599
2600 # Targets
2601 ac_config_files="$ac_config_files Makefile"
2602
2603 cat >confcache <<\_ACEOF
2604 # This file is a shell script that caches the results of configure
2605 # tests run on this system so they can be shared between configure
2606 # scripts and configure runs, see configure's option --config-cache.
2607 # It is not useful on other systems. If it contains results you don't
2608 # want to keep, you may remove or edit it.
2609 #
2610 # config.status only pays attention to the cache file if you give it
2611 # the --recheck option to rerun configure.
2612 #
2613 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2614 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2615 # following values.
2616
2617 _ACEOF
2618
2619 # The following way of writing the cache mishandles newlines in values,
2620 # but we know of no workaround that is simple, portable, and efficient.
2621 # So, we kill variables containing newlines.
2622 # Ultrix sh set writes to stderr and can't be redirected directly,
2623 # and sets the high bit in the cache file unless we assign to the vars.
2624 (
2625 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2626 eval ac_val=\$$ac_var
2627 case $ac_val in #(
2628 *${as_nl}*)
2629 case $ac_var in #(
2630 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2632 esac
2633 case $ac_var in #(
2634 _ | IFS | as_nl) ;; #(
2635 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2636 *) { eval $ac_var=; unset $ac_var;} ;;
2637 esac ;;
2638 esac
2639 done
2640
2641 (set) 2>&1 |
2642 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2643 *${as_nl}ac_space=\ *)
2644 # `set' does not quote correctly, so add quotes: double-quote
2645 # substitution turns \\\\ into \\, and sed turns \\ into \.
2646 sed -n \
2647 "s/'/'\\\\''/g;
2648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2649 ;; #(
2650 *)
2651 # `set' quotes correctly as required by POSIX, so do not add quotes.
2652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2653 ;;
2654 esac |
2655 sort
2656 ) |
2657 sed '
2658 /^ac_cv_env_/b end
2659 t clear
2660 :clear
2661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2662 t end
2663 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2664 :end' >>confcache
2665 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2666 if test -w "$cache_file"; then
2667 test "x$cache_file" != "x/dev/null" &&
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2669 $as_echo "$as_me: updating cache $cache_file" >&6;}
2670 cat confcache >$cache_file
2671 else
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2673 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2674 fi
2675 fi
2676 rm -f confcache
2677
2678 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2679 # Let make expand exec_prefix.
2680 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2681
2682 # Transform confdefs.h into DEFS.
2683 # Protect against shell expansion while executing Makefile rules.
2684 # Protect against Makefile macro expansion.
2685 #
2686 # If the first sed substitution is executed (which looks for macros that
2687 # take arguments), then branch to the quote section. Otherwise,
2688 # look for a macro that doesn't take arguments.
2689 ac_script='
2690 :mline
2691 /\\$/{
2692 N
2693 s,\\\n,,
2694 b mline
2695 }
2696 t clear
2697 :clear
2698 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2699 t quote
2700 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2701 t quote
2702 b any
2703 :quote
2704 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2705 s/\[/\\&/g
2706 s/\]/\\&/g
2707 s/\$/$$/g
2708 H
2709 :any
2710 ${
2711 g
2712 s/^\n//
2713 s/\n/ /g
2714 p
2715 }
2716 '
2717 DEFS=`sed -n "$ac_script" confdefs.h`
2718
2719
2720 ac_libobjs=
2721 ac_ltlibobjs=
2722 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2723 # 1. Remove the extension, and $U if already installed.
2724 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2725 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2726 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2727 # will be set to the directory where LIBOBJS objects are built.
2728 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2729 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2730 done
2731 LIBOBJS=$ac_libobjs
2732
2733 LTLIBOBJS=$ac_ltlibobjs
2734
2735
2736
2737 : ${CONFIG_STATUS=./config.status}
2738 ac_write_fail=0
2739 ac_clean_files_save=$ac_clean_files
2740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2742 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2743 as_write_fail=0
2744 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2745 #! $SHELL
2746 # Generated by $as_me.
2747 # Run this file to recreate the current configuration.
2748 # Compiler output produced by configure, useful for debugging
2749 # configure, is in config.log if it exists.
2750
2751 debug=false
2752 ac_cs_recheck=false
2753 ac_cs_silent=false
2754
2755 SHELL=\${CONFIG_SHELL-$SHELL}
2756 export SHELL
2757 _ASEOF
2758 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2759 ## -------------------- ##
2760 ## M4sh Initialization. ##
2761 ## -------------------- ##
2762
2763 # Be more Bourne compatible
2764 DUALCASE=1; export DUALCASE # for MKS sh
2765 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2766 emulate sh
2767 NULLCMD=:
2768 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2769 # is contrary to our usage. Disable this feature.
2770 alias -g '${1+"$@"}'='"$@"'
2771 setopt NO_GLOB_SUBST
2772 else
2773 case `(set -o) 2>/dev/null` in #(
2774 *posix*) :
2775 set -o posix ;; #(
2776 *) :
2777 ;;
2778 esac
2779 fi
2780
2781
2782 as_nl='
2783 '
2784 export as_nl
2785 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2786 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2789 # Prefer a ksh shell builtin over an external printf program on Solaris,
2790 # but without wasting forks for bash or zsh.
2791 if test -z "$BASH_VERSION$ZSH_VERSION" \
2792 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2793 as_echo='print -r --'
2794 as_echo_n='print -rn --'
2795 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2796 as_echo='printf %s\n'
2797 as_echo_n='printf %s'
2798 else
2799 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2800 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2801 as_echo_n='/usr/ucb/echo -n'
2802 else
2803 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2804 as_echo_n_body='eval
2805 arg=$1;
2806 case $arg in #(
2807 *"$as_nl"*)
2808 expr "X$arg" : "X\\(.*\\)$as_nl";
2809 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2810 esac;
2811 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2812 '
2813 export as_echo_n_body
2814 as_echo_n='sh -c $as_echo_n_body as_echo'
2815 fi
2816 export as_echo_body
2817 as_echo='sh -c $as_echo_body as_echo'
2818 fi
2819
2820 # The user is always right.
2821 if test "${PATH_SEPARATOR+set}" != set; then
2822 PATH_SEPARATOR=:
2823 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2824 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2825 PATH_SEPARATOR=';'
2826 }
2827 fi
2828
2829
2830 # IFS
2831 # We need space, tab and new line, in precisely that order. Quoting is
2832 # there to prevent editors from complaining about space-tab.
2833 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2834 # splitting by setting IFS to empty value.)
2835 IFS=" "" $as_nl"
2836
2837 # Find who we are. Look in the path if we contain no directory separator.
2838 case $0 in #((
2839 *[\\/]* ) as_myself=$0 ;;
2840 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2842 do
2843 IFS=$as_save_IFS
2844 test -z "$as_dir" && as_dir=.
2845 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2846 done
2847 IFS=$as_save_IFS
2848
2849 ;;
2850 esac
2851 # We did not find ourselves, most probably we were run as `sh COMMAND'
2852 # in which case we are not to be found in the path.
2853 if test "x$as_myself" = x; then
2854 as_myself=$0
2855 fi
2856 if test ! -f "$as_myself"; then
2857 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2858 exit 1
2859 fi
2860
2861 # Unset variables that we do not need and which cause bugs (e.g. in
2862 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2863 # suppresses any "Segmentation fault" message there. '((' could
2864 # trigger a bug in pdksh 5.2.14.
2865 for as_var in BASH_ENV ENV MAIL MAILPATH
2866 do eval test x\${$as_var+set} = xset \
2867 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2868 done
2869 PS1='$ '
2870 PS2='> '
2871 PS4='+ '
2872
2873 # NLS nuisances.
2874 LC_ALL=C
2875 export LC_ALL
2876 LANGUAGE=C
2877 export LANGUAGE
2878
2879 # CDPATH.
2880 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2881
2882
2883 # as_fn_error ERROR [LINENO LOG_FD]
2884 # ---------------------------------
2885 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2886 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2887 # script with status $?, using 1 if that was 0.
2888 as_fn_error ()
2889 {
2890 as_status=$?; test $as_status -eq 0 && as_status=1
2891 if test "$3"; then
2892 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2893 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2894 fi
2895 $as_echo "$as_me: error: $1" >&2
2896 as_fn_exit $as_status
2897 } # as_fn_error
2898
2899
2900 # as_fn_set_status STATUS
2901 # -----------------------
2902 # Set $? to STATUS, without forking.
2903 as_fn_set_status ()
2904 {
2905 return $1
2906 } # as_fn_set_status
2907
2908 # as_fn_exit STATUS
2909 # -----------------
2910 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2911 as_fn_exit ()
2912 {
2913 set +e
2914 as_fn_set_status $1
2915 exit $1
2916 } # as_fn_exit
2917
2918 # as_fn_unset VAR
2919 # ---------------
2920 # Portably unset VAR.
2921 as_fn_unset ()
2922 {
2923 { eval $1=; unset $1;}
2924 }
2925 as_unset=as_fn_unset
2926 # as_fn_append VAR VALUE
2927 # ----------------------
2928 # Append the text in VALUE to the end of the definition contained in VAR. Take
2929 # advantage of any shell optimizations that allow amortized linear growth over
2930 # repeated appends, instead of the typical quadratic growth present in naive
2931 # implementations.
2932 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2933 eval 'as_fn_append ()
2934 {
2935 eval $1+=\$2
2936 }'
2937 else
2938 as_fn_append ()
2939 {
2940 eval $1=\$$1\$2
2941 }
2942 fi # as_fn_append
2943
2944 # as_fn_arith ARG...
2945 # ------------------
2946 # Perform arithmetic evaluation on the ARGs, and store the result in the
2947 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2948 # must be portable across $(()) and expr.
2949 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2950 eval 'as_fn_arith ()
2951 {
2952 as_val=$(( $* ))
2953 }'
2954 else
2955 as_fn_arith ()
2956 {
2957 as_val=`expr "$@" || test $? -eq 1`
2958 }
2959 fi # as_fn_arith
2960
2961
2962 if expr a : '\(a\)' >/dev/null 2>&1 &&
2963 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2964 as_expr=expr
2965 else
2966 as_expr=false
2967 fi
2968
2969 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2970 as_basename=basename
2971 else
2972 as_basename=false
2973 fi
2974
2975 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2976 as_dirname=dirname
2977 else
2978 as_dirname=false
2979 fi
2980
2981 as_me=`$as_basename -- "$0" ||
2982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2983 X"$0" : 'X\(//\)$' \| \
2984 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2985 $as_echo X/"$0" |
2986 sed '/^.*\/\([^/][^/]*\)\/*$/{
2987 s//\1/
2988 q
2989 }
2990 /^X\/\(\/\/\)$/{
2991 s//\1/
2992 q
2993 }
2994 /^X\/\(\/\).*/{
2995 s//\1/
2996 q
2997 }
2998 s/.*/./; q'`
2999
3000 # Avoid depending upon Character Ranges.
3001 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3002 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3003 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3004 as_cr_digits='0123456789'
3005 as_cr_alnum=$as_cr_Letters$as_cr_digits
3006
3007 ECHO_C= ECHO_N= ECHO_T=
3008 case `echo -n x` in #(((((
3009 -n*)
3010 case `echo 'xy\c'` in
3011 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3012 xy) ECHO_C='\c';;
3013 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3014 ECHO_T=' ';;
3015 esac;;
3016 *)
3017 ECHO_N='-n';;
3018 esac
3019
3020 rm -f conf$$ conf$$.exe conf$$.file
3021 if test -d conf$$.dir; then
3022 rm -f conf$$.dir/conf$$.file
3023 else
3024 rm -f conf$$.dir
3025 mkdir conf$$.dir 2>/dev/null
3026 fi
3027 if (echo >conf$$.file) 2>/dev/null; then
3028 if ln -s conf$$.file conf$$ 2>/dev/null; then
3029 as_ln_s='ln -s'
3030 # ... but there are two gotchas:
3031 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3032 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3033 # In both cases, we have to default to `cp -p'.
3034 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3035 as_ln_s='cp -p'
3036 elif ln conf$$.file conf$$ 2>/dev/null; then
3037 as_ln_s=ln
3038 else
3039 as_ln_s='cp -p'
3040 fi
3041 else
3042 as_ln_s='cp -p'
3043 fi
3044 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3045 rmdir conf$$.dir 2>/dev/null
3046
3047
3048 # as_fn_mkdir_p
3049 # -------------
3050 # Create "$as_dir" as a directory, including parents if necessary.
3051 as_fn_mkdir_p ()
3052 {
3053
3054 case $as_dir in #(
3055 -*) as_dir=./$as_dir;;
3056 esac
3057 test -d "$as_dir" || eval $as_mkdir_p || {
3058 as_dirs=
3059 while :; do
3060 case $as_dir in #(
3061 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3062 *) as_qdir=$as_dir;;
3063 esac
3064 as_dirs="'$as_qdir' $as_dirs"
3065 as_dir=`$as_dirname -- "$as_dir" ||
3066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3067 X"$as_dir" : 'X\(//\)[^/]' \| \
3068 X"$as_dir" : 'X\(//\)$' \| \
3069 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3070 $as_echo X"$as_dir" |
3071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3072 s//\1/
3073 q
3074 }
3075 /^X\(\/\/\)[^/].*/{
3076 s//\1/
3077 q
3078 }
3079 /^X\(\/\/\)$/{
3080 s//\1/
3081 q
3082 }
3083 /^X\(\/\).*/{
3084 s//\1/
3085 q
3086 }
3087 s/.*/./; q'`
3088 test -d "$as_dir" && break
3089 done
3090 test -z "$as_dirs" || eval "mkdir $as_dirs"
3091 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3092
3093
3094 } # as_fn_mkdir_p
3095 if mkdir -p . 2>/dev/null; then
3096 as_mkdir_p='mkdir -p "$as_dir"'
3097 else
3098 test -d ./-p && rmdir ./-p
3099 as_mkdir_p=false
3100 fi
3101
3102 if test -x / >/dev/null 2>&1; then
3103 as_test_x='test -x'
3104 else
3105 if ls -dL / >/dev/null 2>&1; then
3106 as_ls_L_option=L
3107 else
3108 as_ls_L_option=
3109 fi
3110 as_test_x='
3111 eval sh -c '\''
3112 if test -d "$1"; then
3113 test -d "$1/.";
3114 else
3115 case $1 in #(
3116 -*)set "./$1";;
3117 esac;
3118 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3119 ???[sx]*):;;*)false;;esac;fi
3120 '\'' sh
3121 '
3122 fi
3123 as_executable_p=$as_test_x
3124
3125 # Sed expression to map a string onto a valid CPP name.
3126 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3127
3128 # Sed expression to map a string onto a valid variable name.
3129 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3130
3131
3132 exec 6>&1
3133 ## ----------------------------------- ##
3134 ## Main body of $CONFIG_STATUS script. ##
3135 ## ----------------------------------- ##
3136 _ASEOF
3137 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3138
3139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3140 # Save the log message, to keep $0 and so on meaningful, and to
3141 # report actual input values of CONFIG_FILES etc. instead of their
3142 # values after options handling.
3143 ac_log="
3144 This file was extended by qdbm-ruby $as_me 1.0.0, which was
3145 generated by GNU Autoconf 2.65. Invocation command line was
3146
3147 CONFIG_FILES = $CONFIG_FILES
3148 CONFIG_HEADERS = $CONFIG_HEADERS
3149 CONFIG_LINKS = $CONFIG_LINKS
3150 CONFIG_COMMANDS = $CONFIG_COMMANDS
3151 $ $0 $@
3152
3153 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3154 "
3155
3156 _ACEOF
3157
3158 case $ac_config_files in *"
3159 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3160 esac
3161
3162
3163
3164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3165 # Files that config.status was made for.
3166 config_files="$ac_config_files"
3167
3168 _ACEOF
3169
3170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3171 ac_cs_usage="\
3172 \`$as_me' instantiates files and other configuration actions
3173 from templates according to the current configuration. Unless the files
3174 and actions are specified as TAGs, all are instantiated by default.
3175
3176 Usage: $0 [OPTION]... [TAG]...
3177
3178 -h, --help print this help, then exit
3179 -V, --version print version number and configuration settings, then exit
3180 --config print configuration, then exit
3181 -q, --quiet, --silent
3182 do not print progress messages
3183 -d, --debug don't remove temporary files
3184 --recheck update $as_me by reconfiguring in the same conditions
3185 --file=FILE[:TEMPLATE]
3186 instantiate the configuration file FILE
3187
3188 Configuration files:
3189 $config_files
3190
3191 Report bugs to the package provider."
3192
3193 _ACEOF
3194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3196 ac_cs_version="\\
3197 qdbm-ruby config.status 1.0.0
3198 configured by $0, generated by GNU Autoconf 2.65,
3199 with options \\"\$ac_cs_config\\"
3200
3201 Copyright (C) 2009 Free Software Foundation, Inc.
3202 This config.status script is free software; the Free Software Foundation
3203 gives unlimited permission to copy, distribute and modify it."
3204
3205 ac_pwd='$ac_pwd'
3206 srcdir='$srcdir'
3207 test -n "\$AWK" || AWK=awk
3208 _ACEOF
3209
3210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3211 # The default lists apply if the user does not specify any file.
3212 ac_need_defaults=:
3213 while test $# != 0
3214 do
3215 case $1 in
3216 --*=*)
3217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3218 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3219 ac_shift=:
3220 ;;
3221 *)
3222 ac_option=$1
3223 ac_optarg=$2
3224 ac_shift=shift
3225 ;;
3226 esac
3227
3228 case $ac_option in
3229 # Handling of the options.
3230 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3231 ac_cs_recheck=: ;;
3232 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3233 $as_echo "$ac_cs_version"; exit ;;
3234 --config | --confi | --conf | --con | --co | --c )
3235 $as_echo "$ac_cs_config"; exit ;;
3236 --debug | --debu | --deb | --de | --d | -d )
3237 debug=: ;;
3238 --file | --fil | --fi | --f )
3239 $ac_shift
3240 case $ac_optarg in
3241 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 esac
3243 as_fn_append CONFIG_FILES " '$ac_optarg'"
3244 ac_need_defaults=false;;
3245 --he | --h | --help | --hel | -h )
3246 $as_echo "$ac_cs_usage"; exit ;;
3247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3248 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3249 ac_cs_silent=: ;;
3250
3251 # This is an error.
3252 -*) as_fn_error "unrecognized option: \`$1'
3253 Try \`$0 --help' for more information." ;;
3254
3255 *) as_fn_append ac_config_targets " $1"
3256 ac_need_defaults=false ;;
3257
3258 esac
3259 shift
3260 done
3261
3262 ac_configure_extra_args=
3263
3264 if $ac_cs_silent; then
3265 exec 6>/dev/null
3266 ac_configure_extra_args="$ac_configure_extra_args --silent"
3267 fi
3268
3269 _ACEOF
3270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3271 if \$ac_cs_recheck; then
3272 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3273 shift
3274 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3275 CONFIG_SHELL='$SHELL'
3276 export CONFIG_SHELL
3277 exec "\$@"
3278 fi
3279
3280 _ACEOF
3281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3282 exec 5>>config.log
3283 {
3284 echo
3285 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3286 ## Running $as_me. ##
3287 _ASBOX
3288 $as_echo "$ac_log"
3289 } >&5
3290
3291 _ACEOF
3292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3293 _ACEOF
3294
3295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3296
3297 # Handling of arguments.
3298 for ac_config_target in $ac_config_targets
3299 do
3300 case $ac_config_target in
3301 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3302
3303 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3304 esac
3305 done
3306
3307
3308 # If the user did not use the arguments to specify the items to instantiate,
3309 # then the envvar interface is used. Set only those that are not.
3310 # We use the long form for the default assignment because of an extremely
3311 # bizarre bug on SunOS 4.1.3.
3312 if $ac_need_defaults; then
3313 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3314 fi
3315
3316 # Have a temporary directory for convenience. Make it in the build tree
3317 # simply because there is no reason against having it here, and in addition,
3318 # creating and moving files from /tmp can sometimes cause problems.
3319 # Hook for its removal unless debugging.
3320 # Note that there is a small window in which the directory will not be cleaned:
3321 # after its creation but before its name has been assigned to `$tmp'.
3322 $debug ||
3323 {
3324 tmp=
3325 trap 'exit_status=$?
3326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3327 ' 0
3328 trap 'as_fn_exit 1' 1 2 13 15
3329 }
3330 # Create a (secure) tmp directory for tmp files.
3331
3332 {
3333 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3334 test -n "$tmp" && test -d "$tmp"
3335 } ||
3336 {
3337 tmp=./conf$$-$RANDOM
3338 (umask 077 && mkdir "$tmp")
3339 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3340
3341 # Set up the scripts for CONFIG_FILES section.
3342 # No need to generate them if there are no CONFIG_FILES.
3343 # This happens for instance with `./config.status config.h'.
3344 if test -n "$CONFIG_FILES"; then
3345
3346
3347 ac_cr=`echo X | tr X '\015'`
3348 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3349 # But we know of no other shell where ac_cr would be empty at this
3350 # point, so we can use a bashism as a fallback.
3351 if test "x$ac_cr" = x; then
3352 eval ac_cr=\$\'\\r\'
3353 fi
3354 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3355 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3356 ac_cs_awk_cr='\r'
3357 else
3358 ac_cs_awk_cr=$ac_cr
3359 fi
3360
3361 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3362 _ACEOF
3363
3364
3365 {
3366 echo "cat >conf$$subs.awk <<_ACEOF" &&
3367 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3368 echo "_ACEOF"
3369 } >conf$$subs.sh ||
3370 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3371 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3372 ac_delim='%!_!# '
3373 for ac_last_try in false false false false false :; do
3374 . ./conf$$subs.sh ||
3375 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3376
3377 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3378 if test $ac_delim_n = $ac_delim_num; then
3379 break
3380 elif $ac_last_try; then
3381 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3382 else
3383 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3384 fi
3385 done
3386 rm -f conf$$subs.sh
3387
3388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3389 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3390 _ACEOF
3391 sed -n '
3392 h
3393 s/^/S["/; s/!.*/"]=/
3394 p
3395 g
3396 s/^[^!]*!//
3397 :repl
3398 t repl
3399 s/'"$ac_delim"'$//
3400 t delim
3401 :nl
3402 h
3403 s/\(.\{148\}\)..*/\1/
3404 t more1
3405 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3406 p
3407 n
3408 b repl
3409 :more1
3410 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3411 p
3412 g
3413 s/.\{148\}//
3414 t nl
3415 :delim
3416 h
3417 s/\(.\{148\}\)..*/\1/
3418 t more2
3419 s/["\\]/\\&/g; s/^/"/; s/$/"/
3420 p
3421 b
3422 :more2
3423 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3424 p
3425 g
3426 s/.\{148\}//
3427 t delim
3428 ' <conf$$subs.awk | sed '
3429 /^[^""]/{
3430 N
3431 s/\n//
3432 }
3433 ' >>$CONFIG_STATUS || ac_write_fail=1
3434 rm -f conf$$subs.awk
3435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3436 _ACAWK
3437 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3438 for (key in S) S_is_set[key] = 1
3439 FS = ""
3440
3441 }
3442 {
3443 line = $ 0
3444 nfields = split(line, field, "@")
3445 substed = 0
3446 len = length(field[1])
3447 for (i = 2; i < nfields; i++) {
3448 key = field[i]
3449 keylen = length(key)
3450 if (S_is_set[key]) {
3451 value = S[key]
3452 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3453 len += length(value) + length(field[++i])
3454 substed = 1
3455 } else
3456 len += 1 + keylen
3457 }
3458
3459 print line
3460 }
3461
3462 _ACAWK
3463 _ACEOF
3464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3465 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3466 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3467 else
3468 cat
3469 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3470 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3471 _ACEOF
3472
3473 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3474 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3475 # trailing colons and then remove the whole line if VPATH becomes empty
3476 # (actually we leave an empty line to preserve line numbers).
3477 if test "x$srcdir" = x.; then
3478 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3479 s/:*\$(srcdir):*/:/
3480 s/:*\${srcdir}:*/:/
3481 s/:*@srcdir@:*/:/
3482 s/^\([^=]*=[ ]*\):*/\1/
3483 s/:*$//
3484 s/^[^=]*=[ ]*$//
3485 }'
3486 fi
3487
3488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3489 fi # test -n "$CONFIG_FILES"
3490
3491
3492 eval set X " :F $CONFIG_FILES "
3493 shift
3494 for ac_tag
3495 do
3496 case $ac_tag in
3497 :[FHLC]) ac_mode=$ac_tag; continue;;
3498 esac
3499 case $ac_mode$ac_tag in
3500 :[FHL]*:*);;
3501 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3502 :[FH]-) ac_tag=-:-;;
3503 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3504 esac
3505 ac_save_IFS=$IFS
3506 IFS=:
3507 set x $ac_tag
3508 IFS=$ac_save_IFS
3509 shift
3510 ac_file=$1
3511 shift
3512
3513 case $ac_mode in
3514 :L) ac_source=$1;;
3515 :[FH])
3516 ac_file_inputs=
3517 for ac_f
3518 do
3519 case $ac_f in
3520 -) ac_f="$tmp/stdin";;
3521 *) # Look for the file first in the build tree, then in the source tree
3522 # (if the path is not absolute). The absolute path cannot be DOS-style,
3523 # because $ac_f cannot contain `:'.
3524 test -f "$ac_f" ||
3525 case $ac_f in
3526 [\\/$]*) false;;
3527 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3528 esac ||
3529 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3530 esac
3531 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3532 as_fn_append ac_file_inputs " '$ac_f'"
3533 done
3534
3535 # Let's still pretend it is `configure' which instantiates (i.e., don't
3536 # use $as_me), people would be surprised to read:
3537 # /* config.h. Generated by config.status. */
3538 configure_input='Generated from '`
3539 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3540 `' by configure.'
3541 if test x"$ac_file" != x-; then
3542 configure_input="$ac_file. $configure_input"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3544 $as_echo "$as_me: creating $ac_file" >&6;}
3545 fi
3546 # Neutralize special characters interpreted by sed in replacement strings.
3547 case $configure_input in #(
3548 *\&* | *\|* | *\\* )
3549 ac_sed_conf_input=`$as_echo "$configure_input" |
3550 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3551 *) ac_sed_conf_input=$configure_input;;
3552 esac
3553
3554 case $ac_tag in
3555 *:-:* | *:-) cat >"$tmp/stdin" \
3556 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3557 esac
3558 ;;
3559 esac
3560
3561 ac_dir=`$as_dirname -- "$ac_file" ||
3562 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3563 X"$ac_file" : 'X\(//\)[^/]' \| \
3564 X"$ac_file" : 'X\(//\)$' \| \
3565 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3566 $as_echo X"$ac_file" |
3567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3568 s//\1/
3569 q
3570 }
3571 /^X\(\/\/\)[^/].*/{
3572 s//\1/
3573 q
3574 }
3575 /^X\(\/\/\)$/{
3576 s//\1/
3577 q
3578 }
3579 /^X\(\/\).*/{
3580 s//\1/
3581 q
3582 }
3583 s/.*/./; q'`
3584 as_dir="$ac_dir"; as_fn_mkdir_p
3585 ac_builddir=.
3586
3587 case "$ac_dir" in
3588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3589 *)
3590 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3591 # A ".." for each directory in $ac_dir_suffix.
3592 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3593 case $ac_top_builddir_sub in
3594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3596 esac ;;
3597 esac
3598 ac_abs_top_builddir=$ac_pwd
3599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3600 # for backward compatibility:
3601 ac_top_builddir=$ac_top_build_prefix
3602
3603 case $srcdir in
3604 .) # We are building in place.
3605 ac_srcdir=.
3606 ac_top_srcdir=$ac_top_builddir_sub
3607 ac_abs_top_srcdir=$ac_pwd ;;
3608 [\\/]* | ?:[\\/]* ) # Absolute name.
3609 ac_srcdir=$srcdir$ac_dir_suffix;
3610 ac_top_srcdir=$srcdir
3611 ac_abs_top_srcdir=$srcdir ;;
3612 *) # Relative name.
3613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3614 ac_top_srcdir=$ac_top_build_prefix$srcdir
3615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3616 esac
3617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3618
3619
3620 case $ac_mode in
3621 :F)
3622 #
3623 # CONFIG_FILE
3624 #
3625
3626 _ACEOF
3627
3628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3629 # If the template does not know about datarootdir, expand it.
3630 # FIXME: This hack should be removed a few years after 2.60.
3631 ac_datarootdir_hack=; ac_datarootdir_seen=
3632 ac_sed_dataroot='
3633 /datarootdir/ {
3634 p
3635 q
3636 }
3637 /@datadir@/p
3638 /@docdir@/p
3639 /@infodir@/p
3640 /@localedir@/p
3641 /@mandir@/p'
3642 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3643 *datarootdir*) ac_datarootdir_seen=yes;;
3644 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3646 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3647 _ACEOF
3648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3649 ac_datarootdir_hack='
3650 s&@datadir@&$datadir&g
3651 s&@docdir@&$docdir&g
3652 s&@infodir@&$infodir&g
3653 s&@localedir@&$localedir&g
3654 s&@mandir@&$mandir&g
3655 s&\\\${datarootdir}&$datarootdir&g' ;;
3656 esac
3657 _ACEOF
3658
3659 # Neutralize VPATH when `$srcdir' = `.'.
3660 # Shell code in configure.ac might set extrasub.
3661 # FIXME: do we really want to maintain this feature?
3662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3663 ac_sed_extra="$ac_vpsub
3664 $extrasub
3665 _ACEOF
3666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3667 :t
3668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3669 s|@configure_input@|$ac_sed_conf_input|;t t
3670 s&@top_builddir@&$ac_top_builddir_sub&;t t
3671 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3672 s&@srcdir@&$ac_srcdir&;t t
3673 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3674 s&@top_srcdir@&$ac_top_srcdir&;t t
3675 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3676 s&@builddir@&$ac_builddir&;t t
3677 s&@abs_builddir@&$ac_abs_builddir&;t t
3678 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3679 $ac_datarootdir_hack
3680 "
3681 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3682 || as_fn_error "could not create $ac_file" "$LINENO" 5
3683
3684 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3685 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3686 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3688 which seems to be undefined. Please make sure it is defined." >&5
3689 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3690 which seems to be undefined. Please make sure it is defined." >&2;}
3691
3692 rm -f "$tmp/stdin"
3693 case $ac_file in
3694 -) cat "$tmp/out" && rm -f "$tmp/out";;
3695 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3696 esac \
3697 || as_fn_error "could not create $ac_file" "$LINENO" 5
3698 ;;
3699
3700
3701
3702 esac
3703
3704 done # for ac_tag
3705
3706
3707 as_fn_exit 0
3708 _ACEOF
3709 ac_clean_files=$ac_clean_files_save
3710
3711 test $ac_write_fail = 0 ||
3712 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3713
3714
3715 # configure is writing to config.log, and then calls config.status.
3716 # config.status does its own redirection, appending to config.log.
3717 # Unfortunately, on DOS this fails, as config.log is still kept open
3718 # by configure, so config.status won't be able to write to it; its
3719 # output is simply discarded. So we exec the FD to /dev/null,
3720 # effectively closing config.log, so it can be properly (re)opened and
3721 # appended to by config.status. When coming back to configure, we
3722 # need to make the FD available again.
3723 if test "$no_create" != yes; then
3724 ac_cs_success=:
3725 ac_config_status_args=
3726 test "$silent" = yes &&
3727 ac_config_status_args="$ac_config_status_args --quiet"
3728 exec 5>/dev/null
3729 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3730 exec 5>>config.log
3731 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3732 # would make configure fail if this is the last instruction.
3733 $ac_cs_success || as_fn_exit $?
3734 fi
3735 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3737 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3738 fi
3739
3740
3741
3742
3743 # END OF FILE