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