1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME=
579PACKAGE_TARNAME=
580PACKAGE_VERSION=
581PACKAGE_STRING=
582PACKAGE_BUGREPORT=
583PACKAGE_URL=
584
585ac_unique_file="fetchaddr.c"
586# Factoring default headers for most tests.
587ac_includes_default="\
588#include <stdio.h>
589#ifdef HAVE_SYS_TYPES_H
590# include <sys/types.h>
591#endif
592#ifdef HAVE_SYS_STAT_H
593# include <sys/stat.h>
594#endif
595#ifdef STDC_HEADERS
596# include <stdlib.h>
597# include <stddef.h>
598#else
599# ifdef HAVE_STDLIB_H
600#  include <stdlib.h>
601# endif
602#endif
603#ifdef HAVE_STRING_H
604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605#  include <memory.h>
606# endif
607# include <string.h>
608#endif
609#ifdef HAVE_STRINGS_H
610# include <strings.h>
611#endif
612#ifdef HAVE_INTTYPES_H
613# include <inttypes.h>
614#endif
615#ifdef HAVE_STDINT_H
616# include <stdint.h>
617#endif
618#ifdef HAVE_UNISTD_H
619# include <unistd.h>
620#endif"
621
622ac_subst_vars='LTLIBOBJS
623LIBOBJS
624MODULES
625LBDB_VERSION
626SYSCONF_DIR
627VFORMAT
628PBXBUILD
629XCODEBUILD
630PERL
631EVOLUTION_ADDRESSBOOK_EXPORT
632PGP
633PGPK
634GPG
635GETENT
636NISCAT
637YPCAT
638ADDR_EMAIL
639GOOBOOK
640ABOOK
641FINGER
642path_fetchaddr
643DOTLOCKBASE
644DOTLOCK_TARGET
645DOTLOCK
646DOTLOCK_OLD
647TACTARGET
648TAC
649NAWK
650GAWK
651MAWK
652AWK
653SH
654BINSH
655KSH
656BASH
657LTLIBICONV
658LIBICONV
659host_os
660host_vendor
661host_cpu
662host
663build_os
664build_vendor
665build_cpu
666build
667EGREP
668GREP
669CPP
670INSTALL_DATA
671INSTALL_SCRIPT
672INSTALL_PROGRAM
673OBJEXT
674EXEEXT
675ac_ct_CC
676CPPFLAGS
677LDFLAGS
678CFLAGS
679CC
680target_alias
681host_alias
682build_alias
683LIBS
684ECHO_T
685ECHO_N
686ECHO_C
687DEFS
688mandir
689localedir
690libdir
691psdir
692pdfdir
693dvidir
694htmldir
695infodir
696docdir
697oldincludedir
698includedir
699localstatedir
700sharedstatedir
701sysconfdir
702datadir
703datarootdir
704libexecdir
705sbindir
706bindir
707program_transform_name
708prefix
709exec_prefix
710PACKAGE_URL
711PACKAGE_BUGREPORT
712PACKAGE_STRING
713PACKAGE_VERSION
714PACKAGE_TARNAME
715PACKAGE_NAME
716PATH_SEPARATOR
717SHELL'
718ac_subst_files=''
719ac_user_opts='
720enable_option_checking
721with_gnu_ld
722enable_rpath
723with_libiconv_prefix
724enable_lbdb_dotlock
725with_finger
726with_abook
727with_goobook
728with_addr_email
729with_ypcat
730with_niscat
731with_getent
732with_gpg
733with_pgpk
734with_pgp
735with_evolution_addressbook_export
736'
737      ac_precious_vars='build_alias
738host_alias
739target_alias
740CC
741CFLAGS
742LDFLAGS
743LIBS
744CPPFLAGS
745CPP'
746
747
748# Initialize some variables set by options.
749ac_init_help=
750ac_init_version=false
751ac_unrecognized_opts=
752ac_unrecognized_sep=
753# The variables have the same names as the options, with
754# dashes changed to underlines.
755cache_file=/dev/null
756exec_prefix=NONE
757no_create=
758no_recursion=
759prefix=NONE
760program_prefix=NONE
761program_suffix=NONE
762program_transform_name=s,x,x,
763silent=
764site=
765srcdir=
766verbose=
767x_includes=NONE
768x_libraries=NONE
769
770# Installation directory options.
771# These are left unexpanded so users can "make install exec_prefix=/foo"
772# and all the variables that are supposed to be based on exec_prefix
773# by default will actually change.
774# Use braces instead of parens because sh, perl, etc. also accept them.
775# (The list follows the same order as the GNU Coding Standards.)
776bindir='${exec_prefix}/bin'
777sbindir='${exec_prefix}/sbin'
778libexecdir='${exec_prefix}/libexec'
779datarootdir='${prefix}/share'
780datadir='${datarootdir}'
781sysconfdir='${prefix}/etc'
782sharedstatedir='${prefix}/com'
783localstatedir='${prefix}/var'
784includedir='${prefix}/include'
785oldincludedir='/usr/include'
786docdir='${datarootdir}/doc/${PACKAGE}'
787infodir='${datarootdir}/info'
788htmldir='${docdir}'
789dvidir='${docdir}'
790pdfdir='${docdir}'
791psdir='${docdir}'
792libdir='${exec_prefix}/lib'
793localedir='${datarootdir}/locale'
794mandir='${datarootdir}/man'
795
796ac_prev=
797ac_dashdash=
798for ac_option
799do
800  # If the previous option needs an argument, assign it.
801  if test -n "$ac_prev"; then
802    eval $ac_prev=\$ac_option
803    ac_prev=
804    continue
805  fi
806
807  case $ac_option in
808  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809  *=)   ac_optarg= ;;
810  *)    ac_optarg=yes ;;
811  esac
812
813  # Accept the important Cygnus configure options, so we can diagnose typos.
814
815  case $ac_dashdash$ac_option in
816  --)
817    ac_dashdash=yes ;;
818
819  -bindir | --bindir | --bindi | --bind | --bin | --bi)
820    ac_prev=bindir ;;
821  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
822    bindir=$ac_optarg ;;
823
824  -build | --build | --buil | --bui | --bu)
825    ac_prev=build_alias ;;
826  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
827    build_alias=$ac_optarg ;;
828
829  -cache-file | --cache-file | --cache-fil | --cache-fi \
830  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
831    ac_prev=cache_file ;;
832  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
833  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
834    cache_file=$ac_optarg ;;
835
836  --config-cache | -C)
837    cache_file=config.cache ;;
838
839  -datadir | --datadir | --datadi | --datad)
840    ac_prev=datadir ;;
841  -datadir=* | --datadir=* | --datadi=* | --datad=*)
842    datadir=$ac_optarg ;;
843
844  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
845  | --dataroo | --dataro | --datar)
846    ac_prev=datarootdir ;;
847  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
848  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
849    datarootdir=$ac_optarg ;;
850
851  -disable-* | --disable-*)
852    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
853    # Reject names that are not valid shell variable names.
854    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855      as_fn_error $? "invalid feature name: $ac_useropt"
856    ac_useropt_orig=$ac_useropt
857    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858    case $ac_user_opts in
859      *"
860"enable_$ac_useropt"
861"*) ;;
862      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
863	 ac_unrecognized_sep=', ';;
864    esac
865    eval enable_$ac_useropt=no ;;
866
867  -docdir | --docdir | --docdi | --doc | --do)
868    ac_prev=docdir ;;
869  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
870    docdir=$ac_optarg ;;
871
872  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
873    ac_prev=dvidir ;;
874  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
875    dvidir=$ac_optarg ;;
876
877  -enable-* | --enable-*)
878    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
879    # Reject names that are not valid shell variable names.
880    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
881      as_fn_error $? "invalid feature name: $ac_useropt"
882    ac_useropt_orig=$ac_useropt
883    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884    case $ac_user_opts in
885      *"
886"enable_$ac_useropt"
887"*) ;;
888      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
889	 ac_unrecognized_sep=', ';;
890    esac
891    eval enable_$ac_useropt=\$ac_optarg ;;
892
893  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
894  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
895  | --exec | --exe | --ex)
896    ac_prev=exec_prefix ;;
897  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
898  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
899  | --exec=* | --exe=* | --ex=*)
900    exec_prefix=$ac_optarg ;;
901
902  -gas | --gas | --ga | --g)
903    # Obsolete; use --with-gas.
904    with_gas=yes ;;
905
906  -help | --help | --hel | --he | -h)
907    ac_init_help=long ;;
908  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
909    ac_init_help=recursive ;;
910  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
911    ac_init_help=short ;;
912
913  -host | --host | --hos | --ho)
914    ac_prev=host_alias ;;
915  -host=* | --host=* | --hos=* | --ho=*)
916    host_alias=$ac_optarg ;;
917
918  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
919    ac_prev=htmldir ;;
920  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
921  | --ht=*)
922    htmldir=$ac_optarg ;;
923
924  -includedir | --includedir | --includedi | --included | --include \
925  | --includ | --inclu | --incl | --inc)
926    ac_prev=includedir ;;
927  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
928  | --includ=* | --inclu=* | --incl=* | --inc=*)
929    includedir=$ac_optarg ;;
930
931  -infodir | --infodir | --infodi | --infod | --info | --inf)
932    ac_prev=infodir ;;
933  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
934    infodir=$ac_optarg ;;
935
936  -libdir | --libdir | --libdi | --libd)
937    ac_prev=libdir ;;
938  -libdir=* | --libdir=* | --libdi=* | --libd=*)
939    libdir=$ac_optarg ;;
940
941  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
942  | --libexe | --libex | --libe)
943    ac_prev=libexecdir ;;
944  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
945  | --libexe=* | --libex=* | --libe=*)
946    libexecdir=$ac_optarg ;;
947
948  -localedir | --localedir | --localedi | --localed | --locale)
949    ac_prev=localedir ;;
950  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
951    localedir=$ac_optarg ;;
952
953  -localstatedir | --localstatedir | --localstatedi | --localstated \
954  | --localstate | --localstat | --localsta | --localst | --locals)
955    ac_prev=localstatedir ;;
956  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
957  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
958    localstatedir=$ac_optarg ;;
959
960  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
961    ac_prev=mandir ;;
962  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
963    mandir=$ac_optarg ;;
964
965  -nfp | --nfp | --nf)
966    # Obsolete; use --without-fp.
967    with_fp=no ;;
968
969  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
970  | --no-cr | --no-c | -n)
971    no_create=yes ;;
972
973  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
974  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
975    no_recursion=yes ;;
976
977  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
978  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
979  | --oldin | --oldi | --old | --ol | --o)
980    ac_prev=oldincludedir ;;
981  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
982  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
983  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
984    oldincludedir=$ac_optarg ;;
985
986  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
987    ac_prev=prefix ;;
988  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
989    prefix=$ac_optarg ;;
990
991  -program-prefix | --program-prefix | --program-prefi | --program-pref \
992  | --program-pre | --program-pr | --program-p)
993    ac_prev=program_prefix ;;
994  -program-prefix=* | --program-prefix=* | --program-prefi=* \
995  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
996    program_prefix=$ac_optarg ;;
997
998  -program-suffix | --program-suffix | --program-suffi | --program-suff \
999  | --program-suf | --program-su | --program-s)
1000    ac_prev=program_suffix ;;
1001  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1002  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1003    program_suffix=$ac_optarg ;;
1004
1005  -program-transform-name | --program-transform-name \
1006  | --program-transform-nam | --program-transform-na \
1007  | --program-transform-n | --program-transform- \
1008  | --program-transform | --program-transfor \
1009  | --program-transfo | --program-transf \
1010  | --program-trans | --program-tran \
1011  | --progr-tra | --program-tr | --program-t)
1012    ac_prev=program_transform_name ;;
1013  -program-transform-name=* | --program-transform-name=* \
1014  | --program-transform-nam=* | --program-transform-na=* \
1015  | --program-transform-n=* | --program-transform-=* \
1016  | --program-transform=* | --program-transfor=* \
1017  | --program-transfo=* | --program-transf=* \
1018  | --program-trans=* | --program-tran=* \
1019  | --progr-tra=* | --program-tr=* | --program-t=*)
1020    program_transform_name=$ac_optarg ;;
1021
1022  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1023    ac_prev=pdfdir ;;
1024  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1025    pdfdir=$ac_optarg ;;
1026
1027  -psdir | --psdir | --psdi | --psd | --ps)
1028    ac_prev=psdir ;;
1029  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1030    psdir=$ac_optarg ;;
1031
1032  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1033  | -silent | --silent | --silen | --sile | --sil)
1034    silent=yes ;;
1035
1036  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037    ac_prev=sbindir ;;
1038  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039  | --sbi=* | --sb=*)
1040    sbindir=$ac_optarg ;;
1041
1042  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1043  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1044  | --sharedst | --shareds | --shared | --share | --shar \
1045  | --sha | --sh)
1046    ac_prev=sharedstatedir ;;
1047  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1048  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1049  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050  | --sha=* | --sh=*)
1051    sharedstatedir=$ac_optarg ;;
1052
1053  -site | --site | --sit)
1054    ac_prev=site ;;
1055  -site=* | --site=* | --sit=*)
1056    site=$ac_optarg ;;
1057
1058  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059    ac_prev=srcdir ;;
1060  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1061    srcdir=$ac_optarg ;;
1062
1063  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1064  | --syscon | --sysco | --sysc | --sys | --sy)
1065    ac_prev=sysconfdir ;;
1066  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1067  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1068    sysconfdir=$ac_optarg ;;
1069
1070  -target | --target | --targe | --targ | --tar | --ta | --t)
1071    ac_prev=target_alias ;;
1072  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1073    target_alias=$ac_optarg ;;
1074
1075  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1076    verbose=yes ;;
1077
1078  -version | --version | --versio | --versi | --vers | -V)
1079    ac_init_version=: ;;
1080
1081  -with-* | --with-*)
1082    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1083    # Reject names that are not valid shell variable names.
1084    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085      as_fn_error $? "invalid package name: $ac_useropt"
1086    ac_useropt_orig=$ac_useropt
1087    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088    case $ac_user_opts in
1089      *"
1090"with_$ac_useropt"
1091"*) ;;
1092      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093	 ac_unrecognized_sep=', ';;
1094    esac
1095    eval with_$ac_useropt=\$ac_optarg ;;
1096
1097  -without-* | --without-*)
1098    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099    # Reject names that are not valid shell variable names.
1100    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101      as_fn_error $? "invalid package name: $ac_useropt"
1102    ac_useropt_orig=$ac_useropt
1103    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104    case $ac_user_opts in
1105      *"
1106"with_$ac_useropt"
1107"*) ;;
1108      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1109	 ac_unrecognized_sep=', ';;
1110    esac
1111    eval with_$ac_useropt=no ;;
1112
1113  --x)
1114    # Obsolete; use --with-x.
1115    with_x=yes ;;
1116
1117  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1118  | --x-incl | --x-inc | --x-in | --x-i)
1119    ac_prev=x_includes ;;
1120  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1121  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1122    x_includes=$ac_optarg ;;
1123
1124  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1125  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1126    ac_prev=x_libraries ;;
1127  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1128  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1129    x_libraries=$ac_optarg ;;
1130
1131  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1132Try \`$0 --help' for more information"
1133    ;;
1134
1135  *=*)
1136    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1137    # Reject names that are not valid shell variable names.
1138    case $ac_envvar in #(
1139      '' | [0-9]* | *[!_$as_cr_alnum]* )
1140      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1141    esac
1142    eval $ac_envvar=\$ac_optarg
1143    export $ac_envvar ;;
1144
1145  *)
1146    # FIXME: should be removed in autoconf 3.0.
1147    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1148    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1149      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1150    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1151    ;;
1152
1153  esac
1154done
1155
1156if test -n "$ac_prev"; then
1157  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1158  as_fn_error $? "missing argument to $ac_option"
1159fi
1160
1161if test -n "$ac_unrecognized_opts"; then
1162  case $enable_option_checking in
1163    no) ;;
1164    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1165    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166  esac
1167fi
1168
1169# Check all directory arguments for consistency.
1170for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171		datadir sysconfdir sharedstatedir localstatedir includedir \
1172		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173		libdir localedir mandir
1174do
1175  eval ac_val=\$$ac_var
1176  # Remove trailing slashes.
1177  case $ac_val in
1178    */ )
1179      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1180      eval $ac_var=\$ac_val;;
1181  esac
1182  # Be sure to have absolute directory names.
1183  case $ac_val in
1184    [\\/$]* | ?:[\\/]* )  continue;;
1185    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186  esac
1187  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1188done
1189
1190# There might be people who depend on the old broken behavior: `$host'
1191# used to hold the argument of --host etc.
1192# FIXME: To remove some day.
1193build=$build_alias
1194host=$host_alias
1195target=$target_alias
1196
1197# FIXME: To remove some day.
1198if test "x$host_alias" != x; then
1199  if test "x$build_alias" = x; then
1200    cross_compiling=maybe
1201  elif test "x$build_alias" != "x$host_alias"; then
1202    cross_compiling=yes
1203  fi
1204fi
1205
1206ac_tool_prefix=
1207test -n "$host_alias" && ac_tool_prefix=$host_alias-
1208
1209test "$silent" = yes && exec 6>/dev/null
1210
1211
1212ac_pwd=`pwd` && test -n "$ac_pwd" &&
1213ac_ls_di=`ls -di .` &&
1214ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1215  as_fn_error $? "working directory cannot be determined"
1216test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217  as_fn_error $? "pwd does not report name of working directory"
1218
1219
1220# Find the source files, if location was not specified.
1221if test -z "$srcdir"; then
1222  ac_srcdir_defaulted=yes
1223  # Try the directory containing this script, then the parent directory.
1224  ac_confdir=`$as_dirname -- "$as_myself" ||
1225$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226	 X"$as_myself" : 'X\(//\)[^/]' \| \
1227	 X"$as_myself" : 'X\(//\)$' \| \
1228	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1229$as_echo X"$as_myself" |
1230    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231	    s//\1/
1232	    q
1233	  }
1234	  /^X\(\/\/\)[^/].*/{
1235	    s//\1/
1236	    q
1237	  }
1238	  /^X\(\/\/\)$/{
1239	    s//\1/
1240	    q
1241	  }
1242	  /^X\(\/\).*/{
1243	    s//\1/
1244	    q
1245	  }
1246	  s/.*/./; q'`
1247  srcdir=$ac_confdir
1248  if test ! -r "$srcdir/$ac_unique_file"; then
1249    srcdir=..
1250  fi
1251else
1252  ac_srcdir_defaulted=no
1253fi
1254if test ! -r "$srcdir/$ac_unique_file"; then
1255  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1256  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1257fi
1258ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1259ac_abs_confdir=`(
1260	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261	pwd)`
1262# When building in place, set srcdir=.
1263if test "$ac_abs_confdir" = "$ac_pwd"; then
1264  srcdir=.
1265fi
1266# Remove unnecessary trailing slashes from srcdir.
1267# Double slashes in file names in object file debugging info
1268# mess up M-x gdb in Emacs.
1269case $srcdir in
1270*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271esac
1272for ac_var in $ac_precious_vars; do
1273  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1274  eval ac_env_${ac_var}_value=\$${ac_var}
1275  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1276  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277done
1278
1279#
1280# Report the --help message.
1281#
1282if test "$ac_init_help" = "long"; then
1283  # Omit some internal or obsolete options to make the list less imposing.
1284  # This message is too long to be a string in the A/UX 3.1 sh.
1285  cat <<_ACEOF
1286\`configure' configures this package to adapt to many kinds of systems.
1287
1288Usage: $0 [OPTION]... [VAR=VALUE]...
1289
1290To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291VAR=VALUE.  See below for descriptions of some of the useful variables.
1292
1293Defaults for the options are specified in brackets.
1294
1295Configuration:
1296  -h, --help              display this help and exit
1297      --help=short        display options specific to this package
1298      --help=recursive    display the short help of all the included packages
1299  -V, --version           display version information and exit
1300  -q, --quiet, --silent   do not print \`checking ...' messages
1301      --cache-file=FILE   cache test results in FILE [disabled]
1302  -C, --config-cache      alias for \`--cache-file=config.cache'
1303  -n, --no-create         do not create output files
1304      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1305
1306Installation directories:
1307  --prefix=PREFIX         install architecture-independent files in PREFIX
1308                          [$ac_default_prefix]
1309  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1310                          [PREFIX]
1311
1312By default, \`make install' will install all the files in
1313\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1314an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315for instance \`--prefix=\$HOME'.
1316
1317For better control, use the options below.
1318
1319Fine tuning of the installation directories:
1320  --bindir=DIR            user executables [EPREFIX/bin]
1321  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1322  --libexecdir=DIR        program executables [EPREFIX/libexec]
1323  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1324  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1325  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1326  --libdir=DIR            object code libraries [EPREFIX/lib]
1327  --includedir=DIR        C header files [PREFIX/include]
1328  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1329  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1330  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1331  --infodir=DIR           info documentation [DATAROOTDIR/info]
1332  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1333  --mandir=DIR            man documentation [DATAROOTDIR/man]
1334  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1335  --htmldir=DIR           html documentation [DOCDIR]
1336  --dvidir=DIR            dvi documentation [DOCDIR]
1337  --pdfdir=DIR            pdf documentation [DOCDIR]
1338  --psdir=DIR             ps documentation [DOCDIR]
1339_ACEOF
1340
1341  cat <<\_ACEOF
1342
1343System types:
1344  --build=BUILD     configure for building on BUILD [guessed]
1345  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1346_ACEOF
1347fi
1348
1349if test -n "$ac_init_help"; then
1350
1351  cat <<\_ACEOF
1352
1353Optional Features:
1354  --disable-option-checking  ignore unrecognized --enable/--with options
1355  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1356  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1357  --disable-rpath         do not hardcode runtime library paths
1358                           (--enable-lbdb-dotlock,
1359		 	      Force use of lbdb_dotlock program)
1360
1361Optional Packages:
1362  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1363  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1364  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1365  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1366  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1367  --with-finger           with finger support
1368  --with-abook            with abook support
1369  --with-goobook          with goobook support
1370  --with-addr-email       with addressbook support
1371  --with-ypcat            with ypcat passwd support
1372  --with-niscat           with niscat passwd support
1373  --with-getent           with getent passwd support
1374  --with-gpg              with GnuPG support
1375  --with-pgpk             with PGP 5.* support
1376  --with-pgp              with PGP 2.* support
1377  --with-evolution-addressbook-export
1378                          with Evolution support ('auto' searchs at runtime)
1379
1380Some influential environment variables:
1381  CC          C compiler command
1382  CFLAGS      C compiler flags
1383  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1384              nonstandard directory <lib dir>
1385  LIBS        libraries to pass to the linker, e.g. -l<library>
1386  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1387              you have headers in a nonstandard directory <include dir>
1388  CPP         C preprocessor
1389
1390Use these variables to override the choices made by `configure' or to help
1391it to find libraries and programs with nonstandard names/locations.
1392
1393Report bugs to the package provider.
1394_ACEOF
1395ac_status=$?
1396fi
1397
1398if test "$ac_init_help" = "recursive"; then
1399  # If there are subdirs, report their specific --help.
1400  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401    test -d "$ac_dir" ||
1402      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1403      continue
1404    ac_builddir=.
1405
1406case "$ac_dir" in
1407.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408*)
1409  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1410  # A ".." for each directory in $ac_dir_suffix.
1411  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1412  case $ac_top_builddir_sub in
1413  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415  esac ;;
1416esac
1417ac_abs_top_builddir=$ac_pwd
1418ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419# for backward compatibility:
1420ac_top_builddir=$ac_top_build_prefix
1421
1422case $srcdir in
1423  .)  # We are building in place.
1424    ac_srcdir=.
1425    ac_top_srcdir=$ac_top_builddir_sub
1426    ac_abs_top_srcdir=$ac_pwd ;;
1427  [\\/]* | ?:[\\/]* )  # Absolute name.
1428    ac_srcdir=$srcdir$ac_dir_suffix;
1429    ac_top_srcdir=$srcdir
1430    ac_abs_top_srcdir=$srcdir ;;
1431  *) # Relative name.
1432    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433    ac_top_srcdir=$ac_top_build_prefix$srcdir
1434    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435esac
1436ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437
1438    cd "$ac_dir" || { ac_status=$?; continue; }
1439    # Check for guested configure.
1440    if test -f "$ac_srcdir/configure.gnu"; then
1441      echo &&
1442      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443    elif test -f "$ac_srcdir/configure"; then
1444      echo &&
1445      $SHELL "$ac_srcdir/configure" --help=recursive
1446    else
1447      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448    fi || ac_status=$?
1449    cd "$ac_pwd" || { ac_status=$?; break; }
1450  done
1451fi
1452
1453test -n "$ac_init_help" && exit $ac_status
1454if $ac_init_version; then
1455  cat <<\_ACEOF
1456configure
1457generated by GNU Autoconf 2.69
1458
1459Copyright (C) 2012 Free Software Foundation, Inc.
1460This configure script is free software; the Free Software Foundation
1461gives unlimited permission to copy, distribute and modify it.
1462_ACEOF
1463  exit
1464fi
1465
1466## ------------------------ ##
1467## Autoconf initialization. ##
1468## ------------------------ ##
1469
1470# ac_fn_c_try_compile LINENO
1471# --------------------------
1472# Try to compile conftest.$ac_ext, and return whether this succeeded.
1473ac_fn_c_try_compile ()
1474{
1475  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1476  rm -f conftest.$ac_objext
1477  if { { ac_try="$ac_compile"
1478case "(($ac_try" in
1479  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1480  *) ac_try_echo=$ac_try;;
1481esac
1482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483$as_echo "$ac_try_echo"; } >&5
1484  (eval "$ac_compile") 2>conftest.err
1485  ac_status=$?
1486  if test -s conftest.err; then
1487    grep -v '^ *+' conftest.err >conftest.er1
1488    cat conftest.er1 >&5
1489    mv -f conftest.er1 conftest.err
1490  fi
1491  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492  test $ac_status = 0; } && {
1493	 test -z "$ac_c_werror_flag" ||
1494	 test ! -s conftest.err
1495       } && test -s conftest.$ac_objext; then :
1496  ac_retval=0
1497else
1498  $as_echo "$as_me: failed program was:" >&5
1499sed 's/^/| /' conftest.$ac_ext >&5
1500
1501	ac_retval=1
1502fi
1503  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1504  as_fn_set_status $ac_retval
1505
1506} # ac_fn_c_try_compile
1507
1508# ac_fn_c_try_cpp LINENO
1509# ----------------------
1510# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1511ac_fn_c_try_cpp ()
1512{
1513  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514  if { { ac_try="$ac_cpp conftest.$ac_ext"
1515case "(($ac_try" in
1516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517  *) ac_try_echo=$ac_try;;
1518esac
1519eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520$as_echo "$ac_try_echo"; } >&5
1521  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1522  ac_status=$?
1523  if test -s conftest.err; then
1524    grep -v '^ *+' conftest.err >conftest.er1
1525    cat conftest.er1 >&5
1526    mv -f conftest.er1 conftest.err
1527  fi
1528  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529  test $ac_status = 0; } > conftest.i && {
1530	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1531	 test ! -s conftest.err
1532       }; then :
1533  ac_retval=0
1534else
1535  $as_echo "$as_me: failed program was:" >&5
1536sed 's/^/| /' conftest.$ac_ext >&5
1537
1538    ac_retval=1
1539fi
1540  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541  as_fn_set_status $ac_retval
1542
1543} # ac_fn_c_try_cpp
1544
1545# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1546# -------------------------------------------------------
1547# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1548# the include files in INCLUDES and setting the cache variable VAR
1549# accordingly.
1550ac_fn_c_check_header_mongrel ()
1551{
1552  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553  if eval \${$3+:} false; then :
1554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1555$as_echo_n "checking for $2... " >&6; }
1556if eval \${$3+:} false; then :
1557  $as_echo_n "(cached) " >&6
1558fi
1559eval ac_res=\$$3
1560	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561$as_echo "$ac_res" >&6; }
1562else
1563  # Is the header compilable?
1564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1565$as_echo_n "checking $2 usability... " >&6; }
1566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1567/* end confdefs.h.  */
1568$4
1569#include <$2>
1570_ACEOF
1571if ac_fn_c_try_compile "$LINENO"; then :
1572  ac_header_compiler=yes
1573else
1574  ac_header_compiler=no
1575fi
1576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1578$as_echo "$ac_header_compiler" >&6; }
1579
1580# Is the header present?
1581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1582$as_echo_n "checking $2 presence... " >&6; }
1583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1584/* end confdefs.h.  */
1585#include <$2>
1586_ACEOF
1587if ac_fn_c_try_cpp "$LINENO"; then :
1588  ac_header_preproc=yes
1589else
1590  ac_header_preproc=no
1591fi
1592rm -f conftest.err conftest.i conftest.$ac_ext
1593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1594$as_echo "$ac_header_preproc" >&6; }
1595
1596# So?  What about this header?
1597case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1598  yes:no: )
1599    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1600$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1601    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1602$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1603    ;;
1604  no:yes:* )
1605    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1606$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1607    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1608$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1609    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1610$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1611    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1612$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1613    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1614$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1615    ;;
1616esac
1617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618$as_echo_n "checking for $2... " >&6; }
1619if eval \${$3+:} false; then :
1620  $as_echo_n "(cached) " >&6
1621else
1622  eval "$3=\$ac_header_compiler"
1623fi
1624eval ac_res=\$$3
1625	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626$as_echo "$ac_res" >&6; }
1627fi
1628  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629
1630} # ac_fn_c_check_header_mongrel
1631
1632# ac_fn_c_try_run LINENO
1633# ----------------------
1634# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1635# that executables *can* be run.
1636ac_fn_c_try_run ()
1637{
1638  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639  if { { ac_try="$ac_link"
1640case "(($ac_try" in
1641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642  *) ac_try_echo=$ac_try;;
1643esac
1644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645$as_echo "$ac_try_echo"; } >&5
1646  (eval "$ac_link") 2>&5
1647  ac_status=$?
1648  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1650  { { case "(($ac_try" in
1651  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652  *) ac_try_echo=$ac_try;;
1653esac
1654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655$as_echo "$ac_try_echo"; } >&5
1656  (eval "$ac_try") 2>&5
1657  ac_status=$?
1658  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659  test $ac_status = 0; }; }; then :
1660  ac_retval=0
1661else
1662  $as_echo "$as_me: program exited with status $ac_status" >&5
1663       $as_echo "$as_me: failed program was:" >&5
1664sed 's/^/| /' conftest.$ac_ext >&5
1665
1666       ac_retval=$ac_status
1667fi
1668  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670  as_fn_set_status $ac_retval
1671
1672} # ac_fn_c_try_run
1673
1674# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1675# -------------------------------------------------------
1676# Tests whether HEADER exists and can be compiled using the include files in
1677# INCLUDES, setting the cache variable VAR accordingly.
1678ac_fn_c_check_header_compile ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682$as_echo_n "checking for $2... " >&6; }
1683if eval \${$3+:} false; then :
1684  $as_echo_n "(cached) " >&6
1685else
1686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687/* end confdefs.h.  */
1688$4
1689#include <$2>
1690_ACEOF
1691if ac_fn_c_try_compile "$LINENO"; then :
1692  eval "$3=yes"
1693else
1694  eval "$3=no"
1695fi
1696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697fi
1698eval ac_res=\$$3
1699	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700$as_echo "$ac_res" >&6; }
1701  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702
1703} # ac_fn_c_check_header_compile
1704
1705# ac_fn_c_try_link LINENO
1706# -----------------------
1707# Try to link conftest.$ac_ext, and return whether this succeeded.
1708ac_fn_c_try_link ()
1709{
1710  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711  rm -f conftest.$ac_objext conftest$ac_exeext
1712  if { { ac_try="$ac_link"
1713case "(($ac_try" in
1714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715  *) ac_try_echo=$ac_try;;
1716esac
1717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718$as_echo "$ac_try_echo"; } >&5
1719  (eval "$ac_link") 2>conftest.err
1720  ac_status=$?
1721  if test -s conftest.err; then
1722    grep -v '^ *+' conftest.err >conftest.er1
1723    cat conftest.er1 >&5
1724    mv -f conftest.er1 conftest.err
1725  fi
1726  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727  test $ac_status = 0; } && {
1728	 test -z "$ac_c_werror_flag" ||
1729	 test ! -s conftest.err
1730       } && test -s conftest$ac_exeext && {
1731	 test "$cross_compiling" = yes ||
1732	 test -x conftest$ac_exeext
1733       }; then :
1734  ac_retval=0
1735else
1736  $as_echo "$as_me: failed program was:" >&5
1737sed 's/^/| /' conftest.$ac_ext >&5
1738
1739	ac_retval=1
1740fi
1741  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743  # interfere with the next link command; also delete a directory that is
1744  # left behind by Apple's compiler.  We do this before executing the actions.
1745  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747  as_fn_set_status $ac_retval
1748
1749} # ac_fn_c_try_link
1750cat >config.log <<_ACEOF
1751This file contains any messages produced by compilers while
1752running configure, to aid debugging if configure makes a mistake.
1753
1754It was created by $as_me, which was
1755generated by GNU Autoconf 2.69.  Invocation command line was
1756
1757  $ $0 $@
1758
1759_ACEOF
1760exec 5>>config.log
1761{
1762cat <<_ASUNAME
1763## --------- ##
1764## Platform. ##
1765## --------- ##
1766
1767hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1768uname -m = `(uname -m) 2>/dev/null || echo unknown`
1769uname -r = `(uname -r) 2>/dev/null || echo unknown`
1770uname -s = `(uname -s) 2>/dev/null || echo unknown`
1771uname -v = `(uname -v) 2>/dev/null || echo unknown`
1772
1773/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1774/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1775
1776/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1777/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1778/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1779/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1780/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1781/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1782/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1783
1784_ASUNAME
1785
1786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787for as_dir in $PATH
1788do
1789  IFS=$as_save_IFS
1790  test -z "$as_dir" && as_dir=.
1791    $as_echo "PATH: $as_dir"
1792  done
1793IFS=$as_save_IFS
1794
1795} >&5
1796
1797cat >&5 <<_ACEOF
1798
1799
1800## ----------- ##
1801## Core tests. ##
1802## ----------- ##
1803
1804_ACEOF
1805
1806
1807# Keep a trace of the command line.
1808# Strip out --no-create and --no-recursion so they do not pile up.
1809# Strip out --silent because we don't want to record it for future runs.
1810# Also quote any args containing shell meta-characters.
1811# Make two passes to allow for proper duplicate-argument suppression.
1812ac_configure_args=
1813ac_configure_args0=
1814ac_configure_args1=
1815ac_must_keep_next=false
1816for ac_pass in 1 2
1817do
1818  for ac_arg
1819  do
1820    case $ac_arg in
1821    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1822    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1823    | -silent | --silent | --silen | --sile | --sil)
1824      continue ;;
1825    *\'*)
1826      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1827    esac
1828    case $ac_pass in
1829    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1830    2)
1831      as_fn_append ac_configure_args1 " '$ac_arg'"
1832      if test $ac_must_keep_next = true; then
1833	ac_must_keep_next=false # Got value, back to normal.
1834      else
1835	case $ac_arg in
1836	  *=* | --config-cache | -C | -disable-* | --disable-* \
1837	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1838	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1839	  | -with-* | --with-* | -without-* | --without-* | --x)
1840	    case "$ac_configure_args0 " in
1841	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1842	    esac
1843	    ;;
1844	  -* ) ac_must_keep_next=true ;;
1845	esac
1846      fi
1847      as_fn_append ac_configure_args " '$ac_arg'"
1848      ;;
1849    esac
1850  done
1851done
1852{ ac_configure_args0=; unset ac_configure_args0;}
1853{ ac_configure_args1=; unset ac_configure_args1;}
1854
1855# When interrupted or exit'd, cleanup temporary files, and complete
1856# config.log.  We remove comments because anyway the quotes in there
1857# would cause problems or look ugly.
1858# WARNING: Use '\'' to represent an apostrophe within the trap.
1859# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1860trap 'exit_status=$?
1861  # Save into config.log some information that might help in debugging.
1862  {
1863    echo
1864
1865    $as_echo "## ---------------- ##
1866## Cache variables. ##
1867## ---------------- ##"
1868    echo
1869    # The following way of writing the cache mishandles newlines in values,
1870(
1871  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1872    eval ac_val=\$$ac_var
1873    case $ac_val in #(
1874    *${as_nl}*)
1875      case $ac_var in #(
1876      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1877$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1878      esac
1879      case $ac_var in #(
1880      _ | IFS | as_nl) ;; #(
1881      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1882      *) { eval $ac_var=; unset $ac_var;} ;;
1883      esac ;;
1884    esac
1885  done
1886  (set) 2>&1 |
1887    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1888    *${as_nl}ac_space=\ *)
1889      sed -n \
1890	"s/'\''/'\''\\\\'\'''\''/g;
1891	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1892      ;; #(
1893    *)
1894      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1895      ;;
1896    esac |
1897    sort
1898)
1899    echo
1900
1901    $as_echo "## ----------------- ##
1902## Output variables. ##
1903## ----------------- ##"
1904    echo
1905    for ac_var in $ac_subst_vars
1906    do
1907      eval ac_val=\$$ac_var
1908      case $ac_val in
1909      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910      esac
1911      $as_echo "$ac_var='\''$ac_val'\''"
1912    done | sort
1913    echo
1914
1915    if test -n "$ac_subst_files"; then
1916      $as_echo "## ------------------- ##
1917## File substitutions. ##
1918## ------------------- ##"
1919      echo
1920      for ac_var in $ac_subst_files
1921      do
1922	eval ac_val=\$$ac_var
1923	case $ac_val in
1924	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1925	esac
1926	$as_echo "$ac_var='\''$ac_val'\''"
1927      done | sort
1928      echo
1929    fi
1930
1931    if test -s confdefs.h; then
1932      $as_echo "## ----------- ##
1933## confdefs.h. ##
1934## ----------- ##"
1935      echo
1936      cat confdefs.h
1937      echo
1938    fi
1939    test "$ac_signal" != 0 &&
1940      $as_echo "$as_me: caught signal $ac_signal"
1941    $as_echo "$as_me: exit $exit_status"
1942  } >&5
1943  rm -f core *.core core.conftest.* &&
1944    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1945    exit $exit_status
1946' 0
1947for ac_signal in 1 2 13 15; do
1948  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1949done
1950ac_signal=0
1951
1952# confdefs.h avoids OS command line length limits that DEFS can exceed.
1953rm -f -r conftest* confdefs.h
1954
1955$as_echo "/* confdefs.h */" > confdefs.h
1956
1957# Predefined preprocessor variables.
1958
1959cat >>confdefs.h <<_ACEOF
1960#define PACKAGE_NAME "$PACKAGE_NAME"
1961_ACEOF
1962
1963cat >>confdefs.h <<_ACEOF
1964#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1965_ACEOF
1966
1967cat >>confdefs.h <<_ACEOF
1968#define PACKAGE_VERSION "$PACKAGE_VERSION"
1969_ACEOF
1970
1971cat >>confdefs.h <<_ACEOF
1972#define PACKAGE_STRING "$PACKAGE_STRING"
1973_ACEOF
1974
1975cat >>confdefs.h <<_ACEOF
1976#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1977_ACEOF
1978
1979cat >>confdefs.h <<_ACEOF
1980#define PACKAGE_URL "$PACKAGE_URL"
1981_ACEOF
1982
1983
1984# Let the site file select an alternate cache file if it wants to.
1985# Prefer an explicitly selected file to automatically selected ones.
1986ac_site_file1=NONE
1987ac_site_file2=NONE
1988if test -n "$CONFIG_SITE"; then
1989  # We do not want a PATH search for config.site.
1990  case $CONFIG_SITE in #((
1991    -*)  ac_site_file1=./$CONFIG_SITE;;
1992    */*) ac_site_file1=$CONFIG_SITE;;
1993    *)   ac_site_file1=./$CONFIG_SITE;;
1994  esac
1995elif test "x$prefix" != xNONE; then
1996  ac_site_file1=$prefix/share/config.site
1997  ac_site_file2=$prefix/etc/config.site
1998else
1999  ac_site_file1=$ac_default_prefix/share/config.site
2000  ac_site_file2=$ac_default_prefix/etc/config.site
2001fi
2002for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2003do
2004  test "x$ac_site_file" = xNONE && continue
2005  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2006    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2007$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2008    sed 's/^/| /' "$ac_site_file" >&5
2009    . "$ac_site_file" \
2010      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2012as_fn_error $? "failed to load site script $ac_site_file
2013See \`config.log' for more details" "$LINENO" 5; }
2014  fi
2015done
2016
2017if test -r "$cache_file"; then
2018  # Some versions of bash will fail to source /dev/null (special files
2019  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2020  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2021    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2022$as_echo "$as_me: loading cache $cache_file" >&6;}
2023    case $cache_file in
2024      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2025      *)                      . "./$cache_file";;
2026    esac
2027  fi
2028else
2029  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2030$as_echo "$as_me: creating cache $cache_file" >&6;}
2031  >$cache_file
2032fi
2033
2034# Check that the precious variables saved in the cache have kept the same
2035# value.
2036ac_cache_corrupted=false
2037for ac_var in $ac_precious_vars; do
2038  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2039  eval ac_new_set=\$ac_env_${ac_var}_set
2040  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2041  eval ac_new_val=\$ac_env_${ac_var}_value
2042  case $ac_old_set,$ac_new_set in
2043    set,)
2044      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2045$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2046      ac_cache_corrupted=: ;;
2047    ,set)
2048      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2049$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2050      ac_cache_corrupted=: ;;
2051    ,);;
2052    *)
2053      if test "x$ac_old_val" != "x$ac_new_val"; then
2054	# differences in whitespace do not lead to failure.
2055	ac_old_val_w=`echo x $ac_old_val`
2056	ac_new_val_w=`echo x $ac_new_val`
2057	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2058	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2059$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2060	  ac_cache_corrupted=:
2061	else
2062	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2063$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2064	  eval $ac_var=\$ac_old_val
2065	fi
2066	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2067$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2068	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2069$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2070      fi;;
2071  esac
2072  # Pass precious variables to config.status.
2073  if test "$ac_new_set" = set; then
2074    case $ac_new_val in
2075    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2076    *) ac_arg=$ac_var=$ac_new_val ;;
2077    esac
2078    case " $ac_configure_args " in
2079      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2080      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2081    esac
2082  fi
2083done
2084if $ac_cache_corrupted; then
2085  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2087  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2088$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2089  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2090fi
2091## -------------------- ##
2092## Main body of script. ##
2093## -------------------- ##
2094
2095ac_ext=c
2096ac_cpp='$CPP $CPPFLAGS'
2097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2099ac_compiler_gnu=$ac_cv_c_compiler_gnu
2100
2101
2102
2103
2104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
2105$as_echo_n "checking for prefix... " >&6; }
2106if test x$prefix = xNONE; then
2107	lbdb_cv_prefix=$ac_default_prefix
2108else
2109	lbdb_cv_prefix=$prefix
2110fi
2111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lbdb_cv_prefix" >&5
2112$as_echo "$lbdb_cv_prefix" >&6; }
2113
2114ac_ext=c
2115ac_cpp='$CPP $CPPFLAGS'
2116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2118ac_compiler_gnu=$ac_cv_c_compiler_gnu
2119if test -n "$ac_tool_prefix"; then
2120  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2121set dummy ${ac_tool_prefix}gcc; ac_word=$2
2122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2123$as_echo_n "checking for $ac_word... " >&6; }
2124if ${ac_cv_prog_CC+:} false; then :
2125  $as_echo_n "(cached) " >&6
2126else
2127  if test -n "$CC"; then
2128  ac_cv_prog_CC="$CC" # Let the user override the test.
2129else
2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131for as_dir in $PATH
2132do
2133  IFS=$as_save_IFS
2134  test -z "$as_dir" && as_dir=.
2135    for ac_exec_ext in '' $ac_executable_extensions; do
2136  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139    break 2
2140  fi
2141done
2142  done
2143IFS=$as_save_IFS
2144
2145fi
2146fi
2147CC=$ac_cv_prog_CC
2148if test -n "$CC"; then
2149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2150$as_echo "$CC" >&6; }
2151else
2152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2153$as_echo "no" >&6; }
2154fi
2155
2156
2157fi
2158if test -z "$ac_cv_prog_CC"; then
2159  ac_ct_CC=$CC
2160  # Extract the first word of "gcc", so it can be a program name with args.
2161set dummy gcc; ac_word=$2
2162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2163$as_echo_n "checking for $ac_word... " >&6; }
2164if ${ac_cv_prog_ac_ct_CC+:} false; then :
2165  $as_echo_n "(cached) " >&6
2166else
2167  if test -n "$ac_ct_CC"; then
2168  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169else
2170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171for as_dir in $PATH
2172do
2173  IFS=$as_save_IFS
2174  test -z "$as_dir" && as_dir=.
2175    for ac_exec_ext in '' $ac_executable_extensions; do
2176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177    ac_cv_prog_ac_ct_CC="gcc"
2178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2179    break 2
2180  fi
2181done
2182  done
2183IFS=$as_save_IFS
2184
2185fi
2186fi
2187ac_ct_CC=$ac_cv_prog_ac_ct_CC
2188if test -n "$ac_ct_CC"; then
2189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2190$as_echo "$ac_ct_CC" >&6; }
2191else
2192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2193$as_echo "no" >&6; }
2194fi
2195
2196  if test "x$ac_ct_CC" = x; then
2197    CC=""
2198  else
2199    case $cross_compiling:$ac_tool_warned in
2200yes:)
2201{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2202$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2203ac_tool_warned=yes ;;
2204esac
2205    CC=$ac_ct_CC
2206  fi
2207else
2208  CC="$ac_cv_prog_CC"
2209fi
2210
2211if test -z "$CC"; then
2212          if test -n "$ac_tool_prefix"; then
2213    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2214set dummy ${ac_tool_prefix}cc; ac_word=$2
2215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2216$as_echo_n "checking for $ac_word... " >&6; }
2217if ${ac_cv_prog_CC+:} false; then :
2218  $as_echo_n "(cached) " >&6
2219else
2220  if test -n "$CC"; then
2221  ac_cv_prog_CC="$CC" # Let the user override the test.
2222else
2223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224for as_dir in $PATH
2225do
2226  IFS=$as_save_IFS
2227  test -z "$as_dir" && as_dir=.
2228    for ac_exec_ext in '' $ac_executable_extensions; do
2229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230    ac_cv_prog_CC="${ac_tool_prefix}cc"
2231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2232    break 2
2233  fi
2234done
2235  done
2236IFS=$as_save_IFS
2237
2238fi
2239fi
2240CC=$ac_cv_prog_CC
2241if test -n "$CC"; then
2242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2243$as_echo "$CC" >&6; }
2244else
2245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2246$as_echo "no" >&6; }
2247fi
2248
2249
2250  fi
2251fi
2252if test -z "$CC"; then
2253  # Extract the first word of "cc", so it can be a program name with args.
2254set dummy cc; ac_word=$2
2255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2256$as_echo_n "checking for $ac_word... " >&6; }
2257if ${ac_cv_prog_CC+:} false; then :
2258  $as_echo_n "(cached) " >&6
2259else
2260  if test -n "$CC"; then
2261  ac_cv_prog_CC="$CC" # Let the user override the test.
2262else
2263  ac_prog_rejected=no
2264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265for as_dir in $PATH
2266do
2267  IFS=$as_save_IFS
2268  test -z "$as_dir" && as_dir=.
2269    for ac_exec_ext in '' $ac_executable_extensions; do
2270  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2272       ac_prog_rejected=yes
2273       continue
2274     fi
2275    ac_cv_prog_CC="cc"
2276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2277    break 2
2278  fi
2279done
2280  done
2281IFS=$as_save_IFS
2282
2283if test $ac_prog_rejected = yes; then
2284  # We found a bogon in the path, so make sure we never use it.
2285  set dummy $ac_cv_prog_CC
2286  shift
2287  if test $# != 0; then
2288    # We chose a different compiler from the bogus one.
2289    # However, it has the same basename, so the bogon will be chosen
2290    # first if we set CC to just the basename; use the full file name.
2291    shift
2292    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2293  fi
2294fi
2295fi
2296fi
2297CC=$ac_cv_prog_CC
2298if test -n "$CC"; then
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2300$as_echo "$CC" >&6; }
2301else
2302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2303$as_echo "no" >&6; }
2304fi
2305
2306
2307fi
2308if test -z "$CC"; then
2309  if test -n "$ac_tool_prefix"; then
2310  for ac_prog in cl.exe
2311  do
2312    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2313set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2315$as_echo_n "checking for $ac_word... " >&6; }
2316if ${ac_cv_prog_CC+:} false; then :
2317  $as_echo_n "(cached) " >&6
2318else
2319  if test -n "$CC"; then
2320  ac_cv_prog_CC="$CC" # Let the user override the test.
2321else
2322as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323for as_dir in $PATH
2324do
2325  IFS=$as_save_IFS
2326  test -z "$as_dir" && as_dir=.
2327    for ac_exec_ext in '' $ac_executable_extensions; do
2328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2331    break 2
2332  fi
2333done
2334  done
2335IFS=$as_save_IFS
2336
2337fi
2338fi
2339CC=$ac_cv_prog_CC
2340if test -n "$CC"; then
2341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2342$as_echo "$CC" >&6; }
2343else
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345$as_echo "no" >&6; }
2346fi
2347
2348
2349    test -n "$CC" && break
2350  done
2351fi
2352if test -z "$CC"; then
2353  ac_ct_CC=$CC
2354  for ac_prog in cl.exe
2355do
2356  # Extract the first word of "$ac_prog", so it can be a program name with args.
2357set dummy $ac_prog; ac_word=$2
2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2359$as_echo_n "checking for $ac_word... " >&6; }
2360if ${ac_cv_prog_ac_ct_CC+:} false; then :
2361  $as_echo_n "(cached) " >&6
2362else
2363  if test -n "$ac_ct_CC"; then
2364  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2365else
2366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367for as_dir in $PATH
2368do
2369  IFS=$as_save_IFS
2370  test -z "$as_dir" && as_dir=.
2371    for ac_exec_ext in '' $ac_executable_extensions; do
2372  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2373    ac_cv_prog_ac_ct_CC="$ac_prog"
2374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2375    break 2
2376  fi
2377done
2378  done
2379IFS=$as_save_IFS
2380
2381fi
2382fi
2383ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384if test -n "$ac_ct_CC"; then
2385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2386$as_echo "$ac_ct_CC" >&6; }
2387else
2388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2389$as_echo "no" >&6; }
2390fi
2391
2392
2393  test -n "$ac_ct_CC" && break
2394done
2395
2396  if test "x$ac_ct_CC" = x; then
2397    CC=""
2398  else
2399    case $cross_compiling:$ac_tool_warned in
2400yes:)
2401{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2402$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2403ac_tool_warned=yes ;;
2404esac
2405    CC=$ac_ct_CC
2406  fi
2407fi
2408
2409fi
2410
2411
2412test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414as_fn_error $? "no acceptable C compiler found in \$PATH
2415See \`config.log' for more details" "$LINENO" 5; }
2416
2417# Provide some information about the compiler.
2418$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2419set X $ac_compile
2420ac_compiler=$2
2421for ac_option in --version -v -V -qversion; do
2422  { { ac_try="$ac_compiler $ac_option >&5"
2423case "(($ac_try" in
2424  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425  *) ac_try_echo=$ac_try;;
2426esac
2427eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428$as_echo "$ac_try_echo"; } >&5
2429  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2430  ac_status=$?
2431  if test -s conftest.err; then
2432    sed '10a\
2433... rest of stderr output deleted ...
2434         10q' conftest.err >conftest.er1
2435    cat conftest.er1 >&5
2436  fi
2437  rm -f conftest.er1 conftest.err
2438  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439  test $ac_status = 0; }
2440done
2441
2442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443/* end confdefs.h.  */
2444
2445int
2446main ()
2447{
2448
2449  ;
2450  return 0;
2451}
2452_ACEOF
2453ac_clean_files_save=$ac_clean_files
2454ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2455# Try to create an executable without -o first, disregard a.out.
2456# It will help us diagnose broken compilers, and finding out an intuition
2457# of exeext.
2458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2459$as_echo_n "checking whether the C compiler works... " >&6; }
2460ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461
2462# The possible output files:
2463ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2464
2465ac_rmfiles=
2466for ac_file in $ac_files
2467do
2468  case $ac_file in
2469    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2470    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2471  esac
2472done
2473rm -f $ac_rmfiles
2474
2475if { { ac_try="$ac_link_default"
2476case "(($ac_try" in
2477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478  *) ac_try_echo=$ac_try;;
2479esac
2480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481$as_echo "$ac_try_echo"; } >&5
2482  (eval "$ac_link_default") 2>&5
2483  ac_status=$?
2484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485  test $ac_status = 0; }; then :
2486  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2487# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2488# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2489# so that the user can short-circuit this test for compilers unknown to
2490# Autoconf.
2491for ac_file in $ac_files ''
2492do
2493  test -f "$ac_file" || continue
2494  case $ac_file in
2495    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2496	;;
2497    [ab].out )
2498	# We found the default executable, but exeext='' is most
2499	# certainly right.
2500	break;;
2501    *.* )
2502	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2503	then :; else
2504	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505	fi
2506	# We set ac_cv_exeext here because the later test for it is not
2507	# safe: cross compilers may not add the suffix if given an `-o'
2508	# argument, so we may need to know it at that point already.
2509	# Even if this section looks crufty: it has the advantage of
2510	# actually working.
2511	break;;
2512    * )
2513	break;;
2514  esac
2515done
2516test "$ac_cv_exeext" = no && ac_cv_exeext=
2517
2518else
2519  ac_file=''
2520fi
2521if test -z "$ac_file"; then :
2522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523$as_echo "no" >&6; }
2524$as_echo "$as_me: failed program was:" >&5
2525sed 's/^/| /' conftest.$ac_ext >&5
2526
2527{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529as_fn_error 77 "C compiler cannot create executables
2530See \`config.log' for more details" "$LINENO" 5; }
2531else
2532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2533$as_echo "yes" >&6; }
2534fi
2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2536$as_echo_n "checking for C compiler default output file name... " >&6; }
2537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2538$as_echo "$ac_file" >&6; }
2539ac_exeext=$ac_cv_exeext
2540
2541rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2542ac_clean_files=$ac_clean_files_save
2543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2544$as_echo_n "checking for suffix of executables... " >&6; }
2545if { { ac_try="$ac_link"
2546case "(($ac_try" in
2547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548  *) ac_try_echo=$ac_try;;
2549esac
2550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551$as_echo "$ac_try_echo"; } >&5
2552  (eval "$ac_link") 2>&5
2553  ac_status=$?
2554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555  test $ac_status = 0; }; then :
2556  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2557# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2558# work properly (i.e., refer to `conftest.exe'), while it won't with
2559# `rm'.
2560for ac_file in conftest.exe conftest conftest.*; do
2561  test -f "$ac_file" || continue
2562  case $ac_file in
2563    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2564    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565	  break;;
2566    * ) break;;
2567  esac
2568done
2569else
2570  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2573See \`config.log' for more details" "$LINENO" 5; }
2574fi
2575rm -f conftest conftest$ac_cv_exeext
2576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2577$as_echo "$ac_cv_exeext" >&6; }
2578
2579rm -f conftest.$ac_ext
2580EXEEXT=$ac_cv_exeext
2581ac_exeext=$EXEEXT
2582cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583/* end confdefs.h.  */
2584#include <stdio.h>
2585int
2586main ()
2587{
2588FILE *f = fopen ("conftest.out", "w");
2589 return ferror (f) || fclose (f) != 0;
2590
2591  ;
2592  return 0;
2593}
2594_ACEOF
2595ac_clean_files="$ac_clean_files conftest.out"
2596# Check that the compiler produces executables we can run.  If not, either
2597# the compiler is broken, or we cross compile.
2598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2599$as_echo_n "checking whether we are cross compiling... " >&6; }
2600if test "$cross_compiling" != yes; then
2601  { { ac_try="$ac_link"
2602case "(($ac_try" in
2603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604  *) ac_try_echo=$ac_try;;
2605esac
2606eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607$as_echo "$ac_try_echo"; } >&5
2608  (eval "$ac_link") 2>&5
2609  ac_status=$?
2610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2611  test $ac_status = 0; }
2612  if { ac_try='./conftest$ac_cv_exeext'
2613  { { case "(($ac_try" in
2614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615  *) ac_try_echo=$ac_try;;
2616esac
2617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618$as_echo "$ac_try_echo"; } >&5
2619  (eval "$ac_try") 2>&5
2620  ac_status=$?
2621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622  test $ac_status = 0; }; }; then
2623    cross_compiling=no
2624  else
2625    if test "$cross_compiling" = maybe; then
2626	cross_compiling=yes
2627    else
2628	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630as_fn_error $? "cannot run C compiled programs.
2631If you meant to cross compile, use \`--host'.
2632See \`config.log' for more details" "$LINENO" 5; }
2633    fi
2634  fi
2635fi
2636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2637$as_echo "$cross_compiling" >&6; }
2638
2639rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2640ac_clean_files=$ac_clean_files_save
2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2642$as_echo_n "checking for suffix of object files... " >&6; }
2643if ${ac_cv_objext+:} false; then :
2644  $as_echo_n "(cached) " >&6
2645else
2646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647/* end confdefs.h.  */
2648
2649int
2650main ()
2651{
2652
2653  ;
2654  return 0;
2655}
2656_ACEOF
2657rm -f conftest.o conftest.obj
2658if { { ac_try="$ac_compile"
2659case "(($ac_try" in
2660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661  *) ac_try_echo=$ac_try;;
2662esac
2663eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664$as_echo "$ac_try_echo"; } >&5
2665  (eval "$ac_compile") 2>&5
2666  ac_status=$?
2667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668  test $ac_status = 0; }; then :
2669  for ac_file in conftest.o conftest.obj conftest.*; do
2670  test -f "$ac_file" || continue;
2671  case $ac_file in
2672    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2673    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2674       break;;
2675  esac
2676done
2677else
2678  $as_echo "$as_me: failed program was:" >&5
2679sed 's/^/| /' conftest.$ac_ext >&5
2680
2681{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683as_fn_error $? "cannot compute suffix of object files: cannot compile
2684See \`config.log' for more details" "$LINENO" 5; }
2685fi
2686rm -f conftest.$ac_cv_objext conftest.$ac_ext
2687fi
2688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2689$as_echo "$ac_cv_objext" >&6; }
2690OBJEXT=$ac_cv_objext
2691ac_objext=$OBJEXT
2692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2693$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2694if ${ac_cv_c_compiler_gnu+:} false; then :
2695  $as_echo_n "(cached) " >&6
2696else
2697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698/* end confdefs.h.  */
2699
2700int
2701main ()
2702{
2703#ifndef __GNUC__
2704       choke me
2705#endif
2706
2707  ;
2708  return 0;
2709}
2710_ACEOF
2711if ac_fn_c_try_compile "$LINENO"; then :
2712  ac_compiler_gnu=yes
2713else
2714  ac_compiler_gnu=no
2715fi
2716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717ac_cv_c_compiler_gnu=$ac_compiler_gnu
2718
2719fi
2720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2721$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2722if test $ac_compiler_gnu = yes; then
2723  GCC=yes
2724else
2725  GCC=
2726fi
2727ac_test_CFLAGS=${CFLAGS+set}
2728ac_save_CFLAGS=$CFLAGS
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2730$as_echo_n "checking whether $CC accepts -g... " >&6; }
2731if ${ac_cv_prog_cc_g+:} false; then :
2732  $as_echo_n "(cached) " >&6
2733else
2734  ac_save_c_werror_flag=$ac_c_werror_flag
2735   ac_c_werror_flag=yes
2736   ac_cv_prog_cc_g=no
2737   CFLAGS="-g"
2738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739/* end confdefs.h.  */
2740
2741int
2742main ()
2743{
2744
2745  ;
2746  return 0;
2747}
2748_ACEOF
2749if ac_fn_c_try_compile "$LINENO"; then :
2750  ac_cv_prog_cc_g=yes
2751else
2752  CFLAGS=""
2753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754/* end confdefs.h.  */
2755
2756int
2757main ()
2758{
2759
2760  ;
2761  return 0;
2762}
2763_ACEOF
2764if ac_fn_c_try_compile "$LINENO"; then :
2765
2766else
2767  ac_c_werror_flag=$ac_save_c_werror_flag
2768	 CFLAGS="-g"
2769	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770/* end confdefs.h.  */
2771
2772int
2773main ()
2774{
2775
2776  ;
2777  return 0;
2778}
2779_ACEOF
2780if ac_fn_c_try_compile "$LINENO"; then :
2781  ac_cv_prog_cc_g=yes
2782fi
2783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784fi
2785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786fi
2787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788   ac_c_werror_flag=$ac_save_c_werror_flag
2789fi
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2791$as_echo "$ac_cv_prog_cc_g" >&6; }
2792if test "$ac_test_CFLAGS" = set; then
2793  CFLAGS=$ac_save_CFLAGS
2794elif test $ac_cv_prog_cc_g = yes; then
2795  if test "$GCC" = yes; then
2796    CFLAGS="-g -O2"
2797  else
2798    CFLAGS="-g"
2799  fi
2800else
2801  if test "$GCC" = yes; then
2802    CFLAGS="-O2"
2803  else
2804    CFLAGS=
2805  fi
2806fi
2807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2808$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2809if ${ac_cv_prog_cc_c89+:} false; then :
2810  $as_echo_n "(cached) " >&6
2811else
2812  ac_cv_prog_cc_c89=no
2813ac_save_CC=$CC
2814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815/* end confdefs.h.  */
2816#include <stdarg.h>
2817#include <stdio.h>
2818struct stat;
2819/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2820struct buf { int x; };
2821FILE * (*rcsopen) (struct buf *, struct stat *, int);
2822static char *e (p, i)
2823     char **p;
2824     int i;
2825{
2826  return p[i];
2827}
2828static char *f (char * (*g) (char **, int), char **p, ...)
2829{
2830  char *s;
2831  va_list v;
2832  va_start (v,p);
2833  s = g (p, va_arg (v,int));
2834  va_end (v);
2835  return s;
2836}
2837
2838/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2839   function prototypes and stuff, but not '\xHH' hex character constants.
2840   These don't provoke an error unfortunately, instead are silently treated
2841   as 'x'.  The following induces an error, until -std is added to get
2842   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2843   array size at least.  It's necessary to write '\x00'==0 to get something
2844   that's true only with -std.  */
2845int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2846
2847/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2848   inside strings and character constants.  */
2849#define FOO(x) 'x'
2850int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2851
2852int test (int i, double x);
2853struct s1 {int (*f) (int a);};
2854struct s2 {int (*f) (double a);};
2855int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2856int argc;
2857char **argv;
2858int
2859main ()
2860{
2861return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2862  ;
2863  return 0;
2864}
2865_ACEOF
2866for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2867	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2868do
2869  CC="$ac_save_CC $ac_arg"
2870  if ac_fn_c_try_compile "$LINENO"; then :
2871  ac_cv_prog_cc_c89=$ac_arg
2872fi
2873rm -f core conftest.err conftest.$ac_objext
2874  test "x$ac_cv_prog_cc_c89" != "xno" && break
2875done
2876rm -f conftest.$ac_ext
2877CC=$ac_save_CC
2878
2879fi
2880# AC_CACHE_VAL
2881case "x$ac_cv_prog_cc_c89" in
2882  x)
2883    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2884$as_echo "none needed" >&6; } ;;
2885  xno)
2886    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2887$as_echo "unsupported" >&6; } ;;
2888  *)
2889    CC="$CC $ac_cv_prog_cc_c89"
2890    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2891$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2892esac
2893if test "x$ac_cv_prog_cc_c89" != xno; then :
2894
2895fi
2896
2897ac_ext=c
2898ac_cpp='$CPP $CPPFLAGS'
2899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902
2903ac_aux_dir=
2904for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2905  if test -f "$ac_dir/install-sh"; then
2906    ac_aux_dir=$ac_dir
2907    ac_install_sh="$ac_aux_dir/install-sh -c"
2908    break
2909  elif test -f "$ac_dir/install.sh"; then
2910    ac_aux_dir=$ac_dir
2911    ac_install_sh="$ac_aux_dir/install.sh -c"
2912    break
2913  elif test -f "$ac_dir/shtool"; then
2914    ac_aux_dir=$ac_dir
2915    ac_install_sh="$ac_aux_dir/shtool install -c"
2916    break
2917  fi
2918done
2919if test -z "$ac_aux_dir"; then
2920  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2921fi
2922
2923# These three variables are undocumented and unsupported,
2924# and are intended to be withdrawn in a future Autoconf release.
2925# They can cause serious problems if a builder's source tree is in a directory
2926# whose full name contains unusual characters.
2927ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2928ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2929ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2930
2931
2932# Find a good install program.  We prefer a C program (faster),
2933# so one script is as good as another.  But avoid the broken or
2934# incompatible versions:
2935# SysV /etc/install, /usr/sbin/install
2936# SunOS /usr/etc/install
2937# IRIX /sbin/install
2938# AIX /bin/install
2939# AmigaOS /C/install, which installs bootblocks on floppy discs
2940# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2941# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2942# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2943# OS/2's system install, which has a completely different semantic
2944# ./install, which can be erroneously created by make from ./install.sh.
2945# Reject install programs that cannot install multiple files.
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2947$as_echo_n "checking for a BSD-compatible install... " >&6; }
2948if test -z "$INSTALL"; then
2949if ${ac_cv_path_install+:} false; then :
2950  $as_echo_n "(cached) " >&6
2951else
2952  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953for as_dir in $PATH
2954do
2955  IFS=$as_save_IFS
2956  test -z "$as_dir" && as_dir=.
2957    # Account for people who put trailing slashes in PATH elements.
2958case $as_dir/ in #((
2959  ./ | .// | /[cC]/* | \
2960  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2961  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2962  /usr/ucb/* ) ;;
2963  *)
2964    # OSF1 and SCO ODT 3.0 have their own names for install.
2965    # Don't use installbsd from OSF since it installs stuff as root
2966    # by default.
2967    for ac_prog in ginstall scoinst install; do
2968      for ac_exec_ext in '' $ac_executable_extensions; do
2969	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2970	  if test $ac_prog = install &&
2971	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2972	    # AIX install.  It has an incompatible calling convention.
2973	    :
2974	  elif test $ac_prog = install &&
2975	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2976	    # program-specific install script used by HP pwplus--don't use.
2977	    :
2978	  else
2979	    rm -rf conftest.one conftest.two conftest.dir
2980	    echo one > conftest.one
2981	    echo two > conftest.two
2982	    mkdir conftest.dir
2983	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2984	      test -s conftest.one && test -s conftest.two &&
2985	      test -s conftest.dir/conftest.one &&
2986	      test -s conftest.dir/conftest.two
2987	    then
2988	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2989	      break 3
2990	    fi
2991	  fi
2992	fi
2993      done
2994    done
2995    ;;
2996esac
2997
2998  done
2999IFS=$as_save_IFS
3000
3001rm -rf conftest.one conftest.two conftest.dir
3002
3003fi
3004  if test "${ac_cv_path_install+set}" = set; then
3005    INSTALL=$ac_cv_path_install
3006  else
3007    # As a last resort, use the slow shell script.  Don't cache a
3008    # value for INSTALL within a source directory, because that will
3009    # break other packages using the cache if that directory is
3010    # removed, or if the value is a relative name.
3011    INSTALL=$ac_install_sh
3012  fi
3013fi
3014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3015$as_echo "$INSTALL" >&6; }
3016
3017# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3018# It thinks the first close brace ends the variable substitution.
3019test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3020
3021test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3022
3023test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3024
3025
3026
3027ac_ext=c
3028ac_cpp='$CPP $CPPFLAGS'
3029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3033$as_echo_n "checking how to run the C preprocessor... " >&6; }
3034# On Suns, sometimes $CPP names a directory.
3035if test -n "$CPP" && test -d "$CPP"; then
3036  CPP=
3037fi
3038if test -z "$CPP"; then
3039  if ${ac_cv_prog_CPP+:} false; then :
3040  $as_echo_n "(cached) " >&6
3041else
3042      # Double quotes because CPP needs to be expanded
3043    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3044    do
3045      ac_preproc_ok=false
3046for ac_c_preproc_warn_flag in '' yes
3047do
3048  # Use a header file that comes with gcc, so configuring glibc
3049  # with a fresh cross-compiler works.
3050  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3051  # <limits.h> exists even on freestanding compilers.
3052  # On the NeXT, cc -E runs the code through the compiler's parser,
3053  # not just through cpp. "Syntax error" is here to catch this case.
3054  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055/* end confdefs.h.  */
3056#ifdef __STDC__
3057# include <limits.h>
3058#else
3059# include <assert.h>
3060#endif
3061		     Syntax error
3062_ACEOF
3063if ac_fn_c_try_cpp "$LINENO"; then :
3064
3065else
3066  # Broken: fails on valid input.
3067continue
3068fi
3069rm -f conftest.err conftest.i conftest.$ac_ext
3070
3071  # OK, works on sane cases.  Now check whether nonexistent headers
3072  # can be detected and how.
3073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074/* end confdefs.h.  */
3075#include <ac_nonexistent.h>
3076_ACEOF
3077if ac_fn_c_try_cpp "$LINENO"; then :
3078  # Broken: success on invalid input.
3079continue
3080else
3081  # Passes both tests.
3082ac_preproc_ok=:
3083break
3084fi
3085rm -f conftest.err conftest.i conftest.$ac_ext
3086
3087done
3088# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3089rm -f conftest.i conftest.err conftest.$ac_ext
3090if $ac_preproc_ok; then :
3091  break
3092fi
3093
3094    done
3095    ac_cv_prog_CPP=$CPP
3096
3097fi
3098  CPP=$ac_cv_prog_CPP
3099else
3100  ac_cv_prog_CPP=$CPP
3101fi
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3103$as_echo "$CPP" >&6; }
3104ac_preproc_ok=false
3105for ac_c_preproc_warn_flag in '' yes
3106do
3107  # Use a header file that comes with gcc, so configuring glibc
3108  # with a fresh cross-compiler works.
3109  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3110  # <limits.h> exists even on freestanding compilers.
3111  # On the NeXT, cc -E runs the code through the compiler's parser,
3112  # not just through cpp. "Syntax error" is here to catch this case.
3113  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114/* end confdefs.h.  */
3115#ifdef __STDC__
3116# include <limits.h>
3117#else
3118# include <assert.h>
3119#endif
3120		     Syntax error
3121_ACEOF
3122if ac_fn_c_try_cpp "$LINENO"; then :
3123
3124else
3125  # Broken: fails on valid input.
3126continue
3127fi
3128rm -f conftest.err conftest.i conftest.$ac_ext
3129
3130  # OK, works on sane cases.  Now check whether nonexistent headers
3131  # can be detected and how.
3132  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133/* end confdefs.h.  */
3134#include <ac_nonexistent.h>
3135_ACEOF
3136if ac_fn_c_try_cpp "$LINENO"; then :
3137  # Broken: success on invalid input.
3138continue
3139else
3140  # Passes both tests.
3141ac_preproc_ok=:
3142break
3143fi
3144rm -f conftest.err conftest.i conftest.$ac_ext
3145
3146done
3147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3148rm -f conftest.i conftest.err conftest.$ac_ext
3149if $ac_preproc_ok; then :
3150
3151else
3152  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3155See \`config.log' for more details" "$LINENO" 5; }
3156fi
3157
3158ac_ext=c
3159ac_cpp='$CPP $CPPFLAGS'
3160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3162ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163
3164
3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3166$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3167if ${ac_cv_path_GREP+:} false; then :
3168  $as_echo_n "(cached) " >&6
3169else
3170  if test -z "$GREP"; then
3171  ac_path_GREP_found=false
3172  # Loop through the user's path and test for each of PROGNAME-LIST
3173  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3175do
3176  IFS=$as_save_IFS
3177  test -z "$as_dir" && as_dir=.
3178    for ac_prog in grep ggrep; do
3179    for ac_exec_ext in '' $ac_executable_extensions; do
3180      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3181      as_fn_executable_p "$ac_path_GREP" || continue
3182# Check for GNU ac_path_GREP and select it if it is found.
3183  # Check for GNU $ac_path_GREP
3184case `"$ac_path_GREP" --version 2>&1` in
3185*GNU*)
3186  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3187*)
3188  ac_count=0
3189  $as_echo_n 0123456789 >"conftest.in"
3190  while :
3191  do
3192    cat "conftest.in" "conftest.in" >"conftest.tmp"
3193    mv "conftest.tmp" "conftest.in"
3194    cp "conftest.in" "conftest.nl"
3195    $as_echo 'GREP' >> "conftest.nl"
3196    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3197    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3198    as_fn_arith $ac_count + 1 && ac_count=$as_val
3199    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3200      # Best one so far, save it but keep looking for a better one
3201      ac_cv_path_GREP="$ac_path_GREP"
3202      ac_path_GREP_max=$ac_count
3203    fi
3204    # 10*(2^10) chars as input seems more than enough
3205    test $ac_count -gt 10 && break
3206  done
3207  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3208esac
3209
3210      $ac_path_GREP_found && break 3
3211    done
3212  done
3213  done
3214IFS=$as_save_IFS
3215  if test -z "$ac_cv_path_GREP"; then
3216    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3217  fi
3218else
3219  ac_cv_path_GREP=$GREP
3220fi
3221
3222fi
3223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3224$as_echo "$ac_cv_path_GREP" >&6; }
3225 GREP="$ac_cv_path_GREP"
3226
3227
3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3229$as_echo_n "checking for egrep... " >&6; }
3230if ${ac_cv_path_EGREP+:} false; then :
3231  $as_echo_n "(cached) " >&6
3232else
3233  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3234   then ac_cv_path_EGREP="$GREP -E"
3235   else
3236     if test -z "$EGREP"; then
3237  ac_path_EGREP_found=false
3238  # Loop through the user's path and test for each of PROGNAME-LIST
3239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3241do
3242  IFS=$as_save_IFS
3243  test -z "$as_dir" && as_dir=.
3244    for ac_prog in egrep; do
3245    for ac_exec_ext in '' $ac_executable_extensions; do
3246      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3247      as_fn_executable_p "$ac_path_EGREP" || continue
3248# Check for GNU ac_path_EGREP and select it if it is found.
3249  # Check for GNU $ac_path_EGREP
3250case `"$ac_path_EGREP" --version 2>&1` in
3251*GNU*)
3252  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3253*)
3254  ac_count=0
3255  $as_echo_n 0123456789 >"conftest.in"
3256  while :
3257  do
3258    cat "conftest.in" "conftest.in" >"conftest.tmp"
3259    mv "conftest.tmp" "conftest.in"
3260    cp "conftest.in" "conftest.nl"
3261    $as_echo 'EGREP' >> "conftest.nl"
3262    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3263    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3264    as_fn_arith $ac_count + 1 && ac_count=$as_val
3265    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3266      # Best one so far, save it but keep looking for a better one
3267      ac_cv_path_EGREP="$ac_path_EGREP"
3268      ac_path_EGREP_max=$ac_count
3269    fi
3270    # 10*(2^10) chars as input seems more than enough
3271    test $ac_count -gt 10 && break
3272  done
3273  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3274esac
3275
3276      $ac_path_EGREP_found && break 3
3277    done
3278  done
3279  done
3280IFS=$as_save_IFS
3281  if test -z "$ac_cv_path_EGREP"; then
3282    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3283  fi
3284else
3285  ac_cv_path_EGREP=$EGREP
3286fi
3287
3288   fi
3289fi
3290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3291$as_echo "$ac_cv_path_EGREP" >&6; }
3292 EGREP="$ac_cv_path_EGREP"
3293
3294
3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3296$as_echo_n "checking for ANSI C header files... " >&6; }
3297if ${ac_cv_header_stdc+:} false; then :
3298  $as_echo_n "(cached) " >&6
3299else
3300  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301/* end confdefs.h.  */
3302#include <stdlib.h>
3303#include <stdarg.h>
3304#include <string.h>
3305#include <float.h>
3306
3307int
3308main ()
3309{
3310
3311  ;
3312  return 0;
3313}
3314_ACEOF
3315if ac_fn_c_try_compile "$LINENO"; then :
3316  ac_cv_header_stdc=yes
3317else
3318  ac_cv_header_stdc=no
3319fi
3320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321
3322if test $ac_cv_header_stdc = yes; then
3323  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325/* end confdefs.h.  */
3326#include <string.h>
3327
3328_ACEOF
3329if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3330  $EGREP "memchr" >/dev/null 2>&1; then :
3331
3332else
3333  ac_cv_header_stdc=no
3334fi
3335rm -f conftest*
3336
3337fi
3338
3339if test $ac_cv_header_stdc = yes; then
3340  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h.  */
3343#include <stdlib.h>
3344
3345_ACEOF
3346if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3347  $EGREP "free" >/dev/null 2>&1; then :
3348
3349else
3350  ac_cv_header_stdc=no
3351fi
3352rm -f conftest*
3353
3354fi
3355
3356if test $ac_cv_header_stdc = yes; then
3357  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3358  if test "$cross_compiling" = yes; then :
3359  :
3360else
3361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362/* end confdefs.h.  */
3363#include <ctype.h>
3364#include <stdlib.h>
3365#if ((' ' & 0x0FF) == 0x020)
3366# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3367# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3368#else
3369# define ISLOWER(c) \
3370		   (('a' <= (c) && (c) <= 'i') \
3371		     || ('j' <= (c) && (c) <= 'r') \
3372		     || ('s' <= (c) && (c) <= 'z'))
3373# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3374#endif
3375
3376#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3377int
3378main ()
3379{
3380  int i;
3381  for (i = 0; i < 256; i++)
3382    if (XOR (islower (i), ISLOWER (i))
3383	|| toupper (i) != TOUPPER (i))
3384      return 2;
3385  return 0;
3386}
3387_ACEOF
3388if ac_fn_c_try_run "$LINENO"; then :
3389
3390else
3391  ac_cv_header_stdc=no
3392fi
3393rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3394  conftest.$ac_objext conftest.beam conftest.$ac_ext
3395fi
3396
3397fi
3398fi
3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3400$as_echo "$ac_cv_header_stdc" >&6; }
3401if test $ac_cv_header_stdc = yes; then
3402
3403$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3404
3405fi
3406
3407# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3408for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3409		  inttypes.h stdint.h unistd.h
3410do :
3411  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3412ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3413"
3414if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3415  cat >>confdefs.h <<_ACEOF
3416#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3417_ACEOF
3418
3419fi
3420
3421done
3422
3423
3424ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
3425if test "x$ac_cv_header_getopt_h" = xyes; then :
3426  $as_echo "#define HAVE_GETOPT_H 1" >>confdefs.h
3427
3428fi
3429
3430
3431
3432# Make sure we can run config.sub.
3433$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3434  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3435
3436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3437$as_echo_n "checking build system type... " >&6; }
3438if ${ac_cv_build+:} false; then :
3439  $as_echo_n "(cached) " >&6
3440else
3441  ac_build_alias=$build_alias
3442test "x$ac_build_alias" = x &&
3443  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3444test "x$ac_build_alias" = x &&
3445  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3446ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3447  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3448
3449fi
3450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3451$as_echo "$ac_cv_build" >&6; }
3452case $ac_cv_build in
3453*-*-*) ;;
3454*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3455esac
3456build=$ac_cv_build
3457ac_save_IFS=$IFS; IFS='-'
3458set x $ac_cv_build
3459shift
3460build_cpu=$1
3461build_vendor=$2
3462shift; shift
3463# Remember, the first character of IFS is used to create $*,
3464# except with old shells:
3465build_os=$*
3466IFS=$ac_save_IFS
3467case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3468
3469
3470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3471$as_echo_n "checking host system type... " >&6; }
3472if ${ac_cv_host+:} false; then :
3473  $as_echo_n "(cached) " >&6
3474else
3475  if test "x$host_alias" = x; then
3476  ac_cv_host=$ac_cv_build
3477else
3478  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3479    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3480fi
3481
3482fi
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3484$as_echo "$ac_cv_host" >&6; }
3485case $ac_cv_host in
3486*-*-*) ;;
3487*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3488esac
3489host=$ac_cv_host
3490ac_save_IFS=$IFS; IFS='-'
3491set x $ac_cv_host
3492shift
3493host_cpu=$1
3494host_vendor=$2
3495shift; shift
3496# Remember, the first character of IFS is used to create $*,
3497# except with old shells:
3498host_os=$*
3499IFS=$ac_save_IFS
3500case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3501
3502
3503
3504      if test "X$prefix" = "XNONE"; then
3505    acl_final_prefix="$ac_default_prefix"
3506  else
3507    acl_final_prefix="$prefix"
3508  fi
3509  if test "X$exec_prefix" = "XNONE"; then
3510    acl_final_exec_prefix='${prefix}'
3511  else
3512    acl_final_exec_prefix="$exec_prefix"
3513  fi
3514  acl_save_prefix="$prefix"
3515  prefix="$acl_final_prefix"
3516  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3517  prefix="$acl_save_prefix"
3518
3519
3520
3521# Check whether --with-gnu-ld was given.
3522if test "${with_gnu_ld+set}" = set; then :
3523  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3524else
3525  with_gnu_ld=no
3526fi
3527
3528# Prepare PATH_SEPARATOR.
3529# The user is always right.
3530if test "${PATH_SEPARATOR+set}" != set; then
3531  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3532  # contains only /bin. Note that ksh looks also at the FPATH variable,
3533  # so we have to set that as well for the test.
3534  PATH_SEPARATOR=:
3535  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3536    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3537           || PATH_SEPARATOR=';'
3538       }
3539fi
3540
3541ac_prog=ld
3542if test "$GCC" = yes; then
3543  # Check if gcc -print-prog-name=ld gives a path.
3544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3545$as_echo_n "checking for ld used by $CC... " >&6; }
3546  case $host in
3547  *-*-mingw*)
3548    # gcc leaves a trailing carriage return which upsets mingw
3549    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3550  *)
3551    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3552  esac
3553  case $ac_prog in
3554    # Accept absolute paths.
3555    [\\/]* | ?:[\\/]*)
3556      re_direlt='/[^/][^/]*/\.\./'
3557      # Canonicalize the pathname of ld
3558      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
3559      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
3560        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3561      done
3562      test -z "$LD" && LD="$ac_prog"
3563      ;;
3564  "")
3565    # If it fails, then pretend we aren't using GCC.
3566    ac_prog=ld
3567    ;;
3568  *)
3569    # If it is relative, then search for the first ld in PATH.
3570    with_gnu_ld=unknown
3571    ;;
3572  esac
3573elif test "$with_gnu_ld" = yes; then
3574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3575$as_echo_n "checking for GNU ld... " >&6; }
3576else
3577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3578$as_echo_n "checking for non-GNU ld... " >&6; }
3579fi
3580if ${acl_cv_path_LD+:} false; then :
3581  $as_echo_n "(cached) " >&6
3582else
3583  if test -z "$LD"; then
3584  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3585  for ac_dir in $PATH; do
3586    IFS="$acl_save_ifs"
3587    test -z "$ac_dir" && ac_dir=.
3588    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3589      acl_cv_path_LD="$ac_dir/$ac_prog"
3590      # Check to see if the program is GNU ld.  I'd rather use --version,
3591      # but apparently some variants of GNU ld only accept -v.
3592      # Break only if it was the GNU/non-GNU ld that we prefer.
3593      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
3594      *GNU* | *'with BFD'*)
3595        test "$with_gnu_ld" != no && break
3596        ;;
3597      *)
3598        test "$with_gnu_ld" != yes && break
3599        ;;
3600      esac
3601    fi
3602  done
3603  IFS="$acl_save_ifs"
3604else
3605  acl_cv_path_LD="$LD" # Let the user override the test with a path.
3606fi
3607fi
3608
3609LD="$acl_cv_path_LD"
3610if test -n "$LD"; then
3611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3612$as_echo "$LD" >&6; }
3613else
3614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615$as_echo "no" >&6; }
3616fi
3617test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3619$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3620if ${acl_cv_prog_gnu_ld+:} false; then :
3621  $as_echo_n "(cached) " >&6
3622else
3623  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3624case `$LD -v 2>&1 </dev/null` in
3625*GNU* | *'with BFD'*)
3626  acl_cv_prog_gnu_ld=yes
3627  ;;
3628*)
3629  acl_cv_prog_gnu_ld=no
3630  ;;
3631esac
3632fi
3633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
3634$as_echo "$acl_cv_prog_gnu_ld" >&6; }
3635with_gnu_ld=$acl_cv_prog_gnu_ld
3636
3637
3638
3639
3640                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
3641$as_echo_n "checking for shared library run path origin... " >&6; }
3642if ${acl_cv_rpath+:} false; then :
3643  $as_echo_n "(cached) " >&6
3644else
3645
3646    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3647    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3648    . ./conftest.sh
3649    rm -f ./conftest.sh
3650    acl_cv_rpath=done
3651
3652fi
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
3654$as_echo "$acl_cv_rpath" >&6; }
3655  wl="$acl_cv_wl"
3656  acl_libext="$acl_cv_libext"
3657  acl_shlibext="$acl_cv_shlibext"
3658  acl_libname_spec="$acl_cv_libname_spec"
3659  acl_library_names_spec="$acl_cv_library_names_spec"
3660  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3661  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3662  acl_hardcode_direct="$acl_cv_hardcode_direct"
3663  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
3664    # Check whether --enable-rpath was given.
3665if test "${enable_rpath+set}" = set; then :
3666  enableval=$enable_rpath; :
3667else
3668  enable_rpath=yes
3669fi
3670
3671
3672
3673
3674  acl_libdirstem=lib
3675  acl_libdirstem2=
3676  case "$host_os" in
3677    solaris*)
3678                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
3679$as_echo_n "checking for 64-bit host... " >&6; }
3680if ${gl_cv_solaris_64bit+:} false; then :
3681  $as_echo_n "(cached) " >&6
3682else
3683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684/* end confdefs.h.  */
3685
3686#ifdef _LP64
3687sixtyfour bits
3688#endif
3689
3690_ACEOF
3691if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3692  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
3693  gl_cv_solaris_64bit=yes
3694else
3695  gl_cv_solaris_64bit=no
3696fi
3697rm -f conftest*
3698
3699
3700fi
3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
3702$as_echo "$gl_cv_solaris_64bit" >&6; }
3703      if test $gl_cv_solaris_64bit = yes; then
3704        acl_libdirstem=lib/64
3705        case "$host_cpu" in
3706          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
3707          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
3708        esac
3709      fi
3710      ;;
3711    *)
3712      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3713      if test -n "$searchpath"; then
3714        acl_save_IFS="${IFS= 	}"; IFS=":"
3715        for searchdir in $searchpath; do
3716          if test -d "$searchdir"; then
3717            case "$searchdir" in
3718              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3719              */../ | */.. )
3720                # Better ignore directories of this form. They are misleading.
3721                ;;
3722              *) searchdir=`cd "$searchdir" && pwd`
3723                 case "$searchdir" in
3724                   */lib64 ) acl_libdirstem=lib64 ;;
3725                 esac ;;
3726            esac
3727          fi
3728        done
3729        IFS="$acl_save_IFS"
3730      fi
3731      ;;
3732  esac
3733  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746    use_additional=yes
3747
3748  acl_save_prefix="$prefix"
3749  prefix="$acl_final_prefix"
3750  acl_save_exec_prefix="$exec_prefix"
3751  exec_prefix="$acl_final_exec_prefix"
3752
3753    eval additional_includedir=\"$includedir\"
3754    eval additional_libdir=\"$libdir\"
3755
3756  exec_prefix="$acl_save_exec_prefix"
3757  prefix="$acl_save_prefix"
3758
3759
3760# Check whether --with-libiconv-prefix was given.
3761if test "${with_libiconv_prefix+set}" = set; then :
3762  withval=$with_libiconv_prefix;
3763    if test "X$withval" = "Xno"; then
3764      use_additional=no
3765    else
3766      if test "X$withval" = "X"; then
3767
3768  acl_save_prefix="$prefix"
3769  prefix="$acl_final_prefix"
3770  acl_save_exec_prefix="$exec_prefix"
3771  exec_prefix="$acl_final_exec_prefix"
3772
3773          eval additional_includedir=\"$includedir\"
3774          eval additional_libdir=\"$libdir\"
3775
3776  exec_prefix="$acl_save_exec_prefix"
3777  prefix="$acl_save_prefix"
3778
3779      else
3780        additional_includedir="$withval/include"
3781        additional_libdir="$withval/$acl_libdirstem"
3782        if test "$acl_libdirstem2" != "$acl_libdirstem" \
3783           && ! test -d "$withval/$acl_libdirstem"; then
3784          additional_libdir="$withval/$acl_libdirstem2"
3785        fi
3786      fi
3787    fi
3788
3789fi
3790
3791      LIBICONV=
3792  LTLIBICONV=
3793  INCICONV=
3794  LIBICONV_PREFIX=
3795      HAVE_LIBICONV=
3796  rpathdirs=
3797  ltrpathdirs=
3798  names_already_handled=
3799  names_next_round='iconv '
3800  while test -n "$names_next_round"; do
3801    names_this_round="$names_next_round"
3802    names_next_round=
3803    for name in $names_this_round; do
3804      already_handled=
3805      for n in $names_already_handled; do
3806        if test "$n" = "$name"; then
3807          already_handled=yes
3808          break
3809        fi
3810      done
3811      if test -z "$already_handled"; then
3812        names_already_handled="$names_already_handled $name"
3813                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
3814        eval value=\"\$HAVE_LIB$uppername\"
3815        if test -n "$value"; then
3816          if test "$value" = yes; then
3817            eval value=\"\$LIB$uppername\"
3818            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3819            eval value=\"\$LTLIB$uppername\"
3820            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3821          else
3822                                    :
3823          fi
3824        else
3825                              found_dir=
3826          found_la=
3827          found_so=
3828          found_a=
3829          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
3830          if test -n "$acl_shlibext"; then
3831            shrext=".$acl_shlibext"             # typically: shrext=.so
3832          else
3833            shrext=
3834          fi
3835          if test $use_additional = yes; then
3836            dir="$additional_libdir"
3837                                    if test -n "$acl_shlibext"; then
3838              if test -f "$dir/$libname$shrext"; then
3839                found_dir="$dir"
3840                found_so="$dir/$libname$shrext"
3841              else
3842                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
3843                  ver=`(cd "$dir" && \
3844                        for f in "$libname$shrext".*; do echo "$f"; done \
3845                        | sed -e "s,^$libname$shrext\\\\.,," \
3846                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
3847                        | sed 1q ) 2>/dev/null`
3848                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
3849                    found_dir="$dir"
3850                    found_so="$dir/$libname$shrext.$ver"
3851                  fi
3852                else
3853                  eval library_names=\"$acl_library_names_spec\"
3854                  for f in $library_names; do
3855                    if test -f "$dir/$f"; then
3856                      found_dir="$dir"
3857                      found_so="$dir/$f"
3858                      break
3859                    fi
3860                  done
3861                fi
3862              fi
3863            fi
3864                        if test "X$found_dir" = "X"; then
3865              if test -f "$dir/$libname.$acl_libext"; then
3866                found_dir="$dir"
3867                found_a="$dir/$libname.$acl_libext"
3868              fi
3869            fi
3870            if test "X$found_dir" != "X"; then
3871              if test -f "$dir/$libname.la"; then
3872                found_la="$dir/$libname.la"
3873              fi
3874            fi
3875          fi
3876          if test "X$found_dir" = "X"; then
3877            for x in $LDFLAGS $LTLIBICONV; do
3878
3879  acl_save_prefix="$prefix"
3880  prefix="$acl_final_prefix"
3881  acl_save_exec_prefix="$exec_prefix"
3882  exec_prefix="$acl_final_exec_prefix"
3883  eval x=\"$x\"
3884  exec_prefix="$acl_save_exec_prefix"
3885  prefix="$acl_save_prefix"
3886
3887              case "$x" in
3888                -L*)
3889                  dir=`echo "X$x" | sed -e 's/^X-L//'`
3890                                    if test -n "$acl_shlibext"; then
3891                    if test -f "$dir/$libname$shrext"; then
3892                      found_dir="$dir"
3893                      found_so="$dir/$libname$shrext"
3894                    else
3895                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
3896                        ver=`(cd "$dir" && \
3897                              for f in "$libname$shrext".*; do echo "$f"; done \
3898                              | sed -e "s,^$libname$shrext\\\\.,," \
3899                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
3900                              | sed 1q ) 2>/dev/null`
3901                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
3902                          found_dir="$dir"
3903                          found_so="$dir/$libname$shrext.$ver"
3904                        fi
3905                      else
3906                        eval library_names=\"$acl_library_names_spec\"
3907                        for f in $library_names; do
3908                          if test -f "$dir/$f"; then
3909                            found_dir="$dir"
3910                            found_so="$dir/$f"
3911                            break
3912                          fi
3913                        done
3914                      fi
3915                    fi
3916                  fi
3917                                    if test "X$found_dir" = "X"; then
3918                    if test -f "$dir/$libname.$acl_libext"; then
3919                      found_dir="$dir"
3920                      found_a="$dir/$libname.$acl_libext"
3921                    fi
3922                  fi
3923                  if test "X$found_dir" != "X"; then
3924                    if test -f "$dir/$libname.la"; then
3925                      found_la="$dir/$libname.la"
3926                    fi
3927                  fi
3928                  ;;
3929              esac
3930              if test "X$found_dir" != "X"; then
3931                break
3932              fi
3933            done
3934          fi
3935          if test "X$found_dir" != "X"; then
3936                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3937            if test "X$found_so" != "X"; then
3938                                                        if test "$enable_rpath" = no \
3939                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
3940                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
3941                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3942              else
3943                                                                                haveit=
3944                for x in $ltrpathdirs; do
3945                  if test "X$x" = "X$found_dir"; then
3946                    haveit=yes
3947                    break
3948                  fi
3949                done
3950                if test -z "$haveit"; then
3951                  ltrpathdirs="$ltrpathdirs $found_dir"
3952                fi
3953                                if test "$acl_hardcode_direct" = yes; then
3954                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3955                else
3956                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
3957                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3958                                                            haveit=
3959                    for x in $rpathdirs; do
3960                      if test "X$x" = "X$found_dir"; then
3961                        haveit=yes
3962                        break
3963                      fi
3964                    done
3965                    if test -z "$haveit"; then
3966                      rpathdirs="$rpathdirs $found_dir"
3967                    fi
3968                  else
3969                                                                                haveit=
3970                    for x in $LDFLAGS $LIBICONV; do
3971
3972  acl_save_prefix="$prefix"
3973  prefix="$acl_final_prefix"
3974  acl_save_exec_prefix="$exec_prefix"
3975  exec_prefix="$acl_final_exec_prefix"
3976  eval x=\"$x\"
3977  exec_prefix="$acl_save_exec_prefix"
3978  prefix="$acl_save_prefix"
3979
3980                      if test "X$x" = "X-L$found_dir"; then
3981                        haveit=yes
3982                        break
3983                      fi
3984                    done
3985                    if test -z "$haveit"; then
3986                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3987                    fi
3988                    if test "$acl_hardcode_minus_L" != no; then
3989                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3990                    else
3991                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3992                    fi
3993                  fi
3994                fi
3995              fi
3996            else
3997              if test "X$found_a" != "X"; then
3998                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
3999              else
4000                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4001              fi
4002            fi
4003                        additional_includedir=
4004            case "$found_dir" in
4005              */$acl_libdirstem | */$acl_libdirstem/)
4006                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4007                if test "$name" = 'iconv'; then
4008                  LIBICONV_PREFIX="$basedir"
4009                fi
4010                additional_includedir="$basedir/include"
4011                ;;
4012              */$acl_libdirstem2 | */$acl_libdirstem2/)
4013                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4014                if test "$name" = 'iconv'; then
4015                  LIBICONV_PREFIX="$basedir"
4016                fi
4017                additional_includedir="$basedir/include"
4018                ;;
4019            esac
4020            if test "X$additional_includedir" != "X"; then
4021                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
4022                haveit=
4023                if test "X$additional_includedir" = "X/usr/local/include"; then
4024                  if test -n "$GCC"; then
4025                    case $host_os in
4026                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4027                    esac
4028                  fi
4029                fi
4030                if test -z "$haveit"; then
4031                  for x in $CPPFLAGS $INCICONV; do
4032
4033  acl_save_prefix="$prefix"
4034  prefix="$acl_final_prefix"
4035  acl_save_exec_prefix="$exec_prefix"
4036  exec_prefix="$acl_final_exec_prefix"
4037  eval x=\"$x\"
4038  exec_prefix="$acl_save_exec_prefix"
4039  prefix="$acl_save_prefix"
4040
4041                    if test "X$x" = "X-I$additional_includedir"; then
4042                      haveit=yes
4043                      break
4044                    fi
4045                  done
4046                  if test -z "$haveit"; then
4047                    if test -d "$additional_includedir"; then
4048                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4049                    fi
4050                  fi
4051                fi
4052              fi
4053            fi
4054                        if test -n "$found_la"; then
4055                                                        save_libdir="$libdir"
4056              case "$found_la" in
4057                */* | *\\*) . "$found_la" ;;
4058                *) . "./$found_la" ;;
4059              esac
4060              libdir="$save_libdir"
4061                            for dep in $dependency_libs; do
4062                case "$dep" in
4063                  -L*)
4064                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4065                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
4066                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
4067                      haveit=
4068                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
4069                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
4070                        if test -n "$GCC"; then
4071                          case $host_os in
4072                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4073                          esac
4074                        fi
4075                      fi
4076                      if test -z "$haveit"; then
4077                        haveit=
4078                        for x in $LDFLAGS $LIBICONV; do
4079
4080  acl_save_prefix="$prefix"
4081  prefix="$acl_final_prefix"
4082  acl_save_exec_prefix="$exec_prefix"
4083  exec_prefix="$acl_final_exec_prefix"
4084  eval x=\"$x\"
4085  exec_prefix="$acl_save_exec_prefix"
4086  prefix="$acl_save_prefix"
4087
4088                          if test "X$x" = "X-L$additional_libdir"; then
4089                            haveit=yes
4090                            break
4091                          fi
4092                        done
4093                        if test -z "$haveit"; then
4094                          if test -d "$additional_libdir"; then
4095                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4096                          fi
4097                        fi
4098                        haveit=
4099                        for x in $LDFLAGS $LTLIBICONV; do
4100
4101  acl_save_prefix="$prefix"
4102  prefix="$acl_final_prefix"
4103  acl_save_exec_prefix="$exec_prefix"
4104  exec_prefix="$acl_final_exec_prefix"
4105  eval x=\"$x\"
4106  exec_prefix="$acl_save_exec_prefix"
4107  prefix="$acl_save_prefix"
4108
4109                          if test "X$x" = "X-L$additional_libdir"; then
4110                            haveit=yes
4111                            break
4112                          fi
4113                        done
4114                        if test -z "$haveit"; then
4115                          if test -d "$additional_libdir"; then
4116                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4117                          fi
4118                        fi
4119                      fi
4120                    fi
4121                    ;;
4122                  -R*)
4123                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
4124                    if test "$enable_rpath" != no; then
4125                                                                  haveit=
4126                      for x in $rpathdirs; do
4127                        if test "X$x" = "X$dir"; then
4128                          haveit=yes
4129                          break
4130                        fi
4131                      done
4132                      if test -z "$haveit"; then
4133                        rpathdirs="$rpathdirs $dir"
4134                      fi
4135                                                                  haveit=
4136                      for x in $ltrpathdirs; do
4137                        if test "X$x" = "X$dir"; then
4138                          haveit=yes
4139                          break
4140                        fi
4141                      done
4142                      if test -z "$haveit"; then
4143                        ltrpathdirs="$ltrpathdirs $dir"
4144                      fi
4145                    fi
4146                    ;;
4147                  -l*)
4148                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4149                    ;;
4150                  *.la)
4151                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4152                    ;;
4153                  *)
4154                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4155                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4156                    ;;
4157                esac
4158              done
4159            fi
4160          else
4161                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4162            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4163          fi
4164        fi
4165      fi
4166    done
4167  done
4168  if test "X$rpathdirs" != "X"; then
4169    if test -n "$acl_hardcode_libdir_separator"; then
4170                        alldirs=
4171      for found_dir in $rpathdirs; do
4172        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
4173      done
4174            acl_save_libdir="$libdir"
4175      libdir="$alldirs"
4176      eval flag=\"$acl_hardcode_libdir_flag_spec\"
4177      libdir="$acl_save_libdir"
4178      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4179    else
4180            for found_dir in $rpathdirs; do
4181        acl_save_libdir="$libdir"
4182        libdir="$found_dir"
4183        eval flag=\"$acl_hardcode_libdir_flag_spec\"
4184        libdir="$acl_save_libdir"
4185        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4186      done
4187    fi
4188  fi
4189  if test "X$ltrpathdirs" != "X"; then
4190            for found_dir in $ltrpathdirs; do
4191      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4192    done
4193  fi
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206          am_save_CPPFLAGS="$CPPFLAGS"
4207
4208  for element in $INCICONV; do
4209    haveit=
4210    for x in $CPPFLAGS; do
4211
4212  acl_save_prefix="$prefix"
4213  prefix="$acl_final_prefix"
4214  acl_save_exec_prefix="$exec_prefix"
4215  exec_prefix="$acl_final_exec_prefix"
4216  eval x=\"$x\"
4217  exec_prefix="$acl_save_exec_prefix"
4218  prefix="$acl_save_prefix"
4219
4220      if test "X$x" = "X$element"; then
4221        haveit=yes
4222        break
4223      fi
4224    done
4225    if test -z "$haveit"; then
4226      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4227    fi
4228  done
4229
4230
4231  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4232$as_echo_n "checking for iconv... " >&6; }
4233if ${am_cv_func_iconv+:} false; then :
4234  $as_echo_n "(cached) " >&6
4235else
4236
4237    am_cv_func_iconv="no, consider installing GNU libiconv"
4238    am_cv_lib_iconv=no
4239    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240/* end confdefs.h.  */
4241
4242#include <stdlib.h>
4243#include <iconv.h>
4244
4245int
4246main ()
4247{
4248iconv_t cd = iconv_open("","");
4249           iconv(cd,NULL,NULL,NULL,NULL);
4250           iconv_close(cd);
4251  ;
4252  return 0;
4253}
4254_ACEOF
4255if ac_fn_c_try_link "$LINENO"; then :
4256  am_cv_func_iconv=yes
4257fi
4258rm -f core conftest.err conftest.$ac_objext \
4259    conftest$ac_exeext conftest.$ac_ext
4260    if test "$am_cv_func_iconv" != yes; then
4261      am_save_LIBS="$LIBS"
4262      LIBS="$LIBS $LIBICONV"
4263      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264/* end confdefs.h.  */
4265
4266#include <stdlib.h>
4267#include <iconv.h>
4268
4269int
4270main ()
4271{
4272iconv_t cd = iconv_open("","");
4273             iconv(cd,NULL,NULL,NULL,NULL);
4274             iconv_close(cd);
4275  ;
4276  return 0;
4277}
4278_ACEOF
4279if ac_fn_c_try_link "$LINENO"; then :
4280  am_cv_lib_iconv=yes
4281        am_cv_func_iconv=yes
4282fi
4283rm -f core conftest.err conftest.$ac_objext \
4284    conftest$ac_exeext conftest.$ac_ext
4285      LIBS="$am_save_LIBS"
4286    fi
4287
4288fi
4289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4290$as_echo "$am_cv_func_iconv" >&6; }
4291  if test "$am_cv_func_iconv" = yes; then
4292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
4293$as_echo_n "checking for working iconv... " >&6; }
4294if ${am_cv_func_iconv_works+:} false; then :
4295  $as_echo_n "(cached) " >&6
4296else
4297
4298                  am_save_LIBS="$LIBS"
4299      if test $am_cv_lib_iconv = yes; then
4300        LIBS="$LIBS $LIBICONV"
4301      fi
4302      if test "$cross_compiling" = yes; then :
4303
4304         case "$host_os" in
4305           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
4306           *)            am_cv_func_iconv_works="guessing yes" ;;
4307         esac
4308
4309else
4310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311/* end confdefs.h.  */
4312
4313#include <iconv.h>
4314#include <string.h>
4315int main ()
4316{
4317  int result = 0;
4318  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
4319     returns.  */
4320  {
4321    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
4322    if (cd_utf8_to_88591 != (iconv_t)(-1))
4323      {
4324        static const char input[] = "\342\202\254"; /* EURO SIGN */
4325        char buf[10];
4326        const char *inptr = input;
4327        size_t inbytesleft = strlen (input);
4328        char *outptr = buf;
4329        size_t outbytesleft = sizeof (buf);
4330        size_t res = iconv (cd_utf8_to_88591,
4331                            (char **) &inptr, &inbytesleft,
4332                            &outptr, &outbytesleft);
4333        if (res == 0)
4334          result |= 1;
4335        iconv_close (cd_utf8_to_88591);
4336      }
4337  }
4338  /* Test against Solaris 10 bug: Failures are not distinguishable from
4339     successful returns.  */
4340  {
4341    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
4342    if (cd_ascii_to_88591 != (iconv_t)(-1))
4343      {
4344        static const char input[] = "\263";
4345        char buf[10];
4346        const char *inptr = input;
4347        size_t inbytesleft = strlen (input);
4348        char *outptr = buf;
4349        size_t outbytesleft = sizeof (buf);
4350        size_t res = iconv (cd_ascii_to_88591,
4351                            (char **) &inptr, &inbytesleft,
4352                            &outptr, &outbytesleft);
4353        if (res == 0)
4354          result |= 2;
4355        iconv_close (cd_ascii_to_88591);
4356      }
4357  }
4358  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
4359  {
4360    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
4361    if (cd_88591_to_utf8 != (iconv_t)(-1))
4362      {
4363        static const char input[] = "\304";
4364        static char buf[2] = { (char)0xDE, (char)0xAD };
4365        const char *inptr = input;
4366        size_t inbytesleft = 1;
4367        char *outptr = buf;
4368        size_t outbytesleft = 1;
4369        size_t res = iconv (cd_88591_to_utf8,
4370                            (char **) &inptr, &inbytesleft,
4371                            &outptr, &outbytesleft);
4372        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
4373          result |= 4;
4374        iconv_close (cd_88591_to_utf8);
4375      }
4376  }
4377#if 0 /* This bug could be worked around by the caller.  */
4378  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
4379  {
4380    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
4381    if (cd_88591_to_utf8 != (iconv_t)(-1))
4382      {
4383        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
4384        char buf[50];
4385        const char *inptr = input;
4386        size_t inbytesleft = strlen (input);
4387        char *outptr = buf;
4388        size_t outbytesleft = sizeof (buf);
4389        size_t res = iconv (cd_88591_to_utf8,
4390                            (char **) &inptr, &inbytesleft,
4391                            &outptr, &outbytesleft);
4392        if ((int)res > 0)
4393          result |= 8;
4394        iconv_close (cd_88591_to_utf8);
4395      }
4396  }
4397#endif
4398  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
4399     provided.  */
4400  if (/* Try standardized names.  */
4401      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
4402      /* Try IRIX, OSF/1 names.  */
4403      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
4404      /* Try AIX names.  */
4405      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
4406      /* Try HP-UX names.  */
4407      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
4408    result |= 16;
4409  return result;
4410}
4411_ACEOF
4412if ac_fn_c_try_run "$LINENO"; then :
4413  am_cv_func_iconv_works=yes
4414else
4415  am_cv_func_iconv_works=no
4416fi
4417rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4418  conftest.$ac_objext conftest.beam conftest.$ac_ext
4419fi
4420
4421      LIBS="$am_save_LIBS"
4422
4423fi
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
4425$as_echo "$am_cv_func_iconv_works" >&6; }
4426    case "$am_cv_func_iconv_works" in
4427      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
4428      *)   am_func_iconv=yes ;;
4429    esac
4430  else
4431    am_func_iconv=no am_cv_lib_iconv=no
4432  fi
4433  if test "$am_func_iconv" = yes; then
4434
4435$as_echo "#define HAVE_ICONV 1" >>confdefs.h
4436
4437  fi
4438  if test "$am_cv_lib_iconv" = yes; then
4439    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4440$as_echo_n "checking how to link with libiconv... " >&6; }
4441    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4442$as_echo "$LIBICONV" >&6; }
4443  else
4444            CPPFLAGS="$am_save_CPPFLAGS"
4445    LIBICONV=
4446    LTLIBICONV=
4447  fi
4448
4449
4450
4451  if test "$am_cv_func_iconv" = yes; then
4452    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
4453$as_echo_n "checking for iconv declaration... " >&6; }
4454    if ${am_cv_proto_iconv+:} false; then :
4455  $as_echo_n "(cached) " >&6
4456else
4457
4458      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459/* end confdefs.h.  */
4460
4461#include <stdlib.h>
4462#include <iconv.h>
4463extern
4464#ifdef __cplusplus
4465"C"
4466#endif
4467#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
4468size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4469#else
4470size_t iconv();
4471#endif
4472
4473int
4474main ()
4475{
4476
4477  ;
4478  return 0;
4479}
4480_ACEOF
4481if ac_fn_c_try_compile "$LINENO"; then :
4482  am_cv_proto_iconv_arg1=""
4483else
4484  am_cv_proto_iconv_arg1="const"
4485fi
4486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
4488fi
4489
4490    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4491    { $as_echo "$as_me:${as_lineno-$LINENO}: result:
4492         $am_cv_proto_iconv" >&5
4493$as_echo "
4494         $am_cv_proto_iconv" >&6; }
4495
4496cat >>confdefs.h <<_ACEOF
4497#define ICONV_CONST $am_cv_proto_iconv_arg1
4498_ACEOF
4499
4500
4501  fi
4502
4503
4504
4505unset BASH
4506
4507if test "x$SH" = x ; then
4508	# Extract the first word of "bash", so it can be a program name with args.
4509set dummy bash; ac_word=$2
4510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511$as_echo_n "checking for $ac_word... " >&6; }
4512if ${ac_cv_path_BASH+:} false; then :
4513  $as_echo_n "(cached) " >&6
4514else
4515  case $BASH in
4516  [\\/]* | ?:[\\/]*)
4517  ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
4518  ;;
4519  *)
4520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521for as_dir in $PATH
4522do
4523  IFS=$as_save_IFS
4524  test -z "$as_dir" && as_dir=.
4525    for ac_exec_ext in '' $ac_executable_extensions; do
4526  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527    ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
4528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529    break 2
4530  fi
4531done
4532  done
4533IFS=$as_save_IFS
4534
4535  test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="NONE"
4536  ;;
4537esac
4538fi
4539BASH=$ac_cv_path_BASH
4540if test -n "$BASH"; then
4541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
4542$as_echo "$BASH" >&6; }
4543else
4544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545$as_echo "no" >&6; }
4546fi
4547
4548
4549	if test ! "x$BASH" = xNONE ; then
4550		if $BASH -posix -c true ; then
4551			SH="$BASH -posix"
4552		elif $BASH --posix -c true ; then
4553			SH="$BASH --posix"
4554		fi
4555		echo "Using $SH".
4556	fi
4557fi
4558
4559if test "x$SH" = x ; then
4560	# Extract the first word of "ksh", so it can be a program name with args.
4561set dummy ksh; ac_word=$2
4562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563$as_echo_n "checking for $ac_word... " >&6; }
4564if ${ac_cv_path_KSH+:} false; then :
4565  $as_echo_n "(cached) " >&6
4566else
4567  case $KSH in
4568  [\\/]* | ?:[\\/]*)
4569  ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
4570  ;;
4571  *)
4572  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573for as_dir in $PATH
4574do
4575  IFS=$as_save_IFS
4576  test -z "$as_dir" && as_dir=.
4577    for ac_exec_ext in '' $ac_executable_extensions; do
4578  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4579    ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
4580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581    break 2
4582  fi
4583done
4584  done
4585IFS=$as_save_IFS
4586
4587  test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="NONE"
4588  ;;
4589esac
4590fi
4591KSH=$ac_cv_path_KSH
4592if test -n "$KSH"; then
4593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KSH" >&5
4594$as_echo "$KSH" >&6; }
4595else
4596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597$as_echo "no" >&6; }
4598fi
4599
4600
4601	if test ! "x$KSH" = xNONE ; then
4602		SH="$KSH"
4603		echo "Using $SH".
4604	fi
4605fi
4606
4607if test "x$SH" = x ; then
4608	# Extract the first word of "sh", so it can be a program name with args.
4609set dummy sh; ac_word=$2
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611$as_echo_n "checking for $ac_word... " >&6; }
4612if ${ac_cv_path_BINSH+:} false; then :
4613  $as_echo_n "(cached) " >&6
4614else
4615  case $BINSH in
4616  [\\/]* | ?:[\\/]*)
4617  ac_cv_path_BINSH="$BINSH" # Let the user override the test with a path.
4618  ;;
4619  *)
4620  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621for as_dir in $PATH
4622do
4623  IFS=$as_save_IFS
4624  test -z "$as_dir" && as_dir=.
4625    for ac_exec_ext in '' $ac_executable_extensions; do
4626  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627    ac_cv_path_BINSH="$as_dir/$ac_word$ac_exec_ext"
4628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629    break 2
4630  fi
4631done
4632  done
4633IFS=$as_save_IFS
4634
4635  test -z "$ac_cv_path_BINSH" && ac_cv_path_BINSH="NONE"
4636  ;;
4637esac
4638fi
4639BINSH=$ac_cv_path_BINSH
4640if test -n "$BINSH"; then
4641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BINSH" >&5
4642$as_echo "$BINSH" >&6; }
4643else
4644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645$as_echo "no" >&6; }
4646fi
4647
4648
4649	if test "x$BINSH" = xNONE; then
4650		echo "ERROR: Can't find sh." >&2
4651		exit 1
4652	else
4653		SH="$BINSH"
4654	fi
4655fi
4656
4657
4658
4659# Extract the first word of "awk", so it can be a program name with args.
4660set dummy awk; ac_word=$2
4661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662$as_echo_n "checking for $ac_word... " >&6; }
4663if ${ac_cv_path_AWK+:} false; then :
4664  $as_echo_n "(cached) " >&6
4665else
4666  case $AWK in
4667  [\\/]* | ?:[\\/]*)
4668  ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4669  ;;
4670  *)
4671  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672for as_dir in $PATH
4673do
4674  IFS=$as_save_IFS
4675  test -z "$as_dir" && as_dir=.
4676    for ac_exec_ext in '' $ac_executable_extensions; do
4677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678    ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680    break 2
4681  fi
4682done
4683  done
4684IFS=$as_save_IFS
4685
4686  test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="NONE"
4687  ;;
4688esac
4689fi
4690AWK=$ac_cv_path_AWK
4691if test -n "$AWK"; then
4692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4693$as_echo "$AWK" >&6; }
4694else
4695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696$as_echo "no" >&6; }
4697fi
4698
4699
4700# Extract the first word of "mawk", so it can be a program name with args.
4701set dummy mawk; ac_word=$2
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703$as_echo_n "checking for $ac_word... " >&6; }
4704if ${ac_cv_path_MAWK+:} false; then :
4705  $as_echo_n "(cached) " >&6
4706else
4707  case $MAWK in
4708  [\\/]* | ?:[\\/]*)
4709  ac_cv_path_MAWK="$MAWK" # Let the user override the test with a path.
4710  ;;
4711  *)
4712  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713for as_dir in $PATH
4714do
4715  IFS=$as_save_IFS
4716  test -z "$as_dir" && as_dir=.
4717    for ac_exec_ext in '' $ac_executable_extensions; do
4718  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4719    ac_cv_path_MAWK="$as_dir/$ac_word$ac_exec_ext"
4720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721    break 2
4722  fi
4723done
4724  done
4725IFS=$as_save_IFS
4726
4727  test -z "$ac_cv_path_MAWK" && ac_cv_path_MAWK="NONE"
4728  ;;
4729esac
4730fi
4731MAWK=$ac_cv_path_MAWK
4732if test -n "$MAWK"; then
4733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAWK" >&5
4734$as_echo "$MAWK" >&6; }
4735else
4736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737$as_echo "no" >&6; }
4738fi
4739
4740
4741# Extract the first word of "gawk", so it can be a program name with args.
4742set dummy gawk; ac_word=$2
4743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744$as_echo_n "checking for $ac_word... " >&6; }
4745if ${ac_cv_path_GAWK+:} false; then :
4746  $as_echo_n "(cached) " >&6
4747else
4748  case $GAWK in
4749  [\\/]* | ?:[\\/]*)
4750  ac_cv_path_GAWK="$GAWK" # Let the user override the test with a path.
4751  ;;
4752  *)
4753  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754for as_dir in $PATH
4755do
4756  IFS=$as_save_IFS
4757  test -z "$as_dir" && as_dir=.
4758    for ac_exec_ext in '' $ac_executable_extensions; do
4759  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4760    ac_cv_path_GAWK="$as_dir/$ac_word$ac_exec_ext"
4761    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762    break 2
4763  fi
4764done
4765  done
4766IFS=$as_save_IFS
4767
4768  test -z "$ac_cv_path_GAWK" && ac_cv_path_GAWK="NONE"
4769  ;;
4770esac
4771fi
4772GAWK=$ac_cv_path_GAWK
4773if test -n "$GAWK"; then
4774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAWK" >&5
4775$as_echo "$GAWK" >&6; }
4776else
4777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778$as_echo "no" >&6; }
4779fi
4780
4781
4782# Extract the first word of "nawk", so it can be a program name with args.
4783set dummy nawk; ac_word=$2
4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785$as_echo_n "checking for $ac_word... " >&6; }
4786if ${ac_cv_path_NAWK+:} false; then :
4787  $as_echo_n "(cached) " >&6
4788else
4789  case $NAWK in
4790  [\\/]* | ?:[\\/]*)
4791  ac_cv_path_NAWK="$NAWK" # Let the user override the test with a path.
4792  ;;
4793  *)
4794  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795for as_dir in $PATH
4796do
4797  IFS=$as_save_IFS
4798  test -z "$as_dir" && as_dir=.
4799    for ac_exec_ext in '' $ac_executable_extensions; do
4800  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801    ac_cv_path_NAWK="$as_dir/$ac_word$ac_exec_ext"
4802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803    break 2
4804  fi
4805done
4806  done
4807IFS=$as_save_IFS
4808
4809  test -z "$ac_cv_path_NAWK" && ac_cv_path_NAWK="NONE"
4810  ;;
4811esac
4812fi
4813NAWK=$ac_cv_path_NAWK
4814if test -n "$NAWK"; then
4815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAWK" >&5
4816$as_echo "$NAWK" >&6; }
4817else
4818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819$as_echo "no" >&6; }
4820fi
4821
4822
4823
4824if test "x$AWK" != "xNONE" ; then
4825	AWK="$AWK"
4826fi
4827
4828if test "x$NAWK" != "xNONE" ; then
4829	AWK="$NAWK"
4830fi
4831
4832if test "x$GAWK" != "xNONE" ; then
4833	AWK="$GAWK"
4834fi
4835
4836if test "x$MAWK" != "xNONE" ; then
4837	AWK="$MAWK"
4838fi
4839
4840
4841
4842# Extract the first word of "tac", so it can be a program name with args.
4843set dummy tac; ac_word=$2
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845$as_echo_n "checking for $ac_word... " >&6; }
4846if ${ac_cv_path_TAC+:} false; then :
4847  $as_echo_n "(cached) " >&6
4848else
4849  case $TAC in
4850  [\\/]* | ?:[\\/]*)
4851  ac_cv_path_TAC="$TAC" # Let the user override the test with a path.
4852  ;;
4853  *)
4854  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855for as_dir in $PATH
4856do
4857  IFS=$as_save_IFS
4858  test -z "$as_dir" && as_dir=.
4859    for ac_exec_ext in '' $ac_executable_extensions; do
4860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861    ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext"
4862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863    break 2
4864  fi
4865done
4866  done
4867IFS=$as_save_IFS
4868
4869  test -z "$ac_cv_path_TAC" && ac_cv_path_TAC="NONE"
4870  ;;
4871esac
4872fi
4873TAC=$ac_cv_path_TAC
4874if test -n "$TAC"; then
4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAC" >&5
4876$as_echo "$TAC" >&6; }
4877else
4878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879$as_echo "no" >&6; }
4880fi
4881
4882
4883if test "x$TAC" = "xNONE"; then
4884	TACTARGET="tac"
4885
4886	TACAWK="tac.awk"
4887	TAC="$libdir/tac"
4888fi
4889
4890
4891# Check whether --enable-lbdb_dotlock was given.
4892if test "${enable_lbdb_dotlock+set}" = set; then :
4893  enableval=$enable_lbdb_dotlock; lbdb_cv_lbdb_dotlock="$enableval"
4894fi
4895
4896
4897# Extract the first word of "mutt.dotlock", so it can be a program name with args.
4898set dummy mutt.dotlock; ac_word=$2
4899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900$as_echo_n "checking for $ac_word... " >&6; }
4901if ${ac_cv_path_DOTLOCK_OLD+:} false; then :
4902  $as_echo_n "(cached) " >&6
4903else
4904  case $DOTLOCK_OLD in
4905  [\\/]* | ?:[\\/]*)
4906  ac_cv_path_DOTLOCK_OLD="$DOTLOCK_OLD" # Let the user override the test with a path.
4907  ;;
4908  *)
4909  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910for as_dir in $PATH
4911do
4912  IFS=$as_save_IFS
4913  test -z "$as_dir" && as_dir=.
4914    for ac_exec_ext in '' $ac_executable_extensions; do
4915  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916    ac_cv_path_DOTLOCK_OLD="$as_dir/$ac_word$ac_exec_ext"
4917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918    break 2
4919  fi
4920done
4921  done
4922IFS=$as_save_IFS
4923
4924  test -z "$ac_cv_path_DOTLOCK_OLD" && ac_cv_path_DOTLOCK_OLD="no"
4925  ;;
4926esac
4927fi
4928DOTLOCK_OLD=$ac_cv_path_DOTLOCK_OLD
4929if test -n "$DOTLOCK_OLD"; then
4930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOTLOCK_OLD" >&5
4931$as_echo "$DOTLOCK_OLD" >&6; }
4932else
4933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934$as_echo "no" >&6; }
4935fi
4936
4937
4938if test x$ac_cv_path_DOTLOCK_OLD = xno ; then
4939	# Extract the first word of "mutt_dotlock", so it can be a program name with args.
4940set dummy mutt_dotlock; ac_word=$2
4941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942$as_echo_n "checking for $ac_word... " >&6; }
4943if ${ac_cv_path_DOTLOCK+:} false; then :
4944  $as_echo_n "(cached) " >&6
4945else
4946  case $DOTLOCK in
4947  [\\/]* | ?:[\\/]*)
4948  ac_cv_path_DOTLOCK="$DOTLOCK" # Let the user override the test with a path.
4949  ;;
4950  *)
4951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952for as_dir in $PATH
4953do
4954  IFS=$as_save_IFS
4955  test -z "$as_dir" && as_dir=.
4956    for ac_exec_ext in '' $ac_executable_extensions; do
4957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958    ac_cv_path_DOTLOCK="$as_dir/$ac_word$ac_exec_ext"
4959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960    break 2
4961  fi
4962done
4963  done
4964IFS=$as_save_IFS
4965
4966  test -z "$ac_cv_path_DOTLOCK" && ac_cv_path_DOTLOCK="no"
4967  ;;
4968esac
4969fi
4970DOTLOCK=$ac_cv_path_DOTLOCK
4971if test -n "$DOTLOCK"; then
4972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOTLOCK" >&5
4973$as_echo "$DOTLOCK" >&6; }
4974else
4975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976$as_echo "no" >&6; }
4977fi
4978
4979
4980else
4981	ac_cv_path_DOTLOCK=$ac_cv_path_DOTLOCK_OLD
4982fi
4983
4984if test x$ac_cv_path_DOTLOCK = xno || test x$lbdb_cv_lbdb_dotlock = xyes
4985then
4986	DOTLOCK_TARGET="lbdb_dotlock"
4987
4988	DOTLOCK="$bindir"/lbdb_dotlock
4989fi
4990
4991
4992
4993DOTLOCKBASE=`basename $DOTLOCK`
4994
4995
4996path_fetchaddr="$libdir/fetchaddr"
4997
4998
4999#
5000# LBDB_ARG_WITH(FOO, foo, m_foo, [with foo support])
5001#
5002# several cases:
5003# --with-foo        - search for foo in PATH. error if not found
5004# --with-foo=/foo   - use /foo
5005# --without-foo     - completely disable this
5006# none of the above - search for foo in PATH. disable if not found
5007#
5008
5009
5010MODULES="m_inmail m_passwd m_muttalias m_pine m_gnomecard m_bbdb m_wanderlust"
5011
5012
5013    withval=""
5014
5015# Check whether --with-finger was given.
5016if test "${with_finger+set}" = set; then :
5017  withval=$with_finger;
5018fi
5019
5020    if test x$withval = xyes; then
5021        # Extract the first word of "finger", so it can be a program name with args.
5022set dummy finger; ac_word=$2
5023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024$as_echo_n "checking for $ac_word... " >&6; }
5025if ${ac_cv_path_FINGER+:} false; then :
5026  $as_echo_n "(cached) " >&6
5027else
5028  case $FINGER in
5029  [\\/]* | ?:[\\/]*)
5030  ac_cv_path_FINGER="$FINGER" # Let the user override the test with a path.
5031  ;;
5032  *)
5033  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034for as_dir in $PATH
5035do
5036  IFS=$as_save_IFS
5037  test -z "$as_dir" && as_dir=.
5038    for ac_exec_ext in '' $ac_executable_extensions; do
5039  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040    ac_cv_path_FINGER="$as_dir/$ac_word$ac_exec_ext"
5041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042    break 2
5043  fi
5044done
5045  done
5046IFS=$as_save_IFS
5047
5048  test -z "$ac_cv_path_FINGER" && ac_cv_path_FINGER=""no""
5049  ;;
5050esac
5051fi
5052FINGER=$ac_cv_path_FINGER
5053if test -n "$FINGER"; then
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINGER" >&5
5055$as_echo "$FINGER" >&6; }
5056else
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058$as_echo "no" >&6; }
5059fi
5060
5061
5062        if test x$FINGER = xno; then
5063	    as_fn_error $? "finger not in PATH" "$LINENO" 5
5064        else
5065    	    MODULES="$MODULES m_finger"
5066
5067        fi
5068    elif test x$withval = x; then
5069        # Extract the first word of "finger", so it can be a program name with args.
5070set dummy finger; ac_word=$2
5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072$as_echo_n "checking for $ac_word... " >&6; }
5073if ${ac_cv_path_FINGER+:} false; then :
5074  $as_echo_n "(cached) " >&6
5075else
5076  case $FINGER in
5077  [\\/]* | ?:[\\/]*)
5078  ac_cv_path_FINGER="$FINGER" # Let the user override the test with a path.
5079  ;;
5080  *)
5081  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082for as_dir in $PATH
5083do
5084  IFS=$as_save_IFS
5085  test -z "$as_dir" && as_dir=.
5086    for ac_exec_ext in '' $ac_executable_extensions; do
5087  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088    ac_cv_path_FINGER="$as_dir/$ac_word$ac_exec_ext"
5089    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090    break 2
5091  fi
5092done
5093  done
5094IFS=$as_save_IFS
5095
5096  test -z "$ac_cv_path_FINGER" && ac_cv_path_FINGER=""no""
5097  ;;
5098esac
5099fi
5100FINGER=$ac_cv_path_FINGER
5101if test -n "$FINGER"; then
5102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FINGER" >&5
5103$as_echo "$FINGER" >&6; }
5104else
5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106$as_echo "no" >&6; }
5107fi
5108
5109
5110        if test x$FINGER != xno; then
5111      	    MODULES="$MODULES m_finger"
5112
5113        fi
5114    elif test x$withval != xno; then
5115        FINGER=$withval
5116        MODULES="$MODULES m_finger"
5117
5118    fi
5119
5120
5121    withval=""
5122
5123# Check whether --with-abook was given.
5124if test "${with_abook+set}" = set; then :
5125  withval=$with_abook;
5126fi
5127
5128    if test x$withval = xyes; then
5129        # Extract the first word of "abook", so it can be a program name with args.
5130set dummy abook; ac_word=$2
5131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132$as_echo_n "checking for $ac_word... " >&6; }
5133if ${ac_cv_path_ABOOK+:} false; then :
5134  $as_echo_n "(cached) " >&6
5135else
5136  case $ABOOK in
5137  [\\/]* | ?:[\\/]*)
5138  ac_cv_path_ABOOK="$ABOOK" # Let the user override the test with a path.
5139  ;;
5140  *)
5141  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142for as_dir in $PATH
5143do
5144  IFS=$as_save_IFS
5145  test -z "$as_dir" && as_dir=.
5146    for ac_exec_ext in '' $ac_executable_extensions; do
5147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148    ac_cv_path_ABOOK="$as_dir/$ac_word$ac_exec_ext"
5149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150    break 2
5151  fi
5152done
5153  done
5154IFS=$as_save_IFS
5155
5156  test -z "$ac_cv_path_ABOOK" && ac_cv_path_ABOOK=""no""
5157  ;;
5158esac
5159fi
5160ABOOK=$ac_cv_path_ABOOK
5161if test -n "$ABOOK"; then
5162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABOOK" >&5
5163$as_echo "$ABOOK" >&6; }
5164else
5165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166$as_echo "no" >&6; }
5167fi
5168
5169
5170        if test x$ABOOK = xno; then
5171	    as_fn_error $? "abook not in PATH" "$LINENO" 5
5172        else
5173    	    MODULES="$MODULES m_abook"
5174
5175        fi
5176    elif test x$withval = x; then
5177        # Extract the first word of "abook", so it can be a program name with args.
5178set dummy abook; ac_word=$2
5179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180$as_echo_n "checking for $ac_word... " >&6; }
5181if ${ac_cv_path_ABOOK+:} false; then :
5182  $as_echo_n "(cached) " >&6
5183else
5184  case $ABOOK in
5185  [\\/]* | ?:[\\/]*)
5186  ac_cv_path_ABOOK="$ABOOK" # Let the user override the test with a path.
5187  ;;
5188  *)
5189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190for as_dir in $PATH
5191do
5192  IFS=$as_save_IFS
5193  test -z "$as_dir" && as_dir=.
5194    for ac_exec_ext in '' $ac_executable_extensions; do
5195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196    ac_cv_path_ABOOK="$as_dir/$ac_word$ac_exec_ext"
5197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198    break 2
5199  fi
5200done
5201  done
5202IFS=$as_save_IFS
5203
5204  test -z "$ac_cv_path_ABOOK" && ac_cv_path_ABOOK=""no""
5205  ;;
5206esac
5207fi
5208ABOOK=$ac_cv_path_ABOOK
5209if test -n "$ABOOK"; then
5210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABOOK" >&5
5211$as_echo "$ABOOK" >&6; }
5212else
5213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214$as_echo "no" >&6; }
5215fi
5216
5217
5218        if test x$ABOOK != xno; then
5219      	    MODULES="$MODULES m_abook"
5220
5221        fi
5222    elif test x$withval != xno; then
5223        ABOOK=$withval
5224        MODULES="$MODULES m_abook"
5225
5226    fi
5227
5228
5229    withval=""
5230
5231# Check whether --with-goobook was given.
5232if test "${with_goobook+set}" = set; then :
5233  withval=$with_goobook;
5234fi
5235
5236    if test x$withval = xyes; then
5237        # Extract the first word of "goobook", so it can be a program name with args.
5238set dummy goobook; ac_word=$2
5239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240$as_echo_n "checking for $ac_word... " >&6; }
5241if ${ac_cv_path_GOOBOOK+:} false; then :
5242  $as_echo_n "(cached) " >&6
5243else
5244  case $GOOBOOK in
5245  [\\/]* | ?:[\\/]*)
5246  ac_cv_path_GOOBOOK="$GOOBOOK" # Let the user override the test with a path.
5247  ;;
5248  *)
5249  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250for as_dir in $PATH
5251do
5252  IFS=$as_save_IFS
5253  test -z "$as_dir" && as_dir=.
5254    for ac_exec_ext in '' $ac_executable_extensions; do
5255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256    ac_cv_path_GOOBOOK="$as_dir/$ac_word$ac_exec_ext"
5257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258    break 2
5259  fi
5260done
5261  done
5262IFS=$as_save_IFS
5263
5264  test -z "$ac_cv_path_GOOBOOK" && ac_cv_path_GOOBOOK=""no""
5265  ;;
5266esac
5267fi
5268GOOBOOK=$ac_cv_path_GOOBOOK
5269if test -n "$GOOBOOK"; then
5270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOOBOOK" >&5
5271$as_echo "$GOOBOOK" >&6; }
5272else
5273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274$as_echo "no" >&6; }
5275fi
5276
5277
5278        if test x$GOOBOOK = xno; then
5279	    as_fn_error $? "goobook not in PATH" "$LINENO" 5
5280        else
5281    	    MODULES="$MODULES m_goobook"
5282
5283        fi
5284    elif test x$withval = x; then
5285        # Extract the first word of "goobook", so it can be a program name with args.
5286set dummy goobook; ac_word=$2
5287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288$as_echo_n "checking for $ac_word... " >&6; }
5289if ${ac_cv_path_GOOBOOK+:} false; then :
5290  $as_echo_n "(cached) " >&6
5291else
5292  case $GOOBOOK in
5293  [\\/]* | ?:[\\/]*)
5294  ac_cv_path_GOOBOOK="$GOOBOOK" # Let the user override the test with a path.
5295  ;;
5296  *)
5297  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298for as_dir in $PATH
5299do
5300  IFS=$as_save_IFS
5301  test -z "$as_dir" && as_dir=.
5302    for ac_exec_ext in '' $ac_executable_extensions; do
5303  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304    ac_cv_path_GOOBOOK="$as_dir/$ac_word$ac_exec_ext"
5305    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306    break 2
5307  fi
5308done
5309  done
5310IFS=$as_save_IFS
5311
5312  test -z "$ac_cv_path_GOOBOOK" && ac_cv_path_GOOBOOK=""no""
5313  ;;
5314esac
5315fi
5316GOOBOOK=$ac_cv_path_GOOBOOK
5317if test -n "$GOOBOOK"; then
5318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOOBOOK" >&5
5319$as_echo "$GOOBOOK" >&6; }
5320else
5321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322$as_echo "no" >&6; }
5323fi
5324
5325
5326        if test x$GOOBOOK != xno; then
5327      	    MODULES="$MODULES m_goobook"
5328
5329        fi
5330    elif test x$withval != xno; then
5331        GOOBOOK=$withval
5332        MODULES="$MODULES m_goobook"
5333
5334    fi
5335
5336
5337    withval=""
5338
5339# Check whether --with-addr-email was given.
5340if test "${with_addr_email+set}" = set; then :
5341  withval=$with_addr_email;
5342fi
5343
5344    if test x$withval = xyes; then
5345        # Extract the first word of "addr-email", so it can be a program name with args.
5346set dummy addr-email; ac_word=$2
5347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348$as_echo_n "checking for $ac_word... " >&6; }
5349if ${ac_cv_path_ADDR_EMAIL+:} false; then :
5350  $as_echo_n "(cached) " >&6
5351else
5352  case $ADDR_EMAIL in
5353  [\\/]* | ?:[\\/]*)
5354  ac_cv_path_ADDR_EMAIL="$ADDR_EMAIL" # Let the user override the test with a path.
5355  ;;
5356  *)
5357  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358for as_dir in $PATH
5359do
5360  IFS=$as_save_IFS
5361  test -z "$as_dir" && as_dir=.
5362    for ac_exec_ext in '' $ac_executable_extensions; do
5363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364    ac_cv_path_ADDR_EMAIL="$as_dir/$ac_word$ac_exec_ext"
5365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366    break 2
5367  fi
5368done
5369  done
5370IFS=$as_save_IFS
5371
5372  test -z "$ac_cv_path_ADDR_EMAIL" && ac_cv_path_ADDR_EMAIL=""no""
5373  ;;
5374esac
5375fi
5376ADDR_EMAIL=$ac_cv_path_ADDR_EMAIL
5377if test -n "$ADDR_EMAIL"; then
5378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADDR_EMAIL" >&5
5379$as_echo "$ADDR_EMAIL" >&6; }
5380else
5381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382$as_echo "no" >&6; }
5383fi
5384
5385
5386        if test x$ADDR_EMAIL = xno; then
5387	    as_fn_error $? "addr-email not in PATH" "$LINENO" 5
5388        else
5389    	    MODULES="$MODULES m_addr_email"
5390
5391        fi
5392    elif test x$withval = x; then
5393        # Extract the first word of "addr-email", so it can be a program name with args.
5394set dummy addr-email; ac_word=$2
5395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396$as_echo_n "checking for $ac_word... " >&6; }
5397if ${ac_cv_path_ADDR_EMAIL+:} false; then :
5398  $as_echo_n "(cached) " >&6
5399else
5400  case $ADDR_EMAIL in
5401  [\\/]* | ?:[\\/]*)
5402  ac_cv_path_ADDR_EMAIL="$ADDR_EMAIL" # Let the user override the test with a path.
5403  ;;
5404  *)
5405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406for as_dir in $PATH
5407do
5408  IFS=$as_save_IFS
5409  test -z "$as_dir" && as_dir=.
5410    for ac_exec_ext in '' $ac_executable_extensions; do
5411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412    ac_cv_path_ADDR_EMAIL="$as_dir/$ac_word$ac_exec_ext"
5413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414    break 2
5415  fi
5416done
5417  done
5418IFS=$as_save_IFS
5419
5420  test -z "$ac_cv_path_ADDR_EMAIL" && ac_cv_path_ADDR_EMAIL=""no""
5421  ;;
5422esac
5423fi
5424ADDR_EMAIL=$ac_cv_path_ADDR_EMAIL
5425if test -n "$ADDR_EMAIL"; then
5426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADDR_EMAIL" >&5
5427$as_echo "$ADDR_EMAIL" >&6; }
5428else
5429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430$as_echo "no" >&6; }
5431fi
5432
5433
5434        if test x$ADDR_EMAIL != xno; then
5435      	    MODULES="$MODULES m_addr_email"
5436
5437        fi
5438    elif test x$withval != xno; then
5439        ADDR_EMAIL=$withval
5440        MODULES="$MODULES m_addr_email"
5441
5442    fi
5443
5444
5445    withval=""
5446
5447# Check whether --with-ypcat was given.
5448if test "${with_ypcat+set}" = set; then :
5449  withval=$with_ypcat;
5450fi
5451
5452    if test x$withval = xyes; then
5453        # Extract the first word of "ypcat", so it can be a program name with args.
5454set dummy ypcat; ac_word=$2
5455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456$as_echo_n "checking for $ac_word... " >&6; }
5457if ${ac_cv_path_YPCAT+:} false; then :
5458  $as_echo_n "(cached) " >&6
5459else
5460  case $YPCAT in
5461  [\\/]* | ?:[\\/]*)
5462  ac_cv_path_YPCAT="$YPCAT" # Let the user override the test with a path.
5463  ;;
5464  *)
5465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466for as_dir in $PATH
5467do
5468  IFS=$as_save_IFS
5469  test -z "$as_dir" && as_dir=.
5470    for ac_exec_ext in '' $ac_executable_extensions; do
5471  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472    ac_cv_path_YPCAT="$as_dir/$ac_word$ac_exec_ext"
5473    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474    break 2
5475  fi
5476done
5477  done
5478IFS=$as_save_IFS
5479
5480  test -z "$ac_cv_path_YPCAT" && ac_cv_path_YPCAT=""no""
5481  ;;
5482esac
5483fi
5484YPCAT=$ac_cv_path_YPCAT
5485if test -n "$YPCAT"; then
5486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YPCAT" >&5
5487$as_echo "$YPCAT" >&6; }
5488else
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490$as_echo "no" >&6; }
5491fi
5492
5493
5494        if test x$YPCAT = xno; then
5495	    as_fn_error $? "ypcat not in PATH" "$LINENO" 5
5496        else
5497    	    MODULES="$MODULES m_yppasswd"
5498
5499        fi
5500    elif test x$withval = x; then
5501        # Extract the first word of "ypcat", so it can be a program name with args.
5502set dummy ypcat; ac_word=$2
5503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504$as_echo_n "checking for $ac_word... " >&6; }
5505if ${ac_cv_path_YPCAT+:} false; then :
5506  $as_echo_n "(cached) " >&6
5507else
5508  case $YPCAT in
5509  [\\/]* | ?:[\\/]*)
5510  ac_cv_path_YPCAT="$YPCAT" # Let the user override the test with a path.
5511  ;;
5512  *)
5513  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514for as_dir in $PATH
5515do
5516  IFS=$as_save_IFS
5517  test -z "$as_dir" && as_dir=.
5518    for ac_exec_ext in '' $ac_executable_extensions; do
5519  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520    ac_cv_path_YPCAT="$as_dir/$ac_word$ac_exec_ext"
5521    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522    break 2
5523  fi
5524done
5525  done
5526IFS=$as_save_IFS
5527
5528  test -z "$ac_cv_path_YPCAT" && ac_cv_path_YPCAT=""no""
5529  ;;
5530esac
5531fi
5532YPCAT=$ac_cv_path_YPCAT
5533if test -n "$YPCAT"; then
5534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YPCAT" >&5
5535$as_echo "$YPCAT" >&6; }
5536else
5537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538$as_echo "no" >&6; }
5539fi
5540
5541
5542        if test x$YPCAT != xno; then
5543      	    MODULES="$MODULES m_yppasswd"
5544
5545        fi
5546    elif test x$withval != xno; then
5547        YPCAT=$withval
5548        MODULES="$MODULES m_yppasswd"
5549
5550    fi
5551
5552
5553    withval=""
5554
5555# Check whether --with-niscat was given.
5556if test "${with_niscat+set}" = set; then :
5557  withval=$with_niscat;
5558fi
5559
5560    if test x$withval = xyes; then
5561        # Extract the first word of "niscat", so it can be a program name with args.
5562set dummy niscat; ac_word=$2
5563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564$as_echo_n "checking for $ac_word... " >&6; }
5565if ${ac_cv_path_NISCAT+:} false; then :
5566  $as_echo_n "(cached) " >&6
5567else
5568  case $NISCAT in
5569  [\\/]* | ?:[\\/]*)
5570  ac_cv_path_NISCAT="$NISCAT" # Let the user override the test with a path.
5571  ;;
5572  *)
5573  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574for as_dir in $PATH
5575do
5576  IFS=$as_save_IFS
5577  test -z "$as_dir" && as_dir=.
5578    for ac_exec_ext in '' $ac_executable_extensions; do
5579  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580    ac_cv_path_NISCAT="$as_dir/$ac_word$ac_exec_ext"
5581    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582    break 2
5583  fi
5584done
5585  done
5586IFS=$as_save_IFS
5587
5588  test -z "$ac_cv_path_NISCAT" && ac_cv_path_NISCAT=""no""
5589  ;;
5590esac
5591fi
5592NISCAT=$ac_cv_path_NISCAT
5593if test -n "$NISCAT"; then
5594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NISCAT" >&5
5595$as_echo "$NISCAT" >&6; }
5596else
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598$as_echo "no" >&6; }
5599fi
5600
5601
5602        if test x$NISCAT = xno; then
5603	    as_fn_error $? "niscat not in PATH" "$LINENO" 5
5604        else
5605    	    MODULES="$MODULES m_nispasswd"
5606
5607        fi
5608    elif test x$withval = x; then
5609        # Extract the first word of "niscat", so it can be a program name with args.
5610set dummy niscat; ac_word=$2
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612$as_echo_n "checking for $ac_word... " >&6; }
5613if ${ac_cv_path_NISCAT+:} false; then :
5614  $as_echo_n "(cached) " >&6
5615else
5616  case $NISCAT in
5617  [\\/]* | ?:[\\/]*)
5618  ac_cv_path_NISCAT="$NISCAT" # Let the user override the test with a path.
5619  ;;
5620  *)
5621  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622for as_dir in $PATH
5623do
5624  IFS=$as_save_IFS
5625  test -z "$as_dir" && as_dir=.
5626    for ac_exec_ext in '' $ac_executable_extensions; do
5627  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628    ac_cv_path_NISCAT="$as_dir/$ac_word$ac_exec_ext"
5629    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630    break 2
5631  fi
5632done
5633  done
5634IFS=$as_save_IFS
5635
5636  test -z "$ac_cv_path_NISCAT" && ac_cv_path_NISCAT=""no""
5637  ;;
5638esac
5639fi
5640NISCAT=$ac_cv_path_NISCAT
5641if test -n "$NISCAT"; then
5642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NISCAT" >&5
5643$as_echo "$NISCAT" >&6; }
5644else
5645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646$as_echo "no" >&6; }
5647fi
5648
5649
5650        if test x$NISCAT != xno; then
5651      	    MODULES="$MODULES m_nispasswd"
5652
5653        fi
5654    elif test x$withval != xno; then
5655        NISCAT=$withval
5656        MODULES="$MODULES m_nispasswd"
5657
5658    fi
5659
5660
5661    withval=""
5662
5663# Check whether --with-getent was given.
5664if test "${with_getent+set}" = set; then :
5665  withval=$with_getent;
5666fi
5667
5668    if test x$withval = xyes; then
5669        # Extract the first word of "getent", so it can be a program name with args.
5670set dummy getent; ac_word=$2
5671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672$as_echo_n "checking for $ac_word... " >&6; }
5673if ${ac_cv_path_GETENT+:} false; then :
5674  $as_echo_n "(cached) " >&6
5675else
5676  case $GETENT in
5677  [\\/]* | ?:[\\/]*)
5678  ac_cv_path_GETENT="$GETENT" # Let the user override the test with a path.
5679  ;;
5680  *)
5681  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682for as_dir in $PATH
5683do
5684  IFS=$as_save_IFS
5685  test -z "$as_dir" && as_dir=.
5686    for ac_exec_ext in '' $ac_executable_extensions; do
5687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688    ac_cv_path_GETENT="$as_dir/$ac_word$ac_exec_ext"
5689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690    break 2
5691  fi
5692done
5693  done
5694IFS=$as_save_IFS
5695
5696  test -z "$ac_cv_path_GETENT" && ac_cv_path_GETENT=""no""
5697  ;;
5698esac
5699fi
5700GETENT=$ac_cv_path_GETENT
5701if test -n "$GETENT"; then
5702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETENT" >&5
5703$as_echo "$GETENT" >&6; }
5704else
5705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706$as_echo "no" >&6; }
5707fi
5708
5709
5710        if test x$GETENT = xno; then
5711	    as_fn_error $? "getent not in PATH" "$LINENO" 5
5712        else
5713    	    MODULES="$MODULES m_getent"
5714
5715        fi
5716    elif test x$withval = x; then
5717        # Extract the first word of "getent", so it can be a program name with args.
5718set dummy getent; ac_word=$2
5719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720$as_echo_n "checking for $ac_word... " >&6; }
5721if ${ac_cv_path_GETENT+:} false; then :
5722  $as_echo_n "(cached) " >&6
5723else
5724  case $GETENT in
5725  [\\/]* | ?:[\\/]*)
5726  ac_cv_path_GETENT="$GETENT" # Let the user override the test with a path.
5727  ;;
5728  *)
5729  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730for as_dir in $PATH
5731do
5732  IFS=$as_save_IFS
5733  test -z "$as_dir" && as_dir=.
5734    for ac_exec_ext in '' $ac_executable_extensions; do
5735  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736    ac_cv_path_GETENT="$as_dir/$ac_word$ac_exec_ext"
5737    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738    break 2
5739  fi
5740done
5741  done
5742IFS=$as_save_IFS
5743
5744  test -z "$ac_cv_path_GETENT" && ac_cv_path_GETENT=""no""
5745  ;;
5746esac
5747fi
5748GETENT=$ac_cv_path_GETENT
5749if test -n "$GETENT"; then
5750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETENT" >&5
5751$as_echo "$GETENT" >&6; }
5752else
5753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754$as_echo "no" >&6; }
5755fi
5756
5757
5758        if test x$GETENT != xno; then
5759      	    MODULES="$MODULES m_getent"
5760
5761        fi
5762    elif test x$withval != xno; then
5763        GETENT=$withval
5764        MODULES="$MODULES m_getent"
5765
5766    fi
5767
5768
5769    withval=""
5770
5771# Check whether --with-gpg was given.
5772if test "${with_gpg+set}" = set; then :
5773  withval=$with_gpg;
5774fi
5775
5776    if test x$withval = xyes; then
5777        # Extract the first word of "gpg", so it can be a program name with args.
5778set dummy gpg; ac_word=$2
5779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780$as_echo_n "checking for $ac_word... " >&6; }
5781if ${ac_cv_path_GPG+:} false; then :
5782  $as_echo_n "(cached) " >&6
5783else
5784  case $GPG in
5785  [\\/]* | ?:[\\/]*)
5786  ac_cv_path_GPG="$GPG" # Let the user override the test with a path.
5787  ;;
5788  *)
5789  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790for as_dir in $PATH
5791do
5792  IFS=$as_save_IFS
5793  test -z "$as_dir" && as_dir=.
5794    for ac_exec_ext in '' $ac_executable_extensions; do
5795  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796    ac_cv_path_GPG="$as_dir/$ac_word$ac_exec_ext"
5797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798    break 2
5799  fi
5800done
5801  done
5802IFS=$as_save_IFS
5803
5804  test -z "$ac_cv_path_GPG" && ac_cv_path_GPG=""no""
5805  ;;
5806esac
5807fi
5808GPG=$ac_cv_path_GPG
5809if test -n "$GPG"; then
5810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPG" >&5
5811$as_echo "$GPG" >&6; }
5812else
5813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814$as_echo "no" >&6; }
5815fi
5816
5817
5818        if test x$GPG = xno; then
5819	    as_fn_error $? "gpg not in PATH" "$LINENO" 5
5820        else
5821    	    MODULES="$MODULES m_gpg"
5822
5823        fi
5824    elif test x$withval = x; then
5825        # Extract the first word of "gpg", so it can be a program name with args.
5826set dummy gpg; ac_word=$2
5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828$as_echo_n "checking for $ac_word... " >&6; }
5829if ${ac_cv_path_GPG+:} false; then :
5830  $as_echo_n "(cached) " >&6
5831else
5832  case $GPG in
5833  [\\/]* | ?:[\\/]*)
5834  ac_cv_path_GPG="$GPG" # Let the user override the test with a path.
5835  ;;
5836  *)
5837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838for as_dir in $PATH
5839do
5840  IFS=$as_save_IFS
5841  test -z "$as_dir" && as_dir=.
5842    for ac_exec_ext in '' $ac_executable_extensions; do
5843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844    ac_cv_path_GPG="$as_dir/$ac_word$ac_exec_ext"
5845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846    break 2
5847  fi
5848done
5849  done
5850IFS=$as_save_IFS
5851
5852  test -z "$ac_cv_path_GPG" && ac_cv_path_GPG=""no""
5853  ;;
5854esac
5855fi
5856GPG=$ac_cv_path_GPG
5857if test -n "$GPG"; then
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPG" >&5
5859$as_echo "$GPG" >&6; }
5860else
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862$as_echo "no" >&6; }
5863fi
5864
5865
5866        if test x$GPG != xno; then
5867      	    MODULES="$MODULES m_gpg"
5868
5869        fi
5870    elif test x$withval != xno; then
5871        GPG=$withval
5872        MODULES="$MODULES m_gpg"
5873
5874    fi
5875
5876
5877    withval=""
5878
5879# Check whether --with-pgpk was given.
5880if test "${with_pgpk+set}" = set; then :
5881  withval=$with_pgpk;
5882fi
5883
5884    if test x$withval = xyes; then
5885        # Extract the first word of "pgpk", so it can be a program name with args.
5886set dummy pgpk; ac_word=$2
5887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888$as_echo_n "checking for $ac_word... " >&6; }
5889if ${ac_cv_path_PGPK+:} false; then :
5890  $as_echo_n "(cached) " >&6
5891else
5892  case $PGPK in
5893  [\\/]* | ?:[\\/]*)
5894  ac_cv_path_PGPK="$PGPK" # Let the user override the test with a path.
5895  ;;
5896  *)
5897  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898for as_dir in $PATH
5899do
5900  IFS=$as_save_IFS
5901  test -z "$as_dir" && as_dir=.
5902    for ac_exec_ext in '' $ac_executable_extensions; do
5903  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904    ac_cv_path_PGPK="$as_dir/$ac_word$ac_exec_ext"
5905    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906    break 2
5907  fi
5908done
5909  done
5910IFS=$as_save_IFS
5911
5912  test -z "$ac_cv_path_PGPK" && ac_cv_path_PGPK=""no""
5913  ;;
5914esac
5915fi
5916PGPK=$ac_cv_path_PGPK
5917if test -n "$PGPK"; then
5918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PGPK" >&5
5919$as_echo "$PGPK" >&6; }
5920else
5921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922$as_echo "no" >&6; }
5923fi
5924
5925
5926        if test x$PGPK = xno; then
5927	    as_fn_error $? "pgpk not in PATH" "$LINENO" 5
5928        else
5929    	    MODULES="$MODULES m_pgp5"
5930
5931        fi
5932    elif test x$withval = x; then
5933        # Extract the first word of "pgpk", so it can be a program name with args.
5934set dummy pgpk; ac_word=$2
5935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936$as_echo_n "checking for $ac_word... " >&6; }
5937if ${ac_cv_path_PGPK+:} false; then :
5938  $as_echo_n "(cached) " >&6
5939else
5940  case $PGPK in
5941  [\\/]* | ?:[\\/]*)
5942  ac_cv_path_PGPK="$PGPK" # Let the user override the test with a path.
5943  ;;
5944  *)
5945  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946for as_dir in $PATH
5947do
5948  IFS=$as_save_IFS
5949  test -z "$as_dir" && as_dir=.
5950    for ac_exec_ext in '' $ac_executable_extensions; do
5951  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952    ac_cv_path_PGPK="$as_dir/$ac_word$ac_exec_ext"
5953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954    break 2
5955  fi
5956done
5957  done
5958IFS=$as_save_IFS
5959
5960  test -z "$ac_cv_path_PGPK" && ac_cv_path_PGPK=""no""
5961  ;;
5962esac
5963fi
5964PGPK=$ac_cv_path_PGPK
5965if test -n "$PGPK"; then
5966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PGPK" >&5
5967$as_echo "$PGPK" >&6; }
5968else
5969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970$as_echo "no" >&6; }
5971fi
5972
5973
5974        if test x$PGPK != xno; then
5975      	    MODULES="$MODULES m_pgp5"
5976
5977        fi
5978    elif test x$withval != xno; then
5979        PGPK=$withval
5980        MODULES="$MODULES m_pgp5"
5981
5982    fi
5983
5984
5985    withval=""
5986
5987# Check whether --with-pgp was given.
5988if test "${with_pgp+set}" = set; then :
5989  withval=$with_pgp;
5990fi
5991
5992    if test x$withval = xyes; then
5993        # Extract the first word of "pgp", so it can be a program name with args.
5994set dummy pgp; ac_word=$2
5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996$as_echo_n "checking for $ac_word... " >&6; }
5997if ${ac_cv_path_PGP+:} false; then :
5998  $as_echo_n "(cached) " >&6
5999else
6000  case $PGP in
6001  [\\/]* | ?:[\\/]*)
6002  ac_cv_path_PGP="$PGP" # Let the user override the test with a path.
6003  ;;
6004  *)
6005  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006for as_dir in $PATH
6007do
6008  IFS=$as_save_IFS
6009  test -z "$as_dir" && as_dir=.
6010    for ac_exec_ext in '' $ac_executable_extensions; do
6011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012    ac_cv_path_PGP="$as_dir/$ac_word$ac_exec_ext"
6013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014    break 2
6015  fi
6016done
6017  done
6018IFS=$as_save_IFS
6019
6020  test -z "$ac_cv_path_PGP" && ac_cv_path_PGP=""no""
6021  ;;
6022esac
6023fi
6024PGP=$ac_cv_path_PGP
6025if test -n "$PGP"; then
6026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PGP" >&5
6027$as_echo "$PGP" >&6; }
6028else
6029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030$as_echo "no" >&6; }
6031fi
6032
6033
6034        if test x$PGP = xno; then
6035	    as_fn_error $? "pgp not in PATH" "$LINENO" 5
6036        else
6037    	    MODULES="$MODULES m_pgp2"
6038
6039        fi
6040    elif test x$withval = x; then
6041        # Extract the first word of "pgp", so it can be a program name with args.
6042set dummy pgp; ac_word=$2
6043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044$as_echo_n "checking for $ac_word... " >&6; }
6045if ${ac_cv_path_PGP+:} false; then :
6046  $as_echo_n "(cached) " >&6
6047else
6048  case $PGP in
6049  [\\/]* | ?:[\\/]*)
6050  ac_cv_path_PGP="$PGP" # Let the user override the test with a path.
6051  ;;
6052  *)
6053  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054for as_dir in $PATH
6055do
6056  IFS=$as_save_IFS
6057  test -z "$as_dir" && as_dir=.
6058    for ac_exec_ext in '' $ac_executable_extensions; do
6059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060    ac_cv_path_PGP="$as_dir/$ac_word$ac_exec_ext"
6061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062    break 2
6063  fi
6064done
6065  done
6066IFS=$as_save_IFS
6067
6068  test -z "$ac_cv_path_PGP" && ac_cv_path_PGP=""no""
6069  ;;
6070esac
6071fi
6072PGP=$ac_cv_path_PGP
6073if test -n "$PGP"; then
6074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PGP" >&5
6075$as_echo "$PGP" >&6; }
6076else
6077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078$as_echo "no" >&6; }
6079fi
6080
6081
6082        if test x$PGP != xno; then
6083      	    MODULES="$MODULES m_pgp2"
6084
6085        fi
6086    elif test x$withval != xno; then
6087        PGP=$withval
6088        MODULES="$MODULES m_pgp2"
6089
6090    fi
6091
6092
6093    withval=""
6094
6095# Check whether --with-evolution-addressbook-export was given.
6096if test "${with_evolution_addressbook_export+set}" = set; then :
6097  withval=$with_evolution_addressbook_export;
6098fi
6099
6100    if test x$withval = xyes; then
6101        # Extract the first word of "evolution-addressbook-export", so it can be a program name with args.
6102set dummy evolution-addressbook-export; ac_word=$2
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104$as_echo_n "checking for $ac_word... " >&6; }
6105if ${ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT+:} false; then :
6106  $as_echo_n "(cached) " >&6
6107else
6108  case $EVOLUTION_ADDRESSBOOK_EXPORT in
6109  [\\/]* | ?:[\\/]*)
6110  ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT="$EVOLUTION_ADDRESSBOOK_EXPORT" # Let the user override the test with a path.
6111  ;;
6112  *)
6113  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114for as_dir in $PATH
6115do
6116  IFS=$as_save_IFS
6117  test -z "$as_dir" && as_dir=.
6118    for ac_exec_ext in '' $ac_executable_extensions; do
6119  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120    ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT="$as_dir/$ac_word$ac_exec_ext"
6121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122    break 2
6123  fi
6124done
6125  done
6126IFS=$as_save_IFS
6127
6128  test -z "$ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT" && ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT=""no""
6129  ;;
6130esac
6131fi
6132EVOLUTION_ADDRESSBOOK_EXPORT=$ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT
6133if test -n "$EVOLUTION_ADDRESSBOOK_EXPORT"; then
6134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EVOLUTION_ADDRESSBOOK_EXPORT" >&5
6135$as_echo "$EVOLUTION_ADDRESSBOOK_EXPORT" >&6; }
6136else
6137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138$as_echo "no" >&6; }
6139fi
6140
6141
6142        if test x$EVOLUTION_ADDRESSBOOK_EXPORT = xno; then
6143	    as_fn_error $? "evolution-addressbook-export not in PATH" "$LINENO" 5
6144        else
6145    	    MODULES="$MODULES m_evolution"
6146
6147        fi
6148    elif test x$withval = x; then
6149        # Extract the first word of "evolution-addressbook-export", so it can be a program name with args.
6150set dummy evolution-addressbook-export; ac_word=$2
6151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152$as_echo_n "checking for $ac_word... " >&6; }
6153if ${ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT+:} false; then :
6154  $as_echo_n "(cached) " >&6
6155else
6156  case $EVOLUTION_ADDRESSBOOK_EXPORT in
6157  [\\/]* | ?:[\\/]*)
6158  ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT="$EVOLUTION_ADDRESSBOOK_EXPORT" # Let the user override the test with a path.
6159  ;;
6160  *)
6161  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162for as_dir in $PATH
6163do
6164  IFS=$as_save_IFS
6165  test -z "$as_dir" && as_dir=.
6166    for ac_exec_ext in '' $ac_executable_extensions; do
6167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6168    ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT="$as_dir/$ac_word$ac_exec_ext"
6169    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170    break 2
6171  fi
6172done
6173  done
6174IFS=$as_save_IFS
6175
6176  test -z "$ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT" && ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT=""no""
6177  ;;
6178esac
6179fi
6180EVOLUTION_ADDRESSBOOK_EXPORT=$ac_cv_path_EVOLUTION_ADDRESSBOOK_EXPORT
6181if test -n "$EVOLUTION_ADDRESSBOOK_EXPORT"; then
6182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EVOLUTION_ADDRESSBOOK_EXPORT" >&5
6183$as_echo "$EVOLUTION_ADDRESSBOOK_EXPORT" >&6; }
6184else
6185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186$as_echo "no" >&6; }
6187fi
6188
6189
6190        if test x$EVOLUTION_ADDRESSBOOK_EXPORT != xno; then
6191      	    MODULES="$MODULES m_evolution"
6192
6193        fi
6194    elif test x$withval != xno; then
6195        EVOLUTION_ADDRESSBOOK_EXPORT=$withval
6196        MODULES="$MODULES m_evolution"
6197
6198    fi
6199
6200
6201# Extract the first word of "perl", so it can be a program name with args.
6202set dummy perl; ac_word=$2
6203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204$as_echo_n "checking for $ac_word... " >&6; }
6205if ${ac_cv_path_PERL+:} false; then :
6206  $as_echo_n "(cached) " >&6
6207else
6208  case $PERL in
6209  [\\/]* | ?:[\\/]*)
6210  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
6211  ;;
6212  *)
6213  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214for as_dir in $PATH
6215do
6216  IFS=$as_save_IFS
6217  test -z "$as_dir" && as_dir=.
6218    for ac_exec_ext in '' $ac_executable_extensions; do
6219  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
6221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222    break 2
6223  fi
6224done
6225  done
6226IFS=$as_save_IFS
6227
6228  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL=""no""
6229  ;;
6230esac
6231fi
6232PERL=$ac_cv_path_PERL
6233if test -n "$PERL"; then
6234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
6235$as_echo "$PERL" >&6; }
6236else
6237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238$as_echo "no" >&6; }
6239fi
6240
6241
6242if test "x$PERL" != xno ; then
6243	# m_fido needs nodelist2lbdb, which needs perl
6244	# m_palm needs palm_lsaddr, which needs perl
6245	# m_ldap needs mutt_ldap_query which is written in perl
6246	MODULES="$MODULES m_fido m_palm m_ldap"
6247
6248fi
6249
6250# m_osx_addressbook requires xcode (10.3) or projectbuilder (<10.3)
6251# Extract the first word of "xcodebuild", so it can be a program name with args.
6252set dummy xcodebuild; ac_word=$2
6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254$as_echo_n "checking for $ac_word... " >&6; }
6255if ${ac_cv_path_XCODEBUILD+:} false; then :
6256  $as_echo_n "(cached) " >&6
6257else
6258  case $XCODEBUILD in
6259  [\\/]* | ?:[\\/]*)
6260  ac_cv_path_XCODEBUILD="$XCODEBUILD" # Let the user override the test with a path.
6261  ;;
6262  *)
6263  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264for as_dir in $PATH
6265do
6266  IFS=$as_save_IFS
6267  test -z "$as_dir" && as_dir=.
6268    for ac_exec_ext in '' $ac_executable_extensions; do
6269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270    ac_cv_path_XCODEBUILD="$as_dir/$ac_word$ac_exec_ext"
6271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272    break 2
6273  fi
6274done
6275  done
6276IFS=$as_save_IFS
6277
6278  test -z "$ac_cv_path_XCODEBUILD" && ac_cv_path_XCODEBUILD=""no""
6279  ;;
6280esac
6281fi
6282XCODEBUILD=$ac_cv_path_XCODEBUILD
6283if test -n "$XCODEBUILD"; then
6284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCODEBUILD" >&5
6285$as_echo "$XCODEBUILD" >&6; }
6286else
6287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288$as_echo "no" >&6; }
6289fi
6290
6291
6292if test "x$XCODEBUILD" != xno; then
6293	MODULES="$MODULES m_osx_addressbook"
6294
6295else
6296	# Extract the first word of "pbxbuild", so it can be a program name with args.
6297set dummy pbxbuild; ac_word=$2
6298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299$as_echo_n "checking for $ac_word... " >&6; }
6300if ${ac_cv_path_PBXBUILD+:} false; then :
6301  $as_echo_n "(cached) " >&6
6302else
6303  case $PBXBUILD in
6304  [\\/]* | ?:[\\/]*)
6305  ac_cv_path_PBXBUILD="$PBXBUILD" # Let the user override the test with a path.
6306  ;;
6307  *)
6308  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309for as_dir in $PATH
6310do
6311  IFS=$as_save_IFS
6312  test -z "$as_dir" && as_dir=.
6313    for ac_exec_ext in '' $ac_executable_extensions; do
6314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6315    ac_cv_path_PBXBUILD="$as_dir/$ac_word$ac_exec_ext"
6316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317    break 2
6318  fi
6319done
6320  done
6321IFS=$as_save_IFS
6322
6323  test -z "$ac_cv_path_PBXBUILD" && ac_cv_path_PBXBUILD=""no""
6324  ;;
6325esac
6326fi
6327PBXBUILD=$ac_cv_path_PBXBUILD
6328if test -n "$PBXBUILD"; then
6329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PBXBUILD" >&5
6330$as_echo "$PBXBUILD" >&6; }
6331else
6332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333$as_echo "no" >&6; }
6334fi
6335
6336
6337	if test "x$PBXBUILD" != xno ; then
6338		MODULES="$MODULES m_osx_addressbook"
6339
6340	fi
6341fi
6342
6343VFORMAT="no"
6344ac_fn_c_check_header_mongrel "$LINENO" "vf_iface.h" "ac_cv_header_vf_iface_h" "$ac_includes_default"
6345if test "x$ac_cv_header_vf_iface_h" = xyes; then :
6346
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vf_read_file in -lvformat" >&5
6348$as_echo_n "checking for vf_read_file in -lvformat... " >&6; }
6349if ${ac_cv_lib_vformat_vf_read_file+:} false; then :
6350  $as_echo_n "(cached) " >&6
6351else
6352  ac_check_lib_save_LIBS=$LIBS
6353LIBS="-lvformat  $LIBS"
6354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355/* end confdefs.h.  */
6356
6357/* Override any GCC internal prototype to avoid an error.
6358   Use char because int might match the return type of a GCC
6359   builtin and then its argument prototype would still apply.  */
6360#ifdef __cplusplus
6361extern "C"
6362#endif
6363char vf_read_file ();
6364int
6365main ()
6366{
6367return vf_read_file ();
6368  ;
6369  return 0;
6370}
6371_ACEOF
6372if ac_fn_c_try_link "$LINENO"; then :
6373  ac_cv_lib_vformat_vf_read_file=yes
6374else
6375  ac_cv_lib_vformat_vf_read_file=no
6376fi
6377rm -f core conftest.err conftest.$ac_objext \
6378    conftest$ac_exeext conftest.$ac_ext
6379LIBS=$ac_check_lib_save_LIBS
6380fi
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vformat_vf_read_file" >&5
6382$as_echo "$ac_cv_lib_vformat_vf_read_file" >&6; }
6383if test "x$ac_cv_lib_vformat_vf_read_file" = xyes; then :
6384
6385    MODULES="$MODULES m_vcf"
6386    VFORMAT="yes"
6387
6388fi
6389
6390
6391fi
6392
6393
6394
6395
6396MODULES_SH=""
6397for i in $MODULES ; do
6398	MODULES_SH="$MODULES_SH $i.sh"
6399done
6400
6401# some voodoo to replace ${prefix} in perl script (mutt_ldap_query.pl):
6402SYSCONF_DIR=`test "$prefix" = NONE && prefix=$ac_default_prefix; eval echo "${sysconfdir}"`
6403
6404
6405LBDB_VERSION=`sed -e 's/^.*(\(.*\)).*$/\1/;q' < debian/changelog`
6406
6407
6408
6409ac_config_files="$ac_config_files Makefile lbdbq.sh munge.awk lbdb-fetchaddr.sh lbdb-munge.sh lbdb_lib.sh nodelist2lbdb.pl palm_lsaddr.pl mutt_ldap_query.pl $MODULES_SH $TACAWK lbdb.spec lbdb.rc"
6410
6411cat >confcache <<\_ACEOF
6412# This file is a shell script that caches the results of configure
6413# tests run on this system so they can be shared between configure
6414# scripts and configure runs, see configure's option --config-cache.
6415# It is not useful on other systems.  If it contains results you don't
6416# want to keep, you may remove or edit it.
6417#
6418# config.status only pays attention to the cache file if you give it
6419# the --recheck option to rerun configure.
6420#
6421# `ac_cv_env_foo' variables (set or unset) will be overridden when
6422# loading this file, other *unset* `ac_cv_foo' will be assigned the
6423# following values.
6424
6425_ACEOF
6426
6427# The following way of writing the cache mishandles newlines in values,
6428# but we know of no workaround that is simple, portable, and efficient.
6429# So, we kill variables containing newlines.
6430# Ultrix sh set writes to stderr and can't be redirected directly,
6431# and sets the high bit in the cache file unless we assign to the vars.
6432(
6433  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6434    eval ac_val=\$$ac_var
6435    case $ac_val in #(
6436    *${as_nl}*)
6437      case $ac_var in #(
6438      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6439$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6440      esac
6441      case $ac_var in #(
6442      _ | IFS | as_nl) ;; #(
6443      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6444      *) { eval $ac_var=; unset $ac_var;} ;;
6445      esac ;;
6446    esac
6447  done
6448
6449  (set) 2>&1 |
6450    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6451    *${as_nl}ac_space=\ *)
6452      # `set' does not quote correctly, so add quotes: double-quote
6453      # substitution turns \\\\ into \\, and sed turns \\ into \.
6454      sed -n \
6455	"s/'/'\\\\''/g;
6456	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6457      ;; #(
6458    *)
6459      # `set' quotes correctly as required by POSIX, so do not add quotes.
6460      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6461      ;;
6462    esac |
6463    sort
6464) |
6465  sed '
6466     /^ac_cv_env_/b end
6467     t clear
6468     :clear
6469     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6470     t end
6471     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6472     :end' >>confcache
6473if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6474  if test -w "$cache_file"; then
6475    if test "x$cache_file" != "x/dev/null"; then
6476      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6477$as_echo "$as_me: updating cache $cache_file" >&6;}
6478      if test ! -f "$cache_file" || test -h "$cache_file"; then
6479	cat confcache >"$cache_file"
6480      else
6481        case $cache_file in #(
6482        */* | ?:*)
6483	  mv -f confcache "$cache_file"$$ &&
6484	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6485        *)
6486	  mv -f confcache "$cache_file" ;;
6487	esac
6488      fi
6489    fi
6490  else
6491    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6492$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6493  fi
6494fi
6495rm -f confcache
6496
6497test "x$prefix" = xNONE && prefix=$ac_default_prefix
6498# Let make expand exec_prefix.
6499test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6500
6501# Transform confdefs.h into DEFS.
6502# Protect against shell expansion while executing Makefile rules.
6503# Protect against Makefile macro expansion.
6504#
6505# If the first sed substitution is executed (which looks for macros that
6506# take arguments), then branch to the quote section.  Otherwise,
6507# look for a macro that doesn't take arguments.
6508ac_script='
6509:mline
6510/\\$/{
6511 N
6512 s,\\\n,,
6513 b mline
6514}
6515t clear
6516:clear
6517s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
6518t quote
6519s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
6520t quote
6521b any
6522:quote
6523s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6524s/\[/\\&/g
6525s/\]/\\&/g
6526s/\$/$$/g
6527H
6528:any
6529${
6530	g
6531	s/^\n//
6532	s/\n/ /g
6533	p
6534}
6535'
6536DEFS=`sed -n "$ac_script" confdefs.h`
6537
6538
6539ac_libobjs=
6540ac_ltlibobjs=
6541U=
6542for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6543  # 1. Remove the extension, and $U if already installed.
6544  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6545  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6546  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6547  #    will be set to the directory where LIBOBJS objects are built.
6548  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6549  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6550done
6551LIBOBJS=$ac_libobjs
6552
6553LTLIBOBJS=$ac_ltlibobjs
6554
6555
6556
6557: "${CONFIG_STATUS=./config.status}"
6558ac_write_fail=0
6559ac_clean_files_save=$ac_clean_files
6560ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6561{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6562$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6563as_write_fail=0
6564cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6565#! $SHELL
6566# Generated by $as_me.
6567# Run this file to recreate the current configuration.
6568# Compiler output produced by configure, useful for debugging
6569# configure, is in config.log if it exists.
6570
6571debug=false
6572ac_cs_recheck=false
6573ac_cs_silent=false
6574
6575SHELL=\${CONFIG_SHELL-$SHELL}
6576export SHELL
6577_ASEOF
6578cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6579## -------------------- ##
6580## M4sh Initialization. ##
6581## -------------------- ##
6582
6583# Be more Bourne compatible
6584DUALCASE=1; export DUALCASE # for MKS sh
6585if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6586  emulate sh
6587  NULLCMD=:
6588  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6589  # is contrary to our usage.  Disable this feature.
6590  alias -g '${1+"$@"}'='"$@"'
6591  setopt NO_GLOB_SUBST
6592else
6593  case `(set -o) 2>/dev/null` in #(
6594  *posix*) :
6595    set -o posix ;; #(
6596  *) :
6597     ;;
6598esac
6599fi
6600
6601
6602as_nl='
6603'
6604export as_nl
6605# Printing a long string crashes Solaris 7 /usr/bin/printf.
6606as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6607as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6608as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6609# Prefer a ksh shell builtin over an external printf program on Solaris,
6610# but without wasting forks for bash or zsh.
6611if test -z "$BASH_VERSION$ZSH_VERSION" \
6612    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6613  as_echo='print -r --'
6614  as_echo_n='print -rn --'
6615elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6616  as_echo='printf %s\n'
6617  as_echo_n='printf %s'
6618else
6619  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6620    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6621    as_echo_n='/usr/ucb/echo -n'
6622  else
6623    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6624    as_echo_n_body='eval
6625      arg=$1;
6626      case $arg in #(
6627      *"$as_nl"*)
6628	expr "X$arg" : "X\\(.*\\)$as_nl";
6629	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6630      esac;
6631      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6632    '
6633    export as_echo_n_body
6634    as_echo_n='sh -c $as_echo_n_body as_echo'
6635  fi
6636  export as_echo_body
6637  as_echo='sh -c $as_echo_body as_echo'
6638fi
6639
6640# The user is always right.
6641if test "${PATH_SEPARATOR+set}" != set; then
6642  PATH_SEPARATOR=:
6643  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6644    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6645      PATH_SEPARATOR=';'
6646  }
6647fi
6648
6649
6650# IFS
6651# We need space, tab and new line, in precisely that order.  Quoting is
6652# there to prevent editors from complaining about space-tab.
6653# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6654# splitting by setting IFS to empty value.)
6655IFS=" ""	$as_nl"
6656
6657# Find who we are.  Look in the path if we contain no directory separator.
6658as_myself=
6659case $0 in #((
6660  *[\\/]* ) as_myself=$0 ;;
6661  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662for as_dir in $PATH
6663do
6664  IFS=$as_save_IFS
6665  test -z "$as_dir" && as_dir=.
6666    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6667  done
6668IFS=$as_save_IFS
6669
6670     ;;
6671esac
6672# We did not find ourselves, most probably we were run as `sh COMMAND'
6673# in which case we are not to be found in the path.
6674if test "x$as_myself" = x; then
6675  as_myself=$0
6676fi
6677if test ! -f "$as_myself"; then
6678  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6679  exit 1
6680fi
6681
6682# Unset variables that we do not need and which cause bugs (e.g. in
6683# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6684# suppresses any "Segmentation fault" message there.  '((' could
6685# trigger a bug in pdksh 5.2.14.
6686for as_var in BASH_ENV ENV MAIL MAILPATH
6687do eval test x\${$as_var+set} = xset \
6688  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6689done
6690PS1='$ '
6691PS2='> '
6692PS4='+ '
6693
6694# NLS nuisances.
6695LC_ALL=C
6696export LC_ALL
6697LANGUAGE=C
6698export LANGUAGE
6699
6700# CDPATH.
6701(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6702
6703
6704# as_fn_error STATUS ERROR [LINENO LOG_FD]
6705# ----------------------------------------
6706# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6707# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6708# script with STATUS, using 1 if that was 0.
6709as_fn_error ()
6710{
6711  as_status=$1; test $as_status -eq 0 && as_status=1
6712  if test "$4"; then
6713    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6714    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6715  fi
6716  $as_echo "$as_me: error: $2" >&2
6717  as_fn_exit $as_status
6718} # as_fn_error
6719
6720
6721# as_fn_set_status STATUS
6722# -----------------------
6723# Set $? to STATUS, without forking.
6724as_fn_set_status ()
6725{
6726  return $1
6727} # as_fn_set_status
6728
6729# as_fn_exit STATUS
6730# -----------------
6731# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6732as_fn_exit ()
6733{
6734  set +e
6735  as_fn_set_status $1
6736  exit $1
6737} # as_fn_exit
6738
6739# as_fn_unset VAR
6740# ---------------
6741# Portably unset VAR.
6742as_fn_unset ()
6743{
6744  { eval $1=; unset $1;}
6745}
6746as_unset=as_fn_unset
6747# as_fn_append VAR VALUE
6748# ----------------------
6749# Append the text in VALUE to the end of the definition contained in VAR. Take
6750# advantage of any shell optimizations that allow amortized linear growth over
6751# repeated appends, instead of the typical quadratic growth present in naive
6752# implementations.
6753if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6754  eval 'as_fn_append ()
6755  {
6756    eval $1+=\$2
6757  }'
6758else
6759  as_fn_append ()
6760  {
6761    eval $1=\$$1\$2
6762  }
6763fi # as_fn_append
6764
6765# as_fn_arith ARG...
6766# ------------------
6767# Perform arithmetic evaluation on the ARGs, and store the result in the
6768# global $as_val. Take advantage of shells that can avoid forks. The arguments
6769# must be portable across $(()) and expr.
6770if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6771  eval 'as_fn_arith ()
6772  {
6773    as_val=$(( $* ))
6774  }'
6775else
6776  as_fn_arith ()
6777  {
6778    as_val=`expr "$@" || test $? -eq 1`
6779  }
6780fi # as_fn_arith
6781
6782
6783if expr a : '\(a\)' >/dev/null 2>&1 &&
6784   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6785  as_expr=expr
6786else
6787  as_expr=false
6788fi
6789
6790if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6791  as_basename=basename
6792else
6793  as_basename=false
6794fi
6795
6796if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6797  as_dirname=dirname
6798else
6799  as_dirname=false
6800fi
6801
6802as_me=`$as_basename -- "$0" ||
6803$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6804	 X"$0" : 'X\(//\)$' \| \
6805	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6806$as_echo X/"$0" |
6807    sed '/^.*\/\([^/][^/]*\)\/*$/{
6808	    s//\1/
6809	    q
6810	  }
6811	  /^X\/\(\/\/\)$/{
6812	    s//\1/
6813	    q
6814	  }
6815	  /^X\/\(\/\).*/{
6816	    s//\1/
6817	    q
6818	  }
6819	  s/.*/./; q'`
6820
6821# Avoid depending upon Character Ranges.
6822as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6823as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6824as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6825as_cr_digits='0123456789'
6826as_cr_alnum=$as_cr_Letters$as_cr_digits
6827
6828ECHO_C= ECHO_N= ECHO_T=
6829case `echo -n x` in #(((((
6830-n*)
6831  case `echo 'xy\c'` in
6832  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6833  xy)  ECHO_C='\c';;
6834  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6835       ECHO_T='	';;
6836  esac;;
6837*)
6838  ECHO_N='-n';;
6839esac
6840
6841rm -f conf$$ conf$$.exe conf$$.file
6842if test -d conf$$.dir; then
6843  rm -f conf$$.dir/conf$$.file
6844else
6845  rm -f conf$$.dir
6846  mkdir conf$$.dir 2>/dev/null
6847fi
6848if (echo >conf$$.file) 2>/dev/null; then
6849  if ln -s conf$$.file conf$$ 2>/dev/null; then
6850    as_ln_s='ln -s'
6851    # ... but there are two gotchas:
6852    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6853    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6854    # In both cases, we have to default to `cp -pR'.
6855    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6856      as_ln_s='cp -pR'
6857  elif ln conf$$.file conf$$ 2>/dev/null; then
6858    as_ln_s=ln
6859  else
6860    as_ln_s='cp -pR'
6861  fi
6862else
6863  as_ln_s='cp -pR'
6864fi
6865rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6866rmdir conf$$.dir 2>/dev/null
6867
6868
6869# as_fn_mkdir_p
6870# -------------
6871# Create "$as_dir" as a directory, including parents if necessary.
6872as_fn_mkdir_p ()
6873{
6874
6875  case $as_dir in #(
6876  -*) as_dir=./$as_dir;;
6877  esac
6878  test -d "$as_dir" || eval $as_mkdir_p || {
6879    as_dirs=
6880    while :; do
6881      case $as_dir in #(
6882      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6883      *) as_qdir=$as_dir;;
6884      esac
6885      as_dirs="'$as_qdir' $as_dirs"
6886      as_dir=`$as_dirname -- "$as_dir" ||
6887$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6888	 X"$as_dir" : 'X\(//\)[^/]' \| \
6889	 X"$as_dir" : 'X\(//\)$' \| \
6890	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6891$as_echo X"$as_dir" |
6892    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6893	    s//\1/
6894	    q
6895	  }
6896	  /^X\(\/\/\)[^/].*/{
6897	    s//\1/
6898	    q
6899	  }
6900	  /^X\(\/\/\)$/{
6901	    s//\1/
6902	    q
6903	  }
6904	  /^X\(\/\).*/{
6905	    s//\1/
6906	    q
6907	  }
6908	  s/.*/./; q'`
6909      test -d "$as_dir" && break
6910    done
6911    test -z "$as_dirs" || eval "mkdir $as_dirs"
6912  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6913
6914
6915} # as_fn_mkdir_p
6916if mkdir -p . 2>/dev/null; then
6917  as_mkdir_p='mkdir -p "$as_dir"'
6918else
6919  test -d ./-p && rmdir ./-p
6920  as_mkdir_p=false
6921fi
6922
6923
6924# as_fn_executable_p FILE
6925# -----------------------
6926# Test if FILE is an executable regular file.
6927as_fn_executable_p ()
6928{
6929  test -f "$1" && test -x "$1"
6930} # as_fn_executable_p
6931as_test_x='test -x'
6932as_executable_p=as_fn_executable_p
6933
6934# Sed expression to map a string onto a valid CPP name.
6935as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6936
6937# Sed expression to map a string onto a valid variable name.
6938as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6939
6940
6941exec 6>&1
6942## ----------------------------------- ##
6943## Main body of $CONFIG_STATUS script. ##
6944## ----------------------------------- ##
6945_ASEOF
6946test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6947
6948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6949# Save the log message, to keep $0 and so on meaningful, and to
6950# report actual input values of CONFIG_FILES etc. instead of their
6951# values after options handling.
6952ac_log="
6953This file was extended by $as_me, which was
6954generated by GNU Autoconf 2.69.  Invocation command line was
6955
6956  CONFIG_FILES    = $CONFIG_FILES
6957  CONFIG_HEADERS  = $CONFIG_HEADERS
6958  CONFIG_LINKS    = $CONFIG_LINKS
6959  CONFIG_COMMANDS = $CONFIG_COMMANDS
6960  $ $0 $@
6961
6962on `(hostname || uname -n) 2>/dev/null | sed 1q`
6963"
6964
6965_ACEOF
6966
6967case $ac_config_files in *"
6968"*) set x $ac_config_files; shift; ac_config_files=$*;;
6969esac
6970
6971
6972
6973cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6974# Files that config.status was made for.
6975config_files="$ac_config_files"
6976
6977_ACEOF
6978
6979cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6980ac_cs_usage="\
6981\`$as_me' instantiates files and other configuration actions
6982from templates according to the current configuration.  Unless the files
6983and actions are specified as TAGs, all are instantiated by default.
6984
6985Usage: $0 [OPTION]... [TAG]...
6986
6987  -h, --help       print this help, then exit
6988  -V, --version    print version number and configuration settings, then exit
6989      --config     print configuration, then exit
6990  -q, --quiet, --silent
6991                   do not print progress messages
6992  -d, --debug      don't remove temporary files
6993      --recheck    update $as_me by reconfiguring in the same conditions
6994      --file=FILE[:TEMPLATE]
6995                   instantiate the configuration file FILE
6996
6997Configuration files:
6998$config_files
6999
7000Report bugs to the package provider."
7001
7002_ACEOF
7003cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7004ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7005ac_cs_version="\\
7006config.status
7007configured by $0, generated by GNU Autoconf 2.69,
7008  with options \\"\$ac_cs_config\\"
7009
7010Copyright (C) 2012 Free Software Foundation, Inc.
7011This config.status script is free software; the Free Software Foundation
7012gives unlimited permission to copy, distribute and modify it."
7013
7014ac_pwd='$ac_pwd'
7015srcdir='$srcdir'
7016INSTALL='$INSTALL'
7017test -n "\$AWK" || AWK=awk
7018_ACEOF
7019
7020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7021# The default lists apply if the user does not specify any file.
7022ac_need_defaults=:
7023while test $# != 0
7024do
7025  case $1 in
7026  --*=?*)
7027    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7028    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7029    ac_shift=:
7030    ;;
7031  --*=)
7032    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7033    ac_optarg=
7034    ac_shift=:
7035    ;;
7036  *)
7037    ac_option=$1
7038    ac_optarg=$2
7039    ac_shift=shift
7040    ;;
7041  esac
7042
7043  case $ac_option in
7044  # Handling of the options.
7045  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7046    ac_cs_recheck=: ;;
7047  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7048    $as_echo "$ac_cs_version"; exit ;;
7049  --config | --confi | --conf | --con | --co | --c )
7050    $as_echo "$ac_cs_config"; exit ;;
7051  --debug | --debu | --deb | --de | --d | -d )
7052    debug=: ;;
7053  --file | --fil | --fi | --f )
7054    $ac_shift
7055    case $ac_optarg in
7056    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7057    '') as_fn_error $? "missing file argument" ;;
7058    esac
7059    as_fn_append CONFIG_FILES " '$ac_optarg'"
7060    ac_need_defaults=false;;
7061  --he | --h |  --help | --hel | -h )
7062    $as_echo "$ac_cs_usage"; exit ;;
7063  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7064  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7065    ac_cs_silent=: ;;
7066
7067  # This is an error.
7068  -*) as_fn_error $? "unrecognized option: \`$1'
7069Try \`$0 --help' for more information." ;;
7070
7071  *) as_fn_append ac_config_targets " $1"
7072     ac_need_defaults=false ;;
7073
7074  esac
7075  shift
7076done
7077
7078ac_configure_extra_args=
7079
7080if $ac_cs_silent; then
7081  exec 6>/dev/null
7082  ac_configure_extra_args="$ac_configure_extra_args --silent"
7083fi
7084
7085_ACEOF
7086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7087if \$ac_cs_recheck; then
7088  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7089  shift
7090  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7091  CONFIG_SHELL='$SHELL'
7092  export CONFIG_SHELL
7093  exec "\$@"
7094fi
7095
7096_ACEOF
7097cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7098exec 5>>config.log
7099{
7100  echo
7101  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7102## Running $as_me. ##
7103_ASBOX
7104  $as_echo "$ac_log"
7105} >&5
7106
7107_ACEOF
7108cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7109_ACEOF
7110
7111cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7112
7113# Handling of arguments.
7114for ac_config_target in $ac_config_targets
7115do
7116  case $ac_config_target in
7117    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7118    "lbdbq.sh") CONFIG_FILES="$CONFIG_FILES lbdbq.sh" ;;
7119    "munge.awk") CONFIG_FILES="$CONFIG_FILES munge.awk" ;;
7120    "lbdb-fetchaddr.sh") CONFIG_FILES="$CONFIG_FILES lbdb-fetchaddr.sh" ;;
7121    "lbdb-munge.sh") CONFIG_FILES="$CONFIG_FILES lbdb-munge.sh" ;;
7122    "lbdb_lib.sh") CONFIG_FILES="$CONFIG_FILES lbdb_lib.sh" ;;
7123    "nodelist2lbdb.pl") CONFIG_FILES="$CONFIG_FILES nodelist2lbdb.pl" ;;
7124    "palm_lsaddr.pl") CONFIG_FILES="$CONFIG_FILES palm_lsaddr.pl" ;;
7125    "mutt_ldap_query.pl") CONFIG_FILES="$CONFIG_FILES mutt_ldap_query.pl" ;;
7126    "$MODULES_SH") CONFIG_FILES="$CONFIG_FILES $MODULES_SH" ;;
7127    "$TACAWK") CONFIG_FILES="$CONFIG_FILES $TACAWK" ;;
7128    "lbdb.spec") CONFIG_FILES="$CONFIG_FILES lbdb.spec" ;;
7129    "lbdb.rc") CONFIG_FILES="$CONFIG_FILES lbdb.rc" ;;
7130
7131  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7132  esac
7133done
7134
7135
7136# If the user did not use the arguments to specify the items to instantiate,
7137# then the envvar interface is used.  Set only those that are not.
7138# We use the long form for the default assignment because of an extremely
7139# bizarre bug on SunOS 4.1.3.
7140if $ac_need_defaults; then
7141  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7142fi
7143
7144# Have a temporary directory for convenience.  Make it in the build tree
7145# simply because there is no reason against having it here, and in addition,
7146# creating and moving files from /tmp can sometimes cause problems.
7147# Hook for its removal unless debugging.
7148# Note that there is a small window in which the directory will not be cleaned:
7149# after its creation but before its name has been assigned to `$tmp'.
7150$debug ||
7151{
7152  tmp= ac_tmp=
7153  trap 'exit_status=$?
7154  : "${ac_tmp:=$tmp}"
7155  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7156' 0
7157  trap 'as_fn_exit 1' 1 2 13 15
7158}
7159# Create a (secure) tmp directory for tmp files.
7160
7161{
7162  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7163  test -d "$tmp"
7164}  ||
7165{
7166  tmp=./conf$$-$RANDOM
7167  (umask 077 && mkdir "$tmp")
7168} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7169ac_tmp=$tmp
7170
7171# Set up the scripts for CONFIG_FILES section.
7172# No need to generate them if there are no CONFIG_FILES.
7173# This happens for instance with `./config.status config.h'.
7174if test -n "$CONFIG_FILES"; then
7175
7176
7177ac_cr=`echo X | tr X '\015'`
7178# On cygwin, bash can eat \r inside `` if the user requested igncr.
7179# But we know of no other shell where ac_cr would be empty at this
7180# point, so we can use a bashism as a fallback.
7181if test "x$ac_cr" = x; then
7182  eval ac_cr=\$\'\\r\'
7183fi
7184ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7185if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7186  ac_cs_awk_cr='\\r'
7187else
7188  ac_cs_awk_cr=$ac_cr
7189fi
7190
7191echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7192_ACEOF
7193
7194
7195{
7196  echo "cat >conf$$subs.awk <<_ACEOF" &&
7197  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7198  echo "_ACEOF"
7199} >conf$$subs.sh ||
7200  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7201ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7202ac_delim='%!_!# '
7203for ac_last_try in false false false false false :; do
7204  . ./conf$$subs.sh ||
7205    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7206
7207  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7208  if test $ac_delim_n = $ac_delim_num; then
7209    break
7210  elif $ac_last_try; then
7211    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7212  else
7213    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7214  fi
7215done
7216rm -f conf$$subs.sh
7217
7218cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7219cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7220_ACEOF
7221sed -n '
7222h
7223s/^/S["/; s/!.*/"]=/
7224p
7225g
7226s/^[^!]*!//
7227:repl
7228t repl
7229s/'"$ac_delim"'$//
7230t delim
7231:nl
7232h
7233s/\(.\{148\}\)..*/\1/
7234t more1
7235s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7236p
7237n
7238b repl
7239:more1
7240s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7241p
7242g
7243s/.\{148\}//
7244t nl
7245:delim
7246h
7247s/\(.\{148\}\)..*/\1/
7248t more2
7249s/["\\]/\\&/g; s/^/"/; s/$/"/
7250p
7251b
7252:more2
7253s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7254p
7255g
7256s/.\{148\}//
7257t delim
7258' <conf$$subs.awk | sed '
7259/^[^""]/{
7260  N
7261  s/\n//
7262}
7263' >>$CONFIG_STATUS || ac_write_fail=1
7264rm -f conf$$subs.awk
7265cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7266_ACAWK
7267cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7268  for (key in S) S_is_set[key] = 1
7269  FS = ""
7270
7271}
7272{
7273  line = $ 0
7274  nfields = split(line, field, "@")
7275  substed = 0
7276  len = length(field[1])
7277  for (i = 2; i < nfields; i++) {
7278    key = field[i]
7279    keylen = length(key)
7280    if (S_is_set[key]) {
7281      value = S[key]
7282      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7283      len += length(value) + length(field[++i])
7284      substed = 1
7285    } else
7286      len += 1 + keylen
7287  }
7288
7289  print line
7290}
7291
7292_ACAWK
7293_ACEOF
7294cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7295if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7296  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7297else
7298  cat
7299fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7300  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7301_ACEOF
7302
7303# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7304# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7305# trailing colons and then remove the whole line if VPATH becomes empty
7306# (actually we leave an empty line to preserve line numbers).
7307if test "x$srcdir" = x.; then
7308  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7309h
7310s///
7311s/^/:/
7312s/[	 ]*$/:/
7313s/:\$(srcdir):/:/g
7314s/:\${srcdir}:/:/g
7315s/:@srcdir@:/:/g
7316s/^:*//
7317s/:*$//
7318x
7319s/\(=[	 ]*\).*/\1/
7320G
7321s/\n//
7322s/^[^=]*=[	 ]*$//
7323}'
7324fi
7325
7326cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7327fi # test -n "$CONFIG_FILES"
7328
7329
7330eval set X "  :F $CONFIG_FILES      "
7331shift
7332for ac_tag
7333do
7334  case $ac_tag in
7335  :[FHLC]) ac_mode=$ac_tag; continue;;
7336  esac
7337  case $ac_mode$ac_tag in
7338  :[FHL]*:*);;
7339  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7340  :[FH]-) ac_tag=-:-;;
7341  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7342  esac
7343  ac_save_IFS=$IFS
7344  IFS=:
7345  set x $ac_tag
7346  IFS=$ac_save_IFS
7347  shift
7348  ac_file=$1
7349  shift
7350
7351  case $ac_mode in
7352  :L) ac_source=$1;;
7353  :[FH])
7354    ac_file_inputs=
7355    for ac_f
7356    do
7357      case $ac_f in
7358      -) ac_f="$ac_tmp/stdin";;
7359      *) # Look for the file first in the build tree, then in the source tree
7360	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7361	 # because $ac_f cannot contain `:'.
7362	 test -f "$ac_f" ||
7363	   case $ac_f in
7364	   [\\/$]*) false;;
7365	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7366	   esac ||
7367	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7368      esac
7369      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7370      as_fn_append ac_file_inputs " '$ac_f'"
7371    done
7372
7373    # Let's still pretend it is `configure' which instantiates (i.e., don't
7374    # use $as_me), people would be surprised to read:
7375    #    /* config.h.  Generated by config.status.  */
7376    configure_input='Generated from '`
7377	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7378	`' by configure.'
7379    if test x"$ac_file" != x-; then
7380      configure_input="$ac_file.  $configure_input"
7381      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7382$as_echo "$as_me: creating $ac_file" >&6;}
7383    fi
7384    # Neutralize special characters interpreted by sed in replacement strings.
7385    case $configure_input in #(
7386    *\&* | *\|* | *\\* )
7387       ac_sed_conf_input=`$as_echo "$configure_input" |
7388       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7389    *) ac_sed_conf_input=$configure_input;;
7390    esac
7391
7392    case $ac_tag in
7393    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7394      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7395    esac
7396    ;;
7397  esac
7398
7399  ac_dir=`$as_dirname -- "$ac_file" ||
7400$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7401	 X"$ac_file" : 'X\(//\)[^/]' \| \
7402	 X"$ac_file" : 'X\(//\)$' \| \
7403	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7404$as_echo X"$ac_file" |
7405    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7406	    s//\1/
7407	    q
7408	  }
7409	  /^X\(\/\/\)[^/].*/{
7410	    s//\1/
7411	    q
7412	  }
7413	  /^X\(\/\/\)$/{
7414	    s//\1/
7415	    q
7416	  }
7417	  /^X\(\/\).*/{
7418	    s//\1/
7419	    q
7420	  }
7421	  s/.*/./; q'`
7422  as_dir="$ac_dir"; as_fn_mkdir_p
7423  ac_builddir=.
7424
7425case "$ac_dir" in
7426.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7427*)
7428  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7429  # A ".." for each directory in $ac_dir_suffix.
7430  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7431  case $ac_top_builddir_sub in
7432  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7433  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7434  esac ;;
7435esac
7436ac_abs_top_builddir=$ac_pwd
7437ac_abs_builddir=$ac_pwd$ac_dir_suffix
7438# for backward compatibility:
7439ac_top_builddir=$ac_top_build_prefix
7440
7441case $srcdir in
7442  .)  # We are building in place.
7443    ac_srcdir=.
7444    ac_top_srcdir=$ac_top_builddir_sub
7445    ac_abs_top_srcdir=$ac_pwd ;;
7446  [\\/]* | ?:[\\/]* )  # Absolute name.
7447    ac_srcdir=$srcdir$ac_dir_suffix;
7448    ac_top_srcdir=$srcdir
7449    ac_abs_top_srcdir=$srcdir ;;
7450  *) # Relative name.
7451    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7452    ac_top_srcdir=$ac_top_build_prefix$srcdir
7453    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7454esac
7455ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7456
7457
7458  case $ac_mode in
7459  :F)
7460  #
7461  # CONFIG_FILE
7462  #
7463
7464  case $INSTALL in
7465  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7466  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7467  esac
7468_ACEOF
7469
7470cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7471# If the template does not know about datarootdir, expand it.
7472# FIXME: This hack should be removed a few years after 2.60.
7473ac_datarootdir_hack=; ac_datarootdir_seen=
7474ac_sed_dataroot='
7475/datarootdir/ {
7476  p
7477  q
7478}
7479/@datadir@/p
7480/@docdir@/p
7481/@infodir@/p
7482/@localedir@/p
7483/@mandir@/p'
7484case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7485*datarootdir*) ac_datarootdir_seen=yes;;
7486*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7487  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7488$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7489_ACEOF
7490cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7491  ac_datarootdir_hack='
7492  s&@datadir@&$datadir&g
7493  s&@docdir@&$docdir&g
7494  s&@infodir@&$infodir&g
7495  s&@localedir@&$localedir&g
7496  s&@mandir@&$mandir&g
7497  s&\\\${datarootdir}&$datarootdir&g' ;;
7498esac
7499_ACEOF
7500
7501# Neutralize VPATH when `$srcdir' = `.'.
7502# Shell code in configure.ac might set extrasub.
7503# FIXME: do we really want to maintain this feature?
7504cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7505ac_sed_extra="$ac_vpsub
7506$extrasub
7507_ACEOF
7508cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7509:t
7510/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7511s|@configure_input@|$ac_sed_conf_input|;t t
7512s&@top_builddir@&$ac_top_builddir_sub&;t t
7513s&@top_build_prefix@&$ac_top_build_prefix&;t t
7514s&@srcdir@&$ac_srcdir&;t t
7515s&@abs_srcdir@&$ac_abs_srcdir&;t t
7516s&@top_srcdir@&$ac_top_srcdir&;t t
7517s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7518s&@builddir@&$ac_builddir&;t t
7519s&@abs_builddir@&$ac_abs_builddir&;t t
7520s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7521s&@INSTALL@&$ac_INSTALL&;t t
7522$ac_datarootdir_hack
7523"
7524eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7525  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7526
7527test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7528  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7529  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7530      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7531  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7532which seems to be undefined.  Please make sure it is defined" >&5
7533$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7534which seems to be undefined.  Please make sure it is defined" >&2;}
7535
7536  rm -f "$ac_tmp/stdin"
7537  case $ac_file in
7538  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7539  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7540  esac \
7541  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7542 ;;
7543
7544
7545
7546  esac
7547
7548done # for ac_tag
7549
7550
7551as_fn_exit 0
7552_ACEOF
7553ac_clean_files=$ac_clean_files_save
7554
7555test $ac_write_fail = 0 ||
7556  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7557
7558
7559# configure is writing to config.log, and then calls config.status.
7560# config.status does its own redirection, appending to config.log.
7561# Unfortunately, on DOS this fails, as config.log is still kept open
7562# by configure, so config.status won't be able to write to it; its
7563# output is simply discarded.  So we exec the FD to /dev/null,
7564# effectively closing config.log, so it can be properly (re)opened and
7565# appended to by config.status.  When coming back to configure, we
7566# need to make the FD available again.
7567if test "$no_create" != yes; then
7568  ac_cs_success=:
7569  ac_config_status_args=
7570  test "$silent" = yes &&
7571    ac_config_status_args="$ac_config_status_args --quiet"
7572  exec 5>/dev/null
7573  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7574  exec 5>>config.log
7575  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7576  # would make configure fail if this is the last instruction.
7577  $ac_cs_success || as_fn_exit 1
7578fi
7579if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7580  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7581$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7582fi
7583
7584