1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for mod_auth_xradius 0.4.6.
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_auth_xradius'
269PACKAGE_TARNAME='mod_auth_xradius'
270PACKAGE_VERSION='0.4.6'
271PACKAGE_STRING='mod_auth_xradius 0.4.6'
272PACKAGE_BUGREPORT=''
273
274ac_unique_file="src/mod_auth_xradius.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 OOO_MAINTAIN 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_AUTH_XRADIUS_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 RANLIB ac_ct_RANLIB 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 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_auth_xradius 0.4.6 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_auth_xradius 0.4.6:";;
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     Enable maintainer mode for this project
815  --enable-maintainer-mode  enable make rules and dependencies not useful
816			  (and sometimes confusing) to the casual installer
817  --disable-dependency-tracking  speeds up one-time build
818  --enable-dependency-tracking   do not reject slow dependency extractors
819  --disable-apxstest      Do not try to compile and run apache version test
820                          program
821
822Optional Packages:
823  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
824  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
825  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
826  --with-apxs=PATH        Path to apxs
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_auth_xradius configure 0.4.6
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_auth_xradius $as_me 0.4.6, 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_AUTH_XRADIUS_VERSION=0.4.6
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
1332
1333  # Check whether --enable-maintainer or --disable-maintainer was given.
1334if test "${enable_maintainer+set}" = set; then
1335  enableval="$enable_maintainer"
1336  echo "$as_me:$LINENO: result: Enabling Maintainer Mode!!" >&5
1337echo "${ECHO_T}Enabling Maintainer Mode!!" >&6
1338        OOO_MAINTAIN=1
1339else
1340  OOO_MAINTAIN=0
1341fi;
1342
1343
1344echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1345echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1346    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1347if test "${enable_maintainer_mode+set}" = set; then
1348  enableval="$enable_maintainer_mode"
1349  USE_MAINTAINER_MODE=$enableval
1350else
1351  USE_MAINTAINER_MODE=no
1352fi;
1353  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1354echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1355
1356
1357if test $USE_MAINTAINER_MODE = yes; then
1358  MAINTAINER_MODE_TRUE=
1359  MAINTAINER_MODE_FALSE='#'
1360else
1361  MAINTAINER_MODE_TRUE='#'
1362  MAINTAINER_MODE_FALSE=
1363fi
1364
1365  MAINT=$MAINTAINER_MODE_TRUE
1366
1367
1368# Make sure we can run config.sub.
1369$ac_config_sub sun4 >/dev/null 2>&1 ||
1370  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1371echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1372   { (exit 1); exit 1; }; }
1373
1374echo "$as_me:$LINENO: checking build system type" >&5
1375echo $ECHO_N "checking build system type... $ECHO_C" >&6
1376if test "${ac_cv_build+set}" = set; then
1377  echo $ECHO_N "(cached) $ECHO_C" >&6
1378else
1379  ac_cv_build_alias=$build_alias
1380test -z "$ac_cv_build_alias" &&
1381  ac_cv_build_alias=`$ac_config_guess`
1382test -z "$ac_cv_build_alias" &&
1383  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1384echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1385   { (exit 1); exit 1; }; }
1386ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1387  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1388echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1389   { (exit 1); exit 1; }; }
1390
1391fi
1392echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1393echo "${ECHO_T}$ac_cv_build" >&6
1394build=$ac_cv_build
1395build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1396build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1397build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1398
1399
1400echo "$as_me:$LINENO: checking host system type" >&5
1401echo $ECHO_N "checking host system type... $ECHO_C" >&6
1402if test "${ac_cv_host+set}" = set; then
1403  echo $ECHO_N "(cached) $ECHO_C" >&6
1404else
1405  ac_cv_host_alias=$host_alias
1406test -z "$ac_cv_host_alias" &&
1407  ac_cv_host_alias=$ac_cv_build_alias
1408ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1409  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1410echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1411   { (exit 1); exit 1; }; }
1412
1413fi
1414echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1415echo "${ECHO_T}$ac_cv_host" >&6
1416host=$ac_cv_host
1417host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1420
1421
1422echo "$as_me:$LINENO: checking target system type" >&5
1423echo $ECHO_N "checking target system type... $ECHO_C" >&6
1424if test "${ac_cv_target+set}" = set; then
1425  echo $ECHO_N "(cached) $ECHO_C" >&6
1426else
1427  ac_cv_target_alias=$target_alias
1428test "x$ac_cv_target_alias" = "x" &&
1429  ac_cv_target_alias=$ac_cv_host_alias
1430ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1431  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1432echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1433   { (exit 1); exit 1; }; }
1434
1435fi
1436echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1437echo "${ECHO_T}$ac_cv_target" >&6
1438target=$ac_cv_target
1439target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1440target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1441target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1442
1443
1444# The aliases save the names the user supplied, while $host etc.
1445# will get canonicalized.
1446test -n "$target_alias" &&
1447  test "$program_prefix$program_suffix$program_transform_name" = \
1448    NONENONEs,x,x, &&
1449  program_prefix=${target_alias}-
1450am__api_version="1.9"
1451# Find a good install program.  We prefer a C program (faster),
1452# so one script is as good as another.  But avoid the broken or
1453# incompatible versions:
1454# SysV /etc/install, /usr/sbin/install
1455# SunOS /usr/etc/install
1456# IRIX /sbin/install
1457# AIX /bin/install
1458# AmigaOS /C/install, which installs bootblocks on floppy discs
1459# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1460# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1461# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1462# OS/2's system install, which has a completely different semantic
1463# ./install, which can be erroneously created by make from ./install.sh.
1464echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1465echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1466if test -z "$INSTALL"; then
1467if test "${ac_cv_path_install+set}" = set; then
1468  echo $ECHO_N "(cached) $ECHO_C" >&6
1469else
1470  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471for as_dir in $PATH
1472do
1473  IFS=$as_save_IFS
1474  test -z "$as_dir" && as_dir=.
1475  # Account for people who put trailing slashes in PATH elements.
1476case $as_dir/ in
1477  ./ | .// | /cC/* | \
1478  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1479  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1480  /usr/ucb/* ) ;;
1481  *)
1482    # OSF1 and SCO ODT 3.0 have their own names for install.
1483    # Don't use installbsd from OSF since it installs stuff as root
1484    # by default.
1485    for ac_prog in ginstall scoinst install; do
1486      for ac_exec_ext in '' $ac_executable_extensions; do
1487	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1488	  if test $ac_prog = install &&
1489	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1490	    # AIX install.  It has an incompatible calling convention.
1491	    :
1492	  elif test $ac_prog = install &&
1493	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1494	    # program-specific install script used by HP pwplus--don't use.
1495	    :
1496	  else
1497	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1498	    break 3
1499	  fi
1500	fi
1501      done
1502    done
1503    ;;
1504esac
1505done
1506
1507
1508fi
1509  if test "${ac_cv_path_install+set}" = set; then
1510    INSTALL=$ac_cv_path_install
1511  else
1512    # As a last resort, use the slow shell script.  We don't cache a
1513    # path for INSTALL within a source directory, because that will
1514    # break other packages using the cache if that directory is
1515    # removed, or if the path is relative.
1516    INSTALL=$ac_install_sh
1517  fi
1518fi
1519echo "$as_me:$LINENO: result: $INSTALL" >&5
1520echo "${ECHO_T}$INSTALL" >&6
1521
1522# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1523# It thinks the first close brace ends the variable substitution.
1524test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1525
1526test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1527
1528test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1529
1530echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1531echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1532# Just in case
1533sleep 1
1534echo timestamp > conftest.file
1535# Do `set' in a subshell so we don't clobber the current shell's
1536# arguments.  Must try -L first in case configure is actually a
1537# symlink; some systems play weird games with the mod time of symlinks
1538# (eg FreeBSD returns the mod time of the symlink's containing
1539# directory).
1540if (
1541   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1542   if test "$*" = "X"; then
1543      # -L didn't work.
1544      set X `ls -t $srcdir/configure conftest.file`
1545   fi
1546   rm -f conftest.file
1547   if test "$*" != "X $srcdir/configure conftest.file" \
1548      && test "$*" != "X conftest.file $srcdir/configure"; then
1549
1550      # If neither matched, then we have a broken ls.  This can happen
1551      # if, for instance, CONFIG_SHELL is bash and it inherits a
1552      # broken ls alias from the environment.  This has actually
1553      # happened.  Such a system could not be considered "sane".
1554      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1555alias in your environment" >&5
1556echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1557alias in your environment" >&2;}
1558   { (exit 1); exit 1; }; }
1559   fi
1560
1561   test "$2" = conftest.file
1562   )
1563then
1564   # Ok.
1565   :
1566else
1567   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1568Check your system clock" >&5
1569echo "$as_me: error: newly created file is older than distributed files!
1570Check your system clock" >&2;}
1571   { (exit 1); exit 1; }; }
1572fi
1573echo "$as_me:$LINENO: result: yes" >&5
1574echo "${ECHO_T}yes" >&6
1575test "$program_prefix" != NONE &&
1576  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1577# Use a double $ so make ignores it.
1578test "$program_suffix" != NONE &&
1579  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1580# Double any \ or $.  echo might interpret backslashes.
1581# By default was `s,x,x', remove it if useless.
1582cat <<\_ACEOF >conftest.sed
1583s/[\\$]/&&/g;s/;s,x,x,$//
1584_ACEOF
1585program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1586rm conftest.sed
1587
1588# expand $ac_aux_dir to an absolute path
1589am_aux_dir=`cd $ac_aux_dir && pwd`
1590
1591test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1592# Use eval to expand $SHELL
1593if eval "$MISSING --run true"; then
1594  am_missing_run="$MISSING --run "
1595else
1596  am_missing_run=
1597  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1598echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1599fi
1600
1601if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1602  # We used to keeping the `.' as first argument, in order to
1603  # allow $(mkdir_p) to be used without argument.  As in
1604  #   $(mkdir_p) $(somedir)
1605  # where $(somedir) is conditionally defined.  However this is wrong
1606  # for two reasons:
1607  #  1. if the package is installed by a user who cannot write `.'
1608  #     make install will fail,
1609  #  2. the above comment should most certainly read
1610  #     $(mkdir_p) $(DESTDIR)$(somedir)
1611  #     so it does not work when $(somedir) is undefined and
1612  #     $(DESTDIR) is not.
1613  #  To support the latter case, we have to write
1614  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1615  #  so the `.' trick is pointless.
1616  mkdir_p='mkdir -p --'
1617else
1618  # On NextStep and OpenStep, the `mkdir' command does not
1619  # recognize any option.  It will interpret all options as
1620  # directories to create, and then abort because `.' already
1621  # exists.
1622  for d in ./-p ./--version;
1623  do
1624    test -d $d && rmdir $d
1625  done
1626  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1627  if test -f "$ac_aux_dir/mkinstalldirs"; then
1628    mkdir_p='$(mkinstalldirs)'
1629  else
1630    mkdir_p='$(install_sh) -d'
1631  fi
1632fi
1633
1634for ac_prog in gawk mawk nawk awk
1635do
1636  # Extract the first word of "$ac_prog", so it can be a program name with args.
1637set dummy $ac_prog; ac_word=$2
1638echo "$as_me:$LINENO: checking for $ac_word" >&5
1639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640if test "${ac_cv_prog_AWK+set}" = set; then
1641  echo $ECHO_N "(cached) $ECHO_C" >&6
1642else
1643  if test -n "$AWK"; then
1644  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1645else
1646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647for as_dir in $PATH
1648do
1649  IFS=$as_save_IFS
1650  test -z "$as_dir" && as_dir=.
1651  for ac_exec_ext in '' $ac_executable_extensions; do
1652  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653    ac_cv_prog_AWK="$ac_prog"
1654    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655    break 2
1656  fi
1657done
1658done
1659
1660fi
1661fi
1662AWK=$ac_cv_prog_AWK
1663if test -n "$AWK"; then
1664  echo "$as_me:$LINENO: result: $AWK" >&5
1665echo "${ECHO_T}$AWK" >&6
1666else
1667  echo "$as_me:$LINENO: result: no" >&5
1668echo "${ECHO_T}no" >&6
1669fi
1670
1671  test -n "$AWK" && break
1672done
1673
1674echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1675echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1676set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1677if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1678  echo $ECHO_N "(cached) $ECHO_C" >&6
1679else
1680  cat >conftest.make <<\_ACEOF
1681all:
1682	@echo 'ac_maketemp="$(MAKE)"'
1683_ACEOF
1684# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1685eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1686if test -n "$ac_maketemp"; then
1687  eval ac_cv_prog_make_${ac_make}_set=yes
1688else
1689  eval ac_cv_prog_make_${ac_make}_set=no
1690fi
1691rm -f conftest.make
1692fi
1693if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1694  echo "$as_me:$LINENO: result: yes" >&5
1695echo "${ECHO_T}yes" >&6
1696  SET_MAKE=
1697else
1698  echo "$as_me:$LINENO: result: no" >&5
1699echo "${ECHO_T}no" >&6
1700  SET_MAKE="MAKE=${MAKE-make}"
1701fi
1702
1703rm -rf .tst 2>/dev/null
1704mkdir .tst 2>/dev/null
1705if test -d .tst; then
1706  am__leading_dot=.
1707else
1708  am__leading_dot=_
1709fi
1710rmdir .tst 2>/dev/null
1711
1712# test to see if srcdir already configured
1713if test "`cd $srcdir && pwd`" != "`pwd`" &&
1714   test -f $srcdir/config.status; then
1715  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1716echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717   { (exit 1); exit 1; }; }
1718fi
1719
1720# test whether we have cygpath
1721if test -z "$CYGPATH_W"; then
1722  if (cygpath --version) >/dev/null 2>/dev/null; then
1723    CYGPATH_W='cygpath -w'
1724  else
1725    CYGPATH_W=echo
1726  fi
1727fi
1728
1729
1730# Define the identity of the package.
1731 PACKAGE=mod_auth_xradius
1732 VERSION=0.4.6
1733
1734
1735cat >>confdefs.h <<_ACEOF
1736#define PACKAGE "$PACKAGE"
1737_ACEOF
1738
1739
1740cat >>confdefs.h <<_ACEOF
1741#define VERSION "$VERSION"
1742_ACEOF
1743
1744# Some tools Automake needs.
1745
1746ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1747
1748
1749AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1750
1751
1752AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1753
1754
1755AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1756
1757
1758MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1759
1760install_sh=${install_sh-"$am_aux_dir/install-sh"}
1761
1762# Installed binaries are usually stripped using `strip' when the user
1763# run `make install-strip'.  However `strip' might not be the right
1764# tool to use in cross-compilation environments, therefore Automake
1765# will honor the `STRIP' environment variable to overrule this program.
1766if test "$cross_compiling" != no; then
1767  if test -n "$ac_tool_prefix"; then
1768  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1769set dummy ${ac_tool_prefix}strip; ac_word=$2
1770echo "$as_me:$LINENO: checking for $ac_word" >&5
1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772if test "${ac_cv_prog_STRIP+set}" = set; then
1773  echo $ECHO_N "(cached) $ECHO_C" >&6
1774else
1775  if test -n "$STRIP"; then
1776  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1777else
1778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779for as_dir in $PATH
1780do
1781  IFS=$as_save_IFS
1782  test -z "$as_dir" && as_dir=.
1783  for ac_exec_ext in '' $ac_executable_extensions; do
1784  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1786    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787    break 2
1788  fi
1789done
1790done
1791
1792fi
1793fi
1794STRIP=$ac_cv_prog_STRIP
1795if test -n "$STRIP"; then
1796  echo "$as_me:$LINENO: result: $STRIP" >&5
1797echo "${ECHO_T}$STRIP" >&6
1798else
1799  echo "$as_me:$LINENO: result: no" >&5
1800echo "${ECHO_T}no" >&6
1801fi
1802
1803fi
1804if test -z "$ac_cv_prog_STRIP"; then
1805  ac_ct_STRIP=$STRIP
1806  # Extract the first word of "strip", so it can be a program name with args.
1807set dummy strip; ac_word=$2
1808echo "$as_me:$LINENO: checking for $ac_word" >&5
1809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1811  echo $ECHO_N "(cached) $ECHO_C" >&6
1812else
1813  if test -n "$ac_ct_STRIP"; then
1814  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1815else
1816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817for as_dir in $PATH
1818do
1819  IFS=$as_save_IFS
1820  test -z "$as_dir" && as_dir=.
1821  for ac_exec_ext in '' $ac_executable_extensions; do
1822  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823    ac_cv_prog_ac_ct_STRIP="strip"
1824    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825    break 2
1826  fi
1827done
1828done
1829
1830  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1831fi
1832fi
1833ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1834if test -n "$ac_ct_STRIP"; then
1835  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1836echo "${ECHO_T}$ac_ct_STRIP" >&6
1837else
1838  echo "$as_me:$LINENO: result: no" >&5
1839echo "${ECHO_T}no" >&6
1840fi
1841
1842  STRIP=$ac_ct_STRIP
1843else
1844  STRIP="$ac_cv_prog_STRIP"
1845fi
1846
1847fi
1848INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1849
1850# We need awk for the "check" target.  The system "awk" is bad on
1851# some platforms.
1852# Always define AMTAR for backward compatibility.
1853
1854AMTAR=${AMTAR-"${am_missing_run}tar"}
1855
1856am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1857
1858
1859
1860
1861
1862          ac_config_headers="$ac_config_headers include/mod_auth_xradius_config.h:config.in"
1863
1864
1865
1866
1867ac_ext=c
1868ac_cpp='$CPP $CPPFLAGS'
1869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1871ac_compiler_gnu=$ac_cv_c_compiler_gnu
1872if test -n "$ac_tool_prefix"; then
1873  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1874set dummy ${ac_tool_prefix}gcc; ac_word=$2
1875echo "$as_me:$LINENO: checking for $ac_word" >&5
1876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877if test "${ac_cv_prog_CC+set}" = set; then
1878  echo $ECHO_N "(cached) $ECHO_C" >&6
1879else
1880  if test -n "$CC"; then
1881  ac_cv_prog_CC="$CC" # Let the user override the test.
1882else
1883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884for as_dir in $PATH
1885do
1886  IFS=$as_save_IFS
1887  test -z "$as_dir" && as_dir=.
1888  for ac_exec_ext in '' $ac_executable_extensions; do
1889  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1891    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892    break 2
1893  fi
1894done
1895done
1896
1897fi
1898fi
1899CC=$ac_cv_prog_CC
1900if test -n "$CC"; then
1901  echo "$as_me:$LINENO: result: $CC" >&5
1902echo "${ECHO_T}$CC" >&6
1903else
1904  echo "$as_me:$LINENO: result: no" >&5
1905echo "${ECHO_T}no" >&6
1906fi
1907
1908fi
1909if test -z "$ac_cv_prog_CC"; then
1910  ac_ct_CC=$CC
1911  # Extract the first word of "gcc", so it can be a program name with args.
1912set dummy gcc; ac_word=$2
1913echo "$as_me:$LINENO: checking for $ac_word" >&5
1914echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1916  echo $ECHO_N "(cached) $ECHO_C" >&6
1917else
1918  if test -n "$ac_ct_CC"; then
1919  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1920else
1921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922for as_dir in $PATH
1923do
1924  IFS=$as_save_IFS
1925  test -z "$as_dir" && as_dir=.
1926  for ac_exec_ext in '' $ac_executable_extensions; do
1927  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928    ac_cv_prog_ac_ct_CC="gcc"
1929    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930    break 2
1931  fi
1932done
1933done
1934
1935fi
1936fi
1937ac_ct_CC=$ac_cv_prog_ac_ct_CC
1938if test -n "$ac_ct_CC"; then
1939  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1940echo "${ECHO_T}$ac_ct_CC" >&6
1941else
1942  echo "$as_me:$LINENO: result: no" >&5
1943echo "${ECHO_T}no" >&6
1944fi
1945
1946  CC=$ac_ct_CC
1947else
1948  CC="$ac_cv_prog_CC"
1949fi
1950
1951if test -z "$CC"; then
1952  if test -n "$ac_tool_prefix"; then
1953  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1954set dummy ${ac_tool_prefix}cc; ac_word=$2
1955echo "$as_me:$LINENO: checking for $ac_word" >&5
1956echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1957if test "${ac_cv_prog_CC+set}" = set; then
1958  echo $ECHO_N "(cached) $ECHO_C" >&6
1959else
1960  if test -n "$CC"; then
1961  ac_cv_prog_CC="$CC" # Let the user override the test.
1962else
1963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964for as_dir in $PATH
1965do
1966  IFS=$as_save_IFS
1967  test -z "$as_dir" && as_dir=.
1968  for ac_exec_ext in '' $ac_executable_extensions; do
1969  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970    ac_cv_prog_CC="${ac_tool_prefix}cc"
1971    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972    break 2
1973  fi
1974done
1975done
1976
1977fi
1978fi
1979CC=$ac_cv_prog_CC
1980if test -n "$CC"; then
1981  echo "$as_me:$LINENO: result: $CC" >&5
1982echo "${ECHO_T}$CC" >&6
1983else
1984  echo "$as_me:$LINENO: result: no" >&5
1985echo "${ECHO_T}no" >&6
1986fi
1987
1988fi
1989if test -z "$ac_cv_prog_CC"; then
1990  ac_ct_CC=$CC
1991  # Extract the first word of "cc", so it can be a program name with args.
1992set dummy cc; ac_word=$2
1993echo "$as_me:$LINENO: checking for $ac_word" >&5
1994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1996  echo $ECHO_N "(cached) $ECHO_C" >&6
1997else
1998  if test -n "$ac_ct_CC"; then
1999  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2000else
2001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002for as_dir in $PATH
2003do
2004  IFS=$as_save_IFS
2005  test -z "$as_dir" && as_dir=.
2006  for ac_exec_ext in '' $ac_executable_extensions; do
2007  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008    ac_cv_prog_ac_ct_CC="cc"
2009    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010    break 2
2011  fi
2012done
2013done
2014
2015fi
2016fi
2017ac_ct_CC=$ac_cv_prog_ac_ct_CC
2018if test -n "$ac_ct_CC"; then
2019  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2020echo "${ECHO_T}$ac_ct_CC" >&6
2021else
2022  echo "$as_me:$LINENO: result: no" >&5
2023echo "${ECHO_T}no" >&6
2024fi
2025
2026  CC=$ac_ct_CC
2027else
2028  CC="$ac_cv_prog_CC"
2029fi
2030
2031fi
2032if test -z "$CC"; then
2033  # Extract the first word of "cc", so it can be a program name with args.
2034set dummy cc; ac_word=$2
2035echo "$as_me:$LINENO: checking for $ac_word" >&5
2036echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2037if test "${ac_cv_prog_CC+set}" = set; then
2038  echo $ECHO_N "(cached) $ECHO_C" >&6
2039else
2040  if test -n "$CC"; then
2041  ac_cv_prog_CC="$CC" # Let the user override the test.
2042else
2043  ac_prog_rejected=no
2044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045for as_dir in $PATH
2046do
2047  IFS=$as_save_IFS
2048  test -z "$as_dir" && as_dir=.
2049  for ac_exec_ext in '' $ac_executable_extensions; do
2050  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2052       ac_prog_rejected=yes
2053       continue
2054     fi
2055    ac_cv_prog_CC="cc"
2056    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057    break 2
2058  fi
2059done
2060done
2061
2062if test $ac_prog_rejected = yes; then
2063  # We found a bogon in the path, so make sure we never use it.
2064  set dummy $ac_cv_prog_CC
2065  shift
2066  if test $# != 0; then
2067    # We chose a different compiler from the bogus one.
2068    # However, it has the same basename, so the bogon will be chosen
2069    # first if we set CC to just the basename; use the full file name.
2070    shift
2071    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2072  fi
2073fi
2074fi
2075fi
2076CC=$ac_cv_prog_CC
2077if test -n "$CC"; then
2078  echo "$as_me:$LINENO: result: $CC" >&5
2079echo "${ECHO_T}$CC" >&6
2080else
2081  echo "$as_me:$LINENO: result: no" >&5
2082echo "${ECHO_T}no" >&6
2083fi
2084
2085fi
2086if test -z "$CC"; then
2087  if test -n "$ac_tool_prefix"; then
2088  for ac_prog in cl
2089  do
2090    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2091set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2092echo "$as_me:$LINENO: checking for $ac_word" >&5
2093echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2094if test "${ac_cv_prog_CC+set}" = set; then
2095  echo $ECHO_N "(cached) $ECHO_C" >&6
2096else
2097  if test -n "$CC"; then
2098  ac_cv_prog_CC="$CC" # Let the user override the test.
2099else
2100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101for as_dir in $PATH
2102do
2103  IFS=$as_save_IFS
2104  test -z "$as_dir" && as_dir=.
2105  for ac_exec_ext in '' $ac_executable_extensions; do
2106  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2107    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109    break 2
2110  fi
2111done
2112done
2113
2114fi
2115fi
2116CC=$ac_cv_prog_CC
2117if test -n "$CC"; then
2118  echo "$as_me:$LINENO: result: $CC" >&5
2119echo "${ECHO_T}$CC" >&6
2120else
2121  echo "$as_me:$LINENO: result: no" >&5
2122echo "${ECHO_T}no" >&6
2123fi
2124
2125    test -n "$CC" && break
2126  done
2127fi
2128if test -z "$CC"; then
2129  ac_ct_CC=$CC
2130  for ac_prog in cl
2131do
2132  # Extract the first word of "$ac_prog", so it can be a program name with args.
2133set dummy $ac_prog; ac_word=$2
2134echo "$as_me:$LINENO: checking for $ac_word" >&5
2135echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2137  echo $ECHO_N "(cached) $ECHO_C" >&6
2138else
2139  if test -n "$ac_ct_CC"; then
2140  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2141else
2142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143for as_dir in $PATH
2144do
2145  IFS=$as_save_IFS
2146  test -z "$as_dir" && as_dir=.
2147  for ac_exec_ext in '' $ac_executable_extensions; do
2148  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149    ac_cv_prog_ac_ct_CC="$ac_prog"
2150    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151    break 2
2152  fi
2153done
2154done
2155
2156fi
2157fi
2158ac_ct_CC=$ac_cv_prog_ac_ct_CC
2159if test -n "$ac_ct_CC"; then
2160  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2161echo "${ECHO_T}$ac_ct_CC" >&6
2162else
2163  echo "$as_me:$LINENO: result: no" >&5
2164echo "${ECHO_T}no" >&6
2165fi
2166
2167  test -n "$ac_ct_CC" && break
2168done
2169
2170  CC=$ac_ct_CC
2171fi
2172
2173fi
2174
2175
2176test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2177See \`config.log' for more details." >&5
2178echo "$as_me: error: no acceptable C compiler found in \$PATH
2179See \`config.log' for more details." >&2;}
2180   { (exit 1); exit 1; }; }
2181
2182# Provide some information about the compiler.
2183echo "$as_me:$LINENO:" \
2184     "checking for C compiler version" >&5
2185ac_compiler=`set X $ac_compile; echo $2`
2186{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2187  (eval $ac_compiler --version </dev/null >&5) 2>&5
2188  ac_status=$?
2189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190  (exit $ac_status); }
2191{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2192  (eval $ac_compiler -v </dev/null >&5) 2>&5
2193  ac_status=$?
2194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195  (exit $ac_status); }
2196{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2197  (eval $ac_compiler -V </dev/null >&5) 2>&5
2198  ac_status=$?
2199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200  (exit $ac_status); }
2201
2202cat >conftest.$ac_ext <<_ACEOF
2203/* confdefs.h.  */
2204_ACEOF
2205cat confdefs.h >>conftest.$ac_ext
2206cat >>conftest.$ac_ext <<_ACEOF
2207/* end confdefs.h.  */
2208
2209int
2210main ()
2211{
2212
2213  ;
2214  return 0;
2215}
2216_ACEOF
2217ac_clean_files_save=$ac_clean_files
2218ac_clean_files="$ac_clean_files a.out a.exe b.out"
2219# Try to create an executable without -o first, disregard a.out.
2220# It will help us diagnose broken compilers, and finding out an intuition
2221# of exeext.
2222echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2223echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2224ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2225if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2226  (eval $ac_link_default) 2>&5
2227  ac_status=$?
2228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229  (exit $ac_status); }; then
2230  # Find the output, starting from the most likely.  This scheme is
2231# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2232# resort.
2233
2234# Be careful to initialize this variable, since it used to be cached.
2235# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2236ac_cv_exeext=
2237# b.out is created by i960 compilers.
2238for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2239do
2240  test -f "$ac_file" || continue
2241  case $ac_file in
2242    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2243	;;
2244    conftest.$ac_ext )
2245	# This is the source file.
2246	;;
2247    [ab].out )
2248	# We found the default executable, but exeext='' is most
2249	# certainly right.
2250	break;;
2251    *.* )
2252	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2253	# FIXME: I believe we export ac_cv_exeext for Libtool,
2254	# but it would be cool to find out if it's true.  Does anybody
2255	# maintain Libtool? --akim.
2256	export ac_cv_exeext
2257	break;;
2258    * )
2259	break;;
2260  esac
2261done
2262else
2263  echo "$as_me: failed program was:" >&5
2264sed 's/^/| /' conftest.$ac_ext >&5
2265
2266{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2267See \`config.log' for more details." >&5
2268echo "$as_me: error: C compiler cannot create executables
2269See \`config.log' for more details." >&2;}
2270   { (exit 77); exit 77; }; }
2271fi
2272
2273ac_exeext=$ac_cv_exeext
2274echo "$as_me:$LINENO: result: $ac_file" >&5
2275echo "${ECHO_T}$ac_file" >&6
2276
2277# Check the compiler produces executables we can run.  If not, either
2278# the compiler is broken, or we cross compile.
2279echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2280echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2281# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2282# If not cross compiling, check that we can run a simple program.
2283if test "$cross_compiling" != yes; then
2284  if { ac_try='./$ac_file'
2285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286  (eval $ac_try) 2>&5
2287  ac_status=$?
2288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289  (exit $ac_status); }; }; then
2290    cross_compiling=no
2291  else
2292    if test "$cross_compiling" = maybe; then
2293	cross_compiling=yes
2294    else
2295	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2296If you meant to cross compile, use \`--host'.
2297See \`config.log' for more details." >&5
2298echo "$as_me: error: cannot run C compiled programs.
2299If you meant to cross compile, use \`--host'.
2300See \`config.log' for more details." >&2;}
2301   { (exit 1); exit 1; }; }
2302    fi
2303  fi
2304fi
2305echo "$as_me:$LINENO: result: yes" >&5
2306echo "${ECHO_T}yes" >&6
2307
2308rm -f a.out a.exe conftest$ac_cv_exeext b.out
2309ac_clean_files=$ac_clean_files_save
2310# Check the compiler produces executables we can run.  If not, either
2311# the compiler is broken, or we cross compile.
2312echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2313echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2314echo "$as_me:$LINENO: result: $cross_compiling" >&5
2315echo "${ECHO_T}$cross_compiling" >&6
2316
2317echo "$as_me:$LINENO: checking for suffix of executables" >&5
2318echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2319if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2320  (eval $ac_link) 2>&5
2321  ac_status=$?
2322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323  (exit $ac_status); }; then
2324  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2325# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2326# work properly (i.e., refer to `conftest.exe'), while it won't with
2327# `rm'.
2328for ac_file in conftest.exe conftest conftest.*; do
2329  test -f "$ac_file" || continue
2330  case $ac_file in
2331    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2332    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2333	  export ac_cv_exeext
2334	  break;;
2335    * ) break;;
2336  esac
2337done
2338else
2339  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2340See \`config.log' for more details." >&5
2341echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2342See \`config.log' for more details." >&2;}
2343   { (exit 1); exit 1; }; }
2344fi
2345
2346rm -f conftest$ac_cv_exeext
2347echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2348echo "${ECHO_T}$ac_cv_exeext" >&6
2349
2350rm -f conftest.$ac_ext
2351EXEEXT=$ac_cv_exeext
2352ac_exeext=$EXEEXT
2353echo "$as_me:$LINENO: checking for suffix of object files" >&5
2354echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2355if test "${ac_cv_objext+set}" = set; then
2356  echo $ECHO_N "(cached) $ECHO_C" >&6
2357else
2358  cat >conftest.$ac_ext <<_ACEOF
2359/* confdefs.h.  */
2360_ACEOF
2361cat confdefs.h >>conftest.$ac_ext
2362cat >>conftest.$ac_ext <<_ACEOF
2363/* end confdefs.h.  */
2364
2365int
2366main ()
2367{
2368
2369  ;
2370  return 0;
2371}
2372_ACEOF
2373rm -f conftest.o conftest.obj
2374if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375  (eval $ac_compile) 2>&5
2376  ac_status=$?
2377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378  (exit $ac_status); }; then
2379  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2380  case $ac_file in
2381    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2382    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2383       break;;
2384  esac
2385done
2386else
2387  echo "$as_me: failed program was:" >&5
2388sed 's/^/| /' conftest.$ac_ext >&5
2389
2390{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2391See \`config.log' for more details." >&5
2392echo "$as_me: error: cannot compute suffix of object files: cannot compile
2393See \`config.log' for more details." >&2;}
2394   { (exit 1); exit 1; }; }
2395fi
2396
2397rm -f conftest.$ac_cv_objext conftest.$ac_ext
2398fi
2399echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2400echo "${ECHO_T}$ac_cv_objext" >&6
2401OBJEXT=$ac_cv_objext
2402ac_objext=$OBJEXT
2403echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2404echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2405if test "${ac_cv_c_compiler_gnu+set}" = set; then
2406  echo $ECHO_N "(cached) $ECHO_C" >&6
2407else
2408  cat >conftest.$ac_ext <<_ACEOF
2409/* confdefs.h.  */
2410_ACEOF
2411cat confdefs.h >>conftest.$ac_ext
2412cat >>conftest.$ac_ext <<_ACEOF
2413/* end confdefs.h.  */
2414
2415int
2416main ()
2417{
2418#ifndef __GNUC__
2419       choke me
2420#endif
2421
2422  ;
2423  return 0;
2424}
2425_ACEOF
2426rm -f conftest.$ac_objext
2427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2428  (eval $ac_compile) 2>conftest.er1
2429  ac_status=$?
2430  grep -v '^ *+' conftest.er1 >conftest.err
2431  rm -f conftest.er1
2432  cat conftest.err >&5
2433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434  (exit $ac_status); } &&
2435	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2436  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437  (eval $ac_try) 2>&5
2438  ac_status=$?
2439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440  (exit $ac_status); }; } &&
2441	 { ac_try='test -s conftest.$ac_objext'
2442  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443  (eval $ac_try) 2>&5
2444  ac_status=$?
2445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446  (exit $ac_status); }; }; then
2447  ac_compiler_gnu=yes
2448else
2449  echo "$as_me: failed program was:" >&5
2450sed 's/^/| /' conftest.$ac_ext >&5
2451
2452ac_compiler_gnu=no
2453fi
2454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2455ac_cv_c_compiler_gnu=$ac_compiler_gnu
2456
2457fi
2458echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2459echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2460GCC=`test $ac_compiler_gnu = yes && echo yes`
2461ac_test_CFLAGS=${CFLAGS+set}
2462ac_save_CFLAGS=$CFLAGS
2463CFLAGS="-g"
2464echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2465echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2466if test "${ac_cv_prog_cc_g+set}" = set; then
2467  echo $ECHO_N "(cached) $ECHO_C" >&6
2468else
2469  cat >conftest.$ac_ext <<_ACEOF
2470/* confdefs.h.  */
2471_ACEOF
2472cat confdefs.h >>conftest.$ac_ext
2473cat >>conftest.$ac_ext <<_ACEOF
2474/* end confdefs.h.  */
2475
2476int
2477main ()
2478{
2479
2480  ;
2481  return 0;
2482}
2483_ACEOF
2484rm -f conftest.$ac_objext
2485if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2486  (eval $ac_compile) 2>conftest.er1
2487  ac_status=$?
2488  grep -v '^ *+' conftest.er1 >conftest.err
2489  rm -f conftest.er1
2490  cat conftest.err >&5
2491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492  (exit $ac_status); } &&
2493	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2494  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495  (eval $ac_try) 2>&5
2496  ac_status=$?
2497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498  (exit $ac_status); }; } &&
2499	 { ac_try='test -s conftest.$ac_objext'
2500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501  (eval $ac_try) 2>&5
2502  ac_status=$?
2503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504  (exit $ac_status); }; }; then
2505  ac_cv_prog_cc_g=yes
2506else
2507  echo "$as_me: failed program was:" >&5
2508sed 's/^/| /' conftest.$ac_ext >&5
2509
2510ac_cv_prog_cc_g=no
2511fi
2512rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2513fi
2514echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2515echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2516if test "$ac_test_CFLAGS" = set; then
2517  CFLAGS=$ac_save_CFLAGS
2518elif test $ac_cv_prog_cc_g = yes; then
2519  if test "$GCC" = yes; then
2520    CFLAGS="-g -O2"
2521  else
2522    CFLAGS="-g"
2523  fi
2524else
2525  if test "$GCC" = yes; then
2526    CFLAGS="-O2"
2527  else
2528    CFLAGS=
2529  fi
2530fi
2531echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2532echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2533if test "${ac_cv_prog_cc_stdc+set}" = set; then
2534  echo $ECHO_N "(cached) $ECHO_C" >&6
2535else
2536  ac_cv_prog_cc_stdc=no
2537ac_save_CC=$CC
2538cat >conftest.$ac_ext <<_ACEOF
2539/* confdefs.h.  */
2540_ACEOF
2541cat confdefs.h >>conftest.$ac_ext
2542cat >>conftest.$ac_ext <<_ACEOF
2543/* end confdefs.h.  */
2544#include <stdarg.h>
2545#include <stdio.h>
2546#include <sys/types.h>
2547#include <sys/stat.h>
2548/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2549struct buf { int x; };
2550FILE * (*rcsopen) (struct buf *, struct stat *, int);
2551static char *e (p, i)
2552     char **p;
2553     int i;
2554{
2555  return p[i];
2556}
2557static char *f (char * (*g) (char **, int), char **p, ...)
2558{
2559  char *s;
2560  va_list v;
2561  va_start (v,p);
2562  s = g (p, va_arg (v,int));
2563  va_end (v);
2564  return s;
2565}
2566
2567/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2568   function prototypes and stuff, but not '\xHH' hex character constants.
2569   These don't provoke an error unfortunately, instead are silently treated
2570   as 'x'.  The following induces an error, until -std1 is added to get
2571   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2572   array size at least.  It's necessary to write '\x00'==0 to get something
2573   that's true only with -std1.  */
2574int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2575
2576int test (int i, double x);
2577struct s1 {int (*f) (int a);};
2578struct s2 {int (*f) (double a);};
2579int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2580int argc;
2581char **argv;
2582int
2583main ()
2584{
2585return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2586  ;
2587  return 0;
2588}
2589_ACEOF
2590# Don't try gcc -ansi; that turns off useful extensions and
2591# breaks some systems' header files.
2592# AIX			-qlanglvl=ansi
2593# Ultrix and OSF/1	-std1
2594# HP-UX 10.20 and later	-Ae
2595# HP-UX older versions	-Aa -D_HPUX_SOURCE
2596# SVR4			-Xc -D__EXTENSIONS__
2597for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2598do
2599  CC="$ac_save_CC $ac_arg"
2600  rm -f conftest.$ac_objext
2601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602  (eval $ac_compile) 2>conftest.er1
2603  ac_status=$?
2604  grep -v '^ *+' conftest.er1 >conftest.err
2605  rm -f conftest.er1
2606  cat conftest.err >&5
2607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608  (exit $ac_status); } &&
2609	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2610  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611  (eval $ac_try) 2>&5
2612  ac_status=$?
2613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614  (exit $ac_status); }; } &&
2615	 { ac_try='test -s conftest.$ac_objext'
2616  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617  (eval $ac_try) 2>&5
2618  ac_status=$?
2619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620  (exit $ac_status); }; }; then
2621  ac_cv_prog_cc_stdc=$ac_arg
2622break
2623else
2624  echo "$as_me: failed program was:" >&5
2625sed 's/^/| /' conftest.$ac_ext >&5
2626
2627fi
2628rm -f conftest.err conftest.$ac_objext
2629done
2630rm -f conftest.$ac_ext conftest.$ac_objext
2631CC=$ac_save_CC
2632
2633fi
2634
2635case "x$ac_cv_prog_cc_stdc" in
2636  x|xno)
2637    echo "$as_me:$LINENO: result: none needed" >&5
2638echo "${ECHO_T}none needed" >&6 ;;
2639  *)
2640    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2641echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2642    CC="$CC $ac_cv_prog_cc_stdc" ;;
2643esac
2644
2645# Some people use a C++ compiler to compile C.  Since we use `exit',
2646# in C++ we need to declare it.  In case someone uses the same compiler
2647# for both compiling C and C++ we need to have the C++ compiler decide
2648# the declaration of exit, since it's the most demanding environment.
2649cat >conftest.$ac_ext <<_ACEOF
2650#ifndef __cplusplus
2651  choke me
2652#endif
2653_ACEOF
2654rm -f conftest.$ac_objext
2655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656  (eval $ac_compile) 2>conftest.er1
2657  ac_status=$?
2658  grep -v '^ *+' conftest.er1 >conftest.err
2659  rm -f conftest.er1
2660  cat conftest.err >&5
2661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662  (exit $ac_status); } &&
2663	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2664  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665  (eval $ac_try) 2>&5
2666  ac_status=$?
2667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668  (exit $ac_status); }; } &&
2669	 { ac_try='test -s conftest.$ac_objext'
2670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671  (eval $ac_try) 2>&5
2672  ac_status=$?
2673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674  (exit $ac_status); }; }; then
2675  for ac_declaration in \
2676   '' \
2677   'extern "C" void std::exit (int) throw (); using std::exit;' \
2678   'extern "C" void std::exit (int); using std::exit;' \
2679   'extern "C" void exit (int) throw ();' \
2680   'extern "C" void exit (int);' \
2681   'void exit (int);'
2682do
2683  cat >conftest.$ac_ext <<_ACEOF
2684/* confdefs.h.  */
2685_ACEOF
2686cat confdefs.h >>conftest.$ac_ext
2687cat >>conftest.$ac_ext <<_ACEOF
2688/* end confdefs.h.  */
2689$ac_declaration
2690#include <stdlib.h>
2691int
2692main ()
2693{
2694exit (42);
2695  ;
2696  return 0;
2697}
2698_ACEOF
2699rm -f conftest.$ac_objext
2700if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701  (eval $ac_compile) 2>conftest.er1
2702  ac_status=$?
2703  grep -v '^ *+' conftest.er1 >conftest.err
2704  rm -f conftest.er1
2705  cat conftest.err >&5
2706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707  (exit $ac_status); } &&
2708	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2709  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710  (eval $ac_try) 2>&5
2711  ac_status=$?
2712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713  (exit $ac_status); }; } &&
2714	 { ac_try='test -s conftest.$ac_objext'
2715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716  (eval $ac_try) 2>&5
2717  ac_status=$?
2718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719  (exit $ac_status); }; }; then
2720  :
2721else
2722  echo "$as_me: failed program was:" >&5
2723sed 's/^/| /' conftest.$ac_ext >&5
2724
2725continue
2726fi
2727rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728  cat >conftest.$ac_ext <<_ACEOF
2729/* confdefs.h.  */
2730_ACEOF
2731cat confdefs.h >>conftest.$ac_ext
2732cat >>conftest.$ac_ext <<_ACEOF
2733/* end confdefs.h.  */
2734$ac_declaration
2735int
2736main ()
2737{
2738exit (42);
2739  ;
2740  return 0;
2741}
2742_ACEOF
2743rm -f conftest.$ac_objext
2744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745  (eval $ac_compile) 2>conftest.er1
2746  ac_status=$?
2747  grep -v '^ *+' conftest.er1 >conftest.err
2748  rm -f conftest.er1
2749  cat conftest.err >&5
2750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751  (exit $ac_status); } &&
2752	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
2753  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754  (eval $ac_try) 2>&5
2755  ac_status=$?
2756  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757  (exit $ac_status); }; } &&
2758	 { ac_try='test -s conftest.$ac_objext'
2759  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760  (eval $ac_try) 2>&5
2761  ac_status=$?
2762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763  (exit $ac_status); }; }; then
2764  break
2765else
2766  echo "$as_me: failed program was:" >&5
2767sed 's/^/| /' conftest.$ac_ext >&5
2768
2769fi
2770rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2771done
2772rm -f conftest*
2773if test -n "$ac_declaration"; then
2774  echo '#ifdef __cplusplus' >>confdefs.h
2775  echo $ac_declaration      >>confdefs.h
2776  echo '#endif'             >>confdefs.h
2777fi
2778
2779else
2780  echo "$as_me: failed program was:" >&5
2781sed 's/^/| /' conftest.$ac_ext >&5
2782
2783fi
2784rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2785ac_ext=c
2786ac_cpp='$CPP $CPPFLAGS'
2787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2789ac_compiler_gnu=$ac_cv_c_compiler_gnu
2790DEPDIR="${am__leading_dot}deps"
2791
2792          ac_config_commands="$ac_config_commands depfiles"
2793
2794
2795am_make=${MAKE-make}
2796cat > confinc << 'END'
2797am__doit:
2798	@echo done
2799.PHONY: am__doit
2800END
2801# If we don't find an include directive, just comment out the code.
2802echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2803echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2804am__include="#"
2805am__quote=
2806_am_result=none
2807# First try GNU make style include.
2808echo "include confinc" > confmf
2809# We grep out `Entering directory' and `Leaving directory'
2810# messages which can occur if `w' ends up in MAKEFLAGS.
2811# In particular we don't look at `^make:' because GNU make might
2812# be invoked under some other name (usually "gmake"), in which
2813# case it prints its new name instead of `make'.
2814if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2815   am__include=include
2816   am__quote=
2817   _am_result=GNU
2818fi
2819# Now try BSD make style include.
2820if test "$am__include" = "#"; then
2821   echo '.include "confinc"' > confmf
2822   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2823      am__include=.include
2824      am__quote="\""
2825      _am_result=BSD
2826   fi
2827fi
2828
2829
2830echo "$as_me:$LINENO: result: $_am_result" >&5
2831echo "${ECHO_T}$_am_result" >&6
2832rm -f confinc confmf
2833
2834# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2835if test "${enable_dependency_tracking+set}" = set; then
2836  enableval="$enable_dependency_tracking"
2837
2838fi;
2839if test "x$enable_dependency_tracking" != xno; then
2840  am_depcomp="$ac_aux_dir/depcomp"
2841  AMDEPBACKSLASH='\'
2842fi
2843
2844
2845if test "x$enable_dependency_tracking" != xno; then
2846  AMDEP_TRUE=
2847  AMDEP_FALSE='#'
2848else
2849  AMDEP_TRUE='#'
2850  AMDEP_FALSE=
2851fi
2852
2853
2854
2855
2856depcc="$CC"   am_compiler_list=
2857
2858echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2859echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2860if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2861  echo $ECHO_N "(cached) $ECHO_C" >&6
2862else
2863  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2864  # We make a subdir and do the tests there.  Otherwise we can end up
2865  # making bogus files that we don't know about and never remove.  For
2866  # instance it was reported that on HP-UX the gcc test will end up
2867  # making a dummy file named `D' -- because `-MD' means `put the output
2868  # in D'.
2869  mkdir conftest.dir
2870  # Copy depcomp to subdir because otherwise we won't find it if we're
2871  # using a relative directory.
2872  cp "$am_depcomp" conftest.dir
2873  cd conftest.dir
2874  # We will build objects and dependencies in a subdirectory because
2875  # it helps to detect inapplicable dependency modes.  For instance
2876  # both Tru64's cc and ICC support -MD to output dependencies as a
2877  # side effect of compilation, but ICC will put the dependencies in
2878  # the current directory while Tru64 will put them in the object
2879  # directory.
2880  mkdir sub
2881
2882  am_cv_CC_dependencies_compiler_type=none
2883  if test "$am_compiler_list" = ""; then
2884     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2885  fi
2886  for depmode in $am_compiler_list; do
2887    # Setup a source with many dependencies, because some compilers
2888    # like to wrap large dependency lists on column 80 (with \), and
2889    # we should not choose a depcomp mode which is confused by this.
2890    #
2891    # We need to recreate these files for each test, as the compiler may
2892    # overwrite some of them when testing with obscure command lines.
2893    # This happens at least with the AIX C compiler.
2894    : > sub/conftest.c
2895    for i in 1 2 3 4 5 6; do
2896      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2897      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2898      # Solaris 8's {/usr,}/bin/sh.
2899      touch sub/conftst$i.h
2900    done
2901    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2902
2903    case $depmode in
2904    nosideeffect)
2905      # after this tag, mechanisms are not by side-effect, so they'll
2906      # only be used when explicitly requested
2907      if test "x$enable_dependency_tracking" = xyes; then
2908	continue
2909      else
2910	break
2911      fi
2912      ;;
2913    none) break ;;
2914    esac
2915    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2916    # mode.  It turns out that the SunPro C++ compiler does not properly
2917    # handle `-M -o', and we need to detect this.
2918    if depmode=$depmode \
2919       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2920       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2921       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2922         >/dev/null 2>conftest.err &&
2923       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2924       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2925       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2926      # icc doesn't choke on unknown options, it will just issue warnings
2927      # or remarks (even with -Werror).  So we grep stderr for any message
2928      # that says an option was ignored or not supported.
2929      # When given -MP, icc 7.0 and 7.1 complain thusly:
2930      #   icc: Command line warning: ignoring option '-M'; no argument required
2931      # The diagnosis changed in icc 8.0:
2932      #   icc: Command line remark: option '-MP' not supported
2933      if (grep 'ignoring option' conftest.err ||
2934          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2935        am_cv_CC_dependencies_compiler_type=$depmode
2936        break
2937      fi
2938    fi
2939  done
2940
2941  cd ..
2942  rm -rf conftest.dir
2943else
2944  am_cv_CC_dependencies_compiler_type=none
2945fi
2946
2947fi
2948echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2949echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2950CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2951
2952
2953
2954if
2955  test "x$enable_dependency_tracking" != xno \
2956  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2957  am__fastdepCC_TRUE=
2958  am__fastdepCC_FALSE='#'
2959else
2960  am__fastdepCC_TRUE='#'
2961  am__fastdepCC_FALSE=
2962fi
2963
2964
2965echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2966echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2967if test "${lt_cv_path_SED+set}" = set; then
2968  echo $ECHO_N "(cached) $ECHO_C" >&6
2969else
2970  # Loop through the user's path and test for sed and gsed.
2971# Then use that list of sed's as ones to test for truncation.
2972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973for as_dir in $PATH
2974do
2975  IFS=$as_save_IFS
2976  test -z "$as_dir" && as_dir=.
2977  for lt_ac_prog in sed gsed; do
2978    for ac_exec_ext in '' $ac_executable_extensions; do
2979      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2980        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2981      fi
2982    done
2983  done
2984done
2985lt_ac_max=0
2986lt_ac_count=0
2987# Add /usr/xpg4/bin/sed as it is typically found on Solaris
2988# along with /bin/sed that truncates output.
2989for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
2990  test ! -f $lt_ac_sed && break
2991  cat /dev/null > conftest.in
2992  lt_ac_count=0
2993  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
2994  # Check for GNU sed and select it if it is found.
2995  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
2996    lt_cv_path_SED=$lt_ac_sed
2997    break
2998  fi
2999  while true; do
3000    cat conftest.in conftest.in >conftest.tmp
3001    mv conftest.tmp conftest.in
3002    cp conftest.in conftest.nl
3003    echo >>conftest.nl
3004    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3005    cmp -s conftest.out conftest.nl || break
3006    # 10000 chars as input seems more than enough
3007    test $lt_ac_count -gt 10 && break
3008    lt_ac_count=`expr $lt_ac_count + 1`
3009    if test $lt_ac_count -gt $lt_ac_max; then
3010      lt_ac_max=$lt_ac_count
3011      lt_cv_path_SED=$lt_ac_sed
3012    fi
3013  done
3014done
3015SED=$lt_cv_path_SED
3016
3017fi
3018
3019echo "$as_me:$LINENO: result: $SED" >&5
3020echo "${ECHO_T}$SED" >&6
3021
3022echo "$as_me:$LINENO: checking for egrep" >&5
3023echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3024if test "${ac_cv_prog_egrep+set}" = set; then
3025  echo $ECHO_N "(cached) $ECHO_C" >&6
3026else
3027  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3028    then ac_cv_prog_egrep='grep -E'
3029    else ac_cv_prog_egrep='egrep'
3030    fi
3031fi
3032echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3033echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3034 EGREP=$ac_cv_prog_egrep
3035
3036
3037
3038# Check whether --with-gnu-ld or --without-gnu-ld was given.
3039if test "${with_gnu_ld+set}" = set; then
3040  withval="$with_gnu_ld"
3041  test "$withval" = no || with_gnu_ld=yes
3042else
3043  with_gnu_ld=no
3044fi;
3045ac_prog=ld
3046if test "$GCC" = yes; then
3047  # Check if gcc -print-prog-name=ld gives a path.
3048  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3049echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3050  case $host in
3051  *-*-mingw*)
3052    # gcc leaves a trailing carriage return which upsets mingw
3053    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3054  *)
3055    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3056  esac
3057  case $ac_prog in
3058    # Accept absolute paths.
3059    [\\/]* | ?:[\\/]*)
3060      re_direlt='/[^/][^/]*/\.\./'
3061      # Canonicalize the pathname of ld
3062      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3063      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3064	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3065      done
3066      test -z "$LD" && LD="$ac_prog"
3067      ;;
3068  "")
3069    # If it fails, then pretend we aren't using GCC.
3070    ac_prog=ld
3071    ;;
3072  *)
3073    # If it is relative, then search for the first ld in PATH.
3074    with_gnu_ld=unknown
3075    ;;
3076  esac
3077elif test "$with_gnu_ld" = yes; then
3078  echo "$as_me:$LINENO: checking for GNU ld" >&5
3079echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3080else
3081  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3082echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3083fi
3084if test "${lt_cv_path_LD+set}" = set; then
3085  echo $ECHO_N "(cached) $ECHO_C" >&6
3086else
3087  if test -z "$LD"; then
3088  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3089  for ac_dir in $PATH; do
3090    IFS="$lt_save_ifs"
3091    test -z "$ac_dir" && ac_dir=.
3092    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3093      lt_cv_path_LD="$ac_dir/$ac_prog"
3094      # Check to see if the program is GNU ld.  I'd rather use --version,
3095      # but apparently some GNU ld's only accept -v.
3096      # Break only if it was the GNU/non-GNU ld that we prefer.
3097      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3098      *GNU* | *'with BFD'*)
3099	test "$with_gnu_ld" != no && break
3100	;;
3101      *)
3102	test "$with_gnu_ld" != yes && break
3103	;;
3104      esac
3105    fi
3106  done
3107  IFS="$lt_save_ifs"
3108else
3109  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3110fi
3111fi
3112
3113LD="$lt_cv_path_LD"
3114if test -n "$LD"; then
3115  echo "$as_me:$LINENO: result: $LD" >&5
3116echo "${ECHO_T}$LD" >&6
3117else
3118  echo "$as_me:$LINENO: result: no" >&5
3119echo "${ECHO_T}no" >&6
3120fi
3121test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3122echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3123   { (exit 1); exit 1; }; }
3124echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3125echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3126if test "${lt_cv_prog_gnu_ld+set}" = set; then
3127  echo $ECHO_N "(cached) $ECHO_C" >&6
3128else
3129  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3130case `$LD -v 2>&1 </dev/null` in
3131*GNU* | *'with BFD'*)
3132  lt_cv_prog_gnu_ld=yes
3133  ;;
3134*)
3135  lt_cv_prog_gnu_ld=no
3136  ;;
3137esac
3138fi
3139echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3140echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3141with_gnu_ld=$lt_cv_prog_gnu_ld
3142
3143
3144# Find a good install program.  We prefer a C program (faster),
3145# so one script is as good as another.  But avoid the broken or
3146# incompatible versions:
3147# SysV /etc/install, /usr/sbin/install
3148# SunOS /usr/etc/install
3149# IRIX /sbin/install
3150# AIX /bin/install
3151# AmigaOS /C/install, which installs bootblocks on floppy discs
3152# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3153# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3154# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3155# OS/2's system install, which has a completely different semantic
3156# ./install, which can be erroneously created by make from ./install.sh.
3157echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3158echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3159if test -z "$INSTALL"; then
3160if test "${ac_cv_path_install+set}" = set; then
3161  echo $ECHO_N "(cached) $ECHO_C" >&6
3162else
3163  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164for as_dir in $PATH
3165do
3166  IFS=$as_save_IFS
3167  test -z "$as_dir" && as_dir=.
3168  # Account for people who put trailing slashes in PATH elements.
3169case $as_dir/ in
3170  ./ | .// | /cC/* | \
3171  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3172  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3173  /usr/ucb/* ) ;;
3174  *)
3175    # OSF1 and SCO ODT 3.0 have their own names for install.
3176    # Don't use installbsd from OSF since it installs stuff as root
3177    # by default.
3178    for ac_prog in ginstall scoinst install; do
3179      for ac_exec_ext in '' $ac_executable_extensions; do
3180	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3181	  if test $ac_prog = install &&
3182	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3183	    # AIX install.  It has an incompatible calling convention.
3184	    :
3185	  elif test $ac_prog = install &&
3186	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3187	    # program-specific install script used by HP pwplus--don't use.
3188	    :
3189	  else
3190	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3191	    break 3
3192	  fi
3193	fi
3194      done
3195    done
3196    ;;
3197esac
3198done
3199
3200
3201fi
3202  if test "${ac_cv_path_install+set}" = set; then
3203    INSTALL=$ac_cv_path_install
3204  else
3205    # As a last resort, use the slow shell script.  We don't cache a
3206    # path for INSTALL within a source directory, because that will
3207    # break other packages using the cache if that directory is
3208    # removed, or if the path is relative.
3209    INSTALL=$ac_install_sh
3210  fi
3211fi
3212echo "$as_me:$LINENO: result: $INSTALL" >&5
3213echo "${ECHO_T}$INSTALL" >&6
3214
3215# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3216# It thinks the first close brace ends the variable substitution.
3217test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3218
3219test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3220
3221test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3222
3223if test -n "$ac_tool_prefix"; then
3224  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3225set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3226echo "$as_me:$LINENO: checking for $ac_word" >&5
3227echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3228if test "${ac_cv_prog_RANLIB+set}" = set; then
3229  echo $ECHO_N "(cached) $ECHO_C" >&6
3230else
3231  if test -n "$RANLIB"; then
3232  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3233else
3234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235for as_dir in $PATH
3236do
3237  IFS=$as_save_IFS
3238  test -z "$as_dir" && as_dir=.
3239  for ac_exec_ext in '' $ac_executable_extensions; do
3240  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3241    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3242    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243    break 2
3244  fi
3245done
3246done
3247
3248fi
3249fi
3250RANLIB=$ac_cv_prog_RANLIB
3251if test -n "$RANLIB"; then
3252  echo "$as_me:$LINENO: result: $RANLIB" >&5
3253echo "${ECHO_T}$RANLIB" >&6
3254else
3255  echo "$as_me:$LINENO: result: no" >&5
3256echo "${ECHO_T}no" >&6
3257fi
3258
3259fi
3260if test -z "$ac_cv_prog_RANLIB"; then
3261  ac_ct_RANLIB=$RANLIB
3262  # Extract the first word of "ranlib", so it can be a program name with args.
3263set dummy ranlib; ac_word=$2
3264echo "$as_me:$LINENO: checking for $ac_word" >&5
3265echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3266if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3267  echo $ECHO_N "(cached) $ECHO_C" >&6
3268else
3269  if test -n "$ac_ct_RANLIB"; then
3270  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3271else
3272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273for as_dir in $PATH
3274do
3275  IFS=$as_save_IFS
3276  test -z "$as_dir" && as_dir=.
3277  for ac_exec_ext in '' $ac_executable_extensions; do
3278  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279    ac_cv_prog_ac_ct_RANLIB="ranlib"
3280    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3281    break 2
3282  fi
3283done
3284done
3285
3286  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3287fi
3288fi
3289ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3290if test -n "$ac_ct_RANLIB"; then
3291  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3292echo "${ECHO_T}$ac_ct_RANLIB" >&6
3293else
3294  echo "$as_me:$LINENO: result: no" >&5
3295echo "${ECHO_T}no" >&6
3296fi
3297
3298  RANLIB=$ac_ct_RANLIB
3299else
3300  RANLIB="$ac_cv_prog_RANLIB"
3301fi
3302
3303
3304AP_VERSION=2.0.40
3305
3306
3307# Check whether --with-apxs or --without-apxs was given.
3308if test "${with_apxs+set}" = set; then
3309  withval="$with_apxs"
3310  apxs_prefix="$withval"
3311else
3312  apxs_prefix="/usr"
3313
3314fi;
3315
3316# Check whether --enable-apachetest or --disable-apachetest was given.
3317if test "${enable_apachetest+set}" = set; then
3318  enableval="$enable_apachetest"
3319
3320else
3321  enable_apachetest=yes
3322
3323fi;
3324
3325    if test -x $apxs_prefix -a ! -d $apxs_prefix; then
3326        APXS_BIN=$apxs_prefix
3327    else
3328        test_paths="$apxs_prefix:$apxs_prefix/bin:$apxs_prefix/sbin"
3329        test_paths="${test_paths}:/usr/bin:/usr/sbin"
3330        test_paths="${test_paths}:/usr/local/bin:/usr/local/sbin:/usr/local/apache2/bin"
3331        # Extract the first word of "apxs", so it can be a program name with args.
3332set dummy apxs; ac_word=$2
3333echo "$as_me:$LINENO: checking for $ac_word" >&5
3334echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335if test "${ac_cv_path_APXS_BIN+set}" = set; then
3336  echo $ECHO_N "(cached) $ECHO_C" >&6
3337else
3338  case $APXS_BIN in
3339  [\\/]* | ?:[\\/]*)
3340  ac_cv_path_APXS_BIN="$APXS_BIN" # Let the user override the test with a path.
3341  ;;
3342  *)
3343  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344for as_dir in $test_paths
3345do
3346  IFS=$as_save_IFS
3347  test -z "$as_dir" && as_dir=.
3348  for ac_exec_ext in '' $ac_executable_extensions; do
3349  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350    ac_cv_path_APXS_BIN="$as_dir/$ac_word$ac_exec_ext"
3351    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352    break 2
3353  fi
3354done
3355done
3356
3357  test -z "$ac_cv_path_APXS_BIN" && ac_cv_path_APXS_BIN="no"
3358  ;;
3359esac
3360fi
3361APXS_BIN=$ac_cv_path_APXS_BIN
3362
3363if test -n "$APXS_BIN"; then
3364  echo "$as_me:$LINENO: result: $APXS_BIN" >&5
3365echo "${ECHO_T}$APXS_BIN" >&6
3366else
3367  echo "$as_me:$LINENO: result: no" >&5
3368echo "${ECHO_T}no" >&6
3369fi
3370
3371    fi
3372    min_apache13_version=no
3373    min_apache20_version=$AP_VERSION
3374    no_apxs=""
3375    if test "$APXS_BIN" = "no"; then
3376        { { echo "$as_me:$LINENO: error: *** The apxs binary installed by apache could not be found!" >&5
3377echo "$as_me: error: *** The apxs binary installed by apache could not be found!" >&2;}
3378   { (exit 1); exit 1; }; }
3379        { { echo "$as_me:$LINENO: error: *** Use the --with-apxs option with the full path to apxs" >&5
3380echo "$as_me: error: *** Use the --with-apxs option with the full path to apxs" >&2;}
3381   { (exit 1); exit 1; }; }
3382    else
3383        AP_INCLUDES="-I`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
3384        AP_INCLUDEDIR="`$APXS_BIN -q INCLUDEDIR 2>/dev/null`"
3385
3386        AP_PREFIX="`$APXS_BIN -q prefix 2>/dev/null`"
3387
3388        AP_BINDIR="`$APXS_BIN -q bindir 2>/dev/null`"
3389        AP_SBINDIR="`$APXS_BIN -q sbindir 2>/dev/null`"
3390        AP_SYSCONFDIR="`$APXS_BIN -q sysconfdir 2>/dev/null`"
3391
3392        APXS_CFLAGS=""
3393        for flag in CFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS NOTEST_CFLAGS; do
3394            APXS_CFLAGS="$APXS_CFLAGS `$APXS_BIN -q $flag 2>/dev/null`"
3395        done
3396
3397        AP_CPPFLAGS="$APXS_CPPFLAGS $AP_INCLUDES"
3398        AP_CFLAGS="$APXS_CFLAGS $AP_INCLUDES"
3399
3400        AP_LIBEXECDIR=`$APXS_BIN -q LIBEXECDIR 2>/dev/null`
3401
3402        if test "x$enable_apachetest" = "xyes" ; then
3403            if test "$min_apache20_version" != "no"; then
3404                APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-1-config"
3405                if test ! -x $APR_CONFIG; then
3406                    APR_CONFIG="`$APXS_BIN -q APR_BINDIR 2>/dev/null`/apr-config"
3407                fi
3408                APR_INCLUDES=`$APR_CONFIG --includes 2>/dev/null`
3409                APR_VERSION=`$APR_CONFIG --version 2>/dev/null`
3410                APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-1-config"
3411                if test ! -x $APU_CONFIG; then
3412                    APU_CONFIG="`$APXS_BIN -q APU_BINDIR 2>/dev/null`/apu-config"
3413                fi
3414                APU_INCLUDES=`$APU_CONFIG --includes 2>/dev/null`
3415                APU_VERSION=`$APU_CONFIG --version 2>/dev/null`
3416
3417                echo "$as_me:$LINENO: checking for Apache 2.0 version >= $min_apache20_version" >&5
3418echo $ECHO_N "checking for Apache 2.0 version >= $min_apache20_version... $ECHO_C" >&6
3419
3420    releasetest=20
3421    min_apache_version="$min_apache20_version"
3422    no_apache=""
3423    ac_save_CFLAGS="$CFLAGS"
3424    CFLAGS="$CFLAGS $AP_CFLAGS"
3425    if test $releasetest -eq 20; then
3426        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3427    fi
3428    if test "$cross_compiling" = yes; then
3429  echo $ac_n "cross compiling; assumed OK... $ac_c"
3430else
3431  cat >conftest.$ac_ext <<_ACEOF
3432/* confdefs.h.  */
3433_ACEOF
3434cat confdefs.h >>conftest.$ac_ext
3435cat >>conftest.$ac_ext <<_ACEOF
3436/* end confdefs.h.  */
3437
3438#include <stdio.h>
3439#include <stdlib.h>
3440#include <string.h>
3441#include "httpd.h"
3442
3443#ifndef AP_SERVER_BASEREVISION
3444    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
3445#endif
3446
3447char* my_strdup (char *str)
3448{
3449    char *new_str;
3450
3451    if (str) {
3452        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3453        strcpy (new_str, str);
3454    } else
3455        new_str = NULL;
3456
3457    return new_str;
3458}
3459
3460int main (int argc, char *argv[])
3461{
3462    int major1, minor1, micro1;
3463    int major2, minor2, micro2;
3464    char *tmp_version;
3465
3466    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
3467
3468    tmp_version = my_strdup("$min_apache_version");
3469    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
3470        printf("%s, bad version string\n", "$min_apache_version");
3471        exit(1);
3472    }
3473    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
3474    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
3475        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
3476        exit(1);
3477    }
3478
3479    if ( (major2 == major1) &&
3480        ( (minor2 > minor1) ||
3481        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
3482        exit(0);
3483    } else {
3484        exit(1);
3485    }
3486}
3487
3488
3489_ACEOF
3490rm -f conftest$ac_exeext
3491if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3492  (eval $ac_link) 2>&5
3493  ac_status=$?
3494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497  (eval $ac_try) 2>&5
3498  ac_status=$?
3499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500  (exit $ac_status); }; }; then
3501  :
3502else
3503  echo "$as_me: program exited with status $ac_status" >&5
3504echo "$as_me: failed program was:" >&5
3505sed 's/^/| /' conftest.$ac_ext >&5
3506
3507( exit $ac_status )
3508no_apache=yes
3509fi
3510rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3511fi
3512    CFLAGS="$ac_save_CFLAGS"
3513
3514    if test "x$no_apache" = x ; then
3515        echo "$as_me:$LINENO: result: yes" >&5
3516echo "${ECHO_T}yes" >&6
3517
3518cat >>confdefs.h <<\_ACEOF
3519#define WITH_APACHE20 1
3520_ACEOF
3521
3522                    AP_VERSION="2.0"
3523                    APXS_EXTENSION=.la
3524		    if test -f `$APXS_BIN -q INCLUDEDIR`/mod_status.h; then
3525
3526cat >>confdefs.h <<\_ACEOF
3527#define HAVE_MOD_STATUS_H 1
3528_ACEOF
3529
3530		    fi
3531                    AP_CFLAGS="$AP_CFLAGS $APU_INCLUDES $APR_INCLUDES"
3532                    AP_CPPFLAGS="$AP_CPPFLAGS $APU_INCLUDES $APR_INCLUDES"
3533                    AP_DEFS="-DWITH_APACHE20"
3534                    :
3535       else
3536        if test -f conf.apachetest ; then
3537            :
3538        else
3539            echo "*** Could not run Apache test program, checking why..."
3540            CFLAGS="$CFLAGS $AP_CFLAGS"
3541            if test $releasetest -eq 20; then
3542                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3543            fi
3544            cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h.  */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h.  */
3550
3551#include <stdio.h>
3552#include "httpd.h"
3553
3554int main(int argc, char *argv[])
3555{ return 0; }
3556#undef main
3557#define main K_and_R_C_main
3558
3559int
3560main ()
3561{
3562 return 0;
3563  ;
3564  return 0;
3565}
3566_ACEOF
3567rm -f conftest.$ac_objext conftest$ac_exeext
3568if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3569  (eval $ac_link) 2>conftest.er1
3570  ac_status=$?
3571  grep -v '^ *+' conftest.er1 >conftest.err
3572  rm -f conftest.er1
3573  cat conftest.err >&5
3574  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575  (exit $ac_status); } &&
3576	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
3577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578  (eval $ac_try) 2>&5
3579  ac_status=$?
3580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581  (exit $ac_status); }; } &&
3582	 { ac_try='test -s conftest$ac_exeext'
3583  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584  (eval $ac_try) 2>&5
3585  ac_status=$?
3586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587  (exit $ac_status); }; }; then
3588   echo "*** The test program compiled, but failed to run. Check config.log"
3589else
3590  echo "$as_me: failed program was:" >&5
3591sed 's/^/| /' conftest.$ac_ext >&5
3592
3593 echo "*** The test program failed to compile or link. Check config.log"
3594fi
3595rm -f conftest.err conftest.$ac_objext \
3596      conftest$ac_exeext conftest.$ac_ext
3597            CFLAGS="$ac_save_CFLAGS"
3598        fi
3599         echo "$as_me:$LINENO: result: no" >&5
3600echo "${ECHO_T}no" >&6
3601                    if test "x$min_apache13_version" = "xno"; then
3602                        { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5
3603echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;}
3604   { (exit 1); exit 1; }; }
3605
3606                    fi
3607
3608      fi
3609      rm -f conf.apachetest
3610
3611            fi
3612            if test "$min_apache13_version" != "no" -a "x$AP_VERSION" = "x"; then
3613                APR_INCLUDES=""
3614                APR_VERSION=""
3615                APU_INCLUDES=""
3616                APU_VERSION=""
3617                echo "$as_me:$LINENO: checking for Apache 1.3 version >= $min_apache13_version" >&5
3618echo $ECHO_N "checking for Apache 1.3 version >= $min_apache13_version... $ECHO_C" >&6
3619
3620    releasetest=13
3621    min_apache_version="$min_apache13_version"
3622    no_apache=""
3623    ac_save_CFLAGS="$CFLAGS"
3624    CFLAGS="$CFLAGS $AP_CFLAGS"
3625    if test $releasetest -eq 20; then
3626        CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3627    fi
3628    if test "$cross_compiling" = yes; then
3629  echo $ac_n "cross compiling; assumed OK... $ac_c"
3630else
3631  cat >conftest.$ac_ext <<_ACEOF
3632/* confdefs.h.  */
3633_ACEOF
3634cat confdefs.h >>conftest.$ac_ext
3635cat >>conftest.$ac_ext <<_ACEOF
3636/* end confdefs.h.  */
3637
3638#include <stdio.h>
3639#include <stdlib.h>
3640#include <string.h>
3641#include "httpd.h"
3642
3643#ifndef AP_SERVER_BASEREVISION
3644    #define AP_SERVER_BASEREVISION SERVER_BASEREVISION
3645#endif
3646
3647char* my_strdup (char *str)
3648{
3649    char *new_str;
3650
3651    if (str) {
3652        new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3653        strcpy (new_str, str);
3654    } else
3655        new_str = NULL;
3656
3657    return new_str;
3658}
3659
3660int main (int argc, char *argv[])
3661{
3662    int major1, minor1, micro1;
3663    int major2, minor2, micro2;
3664    char *tmp_version;
3665
3666    { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); }
3667
3668    tmp_version = my_strdup("$min_apache_version");
3669    if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, &micro1) != 3) {
3670        printf("%s, bad version string\n", "$min_apache_version");
3671        exit(1);
3672    }
3673    tmp_version = my_strdup(AP_SERVER_BASEREVISION);
3674    if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, &micro2) != 3) {
3675        printf("%s, bad version string\n", AP_SERVER_BASEREVISION);
3676        exit(1);
3677    }
3678
3679    if ( (major2 == major1) &&
3680        ( (minor2 > minor1) ||
3681        ((minor2 == minor1) && (micro2 >= micro1)) ) ) {
3682        exit(0);
3683    } else {
3684        exit(1);
3685    }
3686}
3687
3688
3689_ACEOF
3690rm -f conftest$ac_exeext
3691if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3692  (eval $ac_link) 2>&5
3693  ac_status=$?
3694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697  (eval $ac_try) 2>&5
3698  ac_status=$?
3699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700  (exit $ac_status); }; }; then
3701  :
3702else
3703  echo "$as_me: program exited with status $ac_status" >&5
3704echo "$as_me: failed program was:" >&5
3705sed 's/^/| /' conftest.$ac_ext >&5
3706
3707( exit $ac_status )
3708no_apache=yes
3709fi
3710rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3711fi
3712    CFLAGS="$ac_save_CFLAGS"
3713
3714    if test "x$no_apache" = x ; then
3715        echo "$as_me:$LINENO: result: yes" >&5
3716echo "${ECHO_T}yes" >&6
3717
3718cat >>confdefs.h <<\_ACEOF
3719#define WITH_APACHE13 1
3720_ACEOF
3721
3722                    AP_VERSION="1.3"
3723                    APXS_EXTENSION=.so
3724                    AP_CFLAGS="-g $AP_CFLAGS"
3725                    AP_DEFS="-DWITH_APACHE13"
3726                    :
3727       else
3728        if test -f conf.apachetest ; then
3729            :
3730        else
3731            echo "*** Could not run Apache test program, checking why..."
3732            CFLAGS="$CFLAGS $AP_CFLAGS"
3733            if test $releasetest -eq 20; then
3734                CFLAGS="$CFLAGS $APU_INCLUDES $APR_INCLUDES"
3735            fi
3736            cat >conftest.$ac_ext <<_ACEOF
3737/* confdefs.h.  */
3738_ACEOF
3739cat confdefs.h >>conftest.$ac_ext
3740cat >>conftest.$ac_ext <<_ACEOF
3741/* end confdefs.h.  */
3742
3743#include <stdio.h>
3744#include "httpd.h"
3745
3746int main(int argc, char *argv[])
3747{ return 0; }
3748#undef main
3749#define main K_and_R_C_main
3750
3751int
3752main ()
3753{
3754 return 0;
3755  ;
3756  return 0;
3757}
3758_ACEOF
3759rm -f conftest.$ac_objext conftest$ac_exeext
3760if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3761  (eval $ac_link) 2>conftest.er1
3762  ac_status=$?
3763  grep -v '^ *+' conftest.er1 >conftest.err
3764  rm -f conftest.er1
3765  cat conftest.err >&5
3766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767  (exit $ac_status); } &&
3768	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
3769  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770  (eval $ac_try) 2>&5
3771  ac_status=$?
3772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773  (exit $ac_status); }; } &&
3774	 { ac_try='test -s conftest$ac_exeext'
3775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776  (eval $ac_try) 2>&5
3777  ac_status=$?
3778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779  (exit $ac_status); }; }; then
3780   echo "*** The test program compiled, but failed to run. Check config.log"
3781else
3782  echo "$as_me: failed program was:" >&5
3783sed 's/^/| /' conftest.$ac_ext >&5
3784
3785 echo "*** The test program failed to compile or link. Check config.log"
3786fi
3787rm -f conftest.err conftest.$ac_objext \
3788      conftest$ac_exeext conftest.$ac_ext
3789            CFLAGS="$ac_save_CFLAGS"
3790        fi
3791         echo "$as_me:$LINENO: result: no" >&5
3792echo "${ECHO_T}no" >&6
3793                    { { echo "$as_me:$LINENO: error: *** Apache version $AP_VERSION not found!" >&5
3794echo "$as_me: error: *** Apache version $AP_VERSION not found!" >&2;}
3795   { (exit 1); exit 1; }; }
3796
3797
3798      fi
3799      rm -f conf.apachetest
3800
3801            fi
3802        fi
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819    fi
3820
3821
3822LIBTOOL="`${APR_CONFIG} --apr-libtool`"
3823
3824
3825have_apr_memcache=0
3826
3827
3828# Check whether --with-apr-memcache or --without-apr-memcache was given.
3829if test "${with_apr_memcache+set}" = set; then
3830  withval="$with_apr_memcache"
3831  mc_path="$withval"
3832else
3833  :
3834fi;
3835
3836echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
3837echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
3838library_names_spec=
3839libname_spec='lib$name'
3840soname_spec=
3841shrext_cmds=".so"
3842postinstall_cmds=
3843postuninstall_cmds=
3844finish_cmds=
3845finish_eval=
3846shlibpath_var=
3847shlibpath_overrides_runpath=unknown
3848version_type=none
3849dynamic_linker="$host_os ld.so"
3850sys_lib_dlsearch_path_spec="/lib /usr/lib"
3851if test "$GCC" = yes; then
3852  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3853  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
3854    # if the path contains ";" then we assume it to be the separator
3855    # otherwise default to the standard path separator (i.e. ":") - it is
3856    # assumed that no part of a normal pathname contains ";" but that should
3857    # okay in the real world where ";" in dirpaths is itself problematic.
3858    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3859  else
3860    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
3861  fi
3862else
3863  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3864fi
3865need_lib_prefix=unknown
3866hardcode_into_libs=no
3867
3868# when you set need_version to no, make sure it does not cause -set_version
3869# flags to be left without arguments
3870need_version=unknown
3871
3872case $host_os in
3873aix3*)
3874  version_type=linux
3875  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
3876  shlibpath_var=LIBPATH
3877
3878  # AIX 3 has no versioning support, so we append a major version to the name.
3879  soname_spec='${libname}${release}${shared_ext}$major'
3880  ;;
3881
3882aix4* | aix5*)
3883  version_type=linux
3884  need_lib_prefix=no
3885  need_version=no
3886  hardcode_into_libs=yes
3887  if test "$host_cpu" = ia64; then
3888    # AIX 5 supports IA64
3889    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
3890    shlibpath_var=LD_LIBRARY_PATH
3891  else
3892    # With GCC up to 2.95.x, collect2 would create an import file
3893    # for dependence libraries.  The import file would start with
3894    # the line `#! .'.  This would cause the generated library to
3895    # depend on `.', always an invalid library.  This was fixed in
3896    # development snapshots of GCC prior to 3.0.
3897    case $host_os in
3898      aix4 | aix4.[01] | aix4.[01].*)
3899      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
3900	   echo ' yes '
3901	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
3902	:
3903      else
3904	can_build_shared=no
3905      fi
3906      ;;
3907    esac
3908    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
3909    # soname into executable. Probably we can add versioning support to
3910    # collect2, so additional links can be useful in future.
3911    if test "$aix_use_runtimelinking" = yes; then
3912      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
3913      # instead of lib<name>.a to let people know that these are not
3914      # typical AIX shared libraries.
3915      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3916    else
3917      # We preserve .a as extension for shared libraries through AIX4.2
3918      # and later when we are not doing run time linking.
3919      library_names_spec='${libname}${release}.a $libname.a'
3920      soname_spec='${libname}${release}${shared_ext}$major'
3921    fi
3922    shlibpath_var=LIBPATH
3923  fi
3924  ;;
3925
3926amigaos*)
3927  library_names_spec='$libname.ixlibrary $libname.a'
3928  # Create ${libname}_ixlibrary.a entries in /sys/libs.
3929  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
3930  ;;
3931
3932beos*)
3933  library_names_spec='${libname}${shared_ext}'
3934  dynamic_linker="$host_os ld.so"
3935  shlibpath_var=LIBRARY_PATH
3936  ;;
3937
3938bsdi4*)
3939  version_type=linux
3940  need_version=no
3941  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3942  soname_spec='${libname}${release}${shared_ext}$major'
3943  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
3944  shlibpath_var=LD_LIBRARY_PATH
3945  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3946  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3947  # the default ld.so.conf also contains /usr/contrib/lib and
3948  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3949  # libtool to hard-code these into programs
3950  ;;
3951
3952cygwin* | mingw* | pw32*)
3953  version_type=windows
3954  shrext_cmds=".dll"
3955  need_version=no
3956  need_lib_prefix=no
3957
3958  case $GCC,$host_os in
3959  yes,cygwin* | yes,mingw* | yes,pw32*)
3960    library_names_spec='$libname.dll.a'
3961    # DLL is installed to $(libdir)/../bin by postinstall_cmds
3962    postinstall_cmds='base_file=`basename \${file}`~
3963      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3964      dldir=$destdir/`dirname \$dlpath`~
3965      test -d \$dldir || mkdir -p \$dldir~
3966      $install_prog $dir/$dlname \$dldir/$dlname'
3967    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3968      dlpath=$dir/\$dldll~
3969       $rm \$dlpath'
3970    shlibpath_overrides_runpath=yes
3971
3972    case $host_os in
3973    cygwin*)
3974      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3975      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3976      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3977      ;;
3978    mingw*)
3979      # MinGW DLLs use traditional 'lib' prefix
3980      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3981      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3982      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
3983        # It is most probably a Windows format PATH printed by
3984        # mingw gcc, but we are running on Cygwin. Gcc prints its search
3985        # path with ; separators, and with drive letters. We can handle the
3986        # drive letters (cygwin fileutils understands them), so leave them,
3987        # especially as we might pass files found there to a mingw objdump,
3988        # which wouldn't understand a cygwinified path. Ahh.
3989        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3990      else
3991        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
3992      fi
3993      ;;
3994    pw32*)
3995      # pw32 DLLs use 'pw' prefix rather than 'lib'
3996      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
3997      ;;
3998    esac
3999    ;;
4000
4001  *)
4002    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4003    ;;
4004  esac
4005  dynamic_linker='Win32 ld.exe'
4006  # FIXME: first we should search . and the directory the executable is in
4007  shlibpath_var=PATH
4008  ;;
4009
4010darwin* | rhapsody*)
4011  dynamic_linker="$host_os dyld"
4012  version_type=darwin
4013  need_lib_prefix=no
4014  need_version=no
4015  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4016  soname_spec='${libname}${release}${major}$shared_ext'
4017  shlibpath_overrides_runpath=yes
4018  shlibpath_var=DYLD_LIBRARY_PATH
4019  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
4020  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4021  if test "$GCC" = yes; then
4022    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
4023  else
4024    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
4025  fi
4026  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4027  ;;
4028
4029dgux*)
4030  version_type=linux
4031  need_lib_prefix=no
4032  need_version=no
4033  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4034  soname_spec='${libname}${release}${shared_ext}$major'
4035  shlibpath_var=LD_LIBRARY_PATH
4036  ;;
4037
4038freebsd1*)
4039  dynamic_linker=no
4040  ;;
4041
4042kfreebsd*-gnu)
4043  version_type=linux
4044  need_lib_prefix=no
4045  need_version=no
4046  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4047  soname_spec='${libname}${release}${shared_ext}$major'
4048  shlibpath_var=LD_LIBRARY_PATH
4049  shlibpath_overrides_runpath=no
4050  hardcode_into_libs=yes
4051  dynamic_linker='GNU ld.so'
4052  ;;
4053
4054freebsd*)
4055  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4056  version_type=freebsd-$objformat
4057  case $version_type in
4058    freebsd-elf*)
4059      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4060      need_version=no
4061      need_lib_prefix=no
4062      ;;
4063    freebsd-*)
4064      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4065      need_version=yes
4066      ;;
4067  esac
4068  shlibpath_var=LD_LIBRARY_PATH
4069  case $host_os in
4070  freebsd2*)
4071    shlibpath_overrides_runpath=yes
4072    ;;
4073  freebsd3.01* | freebsdelf3.01*)
4074    shlibpath_overrides_runpath=yes
4075    hardcode_into_libs=yes
4076    ;;
4077  *) # from 3.2 on
4078    shlibpath_overrides_runpath=no
4079    hardcode_into_libs=yes
4080    ;;
4081  esac
4082  ;;
4083
4084gnu*)
4085  version_type=linux
4086  need_lib_prefix=no
4087  need_version=no
4088  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4089  soname_spec='${libname}${release}${shared_ext}$major'
4090  shlibpath_var=LD_LIBRARY_PATH
4091  hardcode_into_libs=yes
4092  ;;
4093
4094hpux9* | hpux10* | hpux11*)
4095  # Give a soname corresponding to the major version so that dld.sl refuses to
4096  # link against other versions.
4097  version_type=sunos
4098  need_lib_prefix=no
4099  need_version=no
4100  case "$host_cpu" in
4101  ia64*)
4102    shrext_cmds='.so'
4103    hardcode_into_libs=yes
4104    dynamic_linker="$host_os dld.so"
4105    shlibpath_var=LD_LIBRARY_PATH
4106    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4107    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4108    soname_spec='${libname}${release}${shared_ext}$major'
4109    if test "X$HPUX_IA64_MODE" = X32; then
4110      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4111    else
4112      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4113    fi
4114    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4115    ;;
4116   hppa*64*)
4117     shrext_cmds='.sl'
4118     hardcode_into_libs=yes
4119     dynamic_linker="$host_os dld.sl"
4120     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4121     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4123     soname_spec='${libname}${release}${shared_ext}$major'
4124     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4125     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4126     ;;
4127   *)
4128    shrext_cmds='.sl'
4129    dynamic_linker="$host_os dld.sl"
4130    shlibpath_var=SHLIB_PATH
4131    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4132    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4133    soname_spec='${libname}${release}${shared_ext}$major'
4134    ;;
4135  esac
4136  # HP-UX runs *really* slowly unless shared libraries are mode 555.
4137  postinstall_cmds='chmod 555 $lib'
4138  ;;
4139
4140irix5* | irix6* | nonstopux*)
4141  case $host_os in
4142    nonstopux*) version_type=nonstopux ;;
4143    *)
4144	if test "$lt_cv_prog_gnu_ld" = yes; then
4145		version_type=linux
4146	else
4147		version_type=irix
4148	fi ;;
4149  esac
4150  need_lib_prefix=no
4151  need_version=no
4152  soname_spec='${libname}${release}${shared_ext}$major'
4153  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4154  case $host_os in
4155  irix5* | nonstopux*)
4156    libsuff= shlibsuff=
4157    ;;
4158  *)
4159    case $LD in # libtool.m4 will add one of these switches to LD
4160    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
4161      libsuff= shlibsuff= libmagic=32-bit;;
4162    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
4163      libsuff=32 shlibsuff=N32 libmagic=N32;;
4164    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
4165      libsuff=64 shlibsuff=64 libmagic=64-bit;;
4166    *) libsuff= shlibsuff= libmagic=never-match;;
4167    esac
4168    ;;
4169  esac
4170  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
4171  shlibpath_overrides_runpath=no
4172  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4173  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
4174  hardcode_into_libs=yes
4175  ;;
4176
4177# No shared lib support for Linux oldld, aout, or coff.
4178linux*oldld* | linux*aout* | linux*coff*)
4179  dynamic_linker=no
4180  ;;
4181
4182# This must be Linux ELF.
4183linux*)
4184  version_type=linux
4185  need_lib_prefix=no
4186  need_version=no
4187  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4188  soname_spec='${libname}${release}${shared_ext}$major'
4189  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4190  shlibpath_var=LD_LIBRARY_PATH
4191  shlibpath_overrides_runpath=no
4192  # This implies no fast_install, which is unacceptable.
4193  # Some rework will be needed to allow for fast_install
4194  # before this can be enabled.
4195  hardcode_into_libs=yes
4196
4197  # Append ld.so.conf contents to the search path
4198  if test -f /etc/ld.so.conf; then
4199    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
4200    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4201  fi
4202
4203  # We used to test for /lib/ld.so.1 and disable shared libraries on
4204  # powerpc, because MkLinux only supported shared libraries with the
4205  # GNU dynamic linker.  Since this was broken with cross compilers,
4206  # most powerpc-linux boxes support dynamic linking these days and
4207  # people can always --disable-shared, the test was removed, and we
4208  # assume the GNU/Linux dynamic linker is in use.
4209  dynamic_linker='GNU/Linux ld.so'
4210  ;;
4211
4212netbsdelf*-gnu)
4213  version_type=linux
4214  need_lib_prefix=no
4215  need_version=no
4216  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4217  soname_spec='${libname}${release}${shared_ext}$major'
4218  shlibpath_var=LD_LIBRARY_PATH
4219  shlibpath_overrides_runpath=no
4220  hardcode_into_libs=yes
4221  dynamic_linker='NetBSD ld.elf_so'
4222  ;;
4223
4224knetbsd*-gnu)
4225  version_type=linux
4226  need_lib_prefix=no
4227  need_version=no
4228  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4229  soname_spec='${libname}${release}${shared_ext}$major'
4230  shlibpath_var=LD_LIBRARY_PATH
4231  shlibpath_overrides_runpath=no
4232  hardcode_into_libs=yes
4233  dynamic_linker='GNU ld.so'
4234  ;;
4235
4236netbsd*)
4237  version_type=sunos
4238  need_lib_prefix=no
4239  need_version=no
4240  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4241    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4242    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4243    dynamic_linker='NetBSD (a.out) ld.so'
4244  else
4245    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4246    soname_spec='${libname}${release}${shared_ext}$major'
4247    dynamic_linker='NetBSD ld.elf_so'
4248  fi
4249  shlibpath_var=LD_LIBRARY_PATH
4250  shlibpath_overrides_runpath=yes
4251  hardcode_into_libs=yes
4252  ;;
4253
4254newsos6)
4255  version_type=linux
4256  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4257  shlibpath_var=LD_LIBRARY_PATH
4258  shlibpath_overrides_runpath=yes
4259  ;;
4260
4261nto-qnx*)
4262  version_type=linux
4263  need_lib_prefix=no
4264  need_version=no
4265  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4266  soname_spec='${libname}${release}${shared_ext}$major'
4267  shlibpath_var=LD_LIBRARY_PATH
4268  shlibpath_overrides_runpath=yes
4269  ;;
4270
4271openbsd*)
4272  version_type=sunos
4273  need_lib_prefix=no
4274  need_version=yes
4275  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4276  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4277  shlibpath_var=LD_LIBRARY_PATH
4278  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4279    case $host_os in
4280      openbsd2.[89] | openbsd2.[89].*)
4281	shlibpath_overrides_runpath=no
4282	;;
4283      *)
4284	shlibpath_overrides_runpath=yes
4285	;;
4286      esac
4287  else
4288    shlibpath_overrides_runpath=yes
4289  fi
4290  ;;
4291
4292os2*)
4293  libname_spec='$name'
4294  shrext_cmds=".dll"
4295  need_lib_prefix=no
4296  library_names_spec='$libname${shared_ext} $libname.a'
4297  dynamic_linker='OS/2 ld.exe'
4298  shlibpath_var=LIBPATH
4299  ;;
4300
4301osf3* | osf4* | osf5*)
4302  version_type=osf
4303  need_lib_prefix=no
4304  need_version=no
4305  soname_spec='${libname}${release}${shared_ext}$major'
4306  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4307  shlibpath_var=LD_LIBRARY_PATH
4308  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4309  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4310  ;;
4311
4312sco3.2v5*)
4313  version_type=osf
4314  soname_spec='${libname}${release}${shared_ext}$major'
4315  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4316  shlibpath_var=LD_LIBRARY_PATH
4317  ;;
4318
4319solaris*)
4320  version_type=linux
4321  need_lib_prefix=no
4322  need_version=no
4323  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4324  soname_spec='${libname}${release}${shared_ext}$major'
4325  shlibpath_var=LD_LIBRARY_PATH
4326  shlibpath_overrides_runpath=yes
4327  hardcode_into_libs=yes
4328  # ldd complains unless libraries are executable
4329  postinstall_cmds='chmod +x $lib'
4330  ;;
4331
4332sunos4*)
4333  version_type=sunos
4334  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4335  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4336  shlibpath_var=LD_LIBRARY_PATH
4337  shlibpath_overrides_runpath=yes
4338  if test "$with_gnu_ld" = yes; then
4339    need_lib_prefix=no
4340  fi
4341  need_version=yes
4342  ;;
4343
4344sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4345  version_type=linux
4346  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4347  soname_spec='${libname}${release}${shared_ext}$major'
4348  shlibpath_var=LD_LIBRARY_PATH
4349  case $host_vendor in
4350    sni)
4351      shlibpath_overrides_runpath=no
4352      need_lib_prefix=no
4353      export_dynamic_flag_spec='${wl}-Blargedynsym'
4354      runpath_var=LD_RUN_PATH
4355      ;;
4356    siemens)
4357      need_lib_prefix=no
4358      ;;
4359    motorola)
4360      need_lib_prefix=no
4361      need_version=no
4362      shlibpath_overrides_runpath=no
4363      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4364      ;;
4365  esac
4366  ;;
4367
4368sysv4*MP*)
4369  if test -d /usr/nec ;then
4370    version_type=linux
4371    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4372    soname_spec='$libname${shared_ext}.$major'
4373    shlibpath_var=LD_LIBRARY_PATH
4374  fi
4375  ;;
4376
4377uts4*)
4378  version_type=linux
4379  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4380  soname_spec='${libname}${release}${shared_ext}$major'
4381  shlibpath_var=LD_LIBRARY_PATH
4382  ;;
4383
4384*)
4385  dynamic_linker=no
4386  ;;
4387esac
4388echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4389echo "${ECHO_T}$dynamic_linker" >&6
4390test "$dynamic_linker" = no && can_build_shared=no
4391
4392
4393if test -z $mc_path; then
4394    test_paths="/usr/local /usr /usr/local/apache2"
4395else
4396    test_paths="${mc_path}"
4397fi
4398
4399if test -n ${AP_PREFIX}; then
4400    test_paths="${AP_PREFIX} ${test_paths}"
4401fi
4402
4403for x in $test_paths ; do
4404    amc_shlib="${x}/libapr_memcache${shrext_cmds}"
4405    echo "$as_me:$LINENO: checking for apr_memcache library in ${x}/lib" >&5
4406echo $ECHO_N "checking for apr_memcache library in ${x}/lib... $ECHO_C" >&6
4407    if test -f ${amc_shlib}; then
4408        echo "$as_me:$LINENO: result: yes" >&5
4409echo "${ECHO_T}yes" >&6
4410        save_CFLAGS=$CFLAGS
4411        save_LDFLAGS=$LDFLAGS
4412        CFLAGS="$CFLAGS"
4413        LDFLAGS="-L$x/lib $LDFLAGS"
4414        echo "$as_me:$LINENO: checking for apr_memcache_create in -lapr_memcache" >&5
4415echo $ECHO_N "checking for apr_memcache_create in -lapr_memcache... $ECHO_C" >&6
4416if test "${ac_cv_lib_apr_memcache_apr_memcache_create+set}" = set; then
4417  echo $ECHO_N "(cached) $ECHO_C" >&6
4418else
4419  ac_check_lib_save_LIBS=$LIBS
4420LIBS="-lapr_memcache  $LIBS"
4421cat >conftest.$ac_ext <<_ACEOF
4422/* confdefs.h.  */
4423_ACEOF
4424cat confdefs.h >>conftest.$ac_ext
4425cat >>conftest.$ac_ext <<_ACEOF
4426/* end confdefs.h.  */
4427
4428/* Override any gcc2 internal prototype to avoid an error.  */
4429#ifdef __cplusplus
4430extern "C"
4431#endif
4432/* We use char because int might match the return type of a gcc2
4433   builtin and then its argument prototype would still apply.  */
4434char apr_memcache_create ();
4435int
4436main ()
4437{
4438apr_memcache_create ();
4439  ;
4440  return 0;
4441}
4442_ACEOF
4443rm -f conftest.$ac_objext conftest$ac_exeext
4444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4445  (eval $ac_link) 2>conftest.er1
4446  ac_status=$?
4447  grep -v '^ *+' conftest.er1 >conftest.err
4448  rm -f conftest.er1
4449  cat conftest.err >&5
4450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451  (exit $ac_status); } &&
4452	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
4453  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454  (eval $ac_try) 2>&5
4455  ac_status=$?
4456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457  (exit $ac_status); }; } &&
4458	 { ac_try='test -s conftest$ac_exeext'
4459  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460  (eval $ac_try) 2>&5
4461  ac_status=$?
4462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463  (exit $ac_status); }; }; then
4464  ac_cv_lib_apr_memcache_apr_memcache_create=yes
4465else
4466  echo "$as_me: failed program was:" >&5
4467sed 's/^/| /' conftest.$ac_ext >&5
4468
4469ac_cv_lib_apr_memcache_apr_memcache_create=no
4470fi
4471rm -f conftest.err conftest.$ac_objext \
4472      conftest$ac_exeext conftest.$ac_ext
4473LIBS=$ac_check_lib_save_LIBS
4474fi
4475echo "$as_me:$LINENO: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
4476echo "${ECHO_T}$ac_cv_lib_apr_memcache_apr_memcache_create" >&6
4477if test $ac_cv_lib_apr_memcache_apr_memcache_create = yes; then
4478
4479            APR_MEMCACHE_LIBS="-R$x/lib -L$x/lib -lapr_memcache"
4480            APR_MEMCACHE_CFLAGS="-I$x/include/apr_memcache-0"
4481
4482fi
4483
4484        CFLAGS=$save_CFLAGS
4485        LDFLAGS=$save_LDFLAGS
4486        break
4487    else
4488        echo "$as_me:$LINENO: result: no" >&5
4489echo "${ECHO_T}no" >&6
4490    fi
4491done
4492
4493
4494
4495
4496if test -z "${APR_MEMCACHE_LIBS}"; then
4497  { echo "$as_me:$LINENO: *** memcache library not found." >&5
4498echo "$as_me: *** memcache library not found." >&6;}
4499  have_apr_memcache=0
4500else
4501  { echo "$as_me:$LINENO: using '${APR_MEMCACHE_LIBS}' for memcache" >&5
4502echo "$as_me: using '${APR_MEMCACHE_LIBS}' for memcache" >&6;}
4503  have_apr_memcache=1
4504fi
4505
4506
4507
4508LIBRADIUS_CFLAGS="-I\$(top_srcdir)/libradius"
4509MODULE_CFLAGS="${LIBRADIUS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
4510MODULE_LIBS="${APR_MEMCACHE_LIBS}"
4511
4512
4513
4514
4515                    ac_config_files="$ac_config_files Makefile include/mod_auth_xradius.h"
4516
4517cat >confcache <<\_ACEOF
4518# This file is a shell script that caches the results of configure
4519# tests run on this system so they can be shared between configure
4520# scripts and configure runs, see configure's option --config-cache.
4521# It is not useful on other systems.  If it contains results you don't
4522# want to keep, you may remove or edit it.
4523#
4524# config.status only pays attention to the cache file if you give it
4525# the --recheck option to rerun configure.
4526#
4527# `ac_cv_env_foo' variables (set or unset) will be overridden when
4528# loading this file, other *unset* `ac_cv_foo' will be assigned the
4529# following values.
4530
4531_ACEOF
4532
4533# The following way of writing the cache mishandles newlines in values,
4534# but we know of no workaround that is simple, portable, and efficient.
4535# So, don't put newlines in cache variables' values.
4536# Ultrix sh set writes to stderr and can't be redirected directly,
4537# and sets the high bit in the cache file unless we assign to the vars.
4538{
4539  (set) 2>&1 |
4540    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4541    *ac_space=\ *)
4542      # `set' does not quote correctly, so add quotes (double-quote
4543      # substitution turns \\\\ into \\, and sed turns \\ into \).
4544      sed -n \
4545	"s/'/'\\\\''/g;
4546	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4547      ;;
4548    *)
4549      # `set' quotes correctly as required by POSIX, so do not add quotes.
4550      sed -n \
4551	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4552      ;;
4553    esac;
4554} |
4555  sed '
4556     t clear
4557     : clear
4558     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4559     t end
4560     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4561     : end' >>confcache
4562if diff $cache_file confcache >/dev/null 2>&1; then :; else
4563  if test -w $cache_file; then
4564    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4565    cat confcache >$cache_file
4566  else
4567    echo "not updating unwritable cache $cache_file"
4568  fi
4569fi
4570rm -f confcache
4571
4572test "x$prefix" = xNONE && prefix=$ac_default_prefix
4573# Let make expand exec_prefix.
4574test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4575
4576# VPATH may cause trouble with some makes, so we remove $(srcdir),
4577# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4578# trailing colons and then remove the whole line if VPATH becomes empty
4579# (actually we leave an empty line to preserve line numbers).
4580if test "x$srcdir" = x.; then
4581  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4582s/:*\$(srcdir):*/:/;
4583s/:*\${srcdir}:*/:/;
4584s/:*@srcdir@:*/:/;
4585s/^\([^=]*=[	 ]*\):*/\1/;
4586s/:*$//;
4587s/^[^=]*=[	 ]*$//;
4588}'
4589fi
4590
4591DEFS=-DHAVE_CONFIG_H
4592
4593ac_libobjs=
4594ac_ltlibobjs=
4595for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4596  # 1. Remove the extension, and $U if already installed.
4597  ac_i=`echo "$ac_i" |
4598	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4599  # 2. Add them.
4600  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4601  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4602done
4603LIBOBJS=$ac_libobjs
4604
4605LTLIBOBJS=$ac_ltlibobjs
4606
4607
4608if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4609  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4610Usually this means the macro was only invoked conditionally." >&5
4611echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4612Usually this means the macro was only invoked conditionally." >&2;}
4613   { (exit 1); exit 1; }; }
4614fi
4615if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4616  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4617Usually this means the macro was only invoked conditionally." >&5
4618echo "$as_me: error: conditional \"AMDEP\" was never defined.
4619Usually this means the macro was only invoked conditionally." >&2;}
4620   { (exit 1); exit 1; }; }
4621fi
4622if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4623  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4624Usually this means the macro was only invoked conditionally." >&5
4625echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4626Usually this means the macro was only invoked conditionally." >&2;}
4627   { (exit 1); exit 1; }; }
4628fi
4629
4630: ${CONFIG_STATUS=./config.status}
4631ac_clean_files_save=$ac_clean_files
4632ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4633{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4634echo "$as_me: creating $CONFIG_STATUS" >&6;}
4635cat >$CONFIG_STATUS <<_ACEOF
4636#! $SHELL
4637# Generated by $as_me.
4638# Run this file to recreate the current configuration.
4639# Compiler output produced by configure, useful for debugging
4640# configure, is in config.log if it exists.
4641
4642debug=false
4643ac_cs_recheck=false
4644ac_cs_silent=false
4645SHELL=\${CONFIG_SHELL-$SHELL}
4646_ACEOF
4647
4648cat >>$CONFIG_STATUS <<\_ACEOF
4649## --------------------- ##
4650## M4sh Initialization.  ##
4651## --------------------- ##
4652
4653# Be Bourne compatible
4654if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4655  emulate sh
4656  NULLCMD=:
4657  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4658  # is contrary to our usage.  Disable this feature.
4659  alias -g '${1+"$@"}'='"$@"'
4660elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4661  set -o posix
4662fi
4663DUALCASE=1; export DUALCASE # for MKS sh
4664
4665# Support unset when possible.
4666if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4667  as_unset=unset
4668else
4669  as_unset=false
4670fi
4671
4672
4673# Work around bugs in pre-3.0 UWIN ksh.
4674$as_unset ENV MAIL MAILPATH
4675PS1='$ '
4676PS2='> '
4677PS4='+ '
4678
4679# NLS nuisances.
4680for as_var in \
4681  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4682  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4683  LC_TELEPHONE LC_TIME
4684do
4685  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4686    eval $as_var=C; export $as_var
4687  else
4688    $as_unset $as_var
4689  fi
4690done
4691
4692# Required to use basename.
4693if expr a : '\(a\)' >/dev/null 2>&1; then
4694  as_expr=expr
4695else
4696  as_expr=false
4697fi
4698
4699if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4700  as_basename=basename
4701else
4702  as_basename=false
4703fi
4704
4705
4706# Name of the executable.
4707as_me=`$as_basename "$0" ||
4708$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4709	 X"$0" : 'X\(//\)$' \| \
4710	 X"$0" : 'X\(/\)$' \| \
4711	 .     : '\(.\)' 2>/dev/null ||
4712echo X/"$0" |
4713    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4714  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
4715  	  /^X\/\(\/\).*/{ s//\1/; q; }
4716  	  s/.*/./; q'`
4717
4718
4719# PATH needs CR, and LINENO needs CR and PATH.
4720# Avoid depending upon Character Ranges.
4721as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4722as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4723as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4724as_cr_digits='0123456789'
4725as_cr_alnum=$as_cr_Letters$as_cr_digits
4726
4727# The user is always right.
4728if test "${PATH_SEPARATOR+set}" != set; then
4729  echo "#! /bin/sh" >conf$$.sh
4730  echo  "exit 0"   >>conf$$.sh
4731  chmod +x conf$$.sh
4732  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4733    PATH_SEPARATOR=';'
4734  else
4735    PATH_SEPARATOR=:
4736  fi
4737  rm -f conf$$.sh
4738fi
4739
4740
4741  as_lineno_1=$LINENO
4742  as_lineno_2=$LINENO
4743  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4744  test "x$as_lineno_1" != "x$as_lineno_2" &&
4745  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4746  # Find who we are.  Look in the path if we contain no path at all
4747  # relative or not.
4748  case $0 in
4749    *[\\/]* ) as_myself=$0 ;;
4750    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4751for as_dir in $PATH
4752do
4753  IFS=$as_save_IFS
4754  test -z "$as_dir" && as_dir=.
4755  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4756done
4757
4758       ;;
4759  esac
4760  # We did not find ourselves, most probably we were run as `sh COMMAND'
4761  # in which case we are not to be found in the path.
4762  if test "x$as_myself" = x; then
4763    as_myself=$0
4764  fi
4765  if test ! -f "$as_myself"; then
4766    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4767echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4768   { (exit 1); exit 1; }; }
4769  fi
4770  case $CONFIG_SHELL in
4771  '')
4772    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4774do
4775  IFS=$as_save_IFS
4776  test -z "$as_dir" && as_dir=.
4777  for as_base in sh bash ksh sh5; do
4778	 case $as_dir in
4779	 /*)
4780	   if ("$as_dir/$as_base" -c '
4781  as_lineno_1=$LINENO
4782  as_lineno_2=$LINENO
4783  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4784  test "x$as_lineno_1" != "x$as_lineno_2" &&
4785  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4786	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4787	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4788	     CONFIG_SHELL=$as_dir/$as_base
4789	     export CONFIG_SHELL
4790	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4791	   fi;;
4792	 esac
4793       done
4794done
4795;;
4796  esac
4797
4798  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4799  # uniformly replaced by the line number.  The first 'sed' inserts a
4800  # line-number line before each line; the second 'sed' does the real
4801  # work.  The second script uses 'N' to pair each line-number line
4802  # with the numbered line, and appends trailing '-' during
4803  # substitution so that $LINENO is not a special case at line end.
4804  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4805  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4806  sed '=' <$as_myself |
4807    sed '
4808      N
4809      s,$,-,
4810      : loop
4811      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4812      t loop
4813      s,-$,,
4814      s,^['$as_cr_digits']*\n,,
4815    ' >$as_me.lineno &&
4816  chmod +x $as_me.lineno ||
4817    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4818echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4819   { (exit 1); exit 1; }; }
4820
4821  # Don't try to exec as it changes $[0], causing all sort of problems
4822  # (the dirname of $[0] is not the place where we might find the
4823  # original and so on.  Autoconf is especially sensible to this).
4824  . ./$as_me.lineno
4825  # Exit status is that of the last command.
4826  exit
4827}
4828
4829
4830case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4831  *c*,-n*) ECHO_N= ECHO_C='
4832' ECHO_T='	' ;;
4833  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4834  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4835esac
4836
4837if expr a : '\(a\)' >/dev/null 2>&1; then
4838  as_expr=expr
4839else
4840  as_expr=false
4841fi
4842
4843rm -f conf$$ conf$$.exe conf$$.file
4844echo >conf$$.file
4845if ln -s conf$$.file conf$$ 2>/dev/null; then
4846  # We could just check for DJGPP; but this test a) works b) is more generic
4847  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4848  if test -f conf$$.exe; then
4849    # Don't use ln at all; we don't have any links
4850    as_ln_s='cp -p'
4851  else
4852    as_ln_s='ln -s'
4853  fi
4854elif ln conf$$.file conf$$ 2>/dev/null; then
4855  as_ln_s=ln
4856else
4857  as_ln_s='cp -p'
4858fi
4859rm -f conf$$ conf$$.exe conf$$.file
4860
4861if mkdir -p . 2>/dev/null; then
4862  as_mkdir_p=:
4863else
4864  test -d ./-p && rmdir ./-p
4865  as_mkdir_p=false
4866fi
4867
4868as_executable_p="test -f"
4869
4870# Sed expression to map a string onto a valid CPP name.
4871as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4872
4873# Sed expression to map a string onto a valid variable name.
4874as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4875
4876
4877# IFS
4878# We need space, tab and new line, in precisely that order.
4879as_nl='
4880'
4881IFS=" 	$as_nl"
4882
4883# CDPATH.
4884$as_unset CDPATH
4885
4886exec 6>&1
4887
4888# Open the log real soon, to keep \$[0] and so on meaningful, and to
4889# report actual input values of CONFIG_FILES etc. instead of their
4890# values after options handling.  Logging --version etc. is OK.
4891exec 5>>config.log
4892{
4893  echo
4894  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4895## Running $as_me. ##
4896_ASBOX
4897} >&5
4898cat >&5 <<_CSEOF
4899
4900This file was extended by mod_auth_xradius $as_me 0.4.6, which was
4901generated by GNU Autoconf 2.59.  Invocation command line was
4902
4903  CONFIG_FILES    = $CONFIG_FILES
4904  CONFIG_HEADERS  = $CONFIG_HEADERS
4905  CONFIG_LINKS    = $CONFIG_LINKS
4906  CONFIG_COMMANDS = $CONFIG_COMMANDS
4907  $ $0 $@
4908
4909_CSEOF
4910echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4911echo >&5
4912_ACEOF
4913
4914# Files that config.status was made for.
4915if test -n "$ac_config_files"; then
4916  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4917fi
4918
4919if test -n "$ac_config_headers"; then
4920  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4921fi
4922
4923if test -n "$ac_config_links"; then
4924  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4925fi
4926
4927if test -n "$ac_config_commands"; then
4928  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4929fi
4930
4931cat >>$CONFIG_STATUS <<\_ACEOF
4932
4933ac_cs_usage="\
4934\`$as_me' instantiates files from templates according to the
4935current configuration.
4936
4937Usage: $0 [OPTIONS] [FILE]...
4938
4939  -h, --help       print this help, then exit
4940  -V, --version    print version number, then exit
4941  -q, --quiet      do not print progress messages
4942  -d, --debug      don't remove temporary files
4943      --recheck    update $as_me by reconfiguring in the same conditions
4944  --file=FILE[:TEMPLATE]
4945		   instantiate the configuration file FILE
4946  --header=FILE[:TEMPLATE]
4947		   instantiate the configuration header FILE
4948
4949Configuration files:
4950$config_files
4951
4952Configuration headers:
4953$config_headers
4954
4955Configuration commands:
4956$config_commands
4957
4958Report bugs to <bug-autoconf@gnu.org>."
4959_ACEOF
4960
4961cat >>$CONFIG_STATUS <<_ACEOF
4962ac_cs_version="\\
4963mod_auth_xradius config.status 0.4.6
4964configured by $0, generated by GNU Autoconf 2.59,
4965  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4966
4967Copyright (C) 2003 Free Software Foundation, Inc.
4968This config.status script is free software; the Free Software Foundation
4969gives unlimited permission to copy, distribute and modify it."
4970srcdir=$srcdir
4971INSTALL="$INSTALL"
4972_ACEOF
4973
4974cat >>$CONFIG_STATUS <<\_ACEOF
4975# If no file are specified by the user, then we need to provide default
4976# value.  By we need to know if files were specified by the user.
4977ac_need_defaults=:
4978while test $# != 0
4979do
4980  case $1 in
4981  --*=*)
4982    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4983    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4984    ac_shift=:
4985    ;;
4986  -*)
4987    ac_option=$1
4988    ac_optarg=$2
4989    ac_shift=shift
4990    ;;
4991  *) # This is not an option, so the user has probably given explicit
4992     # arguments.
4993     ac_option=$1
4994     ac_need_defaults=false;;
4995  esac
4996
4997  case $ac_option in
4998  # Handling of the options.
4999_ACEOF
5000cat >>$CONFIG_STATUS <<\_ACEOF
5001  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5002    ac_cs_recheck=: ;;
5003  --version | --vers* | -V )
5004    echo "$ac_cs_version"; exit 0 ;;
5005  --he | --h)
5006    # Conflict between --help and --header
5007    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5008Try \`$0 --help' for more information." >&5
5009echo "$as_me: error: ambiguous option: $1
5010Try \`$0 --help' for more information." >&2;}
5011   { (exit 1); exit 1; }; };;
5012  --help | --hel | -h )
5013    echo "$ac_cs_usage"; exit 0 ;;
5014  --debug | --d* | -d )
5015    debug=: ;;
5016  --file | --fil | --fi | --f )
5017    $ac_shift
5018    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5019    ac_need_defaults=false;;
5020  --header | --heade | --head | --hea )
5021    $ac_shift
5022    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5023    ac_need_defaults=false;;
5024  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5025  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5026    ac_cs_silent=: ;;
5027
5028  # This is an error.
5029  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5030Try \`$0 --help' for more information." >&5
5031echo "$as_me: error: unrecognized option: $1
5032Try \`$0 --help' for more information." >&2;}
5033   { (exit 1); exit 1; }; } ;;
5034
5035  *) ac_config_targets="$ac_config_targets $1" ;;
5036
5037  esac
5038  shift
5039done
5040
5041ac_configure_extra_args=
5042
5043if $ac_cs_silent; then
5044  exec 6>/dev/null
5045  ac_configure_extra_args="$ac_configure_extra_args --silent"
5046fi
5047
5048_ACEOF
5049cat >>$CONFIG_STATUS <<_ACEOF
5050if \$ac_cs_recheck; then
5051  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5052  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5053fi
5054
5055_ACEOF
5056
5057cat >>$CONFIG_STATUS <<_ACEOF
5058#
5059# INIT-COMMANDS section.
5060#
5061
5062AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5063
5064_ACEOF
5065
5066
5067
5068cat >>$CONFIG_STATUS <<\_ACEOF
5069for ac_config_target in $ac_config_targets
5070do
5071  case "$ac_config_target" in
5072  # Handling of arguments.
5073  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5074  "include/mod_auth_xradius.h" ) CONFIG_FILES="$CONFIG_FILES include/mod_auth_xradius.h" ;;
5075  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5076  "include/mod_auth_xradius_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/mod_auth_xradius_config.h:config.in" ;;
5077  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5078echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5079   { (exit 1); exit 1; }; };;
5080  esac
5081done
5082
5083# If the user did not use the arguments to specify the items to instantiate,
5084# then the envvar interface is used.  Set only those that are not.
5085# We use the long form for the default assignment because of an extremely
5086# bizarre bug on SunOS 4.1.3.
5087if $ac_need_defaults; then
5088  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5089  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5090  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5091fi
5092
5093# Have a temporary directory for convenience.  Make it in the build tree
5094# simply because there is no reason to put it here, and in addition,
5095# creating and moving files from /tmp can sometimes cause problems.
5096# Create a temporary directory, and hook for its removal unless debugging.
5097$debug ||
5098{
5099  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5100  trap '{ (exit 1); exit 1; }' 1 2 13 15
5101}
5102
5103# Create a (secure) tmp directory for tmp files.
5104
5105{
5106  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5107  test -n "$tmp" && test -d "$tmp"
5108}  ||
5109{
5110  tmp=./confstat$$-$RANDOM
5111  (umask 077 && mkdir $tmp)
5112} ||
5113{
5114   echo "$me: cannot create a temporary directory in ." >&2
5115   { (exit 1); exit 1; }
5116}
5117
5118_ACEOF
5119
5120cat >>$CONFIG_STATUS <<_ACEOF
5121
5122#
5123# CONFIG_FILES section.
5124#
5125
5126# No need to generate the scripts if there are no CONFIG_FILES.
5127# This happens for instance when ./config.status config.h
5128if test -n "\$CONFIG_FILES"; then
5129  # Protect against being on the right side of a sed subst in config.status.
5130  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5131   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5132s,@SHELL@,$SHELL,;t t
5133s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5134s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5135s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5136s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5137s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5138s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5139s,@exec_prefix@,$exec_prefix,;t t
5140s,@prefix@,$prefix,;t t
5141s,@program_transform_name@,$program_transform_name,;t t
5142s,@bindir@,$bindir,;t t
5143s,@sbindir@,$sbindir,;t t
5144s,@libexecdir@,$libexecdir,;t t
5145s,@datadir@,$datadir,;t t
5146s,@sysconfdir@,$sysconfdir,;t t
5147s,@sharedstatedir@,$sharedstatedir,;t t
5148s,@localstatedir@,$localstatedir,;t t
5149s,@libdir@,$libdir,;t t
5150s,@includedir@,$includedir,;t t
5151s,@oldincludedir@,$oldincludedir,;t t
5152s,@infodir@,$infodir,;t t
5153s,@mandir@,$mandir,;t t
5154s,@build_alias@,$build_alias,;t t
5155s,@host_alias@,$host_alias,;t t
5156s,@target_alias@,$target_alias,;t t
5157s,@DEFS@,$DEFS,;t t
5158s,@ECHO_C@,$ECHO_C,;t t
5159s,@ECHO_N@,$ECHO_N,;t t
5160s,@ECHO_T@,$ECHO_T,;t t
5161s,@LIBS@,$LIBS,;t t
5162s,@OOO_MAINTAIN@,$OOO_MAINTAIN,;t t
5163s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5164s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5165s,@MAINT@,$MAINT,;t t
5166s,@build@,$build,;t t
5167s,@build_cpu@,$build_cpu,;t t
5168s,@build_vendor@,$build_vendor,;t t
5169s,@build_os@,$build_os,;t t
5170s,@host@,$host,;t t
5171s,@host_cpu@,$host_cpu,;t t
5172s,@host_vendor@,$host_vendor,;t t
5173s,@host_os@,$host_os,;t t
5174s,@target@,$target,;t t
5175s,@target_cpu@,$target_cpu,;t t
5176s,@target_vendor@,$target_vendor,;t t
5177s,@target_os@,$target_os,;t t
5178s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5179s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5180s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5181s,@CYGPATH_W@,$CYGPATH_W,;t t
5182s,@PACKAGE@,$PACKAGE,;t t
5183s,@VERSION@,$VERSION,;t t
5184s,@ACLOCAL@,$ACLOCAL,;t t
5185s,@AUTOCONF@,$AUTOCONF,;t t
5186s,@AUTOMAKE@,$AUTOMAKE,;t t
5187s,@AUTOHEADER@,$AUTOHEADER,;t t
5188s,@MAKEINFO@,$MAKEINFO,;t t
5189s,@install_sh@,$install_sh,;t t
5190s,@STRIP@,$STRIP,;t t
5191s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5192s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5193s,@mkdir_p@,$mkdir_p,;t t
5194s,@AWK@,$AWK,;t t
5195s,@SET_MAKE@,$SET_MAKE,;t t
5196s,@am__leading_dot@,$am__leading_dot,;t t
5197s,@AMTAR@,$AMTAR,;t t
5198s,@am__tar@,$am__tar,;t t
5199s,@am__untar@,$am__untar,;t t
5200s,@MOD_AUTH_XRADIUS_VERSION@,$MOD_AUTH_XRADIUS_VERSION,;t t
5201s,@CC@,$CC,;t t
5202s,@CFLAGS@,$CFLAGS,;t t
5203s,@LDFLAGS@,$LDFLAGS,;t t
5204s,@CPPFLAGS@,$CPPFLAGS,;t t
5205s,@ac_ct_CC@,$ac_ct_CC,;t t
5206s,@EXEEXT@,$EXEEXT,;t t
5207s,@OBJEXT@,$OBJEXT,;t t
5208s,@DEPDIR@,$DEPDIR,;t t
5209s,@am__include@,$am__include,;t t
5210s,@am__quote@,$am__quote,;t t
5211s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5212s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5213s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5214s,@CCDEPMODE@,$CCDEPMODE,;t t
5215s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5216s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5217s,@EGREP@,$EGREP,;t t
5218s,@RANLIB@,$RANLIB,;t t
5219s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5220s,@APXS_BIN@,$APXS_BIN,;t t
5221s,@AP_DEFS@,$AP_DEFS,;t t
5222s,@AP_PREFIX@,$AP_PREFIX,;t t
5223s,@AP_CFLAGS@,$AP_CFLAGS,;t t
5224s,@AP_CPPFLAGS@,$AP_CPPFLAGS,;t t
5225s,@AP_INCLUDES@,$AP_INCLUDES,;t t
5226s,@AP_INCLUDEDIR@,$AP_INCLUDEDIR,;t t
5227s,@AP_LIBEXECDIR@,$AP_LIBEXECDIR,;t t
5228s,@AP_VERSION@,$AP_VERSION,;t t
5229s,@AP_SYSCONFDIR@,$AP_SYSCONFDIR,;t t
5230s,@AP_BINDIR@,$AP_BINDIR,;t t
5231s,@AP_SBINDIR@,$AP_SBINDIR,;t t
5232s,@APR_INCLUDES@,$APR_INCLUDES,;t t
5233s,@APU_INCLUDES@,$APU_INCLUDES,;t t
5234s,@APXS_EXTENSION@,$APXS_EXTENSION,;t t
5235s,@APXS_CFLAGS@,$APXS_CFLAGS,;t t
5236s,@LIBTOOL@,$LIBTOOL,;t t
5237s,@APR_MEMCACHE_LIBS@,$APR_MEMCACHE_LIBS,;t t
5238s,@APR_MEMCACHE_CFLAGS@,$APR_MEMCACHE_CFLAGS,;t t
5239s,@have_apr_memcache@,$have_apr_memcache,;t t
5240s,@MODULE_CFLAGS@,$MODULE_CFLAGS,;t t
5241s,@MODULE_LIBS@,$MODULE_LIBS,;t t
5242s,@LIBOBJS@,$LIBOBJS,;t t
5243s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5244CEOF
5245
5246_ACEOF
5247
5248  cat >>$CONFIG_STATUS <<\_ACEOF
5249  # Split the substitutions into bite-sized pieces for seds with
5250  # small command number limits, like on Digital OSF/1 and HP-UX.
5251  ac_max_sed_lines=48
5252  ac_sed_frag=1 # Number of current file.
5253  ac_beg=1 # First line for current file.
5254  ac_end=$ac_max_sed_lines # Line after last line for current file.
5255  ac_more_lines=:
5256  ac_sed_cmds=
5257  while $ac_more_lines; do
5258    if test $ac_beg -gt 1; then
5259      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5260    else
5261      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5262    fi
5263    if test ! -s $tmp/subs.frag; then
5264      ac_more_lines=false
5265    else
5266      # The purpose of the label and of the branching condition is to
5267      # speed up the sed processing (if there are no `@' at all, there
5268      # is no need to browse any of the substitutions).
5269      # These are the two extra sed commands mentioned above.
5270      (echo ':t
5271  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5272      if test -z "$ac_sed_cmds"; then
5273	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5274      else
5275	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5276      fi
5277      ac_sed_frag=`expr $ac_sed_frag + 1`
5278      ac_beg=$ac_end
5279      ac_end=`expr $ac_end + $ac_max_sed_lines`
5280    fi
5281  done
5282  if test -z "$ac_sed_cmds"; then
5283    ac_sed_cmds=cat
5284  fi
5285fi # test -n "$CONFIG_FILES"
5286
5287_ACEOF
5288cat >>$CONFIG_STATUS <<\_ACEOF
5289for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5290  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5291  case $ac_file in
5292  - | *:- | *:-:* ) # input from stdin
5293	cat >$tmp/stdin
5294	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5295	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5296  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5297	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5298  * )   ac_file_in=$ac_file.in ;;
5299  esac
5300
5301  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5302  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5303$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5304	 X"$ac_file" : 'X\(//\)[^/]' \| \
5305	 X"$ac_file" : 'X\(//\)$' \| \
5306	 X"$ac_file" : 'X\(/\)' \| \
5307	 .     : '\(.\)' 2>/dev/null ||
5308echo X"$ac_file" |
5309    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5310  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5311  	  /^X\(\/\/\)$/{ s//\1/; q; }
5312  	  /^X\(\/\).*/{ s//\1/; q; }
5313  	  s/.*/./; q'`
5314  { if $as_mkdir_p; then
5315    mkdir -p "$ac_dir"
5316  else
5317    as_dir="$ac_dir"
5318    as_dirs=
5319    while test ! -d "$as_dir"; do
5320      as_dirs="$as_dir $as_dirs"
5321      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5322$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5323	 X"$as_dir" : 'X\(//\)[^/]' \| \
5324	 X"$as_dir" : 'X\(//\)$' \| \
5325	 X"$as_dir" : 'X\(/\)' \| \
5326	 .     : '\(.\)' 2>/dev/null ||
5327echo X"$as_dir" |
5328    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5329  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5330  	  /^X\(\/\/\)$/{ s//\1/; q; }
5331  	  /^X\(\/\).*/{ s//\1/; q; }
5332  	  s/.*/./; q'`
5333    done
5334    test ! -n "$as_dirs" || mkdir $as_dirs
5335  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5336echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5337   { (exit 1); exit 1; }; }; }
5338
5339  ac_builddir=.
5340
5341if test "$ac_dir" != .; then
5342  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5343  # A "../" for each directory in $ac_dir_suffix.
5344  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5345else
5346  ac_dir_suffix= ac_top_builddir=
5347fi
5348
5349case $srcdir in
5350  .)  # No --srcdir option.  We are building in place.
5351    ac_srcdir=.
5352    if test -z "$ac_top_builddir"; then
5353       ac_top_srcdir=.
5354    else
5355       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5356    fi ;;
5357  [\\/]* | ?:[\\/]* )  # Absolute path.
5358    ac_srcdir=$srcdir$ac_dir_suffix;
5359    ac_top_srcdir=$srcdir ;;
5360  *) # Relative path.
5361    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5362    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5363esac
5364
5365# Do not use `cd foo && pwd` to compute absolute paths, because
5366# the directories may not exist.
5367case `pwd` in
5368.) ac_abs_builddir="$ac_dir";;
5369*)
5370  case "$ac_dir" in
5371  .) ac_abs_builddir=`pwd`;;
5372  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5373  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5374  esac;;
5375esac
5376case $ac_abs_builddir in
5377.) ac_abs_top_builddir=${ac_top_builddir}.;;
5378*)
5379  case ${ac_top_builddir}. in
5380  .) ac_abs_top_builddir=$ac_abs_builddir;;
5381  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5382  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5383  esac;;
5384esac
5385case $ac_abs_builddir in
5386.) ac_abs_srcdir=$ac_srcdir;;
5387*)
5388  case $ac_srcdir in
5389  .) ac_abs_srcdir=$ac_abs_builddir;;
5390  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5391  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5392  esac;;
5393esac
5394case $ac_abs_builddir in
5395.) ac_abs_top_srcdir=$ac_top_srcdir;;
5396*)
5397  case $ac_top_srcdir in
5398  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5399  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5400  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5401  esac;;
5402esac
5403
5404
5405  case $INSTALL in
5406  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5407  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5408  esac
5409
5410  # Let's still pretend it is `configure' which instantiates (i.e., don't
5411  # use $as_me), people would be surprised to read:
5412  #    /* config.h.  Generated by config.status.  */
5413  if test x"$ac_file" = x-; then
5414    configure_input=
5415  else
5416    configure_input="$ac_file.  "
5417  fi
5418  configure_input=$configure_input"Generated from `echo $ac_file_in |
5419				     sed 's,.*/,,'` by configure."
5420
5421  # First look for the input files in the build tree, otherwise in the
5422  # src tree.
5423  ac_file_inputs=`IFS=:
5424    for f in $ac_file_in; do
5425      case $f in
5426      -) echo $tmp/stdin ;;
5427      [\\/$]*)
5428	 # Absolute (can't be DOS-style, as IFS=:)
5429	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5430echo "$as_me: error: cannot find input file: $f" >&2;}
5431   { (exit 1); exit 1; }; }
5432	 echo "$f";;
5433      *) # Relative
5434	 if test -f "$f"; then
5435	   # Build tree
5436	   echo "$f"
5437	 elif test -f "$srcdir/$f"; then
5438	   # Source tree
5439	   echo "$srcdir/$f"
5440	 else
5441	   # /dev/null tree
5442	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5443echo "$as_me: error: cannot find input file: $f" >&2;}
5444   { (exit 1); exit 1; }; }
5445	 fi;;
5446      esac
5447    done` || { (exit 1); exit 1; }
5448
5449  if test x"$ac_file" != x-; then
5450    { echo "$as_me:$LINENO: creating $ac_file" >&5
5451echo "$as_me: creating $ac_file" >&6;}
5452    rm -f "$ac_file"
5453  fi
5454_ACEOF
5455cat >>$CONFIG_STATUS <<_ACEOF
5456  sed "$ac_vpsub
5457$extrasub
5458_ACEOF
5459cat >>$CONFIG_STATUS <<\_ACEOF
5460:t
5461/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5462s,@configure_input@,$configure_input,;t t
5463s,@srcdir@,$ac_srcdir,;t t
5464s,@abs_srcdir@,$ac_abs_srcdir,;t t
5465s,@top_srcdir@,$ac_top_srcdir,;t t
5466s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5467s,@builddir@,$ac_builddir,;t t
5468s,@abs_builddir@,$ac_abs_builddir,;t t
5469s,@top_builddir@,$ac_top_builddir,;t t
5470s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5471s,@INSTALL@,$ac_INSTALL,;t t
5472" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5473  rm -f $tmp/stdin
5474  if test x"$ac_file" != x-; then
5475    mv $tmp/out $ac_file
5476  else
5477    cat $tmp/out
5478    rm -f $tmp/out
5479  fi
5480
5481done
5482_ACEOF
5483cat >>$CONFIG_STATUS <<\_ACEOF
5484
5485#
5486# CONFIG_HEADER section.
5487#
5488
5489# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5490# NAME is the cpp macro being defined and VALUE is the value it is being given.
5491#
5492# ac_d sets the value in "#define NAME VALUE" lines.
5493ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
5494ac_dB='[	 ].*$,\1#\2'
5495ac_dC=' '
5496ac_dD=',;t'
5497# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5498ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
5499ac_uB='$,\1#\2define\3'
5500ac_uC=' '
5501ac_uD=',;t'
5502
5503for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5504  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5505  case $ac_file in
5506  - | *:- | *:-:* ) # input from stdin
5507	cat >$tmp/stdin
5508	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5509	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5510  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5511	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5512  * )   ac_file_in=$ac_file.in ;;
5513  esac
5514
5515  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5516echo "$as_me: creating $ac_file" >&6;}
5517
5518  # First look for the input files in the build tree, otherwise in the
5519  # src tree.
5520  ac_file_inputs=`IFS=:
5521    for f in $ac_file_in; do
5522      case $f in
5523      -) echo $tmp/stdin ;;
5524      [\\/$]*)
5525	 # Absolute (can't be DOS-style, as IFS=:)
5526	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5527echo "$as_me: error: cannot find input file: $f" >&2;}
5528   { (exit 1); exit 1; }; }
5529	 # Do quote $f, to prevent DOS paths from being IFS'd.
5530	 echo "$f";;
5531      *) # Relative
5532	 if test -f "$f"; then
5533	   # Build tree
5534	   echo "$f"
5535	 elif test -f "$srcdir/$f"; then
5536	   # Source tree
5537	   echo "$srcdir/$f"
5538	 else
5539	   # /dev/null tree
5540	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5541echo "$as_me: error: cannot find input file: $f" >&2;}
5542   { (exit 1); exit 1; }; }
5543	 fi;;
5544      esac
5545    done` || { (exit 1); exit 1; }
5546  # Remove the trailing spaces.
5547  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
5548
5549_ACEOF
5550
5551# Transform confdefs.h into two sed scripts, `conftest.defines' and
5552# `conftest.undefs', that substitutes the proper values into
5553# config.h.in to produce config.h.  The first handles `#define'
5554# templates, and the second `#undef' templates.
5555# And first: Protect against being on the right side of a sed subst in
5556# config.status.  Protect against being in an unquoted here document
5557# in config.status.
5558rm -f conftest.defines conftest.undefs
5559# Using a here document instead of a string reduces the quoting nightmare.
5560# Putting comments in sed scripts is not portable.
5561#
5562# `end' is used to avoid that the second main sed command (meant for
5563# 0-ary CPP macros) applies to n-ary macro definitions.
5564# See the Autoconf documentation for `clear'.
5565cat >confdef2sed.sed <<\_ACEOF
5566s/[\\&,]/\\&/g
5567s,[\\$`],\\&,g
5568t clear
5569: clear
5570s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5571t end
5572s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5573: end
5574_ACEOF
5575# If some macros were called several times there might be several times
5576# the same #defines, which is useless.  Nevertheless, we may not want to
5577# sort them, since we want the *last* AC-DEFINE to be honored.
5578uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5579sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5580rm -f confdef2sed.sed
5581
5582# This sed command replaces #undef with comments.  This is necessary, for
5583# example, in the case of _POSIX_SOURCE, which is predefined and required
5584# on some systems where configure will not decide to define it.
5585cat >>conftest.undefs <<\_ACEOF
5586s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5587_ACEOF
5588
5589# Break up conftest.defines because some shells have a limit on the size
5590# of here documents, and old seds have small limits too (100 cmds).
5591echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5592echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5593echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5594echo '  :' >>$CONFIG_STATUS
5595rm -f conftest.tail
5596while grep . conftest.defines >/dev/null
5597do
5598  # Write a limited-size here document to $tmp/defines.sed.
5599  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5600  # Speed up: don't consider the non `#define' lines.
5601  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
5602  # Work around the forget-to-reset-the-flag bug.
5603  echo 't clr' >>$CONFIG_STATUS
5604  echo ': clr' >>$CONFIG_STATUS
5605  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5606  echo 'CEOF
5607  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5608  rm -f $tmp/in
5609  mv $tmp/out $tmp/in
5610' >>$CONFIG_STATUS
5611  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5612  rm -f conftest.defines
5613  mv conftest.tail conftest.defines
5614done
5615rm -f conftest.defines
5616echo '  fi # grep' >>$CONFIG_STATUS
5617echo >>$CONFIG_STATUS
5618
5619# Break up conftest.undefs because some shells have a limit on the size
5620# of here documents, and old seds have small limits too (100 cmds).
5621echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5622rm -f conftest.tail
5623while grep . conftest.undefs >/dev/null
5624do
5625  # Write a limited-size here document to $tmp/undefs.sed.
5626  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5627  # Speed up: don't consider the non `#undef'
5628  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
5629  # Work around the forget-to-reset-the-flag bug.
5630  echo 't clr' >>$CONFIG_STATUS
5631  echo ': clr' >>$CONFIG_STATUS
5632  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5633  echo 'CEOF
5634  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5635  rm -f $tmp/in
5636  mv $tmp/out $tmp/in
5637' >>$CONFIG_STATUS
5638  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5639  rm -f conftest.undefs
5640  mv conftest.tail conftest.undefs
5641done
5642rm -f conftest.undefs
5643
5644cat >>$CONFIG_STATUS <<\_ACEOF
5645  # Let's still pretend it is `configure' which instantiates (i.e., don't
5646  # use $as_me), people would be surprised to read:
5647  #    /* config.h.  Generated by config.status.  */
5648  if test x"$ac_file" = x-; then
5649    echo "/* Generated by configure.  */" >$tmp/config.h
5650  else
5651    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5652  fi
5653  cat $tmp/in >>$tmp/config.h
5654  rm -f $tmp/in
5655  if test x"$ac_file" != x-; then
5656    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5657      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5658echo "$as_me: $ac_file is unchanged" >&6;}
5659    else
5660      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5661$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5662	 X"$ac_file" : 'X\(//\)[^/]' \| \
5663	 X"$ac_file" : 'X\(//\)$' \| \
5664	 X"$ac_file" : 'X\(/\)' \| \
5665	 .     : '\(.\)' 2>/dev/null ||
5666echo X"$ac_file" |
5667    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5668  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5669  	  /^X\(\/\/\)$/{ s//\1/; q; }
5670  	  /^X\(\/\).*/{ s//\1/; q; }
5671  	  s/.*/./; q'`
5672      { if $as_mkdir_p; then
5673    mkdir -p "$ac_dir"
5674  else
5675    as_dir="$ac_dir"
5676    as_dirs=
5677    while test ! -d "$as_dir"; do
5678      as_dirs="$as_dir $as_dirs"
5679      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5680$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5681	 X"$as_dir" : 'X\(//\)[^/]' \| \
5682	 X"$as_dir" : 'X\(//\)$' \| \
5683	 X"$as_dir" : 'X\(/\)' \| \
5684	 .     : '\(.\)' 2>/dev/null ||
5685echo X"$as_dir" |
5686    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5687  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5688  	  /^X\(\/\/\)$/{ s//\1/; q; }
5689  	  /^X\(\/\).*/{ s//\1/; q; }
5690  	  s/.*/./; q'`
5691    done
5692    test ! -n "$as_dirs" || mkdir $as_dirs
5693  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5694echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5695   { (exit 1); exit 1; }; }; }
5696
5697      rm -f $ac_file
5698      mv $tmp/config.h $ac_file
5699    fi
5700  else
5701    cat $tmp/config.h
5702    rm -f $tmp/config.h
5703  fi
5704# Compute $ac_file's index in $config_headers.
5705_am_stamp_count=1
5706for _am_header in $config_headers :; do
5707  case $_am_header in
5708    $ac_file | $ac_file:* )
5709      break ;;
5710    * )
5711      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5712  esac
5713done
5714echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5715$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5716	 X$ac_file : 'X\(//\)[^/]' \| \
5717	 X$ac_file : 'X\(//\)$' \| \
5718	 X$ac_file : 'X\(/\)' \| \
5719	 .     : '\(.\)' 2>/dev/null ||
5720echo X$ac_file |
5721    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5722  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5723  	  /^X\(\/\/\)$/{ s//\1/; q; }
5724  	  /^X\(\/\).*/{ s//\1/; q; }
5725  	  s/.*/./; q'`/stamp-h$_am_stamp_count
5726done
5727_ACEOF
5728cat >>$CONFIG_STATUS <<\_ACEOF
5729
5730#
5731# CONFIG_COMMANDS section.
5732#
5733for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5734  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5735  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5736  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5737$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5738	 X"$ac_dest" : 'X\(//\)[^/]' \| \
5739	 X"$ac_dest" : 'X\(//\)$' \| \
5740	 X"$ac_dest" : 'X\(/\)' \| \
5741	 .     : '\(.\)' 2>/dev/null ||
5742echo X"$ac_dest" |
5743    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5744  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5745  	  /^X\(\/\/\)$/{ s//\1/; q; }
5746  	  /^X\(\/\).*/{ s//\1/; q; }
5747  	  s/.*/./; q'`
5748  { if $as_mkdir_p; then
5749    mkdir -p "$ac_dir"
5750  else
5751    as_dir="$ac_dir"
5752    as_dirs=
5753    while test ! -d "$as_dir"; do
5754      as_dirs="$as_dir $as_dirs"
5755      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5756$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5757	 X"$as_dir" : 'X\(//\)[^/]' \| \
5758	 X"$as_dir" : 'X\(//\)$' \| \
5759	 X"$as_dir" : 'X\(/\)' \| \
5760	 .     : '\(.\)' 2>/dev/null ||
5761echo X"$as_dir" |
5762    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5763  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5764  	  /^X\(\/\/\)$/{ s//\1/; q; }
5765  	  /^X\(\/\).*/{ s//\1/; q; }
5766  	  s/.*/./; q'`
5767    done
5768    test ! -n "$as_dirs" || mkdir $as_dirs
5769  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5770echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5771   { (exit 1); exit 1; }; }; }
5772
5773  ac_builddir=.
5774
5775if test "$ac_dir" != .; then
5776  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5777  # A "../" for each directory in $ac_dir_suffix.
5778  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5779else
5780  ac_dir_suffix= ac_top_builddir=
5781fi
5782
5783case $srcdir in
5784  .)  # No --srcdir option.  We are building in place.
5785    ac_srcdir=.
5786    if test -z "$ac_top_builddir"; then
5787       ac_top_srcdir=.
5788    else
5789       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5790    fi ;;
5791  [\\/]* | ?:[\\/]* )  # Absolute path.
5792    ac_srcdir=$srcdir$ac_dir_suffix;
5793    ac_top_srcdir=$srcdir ;;
5794  *) # Relative path.
5795    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5796    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5797esac
5798
5799# Do not use `cd foo && pwd` to compute absolute paths, because
5800# the directories may not exist.
5801case `pwd` in
5802.) ac_abs_builddir="$ac_dir";;
5803*)
5804  case "$ac_dir" in
5805  .) ac_abs_builddir=`pwd`;;
5806  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5807  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5808  esac;;
5809esac
5810case $ac_abs_builddir in
5811.) ac_abs_top_builddir=${ac_top_builddir}.;;
5812*)
5813  case ${ac_top_builddir}. in
5814  .) ac_abs_top_builddir=$ac_abs_builddir;;
5815  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5816  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5817  esac;;
5818esac
5819case $ac_abs_builddir in
5820.) ac_abs_srcdir=$ac_srcdir;;
5821*)
5822  case $ac_srcdir in
5823  .) ac_abs_srcdir=$ac_abs_builddir;;
5824  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5825  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5826  esac;;
5827esac
5828case $ac_abs_builddir in
5829.) ac_abs_top_srcdir=$ac_top_srcdir;;
5830*)
5831  case $ac_top_srcdir in
5832  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5833  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5834  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5835  esac;;
5836esac
5837
5838
5839  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5840echo "$as_me: executing $ac_dest commands" >&6;}
5841  case $ac_dest in
5842    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5843  # Strip MF so we end up with the name of the file.
5844  mf=`echo "$mf" | sed -e 's/:.*$//'`
5845  # Check whether this is an Automake generated Makefile or not.
5846  # We used to match only the files named `Makefile.in', but
5847  # some people rename them; so instead we look at the file content.
5848  # Grep'ing the first line is not enough: some people post-process
5849  # each Makefile.in and add a new line on top of each file to say so.
5850  # So let's grep whole file.
5851  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5852    dirpart=`(dirname "$mf") 2>/dev/null ||
5853$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5854	 X"$mf" : 'X\(//\)[^/]' \| \
5855	 X"$mf" : 'X\(//\)$' \| \
5856	 X"$mf" : 'X\(/\)' \| \
5857	 .     : '\(.\)' 2>/dev/null ||
5858echo X"$mf" |
5859    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5860  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5861  	  /^X\(\/\/\)$/{ s//\1/; q; }
5862  	  /^X\(\/\).*/{ s//\1/; q; }
5863  	  s/.*/./; q'`
5864  else
5865    continue
5866  fi
5867  # Extract the definition of DEPDIR, am__include, and am__quote
5868  # from the Makefile without running `make'.
5869  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5870  test -z "$DEPDIR" && continue
5871  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5872  test -z "am__include" && continue
5873  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5874  # When using ansi2knr, U may be empty or an underscore; expand it
5875  U=`sed -n 's/^U = //p' < "$mf"`
5876  # Find all dependency output files, they are included files with
5877  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5878  # simplest approach to changing $(DEPDIR) to its actual value in the
5879  # expansion.
5880  for file in `sed -n "
5881    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5882       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5883    # Make sure the directory exists.
5884    test -f "$dirpart/$file" && continue
5885    fdir=`(dirname "$file") 2>/dev/null ||
5886$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5887	 X"$file" : 'X\(//\)[^/]' \| \
5888	 X"$file" : 'X\(//\)$' \| \
5889	 X"$file" : 'X\(/\)' \| \
5890	 .     : '\(.\)' 2>/dev/null ||
5891echo X"$file" |
5892    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5893  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5894  	  /^X\(\/\/\)$/{ s//\1/; q; }
5895  	  /^X\(\/\).*/{ s//\1/; q; }
5896  	  s/.*/./; q'`
5897    { if $as_mkdir_p; then
5898    mkdir -p $dirpart/$fdir
5899  else
5900    as_dir=$dirpart/$fdir
5901    as_dirs=
5902    while test ! -d "$as_dir"; do
5903      as_dirs="$as_dir $as_dirs"
5904      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5905$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5906	 X"$as_dir" : 'X\(//\)[^/]' \| \
5907	 X"$as_dir" : 'X\(//\)$' \| \
5908	 X"$as_dir" : 'X\(/\)' \| \
5909	 .     : '\(.\)' 2>/dev/null ||
5910echo X"$as_dir" |
5911    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5912  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5913  	  /^X\(\/\/\)$/{ s//\1/; q; }
5914  	  /^X\(\/\).*/{ s//\1/; q; }
5915  	  s/.*/./; q'`
5916    done
5917    test ! -n "$as_dirs" || mkdir $as_dirs
5918  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5919echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5920   { (exit 1); exit 1; }; }; }
5921
5922    # echo "creating $dirpart/$file"
5923    echo '# dummy' > "$dirpart/$file"
5924  done
5925done
5926 ;;
5927  esac
5928done
5929_ACEOF
5930
5931cat >>$CONFIG_STATUS <<\_ACEOF
5932
5933{ (exit 0); exit 0; }
5934_ACEOF
5935chmod +x $CONFIG_STATUS
5936ac_clean_files=$ac_clean_files_save
5937
5938
5939# configure is writing to config.log, and then calls config.status.
5940# config.status does its own redirection, appending to config.log.
5941# Unfortunately, on DOS this fails, as config.log is still kept open
5942# by configure, so config.status won't be able to write to it; its
5943# output is simply discarded.  So we exec the FD to /dev/null,
5944# effectively closing config.log, so it can be properly (re)opened and
5945# appended to by config.status.  When coming back to configure, we
5946# need to make the FD available again.
5947if test "$no_create" != yes; then
5948  ac_cs_success=:
5949  ac_config_status_args=
5950  test "$silent" = yes &&
5951    ac_config_status_args="$ac_config_status_args --quiet"
5952  exec 5>/dev/null
5953  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5954  exec 5>>config.log
5955  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5956  # would make configure fail if this is the last instruction.
5957  $ac_cs_success || { (exit 1); exit 1; }
5958fi
5959
5960
5961echo "---"
5962echo "Configuration summary for mod_auth_xradius:"
5963echo ""
5964echo "   * mod_auth_xradius version:	${MOD_AUTH_XRADIUS_VERSION}"
5965echo "   * Apache Modules directory:	${AP_LIBEXECDIR}"
5966echo ""
5967echo "---"
5968