source: mod_gnutls/configure @ de80d66

debian/masterdebian/stretch-backportsjessie-backportsupstream upstream/0.1.0
Last change on this file since de80d66 was de80d66, checked in by Daniel Kahn Gillmor <dkg@…>, 8 years ago

Imported Upstream version 0.1.0

  • Property mode set to 100755
File size: 162.9 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for mod_gnutls 0.1.0.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68         X"$0" : 'X\(//\)$' \| \
69         X"$0" : 'X\(/\)$' \| \
70         .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73          /^X\/\(\/\/\)$/{ s//\1/; q; }
74          /^X\/\(\/\).*/{ s//\1/; q; }
75          s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136         case $as_dir in
137         /*)
138           if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146             CONFIG_SHELL=$as_dir/$as_base
147             export CONFIG_SHELL
148             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149           fi;;
150         esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='      ' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS="   $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME='mod_gnutls'
269PACKAGE_TARNAME='mod_gnutls'
270PACKAGE_VERSION='0.1.0'
271PACKAGE_STRING='mod_gnutls 0.1.0'
272PACKAGE_BUGREPORT=''
273
274ac_unique_file="src/mod_gnutls.c"
275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MOD_GNUTLS_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP APXS_BIN AP_DEFS AP_PREFIX AP_CFLAGS AP_CPPFLAGS AP_INCLUDES AP_INCLUDEDIR AP_LIBEXECDIR AP_VERSION AP_SYSCONFDIR AP_BINDIR AP_SBINDIR APR_INCLUDES APU_INCLUDES APXS_EXTENSION APXS_CFLAGS LIBTOOL GTLS_BIN LIBGNUTLS_LIBS LIBGNUTLS_CFLAGS LIBGNUTLS_VERSION GNUTLS_CERTTOOL LIBGNUTLS_PREFIX APR_MEMCACHE_LIBS APR_MEMCACHE_CFLAGS have_apr_memcache MODULE_CFLAGS MODULE_LIBS LIBOBJS LTLIBOBJS'
276ac_subst_files=''
277
278# Initialize some variables set by options.
279ac_init_help=
280ac_init_version=false
281# The variables have the same names as the options, with
282# dashes changed to underlines.
283cache_file=/dev/null
284exec_prefix=NONE
285no_create=
286no_recursion=
287prefix=NONE
288program_prefix=NONE
289program_suffix=NONE
290program_transform_name=s,x,x,
291silent=
292site=
293srcdir=
294verbose=
295x_includes=NONE
296x_libraries=NONE
297
298# Installation directory options.
299# These are left unexpanded so users can "make install exec_prefix=/foo"
300# and all the variables that are supposed to be based on exec_prefix
301# by default will actually change.
302# Use braces instead of parens because sh, perl, etc. also accept them.
303bindir='${exec_prefix}/bin'
304sbindir='${exec_prefix}/sbin'
305libexecdir='${exec_prefix}/libexec'
306datadir='${prefix}/share'
307sysconfdir='${prefix}/etc'
308sharedstatedir='${prefix}/com'
309localstatedir='${prefix}/var'
310libdir='${exec_prefix}/lib'
311includedir='${prefix}/include'
312oldincludedir='/usr/include'
313infodir='${prefix}/info'
314mandir='${prefix}/man'
315
316ac_prev=
317for ac_option
318do
319  # If the previous option needs an argument, assign it.
320  if test -n "$ac_prev"; then
321    eval "$ac_prev=\$ac_option"
322    ac_prev=
323    continue
324  fi
325
326  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328  # Accept the important Cygnus configure options, so we can diagnose typos.
329
330  case $ac_option in
331
332  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333    ac_prev=bindir ;;
334  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335    bindir=$ac_optarg ;;
336
337  -build | --build | --buil | --bui | --bu)
338    ac_prev=build_alias ;;
339  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340    build_alias=$ac_optarg ;;
341
342  -cache-file | --cache-file | --cache-fil | --cache-fi \
343  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344    ac_prev=cache_file ;;
345  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347    cache_file=$ac_optarg ;;
348
349  --config-cache | -C)
350    cache_file=config.cache ;;
351
352  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353    ac_prev=datadir ;;
354  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355  | --da=*)
356    datadir=$ac_optarg ;;
357
358  -disable-* | --disable-*)
359    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360    # Reject names that are not valid shell variable names.
361    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363   { (exit 1); exit 1; }; }
364    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365    eval "enable_$ac_feature=no" ;;
366
367  -enable-* | --enable-*)
368    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369    # Reject names that are not valid shell variable names.
370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372   { (exit 1); exit 1; }; }
373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374    case $ac_option in
375      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376      *) ac_optarg=yes ;;
377    esac
378    eval "enable_$ac_feature='$ac_optarg'" ;;
379
380  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382  | --exec | --exe | --ex)
383    ac_prev=exec_prefix ;;
384  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386  | --exec=* | --exe=* | --ex=*)
387    exec_prefix=$ac_optarg ;;
388
389  -gas | --gas | --ga | --g)
390    # Obsolete; use --with-gas.
391    with_gas=yes ;;
392
393  -help | --help | --hel | --he | -h)
394    ac_init_help=long ;;
395  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396    ac_init_help=recursive ;;
397  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398    ac_init_help=short ;;
399
400  -host | --host | --hos | --ho)
401    ac_prev=host_alias ;;
402  -host=* | --host=* | --hos=* | --ho=*)
403    host_alias=$ac_optarg ;;
404
405  -includedir | --includedir | --includedi | --included | --include \
406  | --includ | --inclu | --incl | --inc)
407    ac_prev=includedir ;;
408  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409  | --includ=* | --inclu=* | --incl=* | --inc=*)
410    includedir=$ac_optarg ;;
411
412  -infodir | --infodir | --infodi | --infod | --info | --inf)
413    ac_prev=infodir ;;
414  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415    infodir=$ac_optarg ;;
416
417  -libdir | --libdir | --libdi | --libd)
418    ac_prev=libdir ;;
419  -libdir=* | --libdir=* | --libdi=* | --libd=*)
420    libdir=$ac_optarg ;;
421
422  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423  | --libexe | --libex | --libe)
424    ac_prev=libexecdir ;;
425  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426  | --libexe=* | --libex=* | --libe=*)
427    libexecdir=$ac_optarg ;;
428
429  -localstatedir | --localstatedir | --localstatedi | --localstated \
430  | --localstate | --localstat | --localsta | --localst \
431  | --locals | --local | --loca | --loc | --lo)
432    ac_prev=localstatedir ;;
433  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436    localstatedir=$ac_optarg ;;
437
438  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439    ac_prev=mandir ;;
440  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441    mandir=$ac_optarg ;;
442
443  -nfp | --nfp | --nf)
444    # Obsolete; use --without-fp.
445    with_fp=no ;;
446
447  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448  | --no-cr | --no-c | -n)
449    no_create=yes ;;
450
451  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453    no_recursion=yes ;;
454
455  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457  | --oldin | --oldi | --old | --ol | --o)
458    ac_prev=oldincludedir ;;
459  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462    oldincludedir=$ac_optarg ;;
463
464  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465    ac_prev=prefix ;;
466  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467    prefix=$ac_optarg ;;
468
469  -program-prefix | --program-prefix | --program-prefi | --program-pref \
470  | --program-pre | --program-pr | --program-p)
471    ac_prev=program_prefix ;;
472  -program-prefix=* | --program-prefix=* | --program-prefi=* \
473  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474    program_prefix=$ac_optarg ;;
475
476  -program-suffix | --program-suffix | --program-suffi | --program-suff \
477  | --program-suf | --program-su | --program-s)
478    ac_prev=program_suffix ;;
479  -program-suffix=* | --program-suffix=* | --program-suffi=* \
480  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481    program_suffix=$ac_optarg ;;
482
483  -program-transform-name | --program-transform-name \
484  | --program-transform-nam | --program-transform-na \
485  | --program-transform-n | --program-transform- \
486  | --program-transform | --program-transfor \
487  | --program-transfo | --program-transf \
488  | --program-trans | --program-tran \
489  | --progr-tra | --program-tr | --program-t)
490    ac_prev=program_transform_name ;;
491  -program-transform-name=* | --program-transform-name=* \
492  | --program-transform-nam=* | --program-transform-na=* \
493  | --program-transform-n=* | --program-transform-=* \
494  | --program-transform=* | --program-transfor=* \
495  | --program-transfo=* | --program-transf=* \
496  | --program-trans=* | --program-tran=* \
497  | --progr-tra=* | --program-tr=* | --program-t=*)
498    program_transform_name=$ac_optarg ;;
499
500  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501  | -silent | --silent | --silen | --sile | --sil)
502    silent=yes ;;
503
504  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505    ac_prev=sbindir ;;
506  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507  | --sbi=* | --sb=*)
508    sbindir=$ac_optarg ;;
509
510  -sharedstatedir | --sharedstatedir | --sharedstatedi \
511  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512  | --sharedst | --shareds | --shared | --share | --shar \
513  | --sha | --sh)
514    ac_prev=sharedstatedir ;;
515  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518  | --sha=* | --sh=*)
519    sharedstatedir=$ac_optarg ;;
520
521  -site | --site | --sit)
522    ac_prev=site ;;
523  -site=* | --site=* | --sit=*)
524    site=$ac_optarg ;;
525
526  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527    ac_prev=srcdir ;;
528  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529    srcdir=$ac_optarg ;;
530
531  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532  | --syscon | --sysco | --sysc | --sys | --sy)
533    ac_prev=sysconfdir ;;
534  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536    sysconfdir=$ac_optarg ;;
537
538  -target | --target | --targe | --targ | --tar | --ta | --t)
539    ac_prev=target_alias ;;
540  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541    target_alias=$ac_optarg ;;
542
543  -v | -verbose | --verbose | --verbos | --verbo | --verb)
544    verbose=yes ;;
545
546  -version | --version | --versio | --versi | --vers | -V)
547    ac_init_version=: ;;
548
549  -with-* | --with-*)
550    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551    # Reject names that are not valid shell variable names.
552    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553      { echo "$as_me: error: invalid package name: $ac_package" >&2
554   { (exit 1); exit 1; }; }
555    ac_package=`echo $ac_package| sed 's/-/_/g'`
556    case $ac_option in
557      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558      *) ac_optarg=yes ;;
559    esac
560    eval "with_$ac_package='$ac_optarg'" ;;
561
562  -without-* | --without-*)
563    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564    # Reject names that are not valid shell variable names.
565    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566      { echo "$as_me: error: invalid package name: $ac_package" >&2
567   { (exit 1); exit 1; }; }
568    ac_package=`echo $ac_package | sed 's/-/_/g'`
569    eval "with_$ac_package=no" ;;
570
571  --x)
572    # Obsolete; use --with-x.
573    with_x=yes ;;
574
575  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576  | --x-incl | --x-inc | --x-in | --x-i)
577    ac_prev=x_includes ;;
578  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580    x_includes=$ac_optarg ;;
581
582  -x-libraries | --x-libraries | --x-librarie | --x-librari \
583  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584    ac_prev=x_libraries ;;
585  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587    x_libraries=$ac_optarg ;;
588
589  -*) { echo "$as_me: error: unrecognized option: $ac_option
590Try \`$0 --help' for more information." >&2
591   { (exit 1); exit 1; }; }
592    ;;
593
594  *=*)
595    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596    # Reject names that are not valid shell variable names.
597    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599   { (exit 1); exit 1; }; }
600    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601    eval "$ac_envvar='$ac_optarg'"
602    export $ac_envvar ;;
603
604  *)
605    # FIXME: should be removed in autoconf 3.0.
606    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610    ;;
611
612  esac
613done
614
615if test -n "$ac_prev"; then
616  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617  { echo "$as_me: error: missing argument to $ac_option" >&2
618   { (exit 1); exit 1; }; }
619fi
620
621# Be sure to have absolute paths.
622for ac_var in exec_prefix prefix
623do
624  eval ac_val=$`echo $ac_var`
625  case $ac_val in
626    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628   { (exit 1); exit 1; }; };;
629  esac
630done
631
632# Be sure to have absolute paths.
633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634              localstatedir libdir includedir oldincludedir infodir mandir
635do
636  eval ac_val=$`echo $ac_var`
637  case $ac_val in
638    [\\/$]* | ?:[\\/]* ) ;;
639    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640   { (exit 1); exit 1; }; };;
641  esac
642done
643
644# There might be people who depend on the old broken behavior: `$host'
645# used to hold the argument of --host etc.
646# FIXME: To remove some day.
647build=$build_alias
648host=$host_alias
649target=$target_alias
650
651# FIXME: To remove some day.
652if test "x$host_alias" != x; then
653  if test "x$build_alias" = x; then
654    cross_compiling=maybe
655    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656    If a cross compiler is detected then cross compile mode will be used." >&2
657  elif test "x$build_alias" != "x$host_alias"; then
658    cross_compiling=yes
659  fi
660fi
661
662ac_tool_prefix=
663test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665test "$silent" = yes && exec 6>/dev/null
666
667
668# Find the source files, if location was not specified.
669if test -z "$srcdir"; then
670  ac_srcdir_defaulted=yes
671  # Try the directory containing this script, then its parent.
672  ac_confdir=`(dirname "$0") 2>/dev/null ||
673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674         X"$0" : 'X\(//\)[^/]' \| \
675         X"$0" : 'X\(//\)$' \| \
676         X"$0" : 'X\(/\)' \| \
677         .     : '\(.\)' 2>/dev/null ||
678echo X"$0" |
679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681          /^X\(\/\/\)$/{ s//\1/; q; }
682          /^X\(\/\).*/{ s//\1/; q; }
683          s/.*/./; q'`
684  srcdir=$ac_confdir
685  if test ! -r $srcdir/$ac_unique_file; then
686    srcdir=..
687  fi
688else
689  ac_srcdir_defaulted=no
690fi
691if test ! -r $srcdir/$ac_unique_file; then
692  if test "$ac_srcdir_defaulted" = yes; then
693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694   { (exit 1); exit 1; }; }
695  else
696    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697   { (exit 1); exit 1; }; }
698  fi
699fi
700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702   { (exit 1); exit 1; }; }
703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704ac_env_build_alias_set=${build_alias+set}
705ac_env_build_alias_value=$build_alias
706ac_cv_env_build_alias_set=${build_alias+set}
707ac_cv_env_build_alias_value=$build_alias
708ac_env_host_alias_set=${host_alias+set}
709ac_env_host_alias_value=$host_alias
710ac_cv_env_host_alias_set=${host_alias+set}
711ac_cv_env_host_alias_value=$host_alias
712ac_env_target_alias_set=${target_alias+set}
713ac_env_target_alias_value=$target_alias
714ac_cv_env_target_alias_set=${target_alias+set}
715ac_cv_env_target_alias_value=$target_alias
716ac_env_CC_set=${CC+set}
717ac_env_CC_value=$CC
718ac_cv_env_CC_set=${CC+set}
719ac_cv_env_CC_value=$CC
720ac_env_CFLAGS_set=${CFLAGS+set}
721ac_env_CFLAGS_value=$CFLAGS
722ac_cv_env_CFLAGS_set=${CFLAGS+set}
723ac_cv_env_CFLAGS_value=$CFLAGS
724ac_env_LDFLAGS_set=${LDFLAGS+set}
725ac_env_LDFLAGS_value=$LDFLAGS
726ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727ac_cv_env_LDFLAGS_value=$LDFLAGS
728ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729ac_env_CPPFLAGS_value=$CPPFLAGS
730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733#
734# Report the --help message.
735#
736if test "$ac_init_help" = "long"; then
737  # Omit some internal or obsolete options to make the list less imposing.
738  # This message is too long to be a string in the A/UX 3.1 sh.
739  cat <<_ACEOF
740\`configure' configures mod_gnutls 0.1.0 to adapt to many kinds of systems.
741
742Usage: $0 [OPTION]... [VAR=VALUE]...
743
744To assign environment variables (e.g., CC, CFLAGS...), specify them as
745VAR=VALUE.  See below for descriptions of some of the useful variables.
746
747Defaults for the options are specified in brackets.
748
749Configuration:
750  -h, --help              display this help and exit
751      --help=short        display options specific to this package
752      --help=recursive    display the short help of all the included packages
753  -V, --version           display version information and exit
754  -q, --quiet, --silent   do not print \`checking...' messages
755      --cache-file=FILE   cache test results in FILE [disabled]
756  -C, --config-cache      alias for \`--cache-file=config.cache'
757  -n, --no-create         do not create output files
758      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
759
760_ACEOF
761
762  cat <<_ACEOF
763Installation directories:
764  --prefix=PREFIX         install architecture-independent files in PREFIX
765                          [$ac_default_prefix]
766  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
767                          [PREFIX]
768
769By default, \`make install' will install all the files in
770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
771an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772for instance \`--prefix=\$HOME'.
773
774For better control, use the options below.
775
776Fine tuning of the installation directories:
777  --bindir=DIR           user executables [EPREFIX/bin]
778  --sbindir=DIR          system admin executables [EPREFIX/sbin]
779  --libexecdir=DIR       program executables [EPREFIX/libexec]
780  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
781  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
782  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
783  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
784  --libdir=DIR           object code libraries [EPREFIX/lib]
785  --includedir=DIR       C header files [PREFIX/include]
786  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
787  --infodir=DIR          info documentation [PREFIX/info]
788  --mandir=DIR           man documentation [PREFIX/man]
789_ACEOF
790
791  cat <<\_ACEOF
792
793Program names:
794  --program-prefix=PREFIX            prepend PREFIX to installed program names
795  --program-suffix=SUFFIX            append SUFFIX to installed program names
796  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
797
798System types:
799  --build=BUILD     configure for building on BUILD [guessed]
800  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
801  --target=TARGET   configure for building compilers for TARGET [HOST]
802_ACEOF
803fi
804
805if test -n "$ac_init_help"; then
806  case $ac_init_help in
807     short | recursive ) echo "Configuration of mod_gnutls 0.1.0:";;
808   esac
809  cat <<\_ACEOF
810
811Optional Features:
812  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
813  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
814  --enable-maintainer-mode  enable make rules and dependencies not useful
815                          (and sometimes confusing) to the casual installer
816  --disable-dependency-tracking  speeds up one-time build
817  --enable-dependency-tracking   do not reject slow dependency extractors
818  --disable-apxstest      Do not try to compile and run apache version test
819                          program
820
821Optional Packages:
822  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
823  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
824  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
825  --with-apxs=PATH        Path to apxs
826  --with-libgnutls=PATH   Path to libgnutls
827  --with-apr-memcache=PATH
828                          Path to apr_memcache prefix
829
830Some influential environment variables:
831  CC          C compiler command
832  CFLAGS      C compiler flags
833  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
834              nonstandard directory <lib dir>
835  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
836              headers in a nonstandard directory <include dir>
837
838Use these variables to override the choices made by `configure' or to help
839it to find libraries and programs with nonstandard names/locations.
840
841_ACEOF
842fi
843
844if test "$ac_init_help" = "recursive"; then
845  # If there are subdirs, report their specific --help.
846  ac_popdir=`pwd`
847  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848    test -d $ac_dir || continue
849    ac_builddir=.
850
851if test "$ac_dir" != .; then
852  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
853  # A "../" for each directory in $ac_dir_suffix.
854  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
855else
856  ac_dir_suffix= ac_top_builddir=
857fi
858
859case $srcdir in
860  .)  # No --srcdir option.  We are building in place.
861    ac_srcdir=.
862    if test -z "$ac_top_builddir"; then
863       ac_top_srcdir=.
864    else
865       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
866    fi ;;
867  [\\/]* | ?:[\\/]* )  # Absolute path.
868    ac_srcdir=$srcdir$ac_dir_suffix;
869    ac_top_srcdir=$srcdir ;;
870  *) # Relative path.
871    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872    ac_top_srcdir=$ac_top_builddir$srcdir ;;
873esac
874
875# Do not use `cd foo && pwd` to compute absolute paths, because
876# the directories may not exist.
877case `pwd` in
878.) ac_abs_builddir="$ac_dir";;
879*)
880  case "$ac_dir" in
881  .) ac_abs_builddir=`pwd`;;
882  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883  *) ac_abs_builddir=`pwd`/"$ac_dir";;
884  esac;;
885esac
886case $ac_abs_builddir in
887.) ac_abs_top_builddir=${ac_top_builddir}.;;
888*)
889  case ${ac_top_builddir}. in
890  .) ac_abs_top_builddir=$ac_abs_builddir;;
891  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
893  esac;;
894esac
895case $ac_abs_builddir in
896.) ac_abs_srcdir=$ac_srcdir;;
897*)
898  case $ac_srcdir in
899  .) ac_abs_srcdir=$ac_abs_builddir;;
900  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
902  esac;;
903esac
904case $ac_abs_builddir in
905.) ac_abs_top_srcdir=$ac_top_srcdir;;
906*)
907  case $ac_top_srcdir in
908  .) ac_abs_top_srcdir=$ac_abs_builddir;;
909  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
911  esac;;
912esac
913
914    cd $ac_dir
915    # Check for guested configure; otherwise get Cygnus style configure.
916    if test -f $ac_srcdir/configure.gnu; then
917      echo
918      $SHELL $ac_srcdir/configure.gnu  --help=recursive
919    elif test -f $ac_srcdir/configure; then
920      echo
921      $SHELL $ac_srcdir/configure  --help=recursive
922    elif test -f $ac_srcdir/configure.ac ||
923           test -f $ac_srcdir/configure.in; then
924      echo
925      $ac_configure --help
926    else
927      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928    fi
929    cd "$ac_popdir"
930  done
931fi
932
933test -n "$ac_init_help" && exit 0
934if $ac_init_version; then
935  cat <<\_ACEOF
936mod_gnutls configure 0.1.0
937generated by GNU Autoconf 2.59
938
939Copyright (C) 2003 Free Software Foundation, Inc.
940This configure script is free software; the Free Software Foundation
941gives unlimited permission to copy, distribute and modify it.
942_ACEOF
943  exit 0
944fi
945exec 5>config.log
946cat >&5 <<_ACEOF
947This file contains any messages produced by compilers while
948running configure, to aid debugging if configure makes a mistake.
949
950It was created by mod_gnutls $as_me 0.1.0, which was
951generated by GNU Autoconf 2.59.  Invocation command line was
952
953  $ $0 $@
954
955_ACEOF
956{
957cat <<_ASUNAME
958## --------- ##
959## Platform. ##
960## --------- ##
961
962hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963uname -m = `(uname -m) 2>/dev/null || echo unknown`
964uname -r = `(uname -r) 2>/dev/null || echo unknown`
965uname -s = `(uname -s) 2>/dev/null || echo unknown`
966uname -v = `(uname -v) 2>/dev/null || echo unknown`
967
968/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
969/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
970
971/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
972/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
973/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
974hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
975/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
976/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
977/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
978
979_ASUNAME
980
981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982for as_dir in $PATH
983do
984  IFS=$as_save_IFS
985  test -z "$as_dir" && as_dir=.
986  echo "PATH: $as_dir"
987done
988
989} >&5
990
991cat >&5 <<_ACEOF
992
993
994## ----------- ##
995## Core tests. ##
996## ----------- ##
997
998_ACEOF
999
1000
1001# Keep a trace of the command line.
1002# Strip out --no-create and --no-recursion so they do not pile up.
1003# Strip out --silent because we don't want to record it for future runs.
1004# Also quote any args containing shell meta-characters.
1005# Make two passes to allow for proper duplicate-argument suppression.
1006ac_configure_args=
1007ac_configure_args0=
1008ac_configure_args1=
1009ac_sep=
1010ac_must_keep_next=false
1011for ac_pass in 1 2
1012do
1013  for ac_arg
1014  do
1015    case $ac_arg in
1016    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1017    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018    | -silent | --silent | --silen | --sile | --sil)
1019      continue ;;
1020    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1021      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1022    esac
1023    case $ac_pass in
1024    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1025    2)
1026      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1027      if test $ac_must_keep_next = true; then
1028        ac_must_keep_next=false # Got value, back to normal.
1029      else
1030        case $ac_arg in
1031          *=* | --config-cache | -C | -disable-* | --disable-* \
1032          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1033          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1034          | -with-* | --with-* | -without-* | --without-* | --x)
1035            case "$ac_configure_args0 " in
1036              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037            esac
1038            ;;
1039          -* ) ac_must_keep_next=true ;;
1040        esac
1041      fi
1042      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1043      # Get rid of the leading space.
1044      ac_sep=" "
1045      ;;
1046    esac
1047  done
1048done
1049$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1050$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1051
1052# When interrupted or exit'd, cleanup temporary files, and complete
1053# config.log.  We remove comments because anyway the quotes in there
1054# would cause problems or look ugly.
1055# WARNING: Be sure not to use single quotes in there, as some shells,
1056# such as our DU 5.0 friend, will then `close' the trap.
1057trap 'exit_status=$?
1058  # Save into config.log some information that might help in debugging.
1059  {
1060    echo
1061
1062    cat <<\_ASBOX
1063## ---------------- ##
1064## Cache variables. ##
1065## ---------------- ##
1066_ASBOX
1067    echo
1068    # The following way of writing the cache mishandles newlines in values,
1069{
1070  (set) 2>&1 |
1071    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072    *ac_space=\ *)
1073      sed -n \
1074        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1075          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076      ;;
1077    *)
1078      sed -n \
1079        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080      ;;
1081    esac;
1082}
1083    echo
1084
1085    cat <<\_ASBOX
1086## ----------------- ##
1087## Output variables. ##
1088## ----------------- ##
1089_ASBOX
1090    echo
1091    for ac_var in $ac_subst_vars
1092    do
1093      eval ac_val=$`echo $ac_var`
1094      echo "$ac_var='"'"'$ac_val'"'"'"
1095    done | sort
1096    echo
1097
1098    if test -n "$ac_subst_files"; then
1099      cat <<\_ASBOX
1100## ------------- ##
1101## Output files. ##
1102## ------------- ##
1103_ASBOX
1104      echo
1105      for ac_var in $ac_subst_files
1106      do
1107        eval ac_val=$`echo $ac_var`
1108        echo "$ac_var='"'"'$ac_val'"'"'"
1109      done | sort
1110      echo
1111    fi
1112
1113    if test -s confdefs.h; then
1114      cat <<\_ASBOX
1115## ----------- ##
1116## confdefs.h. ##
1117## ----------- ##
1118_ASBOX
1119      echo
1120      sed "/^$/d" confdefs.h | sort
1121      echo
1122    fi
1123    test "$ac_signal" != 0 &&
1124      echo "$as_me: caught signal $ac_signal"
1125    echo "$as_me: exit $exit_status"
1126  } >&5
1127  rm -f core *.core &&
1128  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129    exit $exit_status
1130     ' 0
1131for ac_signal in 1 2 13 15; do
1132  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133done
1134ac_signal=0
1135
1136# confdefs.h avoids OS command line length limits that DEFS can exceed.
1137rm -rf conftest* confdefs.h
1138# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139echo >confdefs.h
1140
1141# Predefined preprocessor variables.
1142
1143cat >>confdefs.h <<_ACEOF
1144#define PACKAGE_NAME "$PACKAGE_NAME"
1145_ACEOF
1146
1147
1148cat >>confdefs.h <<_ACEOF
1149#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150_ACEOF
1151
1152
1153cat >>confdefs.h <<_ACEOF
1154#define PACKAGE_VERSION "$PACKAGE_VERSION"
1155_ACEOF
1156
1157
1158cat >>confdefs.h <<_ACEOF
1159#define PACKAGE_STRING "$PACKAGE_STRING"
1160_ACEOF
1161
1162
1163cat >>confdefs.h <<_ACEOF
1164#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165_ACEOF
1166
1167
1168# Let the site file select an alternate cache file if it wants to.
1169# Prefer explicitly selected file to automatically selected ones.
1170if test -z "$CONFIG_SITE"; then
1171  if test "x$prefix" != xNONE; then
1172    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1173  else
1174    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175  fi
1176fi
1177for ac_site_file in $CONFIG_SITE; do
1178  if test -r "$ac_site_file"; then
1179    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1180echo "$as_me: loading site script $ac_site_file" >&6;}
1181    sed 's/^/| /' "$ac_site_file" >&5
1182    . "$ac_site_file"
1183  fi
1184done
1185
1186if test -r "$cache_file"; then
1187  # Some versions of bash will fail to source /dev/null (special
1188  # files actually), so we avoid doing that.
1189  if test -f "$cache_file"; then
1190    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1191echo "$as_me: loading cache $cache_file" >&6;}
1192    case $cache_file in
1193      [\\/]* | ?:[\\/]* ) . $cache_file;;
1194      *)                      . ./$cache_file;;
1195    esac
1196  fi
1197else
1198  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1199echo "$as_me: creating cache $cache_file" >&6;}
1200  >$cache_file
1201fi
1202
1203# Check that the precious variables saved in the cache have kept the same
1204# value.
1205ac_cache_corrupted=false
1206for ac_var in `(set) 2>&1 |
1207               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1208  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1209  eval ac_new_set=\$ac_env_${ac_var}_set
1210  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1211  eval ac_new_val="\$ac_env_${ac_var}_value"
1212  case $ac_old_set,$ac_new_set in
1213    set,)
1214      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1215echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1216      ac_cache_corrupted=: ;;
1217    ,set)
1218      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1219echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1220      ac_cache_corrupted=: ;;
1221    ,);;
1222    *)
1223      if test "x$ac_old_val" != "x$ac_new_val"; then
1224        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1225echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1226        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1227echo "$as_me:   former value:  $ac_old_val" >&2;}
1228        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1229echo "$as_me:   current value: $ac_new_val" >&2;}
1230        ac_cache_corrupted=:
1231      fi;;
1232  esac
1233  # Pass precious variables to config.status.
1234  if test "$ac_new_set" = set; then
1235    case $ac_new_val in
1236    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1237      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1238    *) ac_arg=$ac_var=$ac_new_val ;;
1239    esac
1240    case " $ac_configure_args " in
1241      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1242      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1243    esac
1244  fi
1245done
1246if $ac_cache_corrupted; then
1247  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1248echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1249  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1250echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1251   { (exit 1); exit 1; }; }
1252fi
1253
1254ac_ext=c
1255ac_cpp='$CPP $CPPFLAGS'
1256ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258ac_compiler_gnu=$ac_cv_c_compiler_gnu
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287  echo configure: creating config.nice
1288  rm -f config.nice
1289  cat >config.nice<<EOF
1290#! /bin/sh
1291#
1292# Created by configure
1293
1294EOF
1295
1296  for arg in $0 "$@"; do
1297    if test "$arg" != "--no-create" -a "$arg" != "--no-recursion"; then
1298        echo "\"$arg\" \\" >> config.nice
1299    fi
1300  done
1301  echo '"$@"' >> config.nice
1302  chmod +x config.nice
1303
1304MOD_GNUTLS_VERSION=0.1.0
1305
1306
1307ac_aux_dir=
1308for ac_dir in config $srcdir/config; do
1309  if test -f $ac_dir/install-sh; then
1310    ac_aux_dir=$ac_dir
1311    ac_install_sh="$ac_aux_dir/install-sh -c"
1312    break
1313  elif test -f $ac_dir/install.sh; then
1314    ac_aux_dir=$ac_dir
1315    ac_install_sh="$ac_aux_dir/install.sh -c"
1316    break
1317  elif test -f $ac_dir/shtool; then
1318    ac_aux_dir=$ac_dir
1319    ac_install_sh="$ac_aux_dir/shtool install -c"
1320    break
1321  fi
1322done
1323if test -z "$ac_aux_dir"; then
1324  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1325echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1326   { (exit 1); exit 1; }; }
1327fi
1328ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1329ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1330ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1331
1332echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1333echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1334    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1335if test "${enable_maintainer_mode+set}" = set; then
1336  enableval="$enable_maintainer_mode"
1337  USE_MAINTAINER_MODE=$enableval
1338else
1339  USE_MAINTAINER_MODE=no
1340fi;
1341  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1342echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1343
1344
1345if test $USE_MAINTAINER_MODE = yes; then
1346  MAINTAINER_MODE_TRUE=
1347  MAINTAINER_MODE_FALSE='#'
1348else
1349  MAINTAINER_MODE_TRUE='#'
1350  MAINTAINER_MODE_FALSE=
1351fi
1352
1353  MAINT=$MAINTAINER_MODE_TRUE
1354
1355
1356# Make sure we can run config.sub.
1357$ac_config_sub sun4 >/dev/null 2>&1 ||
1358  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360   { (exit 1); exit 1; }; }
1361
1362echo "$as_me:$LINENO: checking build system type" >&5
1363echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364if test "${ac_cv_build+set}" = set; then
1365  echo $ECHO_N "(cached) $ECHO_C" >&6
1366else
1367  ac_cv_build_alias=$build_alias
1368test -z "$ac_cv_build_alias" &&
1369  ac_cv_build_alias=`$ac_config_guess`
1370test -z "$ac_cv_build_alias" &&
1371  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373   { (exit 1); exit 1; }; }
1374ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377   { (exit 1); exit 1; }; }
1378
1379fi
1380echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381echo "${ECHO_T}$ac_cv_build" >&6
1382build=$ac_cv_build
1383build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386
1387
1388echo "$as_me:$LINENO: checking host system type" >&5
1389echo $ECHO_N "checking host system type... $ECHO_C" >&6
1390if test "${ac_cv_host+set}" = set; then
1391  echo $ECHO_N "(cached) $ECHO_C" >&6
1392else
1393  ac_cv_host_alias=$host_alias
1394test -z "$ac_cv_host_alias" &&
1395  ac_cv_host_alias=$ac_cv_build_alias
1396ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1397  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1398echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1399   { (exit 1); exit 1; }; }
1400
1401fi
1402echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1403echo "${ECHO_T}$ac_cv_host" >&6
1404host=$ac_cv_host
1405host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408
1409
1410echo "$as_me:$LINENO: checking target system type" >&5
1411echo $ECHO_N "checking target system type... $ECHO_C" >&6
1412if test "${ac_cv_target+set}" = set; then
1413  echo $ECHO_N "(cached) $ECHO_C" >&6
1414else
1415  ac_cv_target_alias=$target_alias
1416test "x$ac_cv_target_alias" = "x" &&
1417  ac_cv_target_alias=$ac_cv_host_alias
1418ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1419  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1420echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1421   { (exit 1); exit 1; }; }
1422
1423fi
1424echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1425echo "${ECHO_T}$ac_cv_target" >&6
1426target=$ac_cv_target
1427target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430
1431
1432# The aliases save the names the user supplied, while $host etc.
1433# will get canonicalized.
1434test -n "$target_alias" &&
1435  test "$program_prefix$program_suffix$program_transform_name" = \
1436    NONENONEs,x,x, &&
1437  program_prefix=${target_alias}-
1438am__api_version="1.9"
1439# Find a good install program.  We prefer a C program (faster),
1440# so one script is as good as another.  But avoid the broken or
1441# incompatible versions:
1442# SysV /etc/install, /usr/sbin/install
1443# SunOS /usr/etc/install
1444# IRIX /sbin/install
1445# AIX /bin/install
1446# AmigaOS /C/install, which installs bootblocks on floppy discs
1447# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1448# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1449# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1450# OS/2's system install, which has a completely different semantic
1451# ./install, which can be erroneously created by make from ./install.sh.
1452echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1453echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1454if test -z "$INSTALL"; then
1455if test "${ac_cv_path_install+set}" = set; then
1456  echo $ECHO_N "(cached) $ECHO_C" >&6
1457else
1458  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459for as_dir in $PATH
1460do
1461  IFS=$as_save_IFS
1462  test -z "$as_dir" && as_dir=.
1463  # Account for people who put trailing slashes in PATH elements.
1464case $as_dir/ in
1465  ./ | .// | /cC/* | \
1466  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1467  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1468  /usr/ucb/* ) ;;
1469  *)
1470    # OSF1 and SCO ODT 3.0 have their own names for install.
1471    # Don't use installbsd from OSF since it installs stuff as root
1472    # by default.
1473    for ac_prog in ginstall scoinst install; do
1474      for ac_exec_ext in '' $ac_executable_extensions; do
1475        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1476          if test $ac_prog = install &&
1477            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1478            # AIX install.  It has an incompatible calling convention.
1479            :
1480          elif test $ac_prog = install &&
1481            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1482            # program-specific install script used by HP pwplus--don't use.
1483            :
1484          else
1485            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1486            break 3
1487          fi
1488        fi
1489      done
1490    done
1491    ;;
1492esac
1493done
1494
1495
1496fi
1497  if test "${ac_cv_path_install+set}" = set; then
1498    INSTALL=$ac_cv_path_install
1499  else
1500    # As a last resort, use the slow shell script.  We don't cache a
1501    # path for INSTALL within a source directory, because that will
1502    # break other packages using the cache if that directory is
1503    # removed, or if the path is relative.
1504    INSTALL=$ac_install_sh
1505  fi
1506fi
1507echo "$as_me:$LINENO: result: $INSTALL" >&5
1508echo "${ECHO_T}$INSTALL" >&6
1509
1510# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1511# It thinks the first close brace ends the variable substitution.
1512test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1513
1514test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1515
1516test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1517
1518echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1519echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1520# Just in case
1521sleep 1
1522echo timestamp > conftest.file
1523# Do `set' in a subshell so we don't clobber the current shell's
1524# arguments.  Must try -L first in case configure is actually a
1525# symlink; some systems play weird games with the mod time of symlinks
1526# (eg FreeBSD returns the mod time of the symlink's containing
1527# directory).
1528if (
1529   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1530   if test "$*" = "X"; then
1531      # -L didn't work.
1532      set X `ls -t $srcdir/configure conftest.file`
1533   fi
1534   rm -f conftest.file
1535   if test "$*" != "X $srcdir/configure conftest.file" \
1536      && test "$*" != "X conftest.file $srcdir/configure"; then
1537
1538      # If neither matched, then we have a broken ls.  This can happen
1539      # if, for instance, CONFIG_SHELL is bash and it inherits a
1540      # broken ls alias from the environment.  This has actually
1541      # happened.  Such a system could not be considered "sane".
1542      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1543alias in your environment" >&5
1544echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1545alias in your environment" >&2;}
1546   { (exit 1); exit 1; }; }
1547   fi
1548
1549   test "$2" = conftest.file
1550   )
1551then
1552   # Ok.
1553   :
1554else
1555   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1556Check your system clock" >&5
1557echo "$as_me: error: newly created file is older than distributed files!
1558Check your system clock" >&2;}
1559   { (exit 1); exit 1; }; }
1560fi
1561echo "$as_me:$LINENO: result: yes" >&5
1562echo "${ECHO_T}yes" >&6
1563test "$program_prefix" != NONE &&
1564  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1565# Use a double $ so make ignores it.
1566test "$program_suffix" != NONE &&
1567  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1568# Double any \ or $.  echo might interpret backslashes.
1569# By default was `s,x,x', remove it if useless.
1570cat <<\_ACEOF >conftest.sed
1571s/[\\$]/&&/g;s/;s,x,x,$//
1572_ACEOF
1573program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1574rm conftest.sed
1575
1576# expand $ac_aux_dir to an absolute path
1577am_aux_dir=`cd $ac_aux_dir && pwd`
1578
1579test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1580# Use eval to expand $SHELL
1581if eval "$MISSING --run true"; then
1582  am_missing_run="$MISSING --run "
1583else
1584  am_missing_run=
1585  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1586echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1587fi
1588
1589if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1590  # We used to keeping the `.' as first argument, in order to
1591  # allow $(mkdir_p) to be used without argument.  As in
1592  #   $(mkdir_p) $(somedir)
1593  # where $(somedir) is conditionally defined.  However this is wrong
1594  # for two reasons:
1595  #  1. if the package is installed by a user who cannot write `.'
1596  #     make install will fail,
1597  #  2. the above comment should most certainly read
1598  #     $(mkdir_p) $(DESTDIR)$(somedir)
1599  #     so it does not work when $(somedir) is undefined and
1600  #     $(DESTDIR) is not.
1601  #  To support the latter case, we have to write
1602  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1603  #  so the `.' trick is pointless.
1604  mkdir_p='mkdir -p --'
1605else
1606  # On NextStep and OpenStep, the `mkdir' command does not
1607  # recognize any option.  It will interpret all options as
1608  # directories to create, and then abort because `.' already
1609  # exists.
1610  for d in ./-p ./--version;
1611  do
1612    test -d $d && rmdir $d
1613  done
1614  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1615  if test -f "$ac_aux_dir/mkinstalldirs"; then
1616    mkdir_p='$(mkinstalldirs)'
1617  else
1618    mkdir_p='$(install_sh) -d'
1619  fi
1620fi
1621
1622for ac_prog in gawk mawk nawk awk
1623do
1624  # Extract the first word of "$ac_prog", so it can be a program name with args.
1625set dummy $ac_prog; ac_word=$2
1626echo "$as_me:$LINENO: checking for $ac_word" >&5
1627echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628if test "${ac_cv_prog_AWK+set}" = set; then
1629  echo $ECHO_N "(cached) $ECHO_C" >&6
1630else
1631  if test -n "$AWK"; then
1632  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1633else
1634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635for as_dir in $PATH
1636do
1637  IFS=$as_save_IFS
1638  test -z "$as_dir" && as_dir=.
1639  for ac_exec_ext in '' $ac_executable_extensions; do
1640  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641    ac_cv_prog_AWK="$ac_prog"
1642    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643    break 2
1644  fi
1645done
1646done
1647
1648fi
1649fi
1650AWK=$ac_cv_prog_AWK
1651if test -n "$AWK"; then
1652  echo "$as_me:$LINENO: result: $AWK" >&5
1653echo "${ECHO_T}$AWK" >&6
1654else
1655  echo "$as_me:$LINENO: result: no" >&5
1656echo "${ECHO_T}no" >&6
1657fi
1658
1659  test -n "$AWK" && break
1660done
1661
1662echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1663echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1664set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1665if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1666  echo $ECHO_N "(cached) $ECHO_C" >&6
1667else
1668  cat >conftest.make <<\_ACEOF
1669all:
1670        @echo 'ac_maketemp="$(MAKE)"'
1671_ACEOF
1672# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1673eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1674if test -n "$ac_maketemp"; then
1675  eval ac_cv_prog_make_${ac_make}_set=yes
1676else
1677  eval ac_cv_prog_make_${ac_make}_set=no
1678fi
1679rm -f conftest.make
1680fi
1681if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1682  echo "$as_me:$LINENO: result: yes" >&5
1683echo "${ECHO_T}yes" >&6
1684  SET_MAKE=
1685else
1686  echo "$as_me:$LINENO: result: no" >&5
1687echo "${ECHO_T}no" >&6
1688  SET_MAKE="MAKE=${MAKE-make}"
1689fi
1690
1691rm -rf .tst 2>/dev/null
1692mkdir .tst 2>/dev/null
1693if test -d .tst; then
1694  am__leading_dot=.
1695else
1696  am__leading_dot=_
1697fi
1698rmdir .tst 2>/dev/null
1699
1700# test to see if srcdir already configured
1701if test "`cd $srcdir && pwd`" != "`pwd`" &&
1702   test -f $srcdir/config.status; then
1703  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1704echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1705   { (exit 1); exit 1; }; }
1706fi
1707
1708# test whether we have cygpath
1709if test -z "$CYGPATH_W"; then
1710  if (cygpath --version) >/dev/null 2>/dev/null; then
1711    CYGPATH_W='cygpath -w'
1712  else
1713    CYGPATH_W=echo
1714  fi
1715fi
1716
1717
1718# Define the identity of the package.
1719 PACKAGE=mod_gnutls
1720 VERSION=0.1.0
1721
1722
1723cat >>confdefs.h <<_ACEOF
1724#define PACKAGE "$PACKAGE"
1725_ACEOF
1726
1727
1728cat >>confdefs.h <<_ACEOF
1729#define VERSION "$VERSION"
1730_ACEOF
1731
1732# Some tools Automake needs.
1733
1734ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1735
1736
1737AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1738
1739
1740AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1741
1742
1743AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1744
1745
1746MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1747
1748install_sh=${install_sh-"$am_aux_dir/install-sh"}
1749
1750# Installed binaries are usually stripped using `strip' when the user
1751# run `make install-strip'.  However `strip' might not be the right
1752# tool to use in cross-compilation environments, therefore Automake
1753# will honor the `STRIP' environment variable to overrule this program.
1754if test "$cross_compiling" != no; then
1755  if test -n "$ac_tool_prefix"; then
1756  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1757set dummy ${ac_tool_prefix}strip; ac_word=$2
1758echo "$as_me:$LINENO: checking for $ac_word" >&5
1759echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760if test "${ac_cv_prog_STRIP+set}" = set; then
1761  echo $ECHO_N "(cached) $ECHO_C" >&6
1762else
1763  if test -n "$STRIP"; then
1764  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1765else
1766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767for as_dir in $PATH
1768do
1769  IFS=$as_save_IFS
1770  test -z "$as_dir" && as_dir=.
1771  for ac_exec_ext in '' $ac_executable_extensions; do
1772  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1774    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775    break 2
1776  fi
1777done
1778done
1779
1780fi
1781fi
1782STRIP=$ac_cv_prog_STRIP
1783if test -n "$STRIP"; then
1784  echo "$as_me:$LINENO: result: $STRIP" >&5
1785echo "${ECHO_T}$STRIP" >&6
1786else
1787  echo "$as_me:$LINENO: result: no" >&5
1788echo "${ECHO_T}no" >&6
1789fi
1790
1791fi
1792if test -z "$ac_cv_prog_STRIP"; then
1793  ac_ct_STRIP=$STRIP
1794  # Extract the first word of "strip", so it can be a program name with args.
1795set dummy strip; ac_word=$2
1796echo "$as_me:$LINENO: checking for $ac_word" >&5
1797echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1799  echo $ECHO_N "(cached) $ECHO_C" >&6
1800else
1801  if test -n "$ac_ct_STRIP"; then
1802  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1803else
1804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805for as_dir in $PATH
1806do
1807  IFS=$as_save_IFS
1808  test -z "$as_dir" && as_dir=.
1809  for ac_exec_ext in '' $ac_executable_extensions; do
1810  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811    ac_cv_prog_ac_ct_STRIP="strip"
1812    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813    break 2
1814  fi
1815done
1816done
1817
1818  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1819fi
1820fi
1821ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1822if test -n "$ac_ct_STRIP"; then
1823  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1824echo "${ECHO_T}$ac_ct_STRIP" >&6
1825else
1826  echo "$as_me:$LINENO: result: no" >&5
1827echo "${ECHO_T}no" >&6
1828fi
1829
1830  STRIP=$ac_ct_STRIP
1831else
1832  STRIP="$ac_cv_prog_STRIP"
1833fi
1834
1835fi
1836INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1837
1838# We need awk for the "check" target.  The system "awk" is bad on
1839# some platforms.
1840# Always define AMTAR for backward compatibility.
1841
1842AMTAR=${AMTAR-"${am_missing_run}tar"}
1843
1844am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1845
1846
1847
1848
1849
1850          ac_config_headers="$ac_config_headers include/mod_gnutls_config.h:config.in"
1851
1852
1853
1854
1855ac_ext=c
1856ac_cpp='$CPP $CPPFLAGS'
1857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860if test -n "$ac_tool_prefix"; then
1861  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1862set dummy ${ac_tool_prefix}gcc; ac_word=$2
1863echo "$as_me:$LINENO: checking for $ac_word" >&5
1864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865if test "${ac_cv_prog_CC+set}" = set; then
1866  echo $ECHO_N "(cached) $ECHO_C" >&6
1867else
1868  if test -n "$CC"; then
1869  ac_cv_prog_CC="$CC" # Let the user override the test.
1870else
1871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872for as_dir in $PATH
1873do
1874  IFS=$as_save_IFS
1875  test -z "$as_dir" && as_dir=.
1876  for ac_exec_ext in '' $ac_executable_extensions; do
1877  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1879    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880    break 2
1881  fi
1882done
1883done
1884
1885fi
1886fi
1887CC=$ac_cv_prog_CC
1888if test -n "$CC"; then
1889  echo "$as_me:$LINENO: result: $CC" >&5
1890echo "${ECHO_T}$CC" >&6
1891else
1892  echo "$as_me:$LINENO: result: no" >&5
1893echo "${ECHO_T}no" >&6
1894fi
1895
1896fi
1897if test -z "$ac_cv_prog_CC"; then
1898  ac_ct_CC=$CC
1899  # Extract the first word of "gcc", so it can be a program name with args.
1900set dummy gcc; ac_word=$2
1901echo "$as_me:$LINENO: checking for $ac_word" >&5
1902echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1904  echo $ECHO_N "(cached) $ECHO_C" >&6
1905else
1906  if test -n "$ac_ct_CC"; then
1907  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1908else
1909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910for as_dir in $PATH
1911do
1912  IFS=$as_save_IFS
1913  test -z "$as_dir" && as_dir=.
1914  for ac_exec_ext in '' $ac_executable_extensions; do
1915  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916    ac_cv_prog_ac_ct_CC="gcc"
1917    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918    break 2
1919  fi
1920done
1921done
1922
1923fi
1924fi
1925ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926if test -n "$ac_ct_CC"; then
1927  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928echo "${ECHO_T}$ac_ct_CC" >&6
1929else
1930  echo "$as_me:$LINENO: result: no" >&5
1931echo "${ECHO_T}no" >&6
1932fi
1933
1934  CC=$ac_ct_CC
1935else
1936  CC="$ac_cv_prog_CC"
1937fi
1938
1939if test -z "$CC"; then
1940  if test -n "$ac_tool_prefix"; then
1941  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1942set dummy ${ac_tool_prefix}cc; ac_word=$2
1943echo "$as_me:$LINENO: checking for $ac_word" >&5
1944echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945if test "${ac_cv_prog_CC+set}" = set; then
1946  echo $ECHO_N "(cached) $ECHO_C" >&6
1947else
1948  if test -n "$CC"; then
1949  ac_cv_prog_CC="$CC" # Let the user override the test.
1950else
1951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952for as_dir in $PATH
1953do
1954  IFS=$as_save_IFS
1955  test -z "$as_dir" && as_dir=.
1956  for ac_exec_ext in '' $ac_executable_extensions; do
1957  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958    ac_cv_prog_CC="${ac_tool_prefix}cc"
1959    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960    break 2
1961  fi
1962done
1963done
1964
1965fi
1966fi
1967CC=$ac_cv_prog_CC
1968if test -n "$CC"; then
1969  echo "$as_me:$LINENO: result: $CC" >&5
1970echo "${ECHO_T}$CC" >&6
1971else
1972  echo "$as_me:$LINENO: result: no" >&5
1973echo "${ECHO_T}no" >&6
1974fi
1975
1976fi
1977if test -z "$ac_cv_prog_CC"; then
1978  ac_ct_CC=$CC
1979  # Extract the first word of "cc", so it can be a program name with args.
1980set dummy cc; ac_word=$2
1981echo "$as_me:$LINENO: checking for $ac_word" >&5
1982echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984  echo $ECHO_N "(cached) $ECHO_C" >&6
1985else
1986  if test -n "$ac_ct_CC"; then
1987  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1988else
1989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990for as_dir in $PATH
1991do
1992  IFS=$as_save_IFS
1993  test -z "$as_dir" && as_dir=.
1994  for ac_exec_ext in '' $ac_executable_extensions; do
1995  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996    ac_cv_prog_ac_ct_CC="cc"
1997    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998    break 2
1999  fi
2000done
2001done
2002
2003fi
2004fi
2005ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006if test -n "$ac_ct_CC"; then
2007  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008echo "${ECHO_T}$ac_ct_CC" >&6
2009else
2010  echo "$as_me:$LINENO: result: no" >&5
2011echo "${ECHO_T}no" >&6
2012fi
2013
2014  CC=$ac_ct_CC
2015else
2016  CC="$ac_cv_prog_CC"
2017fi
2018
2019fi
2020if test -z "$CC"; then
2021  # Extract the first word of "cc", so it can be a program name with args.
2022set dummy cc; ac_word=$2
2023echo "$as_me:$LINENO: checking for $ac_word" >&5
2024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025if test "${ac_cv_prog_CC+set}" = set; then
2026  echo $ECHO_N "(cached) $ECHO_C" >&6
2027else
2028  if test -n "$CC"; then
2029  ac_cv_prog_CC="$CC" # Let the user override the test.
2030else
2031  ac_prog_rejected=no
2032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033for as_dir in $PATH
2034do
2035  IFS=$as_save_IFS
2036  test -z "$as_dir" && as_dir=.
2037  for ac_exec_ext in '' $ac_executable_extensions; do
2038  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2040       ac_prog_rejected=yes
2041       continue
2042     fi
2043    ac_cv_prog_CC="cc"
2044    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045    break 2
2046  fi
2047done
2048done
2049
2050if test $ac_prog_rejected = yes; then
2051  # We found a bogon in the path, so make sure we never use it.
2052  set dummy $ac_cv_prog_CC
2053  shift
2054  if test $# != 0; then
2055    # We chose a different compiler from the bogus one.
2056    # However, it has the same basename, so the bogon will be chosen
2057    # first if we set CC to just the basename; use the full file name.
2058    shift
2059    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2060  fi
2061fi
2062fi
2063fi
2064CC=$ac_cv_prog_CC
2065if test -n "$CC"; then
2066  echo "$as_me:$LINENO: result: $CC" >&5
2067echo "${ECHO_T}$CC" >&6
2068else
2069  echo "$as_me:$LINENO: result: no" >&5
2070echo "${ECHO_T}no" >&6
2071fi
2072
2073fi
2074if test -z "$CC"; then
2075  if test -n "$ac_tool_prefix"; then
2076  for ac_prog in cl
2077  do
2078    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2079set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2080echo "$as_me:$LINENO: checking for $ac_word" >&5
2081echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082if test "${ac_cv_prog_CC+set}" = set; then
2083  echo $ECHO_N "(cached) $ECHO_C" >&6
2084else
2085  if test -n "$CC"; then
2086  ac_cv_prog_CC="$CC" # Let the user override the test.
2087else
2088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089for as_dir in $PATH
2090do
2091  IFS=$as_save_IFS
2092  test -z "$as_dir" && as_dir=.
2093  for ac_exec_ext in '' $ac_executable_extensions; do
2094  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2096    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097    break 2
2098  fi
2099done
2100done
2101
2102fi
2103fi
2104CC=$ac_cv_prog_CC
2105if test -n "$CC"; then
2106  echo "$as_me:$LINENO: result: $CC" >&5
2107echo "${ECHO_T}$CC" >&6
2108else
2109  echo "$as_me:$LINENO: result: no" >&5
2110echo "${ECHO_T}no" >&6
2111fi
2112
2113    test -n "$CC" && break
2114  done
2115fi
2116if test -z "$CC"; then
2117  ac_ct_CC=$CC
2118  for ac_prog in cl
2119do
2120  # Extract the first word of "$ac_prog", so it can be a program name with args.
2121set dummy $ac_prog; ac_word=$2
2122echo "$as_me:$LINENO: checking for $ac_word" >&5
2123echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2125  echo $ECHO_N "(cached) $ECHO_C" >&6
2126else
2127  if test -n "$ac_ct_CC"; then
2128  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2129else
2130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131for as_dir in $PATH
2132do
2133  IFS=$as_save_IFS
2134  test -z "$as_dir" && as_dir=.
2135  for ac_exec_ext in '' $ac_executable_extensions; do
2136  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137    ac_cv_prog_ac_ct_CC="$ac_prog"
2138    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139    break 2
2140  fi
2141done
2142done
2143
2144fi
2145fi
2146ac_ct_CC=$ac_cv_prog_ac_ct_CC
2147if test -n "$ac_ct_CC"; then
2148  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2149echo "${ECHO_T}$ac_ct_CC" >&6
2150else
2151  echo "$as_me:$LINENO: result: no" >&5
2152echo "${ECHO_T}no" >&6
2153fi
2154
2155  test -n "$ac_ct_CC" && break
2156done
2157
2158  CC=$ac_ct_CC
2159fi
2160
2161fi
2162
2163
2164test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2165See \`config.log' for more details." >&5
2166echo "$as_me: error: no acceptable C compiler found in \$PATH
2167See \`config.log' for more details." >&2;}
2168   { (exit 1); exit 1; }; }
2169
2170# Provide some information about the compiler.
2171echo "$as_me:$LINENO:" \
2172     "checking for C compiler version" >&5
2173ac_compiler=`set X $ac_compile; echo $2`
2174{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2175  (eval $ac_compiler --version </dev/null >&5) 2>&5
2176  ac_status=$?
2177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178  (exit $ac_status); }
2179{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2180  (eval $ac_compiler -v </dev/null >&5) 2>&5
2181  ac_status=$?
2182  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183  (exit $ac_status); }
2184{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2185  (eval $ac_compiler -V </dev/null >&5) 2>&5
2186  ac_status=$?
2187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188  (exit $ac_status); }
2189
2190cat >conftest.$ac_ext <<_ACEOF
2191/* confdefs.h.  */
2192_ACEOF
2193cat confdefs.h >>conftest.$ac_ext
2194cat >>conftest.$ac_ext <<_ACEOF
2195/* end confdefs.h.  */
2196
2197int
2198main ()
2199{
2200
2201  ;
2202  return 0;
2203}
2204_ACEOF
2205ac_clean_files_save=$ac_clean_files
2206ac_clean_files="$ac_clean_files a.out a.exe b.out"
2207# Try to create an executable without -o first, disregard a.out.
2208# It will help us diagnose broken compilers, and finding out an intuition
2209# of exeext.
2210echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2211echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2212ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2213if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2214  (eval $ac_link_default) 2>&5
2215  ac_status=$?
2216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217  (exit $ac_status); }; then
2218  # Find the output, starting from the most likely.  This scheme is
2219# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2220# resort.
2221
2222# Be careful to initialize this variable, since it used to be cached.
2223# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2224ac_cv_exeext=
2225# b.out is created by i960 compilers.
2226for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2227do
2228  test -f "$ac_file" || continue
2229  case $ac_file in
2230    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2231        ;;
2232    conftest.$ac_ext )
2233        # This is the source file.
2234        ;;
2235    [ab].out )
2236        # We found the default executable, but exeext='' is most
2237        # certainly right.
2238        break;;
2239    *.* )
2240        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2241        # FIXME: I believe we export ac_cv_exeext for Libtool,
2242        # but it would be cool to find out if it's true.  Does anybody
2243        # maintain Libtool? --akim.
2244        export ac_cv_exeext
2245        break;;
2246    * )
2247        break;;
2248  esac
2249done
2250else
2251  echo "$as_me: failed program was:" >&5
2252sed 's/^/| /' conftest.$ac_ext >&5
2253
2254{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2255See \`config.log' for more details." >&5
2256echo "$as_me: error: C compiler cannot create executables
2257See \`config.log' for more details." >&2;}
2258   { (exit 77); exit 77; }; }
2259fi
2260
2261ac_exeext=$ac_cv_exeext
2262echo "$as_me:$LINENO: result: $ac_file" >&5
2263echo "${ECHO_T}$ac_file" >&6
2264
2265# Check the compiler produces executables we can run.  If not, either
2266# the compiler is broken, or we cross compile.
2267echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2268echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2269# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2270# If not cross compiling, check that we can run a simple program.
2271if test "$cross_compiling" != yes; then
2272  if { ac_try='./$ac_file'
2273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274  (eval $ac_try) 2>&5
2275  ac_status=$?
2276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277  (exit $ac_status); }; }; then
2278    cross_compiling=no
2279  else
2280    if test "$cross_compiling" = maybe; then
2281        cross_compiling=yes
2282    else
2283        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2284If you meant to cross compile, use \`--host'.
2285See \`config.log' for more details." >&5
2286echo "$as_me: error: cannot run C compiled programs.
2287If you meant to cross compile, use \`--host'.
2288See \`config.log' for more details." >&2;}
2289   { (exit 1); exit 1; }; }
2290    fi
2291  fi
2292fi
2293echo "$as_me:$LINENO: result: yes" >&5
2294echo "${ECHO_T}yes" >&6
2295
2296rm -f a.out a.exe conftest$ac_cv_exeext b.out
2297ac_clean_files=$ac_clean_files_save
2298# Check the compiler produces executables we can run.  If not, either
2299# the compiler is broken, or we cross compile.
2300echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2301echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2302echo "$as_me:$LINENO: result: $cross_compiling" >&5
2303echo "${ECHO_T}$cross_compiling" >&6
2304
2305echo "$as_me:$LINENO: checking for suffix of executables" >&5
2306echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2308  (eval $ac_link) 2>&5
2309  ac_status=$?
2310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311  (exit $ac_status); }; then
2312  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2313# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2314# work properly (i.e., refer to `conftest.exe'), while it won't with
2315# `rm'.
2316for ac_file in conftest.exe conftest conftest.*; do
2317  test -f "$ac_file" || continue
2318  case $ac_file in
2319    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2320    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2321          export ac_cv_exeext
2322          break;;
2323    * ) break;;
2324  esac
2325done
2326else
2327  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2328See \`config.log' for more details." >&5
2329echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2330See \`config.log' for more details." >&2;}
2331   { (exit 1); exit 1; }; }
2332fi
2333
2334rm -f conftest$ac_cv_exeext
2335echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2336echo "${ECHO_T}$ac_cv_exeext" >&6
2337
2338rm -f conftest.$ac_ext
2339EXEEXT=$ac_cv_exeext
2340ac_exeext=$EXEEXT
2341echo "$as_me:$LINENO: checking for suffix of object files" >&5
2342echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2343if test "${ac_cv_objext+set}" = set; then
2344  echo $ECHO_N "(cached) $ECHO_C" >&6
2345else
2346  cat >conftest.$ac_ext <<_ACEOF
2347/* confdefs.h.  */
2348_ACEOF
2349cat confdefs.h >>conftest.$ac_ext
2350cat >>conftest.$ac_ext <<_ACEOF
2351/* end confdefs.h.  */
2352
2353int
2354main ()
2355{
2356
2357  ;
2358  return 0;
2359}
2360_ACEOF
2361rm -f conftest.o conftest.obj
2362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363  (eval $ac_compile) 2>&5
2364  ac_status=$?
2365  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366  (exit $ac_status); }; then
2367  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2368  case $ac_file in
2369    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2370    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2371       break;;
2372  esac
2373done
2374else
2375  echo "$as_me: failed program was:" >&5
2376sed 's/^/| /' conftest.$ac_ext >&5
2377
2378{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2379See \`config.log' for more details." >&5
2380echo "$as_me: error: cannot compute suffix of object files: cannot compile
2381See \`config.log' for more details." >&2;}
2382   { (exit 1); exit 1; }; }
2383fi
2384
2385rm -f conftest.$ac_cv_objext conftest.$ac_ext
2386fi
2387echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2388echo "${ECHO_T}$ac_cv_objext" >&6
2389OBJEXT=$ac_cv_objext
2390ac_objext=$OBJEXT
2391echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2392echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2393if test "${ac_cv_c_compiler_gnu+set}" = set; then
2394  echo $ECHO_N "(cached) $ECHO_C" >&6
2395else
2396  cat >conftest.$ac_ext <<_ACEOF
2397/* confdefs.h.  */
2398_ACEOF
2399cat confdefs.h >>conftest.$ac_ext
2400cat >>conftest.$ac_ext <<_ACEOF
2401/* end confdefs.h.  */
2402
2403int
2404main ()
2405{
2406#ifndef __GNUC__
2407       choke me
2408#endif
2409
2410  ;
2411  return 0;
2412}
2413_ACEOF
2414rm -f conftest.$ac_objext
2415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2416  (eval $ac_compile) 2>conftest.er1
2417  ac_status=$?
2418  grep -v '^ *+' conftest.er1 >conftest.err
2419  rm -f conftest.er1
2420  cat conftest.err >&5
2421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422  (exit $ac_status); } &&
2423         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2425  (eval $ac_try) 2>&5
2426  ac_status=$?
2427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428  (exit $ac_status); }; } &&
2429         { ac_try='test -s conftest.$ac_objext'
2430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431  (eval $ac_try) 2>&5
2432  ac_status=$?
2433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434  (exit $ac_status); }; }; then
2435  ac_compiler_gnu=yes
2436else
2437  echo "$as_me: failed program was:" >&5
2438sed 's/^/| /' conftest.$ac_ext >&5
2439
2440ac_compiler_gnu=no
2441fi
2442rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443ac_cv_c_compiler_gnu=$ac_compiler_gnu
2444
2445fi
2446echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2447echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2448GCC=`test $ac_compiler_gnu = yes && echo yes`
2449ac_test_CFLAGS=${CFLAGS+set}
2450ac_save_CFLAGS=$CFLAGS
2451CFLAGS="-g"
2452echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2453echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2454if test "${ac_cv_prog_cc_g+set}" = set; then
2455  echo $ECHO_N "(cached) $ECHO_C" >&6
2456else
2457  cat >conftest.$ac_ext <<_ACEOF
2458/* confdefs.h.  */
2459_ACEOF
2460cat confdefs.h >>conftest.$ac_ext
2461cat >>conftest.$ac_ext <<_ACEOF
2462/* end confdefs.h.  */
2463
2464int
2465main ()
2466{
2467
2468  ;
2469  return 0;
2470}
2471_ACEOF
2472rm -f conftest.$ac_objext
2473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474  (eval $ac_compile) 2>conftest.er1
2475  ac_status=$?
2476  grep -v '^ *+' conftest.er1 >conftest.err
2477  rm -f conftest.er1
2478  cat conftest.err >&5
2479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480  (exit $ac_status); } &&
2481         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2482  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483  (eval $ac_try) 2>&5
2484  ac_status=$?
2485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486  (exit $ac_status); }; } &&
2487         { ac_try='test -s conftest.$ac_objext'
2488  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489  (eval $ac_try) 2>&5
2490  ac_status=$?
2491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492  (exit $ac_status); }; }; then
2493  ac_cv_prog_cc_g=yes
2494else
2495  echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
2497
2498ac_cv_prog_cc_g=no
2499fi
2500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2501fi
2502echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2503echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2504if test "$ac_test_CFLAGS" = set; then
2505  CFLAGS=$ac_save_CFLAGS
2506elif test $ac_cv_prog_cc_g = yes; then
2507  if test "$GCC" = yes; then
2508    CFLAGS="-g -O2"
2509  else
2510    CFLAGS="-g"
2511  fi
2512else
2513  if test "$GCC" = yes; then
2514    CFLAGS="-O2"
2515  else
2516    CFLAGS=
2517  fi
2518fi
2519echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2520echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2521if test "${ac_cv_prog_cc_stdc+set}" = set; then
2522  echo $ECHO_N "(cached) $ECHO_C" >&6
2523else
2524  ac_cv_prog_cc_stdc=no
2525ac_save_CC=$CC
2526cat >conftest.$ac_ext <<_ACEOF
2527/* confdefs.h.  */
2528_ACEOF
2529cat confdefs.h >>conftest.$ac_ext
2530cat >>conftest.$ac_ext <<_ACEOF
2531/* end confdefs.h.  */
2532#include <stdarg.h>
2533#include <stdio.h>
2534#include <sys/types.h>
2535#include <sys/stat.h>
2536/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2537struct buf { int x; };
2538FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539static char *e (p, i)
2540     char **p;
2541     int i;
2542{
2543  return p[i];
2544}
2545static char *f (char * (*g) (char **, int), char **p, ...)
2546{
2547  char *s;
2548  va_list v;
2549  va_start (v,p);
2550  s = g (p, va_arg (v,int));
2551  va_end (v);
2552  return s;
2553}
2554
2555/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2556   function prototypes and stuff, but not '\xHH' hex character constants.
2557   These don't provoke an error unfortunately, instead are silently treated
2558   as 'x'.  The following induces an error, until -std1 is added to get
2559   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2560   array size at least.  It's necessary to write '\x00'==0 to get something
2561   that's true only with -std1.  */
2562int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2563
2564int test (int i, double x);
2565struct s1 {int (*f) (int a);};
2566struct s2 {int (*f) (double a);};
2567int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2568int argc;
2569char **argv;
2570int
2571main ()
2572{
2573return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2574  ;
2575  return 0;
2576}
2577_ACEOF
2578# Don't try gcc -ansi; that turns off useful extensions and
2579# breaks some systems' header files.
2580# AIX                   -qlanglvl=ansi
2581# Ultrix and OSF/1      -std1
2582# HP-UX 10.20 and later -Ae
2583# HP-UX older versions  -Aa -D_HPUX_SOURCE
2584# SVR4                  -Xc -D__EXTENSIONS__
2585for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586do
2587  CC="$ac_save_CC $ac_arg"
2588  rm -f conftest.$ac_objext
2589if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590  (eval $ac_compile) 2>conftest.er1
2591  ac_status=$?
2592  grep -v '^ *+' conftest.er1 >conftest.err
2593  rm -f conftest.er1
2594  cat conftest.err >&5
2595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596  (exit $ac_status); } &&
2597         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599  (eval $ac_try) 2>&5
2600  ac_status=$?
2601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602  (exit $ac_status); }; } &&
2603         { ac_try='test -s conftest.$ac_objext'
2604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605  (eval $ac_try) 2>&5
2606  ac_status=$?
2607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608  (exit $ac_status); }; }; then
2609  ac_cv_prog_cc_stdc=$ac_arg
2610break
2611else
2612  echo "$as_me: failed program was:" >&5
2613sed 's/^/| /' conftest.$ac_ext >&5
2614
2615fi
2616rm -f conftest.err conftest.$ac_objext
2617done
2618rm -f conftest.$ac_ext conftest.$ac_objext
2619CC=$ac_save_CC
2620
2621fi
2622
2623case "x$ac_cv_prog_cc_stdc" in
2624  x|xno)
2625    echo "$as_me:$LINENO: result: none needed" >&5
2626echo "${ECHO_T}none needed" >&6 ;;
2627  *)
2628    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2629echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2630    CC="$CC $ac_cv_prog_cc_stdc" ;;
2631esac
2632
2633# Some people use a C++ compiler to compile C.  Since we use `exit',
2634# in C++ we need to declare it.  In case someone uses the same compiler
2635# for both compiling C and C++ we need to have the C++ compiler decide
2636# the declaration of exit, since it's the most demanding environment.
2637cat >conftest.$ac_ext <<_ACEOF
2638#ifndef __cplusplus
2639  choke me
2640#endif
2641_ACEOF
2642rm -f conftest.$ac_objext
2643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644  (eval $ac_compile) 2>conftest.er1
2645  ac_status=$?
2646  grep -v '^ *+' conftest.er1 >conftest.err
2647  rm -f conftest.er1
2648  cat conftest.err >&5
2649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650  (exit $ac_status); } &&
2651         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653  (eval $ac_try) 2>&5
2654  ac_status=$?
2655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656  (exit $ac_status); }; } &&
2657         { ac_try='test -s conftest.$ac_objext'
2658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659  (eval $ac_try) 2>&5
2660  ac_status=$?
2661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662  (exit $ac_status); }; }; then
2663  for ac_declaration in \
2664   '' \
2665   'extern "C" void std::exit (int) throw (); using std::exit;' \
2666   'extern "C" void std::exit (int); using std::exit;' \
2667   'extern "C" void exit (int) throw ();' \
2668   'extern "C" void exit (int);' \
2669   'void exit (int);'
2670do
2671  cat >conftest.$ac_ext <<_ACEOF
2672/* confdefs.h.  */
2673_ACEOF
2674cat confdefs.h >>conftest.$ac_ext
2675cat >>conftest.$ac_ext <<_ACEOF
2676/* end confdefs.h.  */
2677$ac_declaration
2678#include <stdlib.h>
2679int
2680main ()
2681{
2682exit (42);
2683  ;
2684  return 0;
2685}
2686_ACEOF
2687rm -f conftest.$ac_objext
2688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689  (eval $ac_compile) 2>conftest.er1
2690  ac_status=$?
2691  grep -v '^ *+' conftest.er1 >conftest.err
2692  rm -f conftest.er1
2693  cat conftest.err >&5
2694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695  (exit $ac_status); } &&
2696         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698  (eval $ac_try) 2>&5
2699  ac_status=$?
2700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701  (exit $ac_status); }; } &&
2702         { ac_try='test -s conftest.$ac_objext'
2703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704  (eval $ac_try) 2>&5
2705  ac_status=$?
2706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707  (exit $ac_status); }; }; then
2708  :
2709else
2710  echo "$as_me: failed program was:" >&5
2711sed 's/^/| /' conftest.$ac_ext >&5
2712
2713continue
2714fi
2715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716  cat >conftest.$ac_ext <<_ACEOF
2717/* confdefs.h.  */
2718_ACEOF
2719cat confdefs.h >>conftest.$ac_ext
2720cat >>conftest.$ac_ext <<_ACEOF
2721/* end confdefs.h.  */
2722$ac_declaration
2723int
2724main ()
2725{
2726exit (42);
2727  ;
2728  return 0;
2729}
2730_ACEOF
2731rm -f conftest.$ac_objext
2732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733  (eval $ac_compile) 2>conftest.er1
2734  ac_status=$?
2735  grep -v '^ *+' conftest.er1 >conftest.err
2736  rm -f conftest.er1
2737  cat conftest.err >&5
2738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739  (exit $ac_status); } &&
2740         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2741  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742  (eval $ac_try) 2>&5
2743  ac_status=$?
2744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745  (exit $ac_status); }; } &&
2746         { ac_try='test -s conftest.$ac_objext'
2747  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748  (eval $ac_try) 2>&5
2749  ac_status=$?
2750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751  (exit $ac_status); }; }; then
2752  break
2753else
2754  echo "$as_me: failed program was:" >&5
2755sed 's/^/| /' conftest.$ac_ext >&5
2756
2757fi
2758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2759done
2760rm -f conftest*
2761if test -n "$ac_declaration"; then
2762  echo '#ifdef __cplusplus' >>confdefs.h
2763  echo $ac_declaration      >>confdefs.h
2764  echo '#endif'             >>confdefs.h
2765fi
2766
2767else
2768  echo "$as_me: failed program was:" >&5
2769sed 's/^/| /' conftest.$ac_ext >&5
2770
2771fi
2772rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773ac_ext=c
2774ac_cpp='$CPP $CPPFLAGS'
2775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2777ac_compiler_gnu=$ac_cv_c_compiler_gnu
2778DEPDIR="${am__leading_dot}deps"
2779
2780          ac_config_commands="$ac_config_commands depfiles"
2781
2782
2783am_make=${MAKE-make}
2784cat > confinc << 'END'
2785am__doit:
2786        @echo done
2787.PHONY: am__doit
2788END
2789# If we don't find an include directive, just comment out the code.
2790echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2791echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2792am__include="#"
2793am__quote=
2794_am_result=none
2795# First try GNU make style include.
2796echo "include confinc" > confmf
2797# We grep out `Entering directory' and `Leaving directory'
2798# messages which can occur if `w' ends up in MAKEFLAGS.
2799# In particular we don't look at `^make:' because GNU make might
2800# be invoked under some other name (usually "gmake"), in which
2801# case it prints its new name instead of `make'.
2802if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2803   am__include=include
2804   am__quote=
2805   _am_result=GNU
2806fi
2807# Now try BSD make style include.
2808if test "$am__include" = "#"; then
2809   echo '.include "confinc"' > confmf
2810   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2811      am__include=.include
2812      am__quote="\""
2813      _am_result=BSD
2814   fi
2815fi
2816
2817
2818echo "$as_me:$LINENO: result: $_am_result" >&5
2819echo "${ECHO_T}$_am_result" >&6
2820rm -f confinc confmf
2821
2822# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2823if test "${enable_dependency_tracking+set}" = set; then
2824  enableval="$enable_dependency_tracking"
2825
2826fi;
2827if test "x$enable_dependency_tracking" != xno; then
2828  am_depcomp="$ac_aux_dir/depcomp"
2829  AMDEPBACKSLASH='\'
2830fi
2831
2832
2833if test "x$enable_dependency_tracking" != xno; then
2834  AMDEP_TRUE=
2835  AMDEP_FALSE='#'
2836else
2837  AMDEP_TRUE='#'
2838  AMDEP_FALSE=
2839fi
2840
2841
2842
2843
2844depcc="$CC"   am_compiler_list=
2845
2846echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2847echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2848if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2849  echo $ECHO_N "(cached) $ECHO_C" >&6
2850else
2851  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2852  # We make a subdir and do the tests there.  Otherwise we can end up
2853  # making bogus files that we don't know about and never remove.  For
2854  # instance it was reported that on HP-UX the gcc test will end up
2855  # making a dummy file named `D' -- because `-MD' means `put the output
2856  # in D'.
2857  mkdir conftest.dir
2858  # Copy depcomp to subdir because otherwise we won't find it if we're
2859  # using a relative directory.
2860  cp "$am_depcomp" conftest.dir
2861  cd conftest.dir
2862  # We will build objects and dependencies in a subdirectory because
2863  # it helps to detect inapplicable dependency modes.  For instance
2864  # both Tru64's cc and ICC support -MD to output dependencies as a
2865  # side effect of compilation, but ICC will put the dependencies in
2866  # the current directory while Tru64 will put them in the object
2867  # directory.
2868  mkdir sub
2869
2870  am_cv_CC_dependencies_compiler_type=none
2871  if test "$am_compiler_list" = ""; then
2872     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2873  fi
2874  for depmode in $am_compiler_list; do
2875    # Setup a source with many dependencies, because some compilers
2876    # like to wrap large dependency lists on column 80 (with \), and
2877    # we should not choose a depcomp mode which is confused by this.
2878    #
2879    # We need to recreate these files for each test, as the compiler may
2880    # overwrite some of them when testing with obscure command lines.
2881    # This happens at least with the AIX C compiler.
2882    : > sub/conftest.c
2883    for i in 1 2 3 4 5 6; do
2884      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2885      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2886      # Solaris 8's {/usr,}/bin/sh.
2887      touch sub/conftst$i.h
2888    done
2889    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2890
2891    case $depmode in
2892    nosideeffect)
2893      # after this tag, mechanisms are not by side-effect, so they'll
2894      # only be used when explicitly requested
2895      if test "x$enable_dependency_tracking" = xyes; then
2896        continue
2897      else
2898        break
2899      fi
2900      ;;
2901    none) break ;;
2902    esac
2903    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2904    # mode.  It turns out that the SunPro C++ compiler does not properly
2905    # handle `-M -o', and we need to detect this.
2906    if depmode=$depmode \
2907       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2908       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2909       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2910         >/dev/null 2>conftest.err &&
2911       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2912       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2913       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2914      # icc doesn't choke on unknown options, it will just issue warnings
2915      # or remarks (even with -Werror).  So we grep stderr for any message
2916      # that says an option was ignored or not supported.
2917      # When given -MP, icc 7.0 and 7.1 complain thusly:
2918      #   icc: Command line warning: ignoring option '-M'; no argument required
2919      # The diagnosis changed in icc 8.0:
2920      #   icc: Command line remark: option '-MP' not supported
2921      if (grep 'ignoring option' conftest.err ||
2922          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2923        am_cv_CC_dependencies_compiler_type=$depmode
2924        break
2925      fi
2926    fi
2927  done
2928
2929  cd ..
2930  rm -rf conftest.dir
2931else
2932  am_cv_CC_dependencies_compiler_type=none
2933fi
2934
2935fi
2936echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2937echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2938CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2939
2940
2941
2942if
2943  test "x$enable_dependency_tracking" != xno \
2944  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2945  am__fastdepCC_TRUE=
2946  am__fastdepCC_FALSE='#'
2947else
2948  am__fastdepCC_TRUE='#'
2949  am__fastdepCC_FALSE=
2950fi
2951
2952
2953echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2954echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2955if test "${lt_cv_path_SED+set}" = set; then
2956  echo $ECHO_N "(cached) $ECHO_C" >&6
2957else
2958  # Loop through the user's path and test for sed and gsed.
2959# Then use that list of sed's as ones to test for truncation.
2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961for as_dir in $PATH
2962do
2963  IFS=$as_save_IFS
2964  test -z "$as_dir" && as_dir=.
2965  for lt_ac_prog in sed gsed; do
2966    for ac_exec_ext in '' $ac_executable_extensions; do
2967      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2968        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2969      fi
2970    done
2971  done
2972done
2973lt_ac_max=0
2974lt_ac_count=0
2975# Add /usr/xpg4/bin/sed as it is typically found on Solaris
2976# along with /bin/sed that truncates output.
2977for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
2978  test ! -f $lt_ac_sed && break
2979  cat /dev/null > conftest.in
2980  lt_ac_count=0
2981  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
2982  # Check for GNU sed and select it if it is found.
2983  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
2984    lt_cv_path_SED=$lt_ac_sed
2985    break
2986  fi
2987  while true; do
2988    cat conftest.in conftest.in >conftest.tmp
2989    mv conftest.tmp conftest.in
2990    cp conftest.in conftest.nl
2991    echo >>conftest.nl
2992    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
2993    cmp -s conftest.out conftest.nl || break
2994    # 10000 chars as input seems more than enough
2995    test $lt_ac_count -gt 10 && break
2996    lt_ac_count=`expr $lt_ac_count + 1`
2997    if test $lt_ac_count -gt $lt_ac_max; then
2998      lt_ac_max=$lt_ac_count
2999      lt_cv_path_SED=$lt_ac_sed
3000    fi
3001  done
3002done
3003SED=$lt_cv_path_SED
3004
3005fi
3006
3007echo "$as_me:$LINENO: result: $SED" >&5
3008echo "${ECHO_T}$SED" >&6
3009
3010echo "$as_me:$LINENO: checking for egrep" >&5
3011echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3012if test "${ac_cv_prog_egrep+set}" = set; then
3013  echo $ECHO_N "(cached) $ECHO_C" >&6
3014else
3015  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3016    then ac_cv_prog_egrep='grep -E'
3017    else ac_cv_prog_egrep='egrep'
3018    fi
3019fi
3020echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3021echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3022 EGREP=$ac_cv_prog_egrep
3023
3024
3025
3026# Check whether --with-gnu-ld or --without-gnu-ld was given.
3027if test "${with_gnu_ld+set}" = set; then
3028  withval="$with_gnu_ld"
3029  test "$withval" = no || with_gnu_ld=yes
3030else
3031  with_gnu_ld=no
3032fi;
3033ac_prog=ld
3034if test "$GCC" = yes; then
3035  # Check if gcc -print-prog-name=ld gives a path.
3036  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3037echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3038  case $host in
3039  *-*-mingw*)
3040    # gcc leaves a trailing carriage return which upsets mingw
3041    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3042  *)
3043    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3044  esac
3045  case $ac_prog in
3046    # Accept absolute paths.
3047    [\\/]* | ?:[\\/]*)
3048      re_direlt='/[^/][^/]*/\.\./'
3049      # Canonicalize the pathname of ld
3050      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3051      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3052        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3053      done
3054      test -z "$LD" && LD="$ac_prog"
3055      ;;
3056  "")
3057    # If it fails, then pretend we aren't using GCC.
3058    ac_prog=ld
3059    ;;
3060  *)
3061    # If it is relative, then search for the first ld in PATH.
3062    with_gnu_ld=unknown
3063    ;;
3064  esac
3065elif test "$with_gnu_ld" = yes; then
3066  echo "$as_me:$LINENO: checking for GNU ld" >&5
3067echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3068else
3069  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3070echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3071fi
3072if test "${lt_cv_path_LD+set}" = set; then
3073  echo $ECHO_N "(cached) $ECHO_C" >&6
3074else
3075  if test -z "$LD"; then
3076  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3077  for ac_dir in $PATH; do
3078    IFS="$lt_save_ifs"
3079    test -z "$ac_dir" && ac_dir=.
3080    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3081      lt_cv_path_LD="$ac_dir/$ac_prog"
3082      # Check to see if the program is GNU ld.  I'd rather use --version,
3083      # but apparently some GNU ld's only accept -v.
3084      # Break only if it was the GNU/non-GNU ld that we prefer.
3085      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3086      *GNU* | *'with BFD'*)
3087        test "$with_gnu_ld" != no && break
3088        ;;
3089      *)
3090        test "$with_gnu_ld" != yes && break
3091        ;;
3092      esac
3093    fi
3094  done
3095  IFS="$lt_save_ifs"
3096else
3097  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3098fi
3099fi
3100
3101LD="$lt_cv_path_LD"
3102if test -n "$LD"; then
3103  echo "$as_me:$LINENO: result: $LD" >&5
3104echo "${ECHO_T}$LD" >&6
3105else
3106  echo "$as_me:$LINENO: result: no" >&5
3107echo "${ECHO_T}no" >&6
3108fi
3109test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3110echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3111   { (exit 1); exit 1; }; }
3112echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3113echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3114if test "${lt_cv_prog_gnu_ld+set}" = set; then
3115  echo $ECHO_N "(cached) $ECHO_C" >&6
3116else
3117  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3118case `$LD -v 2>&1 </dev/null` in
3119*GNU* | *'with BFD'*)
3120  lt_cv_prog_gnu_ld=yes
3121  ;;
3122*)
3123  lt_cv_prog_gnu_ld=no
3124  ;;
3125esac
3126fi
3127echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3128echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3129with_gnu_ld=$lt_cv_prog_gnu_ld
3130
3131
3132# Find a good install program.  We prefer a C program (faster),
3133# so one script is as good as another.  But avoid the broken or
3134# incompatible versions:
3135# SysV /etc/install, /usr/sbin/install
3136# SunOS /usr/etc/install
3137# IRIX /sbin/install
3138# AIX /bin/install
3139# AmigaOS /C/install, which installs bootblocks on floppy discs
3140# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3141# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3142# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3143# OS/2's system install, which has a completely different semantic
3144# ./install, which can be erroneously created by make from ./install.sh.
3145echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3146echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3147if test -z "$INSTALL"; then
3148if test "${ac_cv_path_install+set}" = set; then
3149  echo $ECHO_N "(cached) $ECHO_C" >&6
3150else
3151  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152for as_dir in $PATH
3153do
3154  IFS=$as_save_IFS
3155  test -z "$as_dir" && as_dir=.
3156  # Account for people who put trailing slashes in PATH elements.
3157case $as_dir/ in
3158  ./ | .// | /cC/* | \
3159  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3160  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3161  /usr/ucb/* ) ;;
3162  *)
3163    # OSF1 and SCO ODT 3.0 have their own names for install.
3164    # Don't use installbsd from OSF since it installs stuff as root
3165    # by default.
3166    for ac_prog in ginstall scoinst install; do
3167      for ac_exec_ext in '' $ac_executable_extensions; do
3168        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3169          if test $ac_prog = install &&
3170            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3171            # AIX install.  It has an incompatible calling convention.
3172            :
3173          elif test $ac_prog = install &&
3174            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3175            # program-specific install script used by HP pwplus--don't use.
3176            :
3177          else
3178            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3179            break 3
3180          fi
3181        fi
3182      done
3183    done
3184    ;;
3185esac
3186done
3187
3188
3189fi
3190  if test "${ac_cv_path_install+set}" = set; then
3191    INSTALL=$ac_cv_path_install
3192  else
3193    # As a last resort, use the slow shell script.  We don't cache a
3194    # path for INSTALL within a source directory, because that will
3195    # break other packages using the cache if that directory is
3196    # removed, or if the path is relative.
3197    INSTALL=$ac_install_sh
3198  fi
3199fi
3200echo "$as_me:$LINENO: result: $INSTALL" >&5
3201echo "${ECHO_T}$INSTALL" >&6
3202
3203# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3204# It thinks the first close brace ends the variable substitution.
3205test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3206
3207test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3208
3209test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3210
3211
3212
3213AP_VERSION=2.0.40
3214
3215
3216# Check whether --with-apxs or --without-apxs was given.
3217if test "${with_apxs+set}" = set; then
3218  withval="$with_apxs"
3219  apxs_prefix="$withval"
3220else
3221  apxs_prefix="/usr"
3222
3223fi;
3224
3225# Check whether --enable-apachetest or --disable-apachetest was given.
3226if test "${enable_apachetest+set}" = set; then
3227  enableval="$enable_apachetest"
3228
3229else
3230  enable_apachetest=yes
3231
3232fi;
3233
3234    if test -x $apxs_prefix -a ! -d $apxs_prefix; then
3235        APXS_BIN=$apxs_prefix
3236    else
3237        test_paths="$apxs_prefix:$apxs_prefix/bin:$apxs_prefix/sbin"
3238        test_paths="${test_paths}:/usr/bin:/usr/sbin"
3239        test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin:/usr/local/apache2/bin"
3240        # Extract the first word of "apxs", so it can be a program name with args.
3241set dummy apxs; ac_word=$2
3242echo "$as_me:$LINENO: checking for $ac_word" >&5
3243echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244if test "${ac_cv_path_APXS_BIN+set}" = set; then
3245  echo $ECHO_N "(cached) $ECHO_C" >&6
3246else
3247  case $APXS_BIN in
3248  [\\/]* | ?:[\\/]*)
3249  ac_cv_path_APXS_BIN="$APXS_BIN" # Let the user override the test with a path.
3250  ;;
3251  *)
3252  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253for as_dir in $test_paths
3254do
3255  IFS=$as_save_IFS
3256  test -z "$as_dir" && as_dir=.
3257  for ac_exec_ext in '' $ac_executable_extensions; do
3258  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259    ac_cv_path_APXS_BIN="$as_dir/$ac_word$ac_exec_ext"
3260    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261    break 2
3262  fi
3263done
3264done
3265
3266  test -z "$ac_cv_path_APXS_BIN" && ac_cv_path_APXS_BIN="no"
3267  ;;
3268esac
3269fi
3270APXS_BIN=$ac_cv_path_APXS_BIN
3271
3272if test -n "$APXS_BIN"; then
3273  echo "$as_me:$LINENO: result: $APXS_BIN" >&5
3274echo "${ECHO_T}$APXS_BIN" >&6
3275else
3276  echo "$as_me:$LINENO: result: no" >&5
3277echo "${ECHO_T}no" >&6
3278fi
3279
3280    fi
3281    min_apache13_version=no
3282    min_apache20_version=$AP_VERSION
3283    no_apxs=""
3284    if test "$APXS_BIN" = "no"; then
3285        { { echo "$as_me:$LINENO: error: *** The apxs binary installed by apache could not be found!" >&5
3286echo "$as_me: error: *** The apxs binary installed by apache could not be found!" >&2;}
3287   { (exit 1); exit 1; }; }
3288        { { echo "$as_me:$LINENO: error: *** Use the --with-apxs option with the full path to apxs" >&5
3289echo "$as_me: error: *** Use the --with-apxs option with the full path to apxs" >&2;}
3290   { (exit 1); exit 1; }; }
3291    else
3292        AP_INCLUDES="-I`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
3293        AP_INCLUDEDIR="`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
3294
3295        AP_PREFIX="`$APXS_BIN -q prefix 2>/dev/null`"
3296
3297        AP_BINDIR="`$APXS_BIN -q bindir 2>/dev/null`"
3298        AP_SBINDIR="`$APXS_BIN -q sbindir 2>/dev/null`"
3299        AP_SYSCONFDIR="`$APXS_BIN -q sysconfdir 2>/dev/null`"
3300
3301        APXS_CFLAGS=""
3302        for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do
3303            APXS_CFLAGS="$APXS_CFLAGS `$APXS_BIN -q $flag 2>/dev/null`"
3304        done
3305
3306        AP_CPPFLAGS="$APXS_CPPFLAGS $AP_INCLUDES"
3307        AP_CFLAGS="$APXS_CFLAGS $AP_INCLUDES"
3308
3309        AP_LIBEXECDIR=`$APXS_BIN -q LIBEXECDIR 2>/dev/null`
3310
3311        if test "x$enable_apachetest" = "xyes" ; then
3312            if test "$min_apache20_version" != "no"; then
3313                APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-1-config"
3314                if test ! -x $APR_CONFIG; then
3315                    APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-config"
3316                fi
3317                APR_INCLUDES=`$APR_CONFIG --includes 2>/dev/null`
3318                APR_VERSION=`$APR_CONFIG --version 2>/dev/null`
3319                APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-1-config"
3320                if test ! -x $APU_CONFIG; then
3321                    APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-config"
3322                fi
3323                APU_INCLUDES=`$APU_CONFIG --includes 2>/dev/null`
3324                APU_VERSION=`$APU_CONFIG --version 2>/dev/null`
3325
3326                echo "$as_me:$LINENO: checking for Apache 2.0 version >= $min_apache20_version" >&5
3327echo $ECHO_N "checking for Apache 2.0 version >= $min_apache20_version... $ECHO_C" >&6
3328
3329    releasetest=20
3330    min_apache_version="$min_apache20_version"
3331    no_apache=""
3332    ac_save_CFLAGS="$CFLAGS"
3333    CFLAGS="$CFLAGS $AP_CFLAGS"
3334    if test $releasetest -eq 20; then
3335        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3336    fi
3337    if test "$cross_compiling" = yes; then
3338  echo $ac_n "cross compiling; assumed OK... $ac_c"
3339else
3340  cat >conftest.$ac_ext <<_ACEOF
3341/* confdefs.h.  */
3342_ACEOF
3343cat confdefs.h >>conftest.$ac_ext
3344cat >>conftest.$ac_ext <<_ACEOF
3345/* end confdefs.h.  */
3346
3347#include <stdio.h>
3348#include <stdlib.h>
3349#include <string.h>
3350#include "httpd.h"
3351
3352#ifndef AP_SERVER_BASEREVISION
3353    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
3354#endif
3355
3356char* my_strdup (char *str)
3357{
3358    char *new_str;
3359
3360    if (str) {
3361        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3362        strcpy (new_str, str);
3363    } else
3364        new_str = NULL;
3365
3366    return new_str;
3367}
3368
3369int main (int argc, char *argv[])
3370{
3371    int major1, minor1, micro1;
3372    int major2, minor2, micro2;
3373    char *tmp_version;
3374
3375    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
3376
3377    tmp_version = my_strdup("$min_apache_version");
3378    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
3379        printf("%s, bad version string\n", "$min_apache_version");
3380        exit(1);
3381    }
3382    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
3383    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
3384        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
3385        exit(1);
3386    }
3387
3388    if ( (major2 == major1) &&
3389        ( (minor2 > minor1) ||
3390        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
3391        exit(0);
3392    } else {
3393        exit(1);
3394    }
3395}
3396
3397
3398_ACEOF
3399rm -f conftest$ac_exeext
3400if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3401  (eval $ac_link) 2>&5
3402  ac_status=$?
3403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3405  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406  (eval $ac_try) 2>&5
3407  ac_status=$?
3408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409  (exit $ac_status); }; }; then
3410  :
3411else
3412  echo "$as_me: program exited with status $ac_status" >&5
3413echo "$as_me: failed program was:" >&5
3414sed 's/^/| /' conftest.$ac_ext >&5
3415
3416( exit $ac_status )
3417no_apache=yes
3418fi
3419rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3420fi
3421    CFLAGS="$ac_save_CFLAGS"
3422
3423    if test "x$no_apache" = x ; then
3424        echo "$as_me:$LINENO: result: yes" >&5
3425echo "${ECHO_T}yes" >&6
3426
3427cat >>confdefs.h <<\_ACEOF
3428#define WITH_APACHE20 1
3429_ACEOF
3430
3431                    AP_VERSION="2.0"
3432                    APXS_EXTENSION=.la
3433                    AP_CFLAGS="$AP_CFLAGS $APU_INCLUDES $APR_INCLUDES"
3434                    AP_CPPFLAGS="$AP_CPPFLAGS $APU_INCLUDES $APR_INCLUDES"
3435                    AP_DEFS="-DWITH_APACHE20"
3436                    :
3437       else
3438        if test -f conf.apachetest ; then
3439            :
3440        else
3441            echo "*** Could not run Apache test program, checking why..."
3442            CFLAGS="$CFLAGS $AP_CFLAGS"
3443            if test $releasetest -eq 20; then
3444                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3445            fi
3446            cat >conftest.$ac_ext <<_ACEOF
3447/* confdefs.h.  */
3448_ACEOF
3449cat confdefs.h >>conftest.$ac_ext
3450cat >>conftest.$ac_ext <<_ACEOF
3451/* end confdefs.h.  */
3452
3453#include <stdio.h>
3454#include "httpd.h"
3455
3456int main(int argc, char *argv[])
3457{ return 0; }
3458#undef main
3459#define main K_and_R_C_main
3460
3461int
3462main ()
3463{
3464 return 0;
3465  ;
3466  return 0;
3467}
3468_ACEOF
3469rm -f conftest.$ac_objext conftest$ac_exeext
3470if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3471  (eval $ac_link) 2>conftest.er1
3472  ac_status=$?
3473  grep -v '^ *+' conftest.er1 >conftest.err
3474  rm -f conftest.er1
3475  cat conftest.err >&5
3476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477  (exit $ac_status); } &&
3478         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480  (eval $ac_try) 2>&5
3481  ac_status=$?
3482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483  (exit $ac_status); }; } &&
3484         { ac_try='test -s conftest$ac_exeext'
3485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486  (eval $ac_try) 2>&5
3487  ac_status=$?
3488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489  (exit $ac_status); }; }; then
3490   echo "*** The test program compiled, but failed to run. Check config.log"
3491else
3492  echo "$as_me: failed program was:" >&5
3493sed 's/^/| /' conftest.$ac_ext >&5
3494
3495 echo "*** The test program failed to compile or link. Check config.log"
3496fi
3497rm -f conftest.err conftest.$ac_objext \
3498      conftest$ac_exeext conftest.$ac_ext
3499            CFLAGS="$ac_save_CFLAGS"
3500        fi
3501         echo "$as_me:$LINENO: result: no" >&5
3502echo "${ECHO_T}no" >&6
3503                    if test "x$min_apache13_version" = "xno"; then
3504                        { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5
3505echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;}
3506   { (exit 1); exit 1; }; }
3507
3508                    fi
3509
3510      fi
3511      rm -f conf.apachetest
3512
3513            fi
3514            if test "$min_apache13_version" != "no" -a "x$AP_VERSION" = "x"; then
3515                APR_INCLUDES=""
3516                APR_VERSION=""
3517                APU_INCLUDES=""
3518                APU_VERSION=""
3519                echo "$as_me:$LINENO: checking for Apache 1.3 version >= $min_apache13_version" >&5
3520echo $ECHO_N "checking for Apache 1.3 version >= $min_apache13_version... $ECHO_C" >&6
3521
3522    releasetest=13
3523    min_apache_version="$min_apache13_version"
3524    no_apache=""
3525    ac_save_CFLAGS="$CFLAGS"
3526    CFLAGS="$CFLAGS $AP_CFLAGS"
3527    if test $releasetest -eq 20; then
3528        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3529    fi
3530    if test "$cross_compiling" = yes; then
3531  echo $ac_n "cross compiling; assumed OK... $ac_c"
3532else
3533  cat >conftest.$ac_ext <<_ACEOF
3534/* confdefs.h.  */
3535_ACEOF
3536cat confdefs.h >>conftest.$ac_ext
3537cat >>conftest.$ac_ext <<_ACEOF
3538/* end confdefs.h.  */
3539
3540#include <stdio.h>
3541#include <stdlib.h>
3542#include <string.h>
3543#include "httpd.h"
3544
3545#ifndef AP_SERVER_BASEREVISION
3546    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
3547#endif
3548
3549char* my_strdup (char *str)
3550{
3551    char *new_str;
3552
3553    if (str) {
3554        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3555        strcpy (new_str, str);
3556    } else
3557        new_str = NULL;
3558
3559    return new_str;
3560}
3561
3562int main (int argc, char *argv[])
3563{
3564    int major1, minor1, micro1;
3565    int major2, minor2, micro2;
3566    char *tmp_version;
3567
3568    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
3569
3570    tmp_version = my_strdup("$min_apache_version");
3571    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
3572        printf("%s, bad version string\n", "$min_apache_version");
3573        exit(1);
3574    }
3575    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
3576    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
3577        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
3578        exit(1);
3579    }
3580
3581    if ( (major2 == major1) &&
3582        ( (minor2 > minor1) ||
3583        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
3584        exit(0);
3585    } else {
3586        exit(1);
3587    }
3588}
3589
3590
3591_ACEOF
3592rm -f conftest$ac_exeext
3593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594  (eval $ac_link) 2>&5
3595  ac_status=$?
3596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599  (eval $ac_try) 2>&5
3600  ac_status=$?
3601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602  (exit $ac_status); }; }; then
3603  :
3604else
3605  echo "$as_me: program exited with status $ac_status" >&5
3606echo "$as_me: failed program was:" >&5
3607sed 's/^/| /' conftest.$ac_ext >&5
3608
3609( exit $ac_status )
3610no_apache=yes
3611fi
3612rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3613fi
3614    CFLAGS="$ac_save_CFLAGS"
3615
3616    if test "x$no_apache" = x ; then
3617        echo "$as_me:$LINENO: result: yes" >&5
3618echo "${ECHO_T}yes" >&6
3619
3620cat >>confdefs.h <<\_ACEOF
3621#define WITH_APACHE13 1
3622_ACEOF
3623
3624                    AP_VERSION="1.3"
3625                    APXS_EXTENSION=.so
3626                    AP_CFLAGS="-g $AP_CFLAGS"
3627                    AP_DEFS="-DWITH_APACHE13"
3628                    :
3629       else
3630        if test -f conf.apachetest ; then
3631            :
3632        else
3633            echo "*** Could not run Apache test program, checking why..."
3634            CFLAGS="$CFLAGS $AP_CFLAGS"
3635            if test $releasetest -eq 20; then
3636                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3637            fi
3638            cat >conftest.$ac_ext <<_ACEOF
3639/* confdefs.h.  */
3640_ACEOF
3641cat confdefs.h >>conftest.$ac_ext
3642cat >>conftest.$ac_ext <<_ACEOF
3643/* end confdefs.h.  */
3644
3645#include <stdio.h>
3646#include "httpd.h"
3647
3648int main(int argc, char *argv[])
3649{ return 0; }
3650#undef main
3651#define main K_and_R_C_main
3652
3653int
3654main ()
3655{
3656 return 0;
3657  ;
3658  return 0;
3659}
3660_ACEOF
3661rm -f conftest.$ac_objext conftest$ac_exeext
3662if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3663  (eval $ac_link) 2>conftest.er1
3664  ac_status=$?
3665  grep -v '^ *+' conftest.er1 >conftest.err
3666  rm -f conftest.er1
3667  cat conftest.err >&5
3668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669  (exit $ac_status); } &&
3670         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672  (eval $ac_try) 2>&5
3673  ac_status=$?
3674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675  (exit $ac_status); }; } &&
3676         { ac_try='test -s conftest$ac_exeext'
3677  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678  (eval $ac_try) 2>&5
3679  ac_status=$?
3680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681  (exit $ac_status); }; }; then
3682   echo "*** The test program compiled, but failed to run. Check config.log"
3683else
3684  echo "$as_me: failed program was:" >&5
3685sed 's/^/| /' conftest.$ac_ext >&5
3686
3687 echo "*** The test program failed to compile or link. Check config.log"
3688fi
3689rm -f conftest.err conftest.$ac_objext \
3690      conftest$ac_exeext conftest.$ac_ext
3691            CFLAGS="$ac_save_CFLAGS"
3692        fi
3693         echo "$as_me:$LINENO: result: no" >&5
3694echo "${ECHO_T}no" >&6
3695                    { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5
3696echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;}
3697   { (exit 1); exit 1; }; }
3698
3699
3700      fi
3701      rm -f conf.apachetest
3702
3703            fi
3704        fi
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721    fi
3722
3723
3724LIBTOOL="`${APR_CONFIG} --apr-libtool`"
3725
3726
3727MIN_TLS_VERSION=1.2.0
3728
3729
3730# Check whether --with-libgnutls or --without-libgnutls was given.
3731if test "${with_libgnutls+set}" = set; then
3732  withval="$with_libgnutls"
3733  tls_prefix="$withval"
3734else
3735  tls_prefix="/usr"
3736
3737fi;
3738
3739    if test -x $tls_prefix -a ! -d $tls_prefix; then
3740        GTLS_BIN=$tls_prefix
3741    else
3742        test_paths="$tls_prefix:$tls_prefix/bin:$tls_prefix/sbin"
3743        test_paths="${test_paths}:/usr/bin:/usr/sbin"
3744        test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin"
3745        # Extract the first word of "libgnutls-config", so it can be a program name with args.
3746set dummy libgnutls-config; ac_word=$2
3747echo "$as_me:$LINENO: checking for $ac_word" >&5
3748echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3749if test "${ac_cv_path_GTLS_BIN+set}" = set; then
3750  echo $ECHO_N "(cached) $ECHO_C" >&6
3751else
3752  case $GTLS_BIN in
3753  [\\/]* | ?:[\\/]*)
3754  ac_cv_path_GTLS_BIN="$GTLS_BIN" # Let the user override the test with a path.
3755  ;;
3756  *)
3757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758for as_dir in $test_paths
3759do
3760  IFS=$as_save_IFS
3761  test -z "$as_dir" && as_dir=.
3762  for ac_exec_ext in '' $ac_executable_extensions; do
3763  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764    ac_cv_path_GTLS_BIN="$as_dir/$ac_word$ac_exec_ext"
3765    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3766    break 2
3767  fi
3768done
3769done
3770
3771  test -z "$ac_cv_path_GTLS_BIN" && ac_cv_path_GTLS_BIN="no"
3772  ;;
3773esac
3774fi
3775GTLS_BIN=$ac_cv_path_GTLS_BIN
3776
3777if test -n "$GTLS_BIN"; then
3778  echo "$as_me:$LINENO: result: $GTLS_BIN" >&5
3779echo "${ECHO_T}$GTLS_BIN" >&6
3780else
3781  echo "$as_me:$LINENO: result: no" >&5
3782echo "${ECHO_T}no" >&6
3783fi
3784
3785    fi
3786
3787    if test "$GTLS_BIN" = "no"; then
3788        { { echo "$as_me:$LINENO: error: *** The libgnutls-config binary installed by GnuTLS could not be found!" >&5
3789echo "$as_me: error: *** The libgnutls-config binary installed by GnuTLS could not be found!" >&2;}
3790   { (exit 1); exit 1; }; }
3791        { { echo "$as_me:$LINENO: error: *** Use the --with-libgnutls option with the full path to libgnutls-config" >&5
3792echo "$as_me: error: *** Use the --with-libgnutls option with the full path to libgnutls-config" >&2;}
3793   { (exit 1); exit 1; }; }
3794    else
3795                LIBGNUTLS_LIBS="`$GTLS_BIN --libs`"
3796        LIBGNUTLS_CFLAGS="`$GTLS_BIN --cflags`"
3797        LIBGNUTLS_VERSION="`$GTLS_BIN --version`"
3798        LIBGNUTLS_PREFIX="`$GTLS_BIN --prefix`"
3799        GNUTLS_CERTTOOL="${LIBGNUTLS_PREFIX}/bin/certtool"
3800
3801
3802
3803
3804
3805    fi
3806
3807
3808have_apr_memcache=0
3809
3810
3811# Check whether --with-apr-memcache or --without-apr-memcache was given.
3812if test "${with_apr_memcache+set}" = set; then
3813  withval="$with_apr_memcache"
3814  mc_path="$withval"
3815else
3816  :
3817fi;
3818
3819if test -z $mc_path; then
3820    test_paths="/usr/local /usr /usr/local/apache2"
3821else
3822    test_paths="${mc_path}"
3823fi
3824
3825if test -n ${AP_PREFIX}; then
3826    test_paths="${AP_PREFIX} ${test_paths}"
3827fi
3828
3829for x in $test_paths ; do
3830    echo "$as_me:$LINENO: checking for apr_memcache library in ${x}/lib" >&5
3831echo $ECHO_N "checking for apr_memcache library in ${x}/lib... $ECHO_C" >&6
3832    if test -f ${x}/lib/libapr_memcache.so; then
3833        echo "$as_me:$LINENO: result: yes" >&5
3834echo "${ECHO_T}yes" >&6
3835        save_CFLAGS=$CFLAGS
3836        save_LDFLAGS=$LDFLAGS
3837        CFLAGS="$CFLAGS"
3838        LDFLAGS="-L$x/lib $LDFLAGS"
3839        echo "$as_me:$LINENO: checking for apr_memcache_create in -lapr_memcache" >&5
3840echo $ECHO_N "checking for apr_memcache_create in -lapr_memcache... $ECHO_C" >&6
3841if test "${ac_cv_lib_apr_memcache_apr_memcache_create+set}" = set; then
3842  echo $ECHO_N "(cached) $ECHO_C" >&6
3843else
3844  ac_check_lib_save_LIBS=$LIBS
3845LIBS="-lapr_memcache  $LIBS"
3846cat >conftest.$ac_ext <<_ACEOF
3847/* confdefs.h.  */
3848_ACEOF
3849cat confdefs.h >>conftest.$ac_ext
3850cat >>conftest.$ac_ext <<_ACEOF
3851/* end confdefs.h.  */
3852
3853/* Override any gcc2 internal prototype to avoid an error.  */
3854#ifdef __cplusplus
3855extern "C"
3856#endif
3857/* We use char because int might match the return type of a gcc2
3858   builtin and then its argument prototype would still apply.  */
3859char apr_memcache_create ();
3860int
3861main ()
3862{
3863apr_memcache_create ();
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868rm -f conftest.$ac_objext conftest$ac_exeext
3869if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3870  (eval $ac_link) 2>conftest.er1
3871  ac_status=$?
3872  grep -v '^ *+' conftest.er1 >conftest.err
3873  rm -f conftest.er1
3874  cat conftest.err >&5
3875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876  (exit $ac_status); } &&
3877         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879  (eval $ac_try) 2>&5
3880  ac_status=$?
3881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882  (exit $ac_status); }; } &&
3883         { ac_try='test -s conftest$ac_exeext'
3884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885  (eval $ac_try) 2>&5
3886  ac_status=$?
3887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888  (exit $ac_status); }; }; then
3889  ac_cv_lib_apr_memcache_apr_memcache_create=yes
3890else
3891  echo "$as_me: failed program was:" >&5
3892sed 's/^/| /' conftest.$ac_ext >&5
3893
3894ac_cv_lib_apr_memcache_apr_memcache_create=no
3895fi
3896rm -f conftest.err conftest.$ac_objext \
3897      conftest$ac_exeext conftest.$ac_ext
3898LIBS=$ac_check_lib_save_LIBS
3899fi
3900echo "$as_me:$LINENO: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
3901echo "${ECHO_T}$ac_cv_lib_apr_memcache_apr_memcache_create" >&6
3902if test $ac_cv_lib_apr_memcache_apr_memcache_create = yes; then
3903
3904            APR_MEMCACHE_LIBS="-L$x/lib -lapr_memcache"
3905            APR_MEMCACHE_CFLAGS="-I$x/include/apr_memcache-0"
3906
3907fi
3908
3909        CFLAGS=$save_CFLAGS
3910        LDFLAGS=$save_LDFLAGS
3911        break
3912    else
3913        echo "$as_me:$LINENO: result: no" >&5
3914echo "${ECHO_T}no" >&6
3915    fi
3916done
3917
3918
3919
3920
3921if test -z "${APR_MEMCACHE_LIBS}"; then
3922  { echo "$as_me:$LINENO: *** memcache library not found." >&5
3923echo "$as_me: *** memcache library not found." >&6;}
3924  have_apr_memcache=0
3925else
3926  { echo "$as_me:$LINENO: using '${APR_MEMCACHE_LIBS}' for memcache" >&5
3927echo "$as_me: using '${APR_MEMCACHE_LIBS}' for memcache" >&6;}
3928  have_apr_memcache=1
3929fi
3930
3931
3932
3933MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
3934MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
3935
3936
3937
3938
3939                                        ac_config_files="$ac_config_files Makefile src/Makefile include/mod_gnutls.h data/Makefile"
3940
3941cat >confcache <<\_ACEOF
3942# This file is a shell script that caches the results of configure
3943# tests run on this system so they can be shared between configure
3944# scripts and configure runs, see configure's option --config-cache.
3945# It is not useful on other systems.  If it contains results you don't
3946# want to keep, you may remove or edit it.
3947#
3948# config.status only pays attention to the cache file if you give it
3949# the --recheck option to rerun configure.
3950#
3951# `ac_cv_env_foo' variables (set or unset) will be overridden when
3952# loading this file, other *unset* `ac_cv_foo' will be assigned the
3953# following values.
3954
3955_ACEOF
3956
3957# The following way of writing the cache mishandles newlines in values,
3958# but we know of no workaround that is simple, portable, and efficient.
3959# So, don't put newlines in cache variables' values.
3960# Ultrix sh set writes to stderr and can't be redirected directly,
3961# and sets the high bit in the cache file unless we assign to the vars.
3962{
3963  (set) 2>&1 |
3964    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3965    *ac_space=\ *)
3966      # `set' does not quote correctly, so add quotes (double-quote
3967      # substitution turns \\\\ into \\, and sed turns \\ into \).
3968      sed -n \
3969        "s/'/'\\\\''/g;
3970          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3971      ;;
3972    *)
3973      # `set' quotes correctly as required by POSIX, so do not add quotes.
3974      sed -n \
3975        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3976      ;;
3977    esac;
3978} |
3979  sed '
3980     t clear
3981     : clear
3982     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3983     t end
3984     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3985     : end' >>confcache
3986if diff $cache_file confcache >/dev/null 2>&1; then :; else
3987  if test -w $cache_file; then
3988    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3989    cat confcache >$cache_file
3990  else
3991    echo "not updating unwritable cache $cache_file"
3992  fi
3993fi
3994rm -f confcache
3995
3996test "x$prefix" = xNONE && prefix=$ac_default_prefix
3997# Let make expand exec_prefix.
3998test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3999
4000# VPATH may cause trouble with some makes, so we remove $(srcdir),
4001# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4002# trailing colons and then remove the whole line if VPATH becomes empty
4003# (actually we leave an empty line to preserve line numbers).
4004if test "x$srcdir" = x.; then
4005  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4006s/:*\$(srcdir):*/:/;
4007s/:*\${srcdir}:*/:/;
4008s/:*@srcdir@:*/:/;
4009s/^\([^=]*=[     ]*\):*/\1/;
4010s/:*$//;
4011s/^[^=]*=[       ]*$//;
4012}'
4013fi
4014
4015DEFS=-DHAVE_CONFIG_H
4016
4017ac_libobjs=
4018ac_ltlibobjs=
4019for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4020  # 1. Remove the extension, and $U if already installed.
4021  ac_i=`echo "$ac_i" |
4022         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4023  # 2. Add them.
4024  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4025  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4026done
4027LIBOBJS=$ac_libobjs
4028
4029LTLIBOBJS=$ac_ltlibobjs
4030
4031
4032if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4033  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4034Usually this means the macro was only invoked conditionally." >&5
4035echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4036Usually this means the macro was only invoked conditionally." >&2;}
4037   { (exit 1); exit 1; }; }
4038fi
4039if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4040  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4041Usually this means the macro was only invoked conditionally." >&5
4042echo "$as_me: error: conditional \"AMDEP\" was never defined.
4043Usually this means the macro was only invoked conditionally." >&2;}
4044   { (exit 1); exit 1; }; }
4045fi
4046if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4047  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4048Usually this means the macro was only invoked conditionally." >&5
4049echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4050Usually this means the macro was only invoked conditionally." >&2;}
4051   { (exit 1); exit 1; }; }
4052fi
4053
4054: ${CONFIG_STATUS=./config.status}
4055ac_clean_files_save=$ac_clean_files
4056ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4057{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4058echo "$as_me: creating $CONFIG_STATUS" >&6;}
4059cat >$CONFIG_STATUS <<_ACEOF
4060#! $SHELL
4061# Generated by $as_me.
4062# Run this file to recreate the current configuration.
4063# Compiler output produced by configure, useful for debugging
4064# configure, is in config.log if it exists.
4065
4066debug=false
4067ac_cs_recheck=false
4068ac_cs_silent=false
4069SHELL=\${CONFIG_SHELL-$SHELL}
4070_ACEOF
4071
4072cat >>$CONFIG_STATUS <<\_ACEOF
4073## --------------------- ##
4074## M4sh Initialization.  ##
4075## --------------------- ##
4076
4077# Be Bourne compatible
4078if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4079  emulate sh
4080  NULLCMD=:
4081  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4082  # is contrary to our usage.  Disable this feature.
4083  alias -g '${1+"$@"}'='"$@"'
4084elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4085  set -o posix
4086fi
4087DUALCASE=1; export DUALCASE # for MKS sh
4088
4089# Support unset when possible.
4090if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4091  as_unset=unset
4092else
4093  as_unset=false
4094fi
4095
4096
4097# Work around bugs in pre-3.0 UWIN ksh.
4098$as_unset ENV MAIL MAILPATH
4099PS1='$ '
4100PS2='> '
4101PS4='+ '
4102
4103# NLS nuisances.
4104for as_var in \
4105  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4106  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4107  LC_TELEPHONE LC_TIME
4108do
4109  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4110    eval $as_var=C; export $as_var
4111  else
4112    $as_unset $as_var
4113  fi
4114done
4115
4116# Required to use basename.
4117if expr a : '\(a\)' >/dev/null 2>&1; then
4118  as_expr=expr
4119else
4120  as_expr=false
4121fi
4122
4123if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4124  as_basename=basename
4125else
4126  as_basename=false
4127fi
4128
4129
4130# Name of the executable.
4131as_me=`$as_basename "$0" ||
4132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4133         X"$0" : 'X\(//\)$' \| \
4134         X"$0" : 'X\(/\)$' \| \
4135         .     : '\(.\)' 2>/dev/null ||
4136echo X/"$0" |
4137    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4138          /^X\/\(\/\/\)$/{ s//\1/; q; }
4139          /^X\/\(\/\).*/{ s//\1/; q; }
4140          s/.*/./; q'`
4141
4142
4143# PATH needs CR, and LINENO needs CR and PATH.
4144# Avoid depending upon Character Ranges.
4145as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4146as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4147as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4148as_cr_digits='0123456789'
4149as_cr_alnum=$as_cr_Letters$as_cr_digits
4150
4151# The user is always right.
4152if test "${PATH_SEPARATOR+set}" != set; then
4153  echo "#! /bin/sh" >conf$$.sh
4154  echo  "exit 0"   >>conf$$.sh
4155  chmod +x conf$$.sh
4156  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4157    PATH_SEPARATOR=';'
4158  else
4159    PATH_SEPARATOR=:
4160  fi
4161  rm -f conf$$.sh
4162fi
4163
4164
4165  as_lineno_1=$LINENO
4166  as_lineno_2=$LINENO
4167  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4168  test "x$as_lineno_1" != "x$as_lineno_2" &&
4169  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4170  # Find who we are.  Look in the path if we contain no path at all
4171  # relative or not.
4172  case $0 in
4173    *[\\/]* ) as_myself=$0 ;;
4174    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175for as_dir in $PATH
4176do
4177  IFS=$as_save_IFS
4178  test -z "$as_dir" && as_dir=.
4179  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4180done
4181
4182       ;;
4183  esac
4184  # We did not find ourselves, most probably we were run as `sh COMMAND'
4185  # in which case we are not to be found in the path.
4186  if test "x$as_myself" = x; then
4187    as_myself=$0
4188  fi
4189  if test ! -f "$as_myself"; then
4190    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4191echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4192   { (exit 1); exit 1; }; }
4193  fi
4194  case $CONFIG_SHELL in
4195  '')
4196    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4198do
4199  IFS=$as_save_IFS
4200  test -z "$as_dir" && as_dir=.
4201  for as_base in sh bash ksh sh5; do
4202         case $as_dir in
4203         /*)
4204           if ("$as_dir/$as_base" -c '
4205  as_lineno_1=$LINENO
4206  as_lineno_2=$LINENO
4207  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4208  test "x$as_lineno_1" != "x$as_lineno_2" &&
4209  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4210             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4211             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4212             CONFIG_SHELL=$as_dir/$as_base
4213             export CONFIG_SHELL
4214             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4215           fi;;
4216         esac
4217       done
4218done
4219;;
4220  esac
4221
4222  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4223  # uniformly replaced by the line number.  The first 'sed' inserts a
4224  # line-number line before each line; the second 'sed' does the real
4225  # work.  The second script uses 'N' to pair each line-number line
4226  # with the numbered line, and appends trailing '-' during
4227  # substitution so that $LINENO is not a special case at line end.
4228  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4229  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4230  sed '=' <$as_myself |
4231    sed '
4232      N
4233      s,$,-,
4234      : loop
4235      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4236      t loop
4237      s,-$,,
4238      s,^['$as_cr_digits']*\n,,
4239    ' >$as_me.lineno &&
4240  chmod +x $as_me.lineno ||
4241    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4242echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4243   { (exit 1); exit 1; }; }
4244
4245  # Don't try to exec as it changes $[0], causing all sort of problems
4246  # (the dirname of $[0] is not the place where we might find the
4247  # original and so on.  Autoconf is especially sensible to this).
4248  . ./$as_me.lineno
4249  # Exit status is that of the last command.
4250  exit
4251}
4252
4253
4254case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4255  *c*,-n*) ECHO_N= ECHO_C='
4256' ECHO_T='      ' ;;
4257  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4258  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4259esac
4260
4261if expr a : '\(a\)' >/dev/null 2>&1; then
4262  as_expr=expr
4263else
4264  as_expr=false
4265fi
4266
4267rm -f conf$$ conf$$.exe conf$$.file
4268echo >conf$$.file
4269if ln -s conf$$.file conf$$ 2>/dev/null; then
4270  # We could just check for DJGPP; but this test a) works b) is more generic
4271  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4272  if test -f conf$$.exe; then
4273    # Don't use ln at all; we don't have any links
4274    as_ln_s='cp -p'
4275  else
4276    as_ln_s='ln -s'
4277  fi
4278elif ln conf$$.file conf$$ 2>/dev/null; then
4279  as_ln_s=ln
4280else
4281  as_ln_s='cp -p'
4282fi
4283rm -f conf$$ conf$$.exe conf$$.file
4284
4285if mkdir -p . 2>/dev/null; then
4286  as_mkdir_p=:
4287else
4288  test -d ./-p && rmdir ./-p
4289  as_mkdir_p=false
4290fi
4291
4292as_executable_p="test -f"
4293
4294# Sed expression to map a string onto a valid CPP name.
4295as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4296
4297# Sed expression to map a string onto a valid variable name.
4298as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4299
4300
4301# IFS
4302# We need space, tab and new line, in precisely that order.
4303as_nl='
4304'
4305IFS="   $as_nl"
4306
4307# CDPATH.
4308$as_unset CDPATH
4309
4310exec 6>&1
4311
4312# Open the log real soon, to keep \$[0] and so on meaningful, and to
4313# report actual input values of CONFIG_FILES etc. instead of their
4314# values after options handling.  Logging --version etc. is OK.
4315exec 5>>config.log
4316{
4317  echo
4318  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4319## Running $as_me. ##
4320_ASBOX
4321} >&5
4322cat >&5 <<_CSEOF
4323
4324This file was extended by mod_gnutls $as_me 0.1.0, which was
4325generated by GNU Autoconf 2.59.  Invocation command line was
4326
4327  CONFIG_FILES    = $CONFIG_FILES
4328  CONFIG_HEADERS  = $CONFIG_HEADERS
4329  CONFIG_LINKS    = $CONFIG_LINKS
4330  CONFIG_COMMANDS = $CONFIG_COMMANDS
4331  $ $0 $@
4332
4333_CSEOF
4334echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4335echo >&5
4336_ACEOF
4337
4338# Files that config.status was made for.
4339if test -n "$ac_config_files"; then
4340  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4341fi
4342
4343if test -n "$ac_config_headers"; then
4344  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4345fi
4346
4347if test -n "$ac_config_links"; then
4348  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4349fi
4350
4351if test -n "$ac_config_commands"; then
4352  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4353fi
4354
4355cat >>$CONFIG_STATUS <<\_ACEOF
4356
4357ac_cs_usage="\
4358\`$as_me' instantiates files from templates according to the
4359current configuration.
4360
4361Usage: $0 [OPTIONS] [FILE]...
4362
4363  -h, --help       print this help, then exit
4364  -V, --version    print version number, then exit
4365  -q, --quiet      do not print progress messages
4366  -d, --debug      don't remove temporary files
4367      --recheck    update $as_me by reconfiguring in the same conditions
4368  --file=FILE[:TEMPLATE]
4369                   instantiate the configuration file FILE
4370  --header=FILE[:TEMPLATE]
4371                   instantiate the configuration header FILE
4372
4373Configuration files:
4374$config_files
4375
4376Configuration headers:
4377$config_headers
4378
4379Configuration commands:
4380$config_commands
4381
4382Report bugs to <bug-autoconf@gnu.org>."
4383_ACEOF
4384
4385cat >>$CONFIG_STATUS <<_ACEOF
4386ac_cs_version="\\
4387mod_gnutls config.status 0.1.0
4388configured by $0, generated by GNU Autoconf 2.59,
4389  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4390
4391Copyright (C) 2003 Free Software Foundation, Inc.
4392This config.status script is free software; the Free Software Foundation
4393gives unlimited permission to copy, distribute and modify it."
4394srcdir=$srcdir
4395INSTALL="$INSTALL"
4396_ACEOF
4397
4398cat >>$CONFIG_STATUS <<\_ACEOF
4399# If no file are specified by the user, then we need to provide default
4400# value.  By we need to know if files were specified by the user.
4401ac_need_defaults=:
4402while test $# != 0
4403do
4404  case $1 in
4405  --*=*)
4406    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4407    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4408    ac_shift=:
4409    ;;
4410  -*)
4411    ac_option=$1
4412    ac_optarg=$2
4413    ac_shift=shift
4414    ;;
4415  *) # This is not an option, so the user has probably given explicit
4416     # arguments.
4417     ac_option=$1
4418     ac_need_defaults=false;;
4419  esac
4420
4421  case $ac_option in
4422  # Handling of the options.
4423_ACEOF
4424cat >>$CONFIG_STATUS <<\_ACEOF
4425  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4426    ac_cs_recheck=: ;;
4427  --version | --vers* | -V )
4428    echo "$ac_cs_version"; exit 0 ;;
4429  --he | --h)
4430    # Conflict between --help and --header
4431    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4432Try \`$0 --help' for more information." >&5
4433echo "$as_me: error: ambiguous option: $1
4434Try \`$0 --help' for more information." >&2;}
4435   { (exit 1); exit 1; }; };;
4436  --help | --hel | -h )
4437    echo "$ac_cs_usage"; exit 0 ;;
4438  --debug | --d* | -d )
4439    debug=: ;;
4440  --file | --fil | --fi | --f )
4441    $ac_shift
4442    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4443    ac_need_defaults=false;;
4444  --header | --heade | --head | --hea )
4445    $ac_shift
4446    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4447    ac_need_defaults=false;;
4448  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4449  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4450    ac_cs_silent=: ;;
4451
4452  # This is an error.
4453  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4454Try \`$0 --help' for more information." >&5
4455echo "$as_me: error: unrecognized option: $1
4456Try \`$0 --help' for more information." >&2;}
4457   { (exit 1); exit 1; }; } ;;
4458
4459  *) ac_config_targets="$ac_config_targets $1" ;;
4460
4461  esac
4462  shift
4463done
4464
4465ac_configure_extra_args=
4466
4467if $ac_cs_silent; then
4468  exec 6>/dev/null
4469  ac_configure_extra_args="$ac_configure_extra_args --silent"
4470fi
4471
4472_ACEOF
4473cat >>$CONFIG_STATUS <<_ACEOF
4474if \$ac_cs_recheck; then
4475  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4476  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4477fi
4478
4479_ACEOF
4480
4481cat >>$CONFIG_STATUS <<_ACEOF
4482#
4483# INIT-COMMANDS section.
4484#
4485
4486AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4487
4488_ACEOF
4489
4490
4491
4492cat >>$CONFIG_STATUS <<\_ACEOF
4493for ac_config_target in $ac_config_targets
4494do
4495  case "$ac_config_target" in
4496  # Handling of arguments.
4497  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4498  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4499  "include/mod_gnutls.h" ) CONFIG_FILES="$CONFIG_FILES include/mod_gnutls.h" ;;
4500  "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
4501  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4502  "include/mod_gnutls_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/mod_gnutls_config.h:config.in" ;;
4503  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4504echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4505   { (exit 1); exit 1; }; };;
4506  esac
4507done
4508
4509# If the user did not use the arguments to specify the items to instantiate,
4510# then the envvar interface is used.  Set only those that are not.
4511# We use the long form for the default assignment because of an extremely
4512# bizarre bug on SunOS 4.1.3.
4513if $ac_need_defaults; then
4514  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4515  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4516  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4517fi
4518
4519# Have a temporary directory for convenience.  Make it in the build tree
4520# simply because there is no reason to put it here, and in addition,
4521# creating and moving files from /tmp can sometimes cause problems.
4522# Create a temporary directory, and hook for its removal unless debugging.
4523$debug ||
4524{
4525  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4526  trap '{ (exit 1); exit 1; }' 1 2 13 15
4527}
4528
4529# Create a (secure) tmp directory for tmp files.
4530
4531{
4532  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4533  test -n "$tmp" && test -d "$tmp"
4534}  ||
4535{
4536  tmp=./confstat$$-$RANDOM
4537  (umask 077 && mkdir $tmp)
4538} ||
4539{
4540   echo "$me: cannot create a temporary directory in ." >&2
4541   { (exit 1); exit 1; }
4542}
4543
4544_ACEOF
4545
4546cat >>$CONFIG_STATUS <<_ACEOF
4547
4548#
4549# CONFIG_FILES section.
4550#
4551
4552# No need to generate the scripts if there are no CONFIG_FILES.
4553# This happens for instance when ./config.status config.h
4554if test -n "\$CONFIG_FILES"; then
4555  # Protect against being on the right side of a sed subst in config.status.
4556  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4557   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4558s,@SHELL@,$SHELL,;t t
4559s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4560s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4561s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4562s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4563s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4564s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4565s,@exec_prefix@,$exec_prefix,;t t
4566s,@prefix@,$prefix,;t t
4567s,@program_transform_name@,$program_transform_name,;t t
4568s,@bindir@,$bindir,;t t
4569s,@sbindir@,$sbindir,;t t
4570s,@libexecdir@,$libexecdir,;t t
4571s,@datadir@,$datadir,;t t
4572s,@sysconfdir@,$sysconfdir,;t t
4573s,@sharedstatedir@,$sharedstatedir,;t t
4574s,@localstatedir@,$localstatedir,;t t
4575s,@libdir@,$libdir,;t t
4576s,@includedir@,$includedir,;t t
4577s,@oldincludedir@,$oldincludedir,;t t
4578s,@infodir@,$infodir,;t t
4579s,@mandir@,$mandir,;t t
4580s,@build_alias@,$build_alias,;t t
4581s,@host_alias@,$host_alias,;t t
4582s,@target_alias@,$target_alias,;t t
4583s,@DEFS@,$DEFS,;t t
4584s,@ECHO_C@,$ECHO_C,;t t
4585s,@ECHO_N@,$ECHO_N,;t t
4586s,@ECHO_T@,$ECHO_T,;t t
4587s,@LIBS@,$LIBS,;t t
4588s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4589s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4590s,@MAINT@,$MAINT,;t t
4591s,@build@,$build,;t t
4592s,@build_cpu@,$build_cpu,;t t
4593s,@build_vendor@,$build_vendor,;t t
4594s,@build_os@,$build_os,;t t
4595s,@host@,$host,;t t
4596s,@host_cpu@,$host_cpu,;t t
4597s,@host_vendor@,$host_vendor,;t t
4598s,@host_os@,$host_os,;t t
4599s,@target@,$target,;t t
4600s,@target_cpu@,$target_cpu,;t t
4601s,@target_vendor@,$target_vendor,;t t
4602s,@target_os@,$target_os,;t t
4603s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4604s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4605s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4606s,@CYGPATH_W@,$CYGPATH_W,;t t
4607s,@PACKAGE@,$PACKAGE,;t t
4608s,@VERSION@,$VERSION,;t t
4609s,@ACLOCAL@,$ACLOCAL,;t t
4610s,@AUTOCONF@,$AUTOCONF,;t t
4611s,@AUTOMAKE@,$AUTOMAKE,;t t
4612s,@AUTOHEADER@,$AUTOHEADER,;t t
4613s,@MAKEINFO@,$MAKEINFO,;t t
4614s,@install_sh@,$install_sh,;t t
4615s,@STRIP@,$STRIP,;t t
4616s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4617s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4618s,@mkdir_p@,$mkdir_p,;t t
4619s,@AWK@,$AWK,;t t
4620s,@SET_MAKE@,$SET_MAKE,;t t
4621s,@am__leading_dot@,$am__leading_dot,;t t
4622s,@AMTAR@,$AMTAR,;t t
4623s,@am__tar@,$am__tar,;t t
4624s,@am__untar@,$am__untar,;t t
4625s,@MOD_GNUTLS_VERSION@,$MOD_GNUTLS_VERSION,;t t
4626s,@CC@,$CC,;t t
4627s,@CFLAGS@,$CFLAGS,;t t
4628s,@LDFLAGS@,$LDFLAGS,;t t
4629s,@CPPFLAGS@,$CPPFLAGS,;t t
4630s,@ac_ct_CC@,$ac_ct_CC,;t t
4631s,@EXEEXT@,$EXEEXT,;t t
4632s,@OBJEXT@,$OBJEXT,;t t
4633s,@DEPDIR@,$DEPDIR,;t t
4634s,@am__include@,$am__include,;t t
4635s,@am__quote@,$am__quote,;t t
4636s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4637s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4638s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4639s,@CCDEPMODE@,$CCDEPMODE,;t t
4640s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4641s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4642s,@EGREP@,$EGREP,;t t
4643s,@APXS_BIN@,$APXS_BIN,;t t
4644s,@AP_DEFS@,$AP_DEFS,;t t
4645s,@AP_PREFIX@,$AP_PREFIX,;t t
4646s,@AP_CFLAGS@,$AP_CFLAGS,;t t
4647s,@AP_CPPFLAGS@,$AP_CPPFLAGS,;t t
4648s,@AP_INCLUDES@,$AP_INCLUDES,;t t
4649s,@AP_INCLUDEDIR@,$AP_INCLUDEDIR,;t t
4650s,@AP_LIBEXECDIR@,$AP_LIBEXECDIR,;t t
4651s,@AP_VERSION@,$AP_VERSION,;t t
4652s,@AP_SYSCONFDIR@,$AP_SYSCONFDIR,;t t
4653s,@AP_BINDIR@,$AP_BINDIR,;t t
4654s,@AP_SBINDIR@,$AP_SBINDIR,;t t
4655s,@APR_INCLUDES@,$APR_INCLUDES,;t t
4656s,@APU_INCLUDES@,$APU_INCLUDES,;t t
4657s,@APXS_EXTENSION@,$APXS_EXTENSION,;t t
4658s,@APXS_CFLAGS@,$APXS_CFLAGS,;t t
4659s,@LIBTOOL@,$LIBTOOL,;t t
4660s,@GTLS_BIN@,$GTLS_BIN,;t t
4661s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
4662s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
4663s,@LIBGNUTLS_VERSION@,$LIBGNUTLS_VERSION,;t t
4664s,@GNUTLS_CERTTOOL@,$GNUTLS_CERTTOOL,;t t
4665s,@LIBGNUTLS_PREFIX@,$LIBGNUTLS_PREFIX,;t t
4666s,@APR_MEMCACHE_LIBS@,$APR_MEMCACHE_LIBS,;t t
4667s,@APR_MEMCACHE_CFLAGS@,$APR_MEMCACHE_CFLAGS,;t t
4668s,@have_apr_memcache@,$have_apr_memcache,;t t
4669s,@MODULE_CFLAGS@,$MODULE_CFLAGS,;t t
4670s,@MODULE_LIBS@,$MODULE_LIBS,;t t
4671s,@LIBOBJS@,$LIBOBJS,;t t
4672s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4673CEOF
4674
4675_ACEOF
4676
4677  cat >>$CONFIG_STATUS <<\_ACEOF
4678  # Split the substitutions into bite-sized pieces for seds with
4679  # small command number limits, like on Digital OSF/1 and HP-UX.
4680  ac_max_sed_lines=48
4681  ac_sed_frag=1 # Number of current file.
4682  ac_beg=1 # First line for current file.
4683  ac_end=$ac_max_sed_lines # Line after last line for current file.
4684  ac_more_lines=:
4685  ac_sed_cmds=
4686  while $ac_more_lines; do
4687    if test $ac_beg -gt 1; then
4688      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4689    else
4690      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4691    fi
4692    if test ! -s $tmp/subs.frag; then
4693      ac_more_lines=false
4694    else
4695      # The purpose of the label and of the branching condition is to
4696      # speed up the sed processing (if there are no `@' at all, there
4697      # is no need to browse any of the substitutions).
4698      # These are the two extra sed commands mentioned above.
4699      (echo ':t
4700  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4701      if test -z "$ac_sed_cmds"; then
4702        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4703      else
4704        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4705      fi
4706      ac_sed_frag=`expr $ac_sed_frag + 1`
4707      ac_beg=$ac_end
4708      ac_end=`expr $ac_end + $ac_max_sed_lines`
4709    fi
4710  done
4711  if test -z "$ac_sed_cmds"; then
4712    ac_sed_cmds=cat
4713  fi
4714fi # test -n "$CONFIG_FILES"
4715
4716_ACEOF
4717cat >>$CONFIG_STATUS <<\_ACEOF
4718for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4719  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4720  case $ac_file in
4721  - | *:- | *:-:* ) # input from stdin
4722        cat >$tmp/stdin
4723        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4724        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4725  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4726        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4727  * )   ac_file_in=$ac_file.in ;;
4728  esac
4729
4730  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4731  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4732$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4733         X"$ac_file" : 'X\(//\)[^/]' \| \
4734         X"$ac_file" : 'X\(//\)$' \| \
4735         X"$ac_file" : 'X\(/\)' \| \
4736         .     : '\(.\)' 2>/dev/null ||
4737echo X"$ac_file" |
4738    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4739          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4740          /^X\(\/\/\)$/{ s//\1/; q; }
4741          /^X\(\/\).*/{ s//\1/; q; }
4742          s/.*/./; q'`
4743  { if $as_mkdir_p; then
4744    mkdir -p "$ac_dir"
4745  else
4746    as_dir="$ac_dir"
4747    as_dirs=
4748    while test ! -d "$as_dir"; do
4749      as_dirs="$as_dir $as_dirs"
4750      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4751$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4752         X"$as_dir" : 'X\(//\)[^/]' \| \
4753         X"$as_dir" : 'X\(//\)$' \| \
4754         X"$as_dir" : 'X\(/\)' \| \
4755         .     : '\(.\)' 2>/dev/null ||
4756echo X"$as_dir" |
4757    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4758          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4759          /^X\(\/\/\)$/{ s//\1/; q; }
4760          /^X\(\/\).*/{ s//\1/; q; }
4761          s/.*/./; q'`
4762    done
4763    test ! -n "$as_dirs" || mkdir $as_dirs
4764  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4765echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4766   { (exit 1); exit 1; }; }; }
4767
4768  ac_builddir=.
4769
4770if test "$ac_dir" != .; then
4771  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4772  # A "../" for each directory in $ac_dir_suffix.
4773  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4774else
4775  ac_dir_suffix= ac_top_builddir=
4776fi
4777
4778case $srcdir in
4779  .)  # No --srcdir option.  We are building in place.
4780    ac_srcdir=.
4781    if test -z "$ac_top_builddir"; then
4782       ac_top_srcdir=.
4783    else
4784       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4785    fi ;;
4786  [\\/]* | ?:[\\/]* )  # Absolute path.
4787    ac_srcdir=$srcdir$ac_dir_suffix;
4788    ac_top_srcdir=$srcdir ;;
4789  *) # Relative path.
4790    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4791    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4792esac
4793
4794# Do not use `cd foo && pwd` to compute absolute paths, because
4795# the directories may not exist.
4796case `pwd` in
4797.) ac_abs_builddir="$ac_dir";;
4798*)
4799  case "$ac_dir" in
4800  .) ac_abs_builddir=`pwd`;;
4801  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4802  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4803  esac;;
4804esac
4805case $ac_abs_builddir in
4806.) ac_abs_top_builddir=${ac_top_builddir}.;;
4807*)
4808  case ${ac_top_builddir}. in
4809  .) ac_abs_top_builddir=$ac_abs_builddir;;
4810  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4811  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4812  esac;;
4813esac
4814case $ac_abs_builddir in
4815.) ac_abs_srcdir=$ac_srcdir;;
4816*)
4817  case $ac_srcdir in
4818  .) ac_abs_srcdir=$ac_abs_builddir;;
4819  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4820  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4821  esac;;
4822esac
4823case $ac_abs_builddir in
4824.) ac_abs_top_srcdir=$ac_top_srcdir;;
4825*)
4826  case $ac_top_srcdir in
4827  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4828  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4829  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4830  esac;;
4831esac
4832
4833
4834  case $INSTALL in
4835  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4836  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4837  esac
4838
4839  # Let's still pretend it is `configure' which instantiates (i.e., don't
4840  # use $as_me), people would be surprised to read:
4841  #    /* config.h.  Generated by config.status.  */
4842  if test x"$ac_file" = x-; then
4843    configure_input=
4844  else
4845    configure_input="$ac_file.  "
4846  fi
4847  configure_input=$configure_input"Generated from `echo $ac_file_in |
4848                                     sed 's,.*/,,'` by configure."
4849
4850  # First look for the input files in the build tree, otherwise in the
4851  # src tree.
4852  ac_file_inputs=`IFS=:
4853    for f in $ac_file_in; do
4854      case $f in
4855      -) echo $tmp/stdin ;;
4856      [\\/$]*)
4857         # Absolute (can't be DOS-style, as IFS=:)
4858         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4859echo "$as_me: error: cannot find input file: $f" >&2;}
4860   { (exit 1); exit 1; }; }
4861         echo "$f";;
4862      *) # Relative
4863         if test -f "$f"; then
4864           # Build tree
4865           echo "$f"
4866         elif test -f "$srcdir/$f"; then
4867           # Source tree
4868           echo "$srcdir/$f"
4869         else
4870           # /dev/null tree
4871           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4872echo "$as_me: error: cannot find input file: $f" >&2;}
4873   { (exit 1); exit 1; }; }
4874         fi;;
4875      esac
4876    done` || { (exit 1); exit 1; }
4877
4878  if test x"$ac_file" != x-; then
4879    { echo "$as_me:$LINENO: creating $ac_file" >&5
4880echo "$as_me: creating $ac_file" >&6;}
4881    rm -f "$ac_file"
4882  fi
4883_ACEOF
4884cat >>$CONFIG_STATUS <<_ACEOF
4885  sed "$ac_vpsub
4886$extrasub
4887_ACEOF
4888cat >>$CONFIG_STATUS <<\_ACEOF
4889:t
4890/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4891s,@configure_input@,$configure_input,;t t
4892s,@srcdir@,$ac_srcdir,;t t
4893s,@abs_srcdir@,$ac_abs_srcdir,;t t
4894s,@top_srcdir@,$ac_top_srcdir,;t t
4895s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4896s,@builddir@,$ac_builddir,;t t
4897s,@abs_builddir@,$ac_abs_builddir,;t t
4898s,@top_builddir@,$ac_top_builddir,;t t
4899s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4900s,@INSTALL@,$ac_INSTALL,;t t
4901" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4902  rm -f $tmp/stdin
4903  if test x"$ac_file" != x-; then
4904    mv $tmp/out $ac_file
4905  else
4906    cat $tmp/out
4907    rm -f $tmp/out
4908  fi
4909
4910done
4911_ACEOF
4912cat >>$CONFIG_STATUS <<\_ACEOF
4913
4914#
4915# CONFIG_HEADER section.
4916#
4917
4918# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4919# NAME is the cpp macro being defined and VALUE is the value it is being given.
4920#
4921# ac_d sets the value in "#define NAME VALUE" lines.
4922ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
4923ac_dB='[         ].*$,\1#\2'
4924ac_dC=' '
4925ac_dD=',;t'
4926# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4927ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4928ac_uB='$,\1#\2define\3'
4929ac_uC=' '
4930ac_uD=',;t'
4931
4932for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4933  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4934  case $ac_file in
4935  - | *:- | *:-:* ) # input from stdin
4936        cat >$tmp/stdin
4937        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4938        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4939  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4940        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4941  * )   ac_file_in=$ac_file.in ;;
4942  esac
4943
4944  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4945echo "$as_me: creating $ac_file" >&6;}
4946
4947  # First look for the input files in the build tree, otherwise in the
4948  # src tree.
4949  ac_file_inputs=`IFS=:
4950    for f in $ac_file_in; do
4951      case $f in
4952      -) echo $tmp/stdin ;;
4953      [\\/$]*)
4954         # Absolute (can't be DOS-style, as IFS=:)
4955         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4956echo "$as_me: error: cannot find input file: $f" >&2;}
4957   { (exit 1); exit 1; }; }
4958         # Do quote $f, to prevent DOS paths from being IFS'd.
4959         echo "$f";;
4960      *) # Relative
4961         if test -f "$f"; then
4962           # Build tree
4963           echo "$f"
4964         elif test -f "$srcdir/$f"; then
4965           # Source tree
4966           echo "$srcdir/$f"
4967         else
4968           # /dev/null tree
4969           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4970echo "$as_me: error: cannot find input file: $f" >&2;}
4971   { (exit 1); exit 1; }; }
4972         fi;;
4973      esac
4974    done` || { (exit 1); exit 1; }
4975  # Remove the trailing spaces.
4976  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4977
4978_ACEOF
4979
4980# Transform confdefs.h into two sed scripts, `conftest.defines' and
4981# `conftest.undefs', that substitutes the proper values into
4982# config.h.in to produce config.h.  The first handles `#define'
4983# templates, and the second `#undef' templates.
4984# And first: Protect against being on the right side of a sed subst in
4985# config.status.  Protect against being in an unquoted here document
4986# in config.status.
4987rm -f conftest.defines conftest.undefs
4988# Using a here document instead of a string reduces the quoting nightmare.
4989# Putting comments in sed scripts is not portable.
4990#
4991# `end' is used to avoid that the second main sed command (meant for
4992# 0-ary CPP macros) applies to n-ary macro definitions.
4993# See the Autoconf documentation for `clear'.
4994cat >confdef2sed.sed <<\_ACEOF
4995s/[\\&,]/\\&/g
4996s,[\\$`],\\&,g
4997t clear
4998: clear
4999s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5000t end
5001s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5002: end
5003_ACEOF
5004# If some macros were called several times there might be several times
5005# the same #defines, which is useless.  Nevertheless, we may not want to
5006# sort them, since we want the *last* AC-DEFINE to be honored.
5007uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5008sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5009rm -f confdef2sed.sed
5010
5011# This sed command replaces #undef with comments.  This is necessary, for
5012# example, in the case of _POSIX_SOURCE, which is predefined and required
5013# on some systems where configure will not decide to define it.
5014cat >>conftest.undefs <<\_ACEOF
5015s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5016_ACEOF
5017
5018# Break up conftest.defines because some shells have a limit on the size
5019# of here documents, and old seds have small limits too (100 cmds).
5020echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5021echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5022echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5023echo '  :' >>$CONFIG_STATUS
5024rm -f conftest.tail
5025while grep . conftest.defines >/dev/null
5026do
5027  # Write a limited-size here document to $tmp/defines.sed.
5028  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5029  # Speed up: don't consider the non `#define' lines.
5030  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5031  # Work around the forget-to-reset-the-flag bug.
5032  echo 't clr' >>$CONFIG_STATUS
5033  echo ': clr' >>$CONFIG_STATUS
5034  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5035  echo 'CEOF
5036  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5037  rm -f $tmp/in
5038  mv $tmp/out $tmp/in
5039' >>$CONFIG_STATUS
5040  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5041  rm -f conftest.defines
5042  mv conftest.tail conftest.defines
5043done
5044rm -f conftest.defines
5045echo '  fi # grep' >>$CONFIG_STATUS
5046echo >>$CONFIG_STATUS
5047
5048# Break up conftest.undefs because some shells have a limit on the size
5049# of here documents, and old seds have small limits too (100 cmds).
5050echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5051rm -f conftest.tail
5052while grep . conftest.undefs >/dev/null
5053do
5054  # Write a limited-size here document to $tmp/undefs.sed.
5055  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5056  # Speed up: don't consider the non `#undef'
5057  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5058  # Work around the forget-to-reset-the-flag bug.
5059  echo 't clr' >>$CONFIG_STATUS
5060  echo ': clr' >>$CONFIG_STATUS
5061  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5062  echo 'CEOF
5063  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5064  rm -f $tmp/in
5065  mv $tmp/out $tmp/in
5066' >>$CONFIG_STATUS
5067  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5068  rm -f conftest.undefs
5069  mv conftest.tail conftest.undefs
5070done
5071rm -f conftest.undefs
5072
5073cat >>$CONFIG_STATUS <<\_ACEOF
5074  # Let's still pretend it is `configure' which instantiates (i.e., don't
5075  # use $as_me), people would be surprised to read:
5076  #    /* config.h.  Generated by config.status.  */
5077  if test x"$ac_file" = x-; then
5078    echo "/* Generated by configure.  */" >$tmp/config.h
5079  else
5080    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5081  fi
5082  cat $tmp/in >>$tmp/config.h
5083  rm -f $tmp/in
5084  if test x"$ac_file" != x-; then
5085    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5086      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5087echo "$as_me: $ac_file is unchanged" >&6;}
5088    else
5089      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5090$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5091         X"$ac_file" : 'X\(//\)[^/]' \| \
5092         X"$ac_file" : 'X\(//\)$' \| \
5093         X"$ac_file" : 'X\(/\)' \| \
5094         .     : '\(.\)' 2>/dev/null ||
5095echo X"$ac_file" |
5096    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5097          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5098          /^X\(\/\/\)$/{ s//\1/; q; }
5099          /^X\(\/\).*/{ s//\1/; q; }
5100          s/.*/./; q'`
5101      { if $as_mkdir_p; then
5102    mkdir -p "$ac_dir"
5103  else
5104    as_dir="$ac_dir"
5105    as_dirs=
5106    while test ! -d "$as_dir"; do
5107      as_dirs="$as_dir $as_dirs"
5108      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5109$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5110         X"$as_dir" : 'X\(//\)[^/]' \| \
5111         X"$as_dir" : 'X\(//\)$' \| \
5112         X"$as_dir" : 'X\(/\)' \| \
5113         .     : '\(.\)' 2>/dev/null ||
5114echo X"$as_dir" |
5115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5116          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5117          /^X\(\/\/\)$/{ s//\1/; q; }
5118          /^X\(\/\).*/{ s//\1/; q; }
5119          s/.*/./; q'`
5120    done
5121    test ! -n "$as_dirs" || mkdir $as_dirs
5122  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5123echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5124   { (exit 1); exit 1; }; }; }
5125
5126      rm -f $ac_file
5127      mv $tmp/config.h $ac_file
5128    fi
5129  else
5130    cat $tmp/config.h
5131    rm -f $tmp/config.h
5132  fi
5133# Compute $ac_file's index in $config_headers.
5134_am_stamp_count=1
5135for _am_header in $config_headers :; do
5136  case $_am_header in
5137    $ac_file | $ac_file:* )
5138      break ;;
5139    * )
5140      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5141  esac
5142done
5143echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5144$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5145         X$ac_file : 'X\(//\)[^/]' \| \
5146         X$ac_file : 'X\(//\)$' \| \
5147         X$ac_file : 'X\(/\)' \| \
5148         .     : '\(.\)' 2>/dev/null ||
5149echo X$ac_file |
5150    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5151          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5152          /^X\(\/\/\)$/{ s//\1/; q; }
5153          /^X\(\/\).*/{ s//\1/; q; }
5154          s/.*/./; q'`/stamp-h$_am_stamp_count
5155done
5156_ACEOF
5157cat >>$CONFIG_STATUS <<\_ACEOF
5158
5159#
5160# CONFIG_COMMANDS section.
5161#
5162for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5163  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5164  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5165  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5166$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5167         X"$ac_dest" : 'X\(//\)[^/]' \| \
5168         X"$ac_dest" : 'X\(//\)$' \| \
5169         X"$ac_dest" : 'X\(/\)' \| \
5170         .     : '\(.\)' 2>/dev/null ||
5171echo X"$ac_dest" |
5172    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5173          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5174          /^X\(\/\/\)$/{ s//\1/; q; }
5175          /^X\(\/\).*/{ s//\1/; q; }
5176          s/.*/./; q'`
5177  { if $as_mkdir_p; then
5178    mkdir -p "$ac_dir"
5179  else
5180    as_dir="$ac_dir"
5181    as_dirs=
5182    while test ! -d "$as_dir"; do
5183      as_dirs="$as_dir $as_dirs"
5184      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5185$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5186         X"$as_dir" : 'X\(//\)[^/]' \| \
5187         X"$as_dir" : 'X\(//\)$' \| \
5188         X"$as_dir" : 'X\(/\)' \| \
5189         .     : '\(.\)' 2>/dev/null ||
5190echo X"$as_dir" |
5191    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5192          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5193          /^X\(\/\/\)$/{ s//\1/; q; }
5194          /^X\(\/\).*/{ s//\1/; q; }
5195          s/.*/./; q'`
5196    done
5197    test ! -n "$as_dirs" || mkdir $as_dirs
5198  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5199echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5200   { (exit 1); exit 1; }; }; }
5201
5202  ac_builddir=.
5203
5204if test "$ac_dir" != .; then
5205  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5206  # A "../" for each directory in $ac_dir_suffix.
5207  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5208else
5209  ac_dir_suffix= ac_top_builddir=
5210fi
5211
5212case $srcdir in
5213  .)  # No --srcdir option.  We are building in place.
5214    ac_srcdir=.
5215    if test -z "$ac_top_builddir"; then
5216       ac_top_srcdir=.
5217    else
5218       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5219    fi ;;
5220  [\\/]* | ?:[\\/]* )  # Absolute path.
5221    ac_srcdir=$srcdir$ac_dir_suffix;
5222    ac_top_srcdir=$srcdir ;;
5223  *) # Relative path.
5224    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5225    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5226esac
5227
5228# Do not use `cd foo && pwd` to compute absolute paths, because
5229# the directories may not exist.
5230case `pwd` in
5231.) ac_abs_builddir="$ac_dir";;
5232*)
5233  case "$ac_dir" in
5234  .) ac_abs_builddir=`pwd`;;
5235  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5236  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5237  esac;;
5238esac
5239case $ac_abs_builddir in
5240.) ac_abs_top_builddir=${ac_top_builddir}.;;
5241*)
5242  case ${ac_top_builddir}. in
5243  .) ac_abs_top_builddir=$ac_abs_builddir;;
5244  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5245  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5246  esac;;
5247esac
5248case $ac_abs_builddir in
5249.) ac_abs_srcdir=$ac_srcdir;;
5250*)
5251  case $ac_srcdir in
5252  .) ac_abs_srcdir=$ac_abs_builddir;;
5253  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5254  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5255  esac;;
5256esac
5257case $ac_abs_builddir in
5258.) ac_abs_top_srcdir=$ac_top_srcdir;;
5259*)
5260  case $ac_top_srcdir in
5261  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5262  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5263  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5264  esac;;
5265esac
5266
5267
5268  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5269echo "$as_me: executing $ac_dest commands" >&6;}
5270  case $ac_dest in
5271    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5272  # Strip MF so we end up with the name of the file.
5273  mf=`echo "$mf" | sed -e 's/:.*$//'`
5274  # Check whether this is an Automake generated Makefile or not.
5275  # We used to match only the files named `Makefile.in', but
5276  # some people rename them; so instead we look at the file content.
5277  # Grep'ing the first line is not enough: some people post-process
5278  # each Makefile.in and add a new line on top of each file to say so.
5279  # So let's grep whole file.
5280  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5281    dirpart=`(dirname "$mf") 2>/dev/null ||
5282$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5283         X"$mf" : 'X\(//\)[^/]' \| \
5284         X"$mf" : 'X\(//\)$' \| \
5285         X"$mf" : 'X\(/\)' \| \
5286         .     : '\(.\)' 2>/dev/null ||
5287echo X"$mf" |
5288    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5289          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5290          /^X\(\/\/\)$/{ s//\1/; q; }
5291          /^X\(\/\).*/{ s//\1/; q; }
5292          s/.*/./; q'`
5293  else
5294    continue
5295  fi
5296  # Extract the definition of DEPDIR, am__include, and am__quote
5297  # from the Makefile without running `make'.
5298  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5299  test -z "$DEPDIR" && continue
5300  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5301  test -z "am__include" && continue
5302  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5303  # When using ansi2knr, U may be empty or an underscore; expand it
5304  U=`sed -n 's/^U = //p' < "$mf"`
5305  # Find all dependency output files, they are included files with
5306  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5307  # simplest approach to changing $(DEPDIR) to its actual value in the
5308  # expansion.
5309  for file in `sed -n "
5310    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5311       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5312    # Make sure the directory exists.
5313    test -f "$dirpart/$file" && continue
5314    fdir=`(dirname "$file") 2>/dev/null ||
5315$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5316         X"$file" : 'X\(//\)[^/]' \| \
5317         X"$file" : 'X\(//\)$' \| \
5318         X"$file" : 'X\(/\)' \| \
5319         .     : '\(.\)' 2>/dev/null ||
5320echo X"$file" |
5321    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5322          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5323          /^X\(\/\/\)$/{ s//\1/; q; }
5324          /^X\(\/\).*/{ s//\1/; q; }
5325          s/.*/./; q'`
5326    { if $as_mkdir_p; then
5327    mkdir -p $dirpart/$fdir
5328  else
5329    as_dir=$dirpart/$fdir
5330    as_dirs=
5331    while test ! -d "$as_dir"; do
5332      as_dirs="$as_dir $as_dirs"
5333      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5334$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5335         X"$as_dir" : 'X\(//\)[^/]' \| \
5336         X"$as_dir" : 'X\(//\)$' \| \
5337         X"$as_dir" : 'X\(/\)' \| \
5338         .     : '\(.\)' 2>/dev/null ||
5339echo X"$as_dir" |
5340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5341          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5342          /^X\(\/\/\)$/{ s//\1/; q; }
5343          /^X\(\/\).*/{ s//\1/; q; }
5344          s/.*/./; q'`
5345    done
5346    test ! -n "$as_dirs" || mkdir $as_dirs
5347  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5348echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5349   { (exit 1); exit 1; }; }; }
5350
5351    # echo "creating $dirpart/$file"
5352    echo '# dummy' > "$dirpart/$file"
5353  done
5354done
5355 ;;
5356  esac
5357done
5358_ACEOF
5359
5360cat >>$CONFIG_STATUS <<\_ACEOF
5361
5362{ (exit 0); exit 0; }
5363_ACEOF
5364chmod +x $CONFIG_STATUS
5365ac_clean_files=$ac_clean_files_save
5366
5367
5368# configure is writing to config.log, and then calls config.status.
5369# config.status does its own redirection, appending to config.log.
5370# Unfortunately, on DOS this fails, as config.log is still kept open
5371# by configure, so config.status won't be able to write to it; its
5372# output is simply discarded.  So we exec the FD to /dev/null,
5373# effectively closing config.log, so it can be properly (re)opened and
5374# appended to by config.status.  When coming back to configure, we
5375# need to make the FD available again.
5376if test "$no_create" != yes; then
5377  ac_cs_success=:
5378  ac_config_status_args=
5379  test "$silent" = yes &&
5380    ac_config_status_args="$ac_config_status_args --quiet"
5381  exec 5>/dev/null
5382  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5383  exec 5>>config.log
5384  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5385  # would make configure fail if this is the last instruction.
5386  $ac_cs_success || { (exit 1); exit 1; }
5387fi
5388
5389
5390echo "---"
5391echo "Configuration summary for mod_gnutls:"
5392echo ""
5393echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
5394echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
5395echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
5396echo ""
5397echo "---"
Note: See TracBrowser for help on using the repository browser.