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