Made it 2.0.0, and removed the changes that are in 1.1.x, as
[freeradius.git] / src / modules / rlm_eap / types / rlm_eap_mschapv2 / configure
1 #! /bin/sh
2 # From configure.in Revision: 1.1 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
5 #
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15   emulate sh
16   NULLCMD=:
17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18   # is contrary to our usage.  Disable this feature.
19   alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21   set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27   as_unset=unset
28 else
29   as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43   LC_TELEPHONE LC_TIME
44 do
45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46     eval $as_var=C; export $as_var
47   else
48     $as_unset $as_var
49   fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54   as_expr=expr
55 else
56   as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60   as_basename=basename
61 else
62   as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69          X"$0" : 'X\(//\)$' \| \
70          X"$0" : 'X\(/\)$' \| \
71          .     : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74           /^X\/\(\/\/\)$/{ s//\1/; q; }
75           /^X\/\(\/\).*/{ s//\1/; q; }
76           s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89   echo "#! /bin/sh" >conf$$.sh
90   echo  "exit 0"   >>conf$$.sh
91   chmod +x conf$$.sh
92   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93     PATH_SEPARATOR=';'
94   else
95     PATH_SEPARATOR=:
96   fi
97   rm -f conf$$.sh
98 fi
99
100
101   as_lineno_1=$LINENO
102   as_lineno_2=$LINENO
103   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104   test "x$as_lineno_1" != "x$as_lineno_2" &&
105   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
106   # Find who we are.  Look in the path if we contain no path at all
107   # relative or not.
108   case $0 in
109     *[\\/]* ) as_myself=$0 ;;
110     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 for as_dir in $PATH
112 do
113   IFS=$as_save_IFS
114   test -z "$as_dir" && as_dir=.
115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118        ;;
119   esac
120   # We did not find ourselves, most probably we were run as `sh COMMAND'
121   # in which case we are not to be found in the path.
122   if test "x$as_myself" = x; then
123     as_myself=$0
124   fi
125   if test ! -f "$as_myself"; then
126     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127    { (exit 1); exit 1; }; }
128   fi
129   case $CONFIG_SHELL in
130   '')
131     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134   IFS=$as_save_IFS
135   test -z "$as_dir" && as_dir=.
136   for as_base in sh bash ksh sh5; do
137          case $as_dir in
138          /*)
139            if ("$as_dir/$as_base" -c '
140   as_lineno_1=$LINENO
141   as_lineno_2=$LINENO
142   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143   test "x$as_lineno_1" != "x$as_lineno_2" &&
144   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
145              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147              CONFIG_SHELL=$as_dir/$as_base
148              export CONFIG_SHELL
149              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150            fi;;
151          esac
152        done
153 done
154 ;;
155   esac
156
157   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158   # uniformly replaced by the line number.  The first 'sed' inserts a
159   # line-number line before each line; the second 'sed' does the real
160   # work.  The second script uses 'N' to pair each line-number line
161   # with the numbered line, and appends trailing '-' during
162   # substitution so that $LINENO is not a special case at line end.
163   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
165   sed '=' <$as_myself |
166     sed '
167       N
168       s,$,-,
169       : loop
170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171       t loop
172       s,-$,,
173       s,^['$as_cr_digits']*\n,,
174     ' >$as_me.lineno &&
175   chmod +x $as_me.lineno ||
176     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177    { (exit 1); exit 1; }; }
178
179   # Don't try to exec as it changes $[0], causing all sort of problems
180   # (the dirname of $[0] is not the place where we might find the
181   # original and so on.  Autoconf is especially sensible to this).
182   . ./$as_me.lineno
183   # Exit status is that of the last command.
184   exit
185 }
186
187
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189   *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T='      ' ;;
191   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196   as_expr=expr
197 else
198   as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204   # We could just check for DJGPP; but this test a) works b) is more generic
205   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206   if test -f conf$$.exe; then
207     # Don't use ln at all; we don't have any links
208     as_ln_s='cp -p'
209   else
210     as_ln_s='ln -s'
211   fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213   as_ln_s=ln
214 else
215   as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220   as_mkdir_p=:
221 else
222   test -d ./-p && rmdir ./-p
223   as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS="   $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete.  It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME=
270 PACKAGE_TARNAME=
271 PACKAGE_VERSION=
272 PACKAGE_STRING=
273 PACKAGE_BUGREPORT=
274
275 ac_unique_file="rlm_eap_mschapv2.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
278 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
280 # include <sys/types.h>
281 #endif
282 #if HAVE_SYS_STAT_H
283 # include <sys/stat.h>
284 #endif
285 #if STDC_HEADERS
286 # include <stdlib.h>
287 # include <stddef.h>
288 #else
289 # if HAVE_STDLIB_H
290 #  include <stdlib.h>
291 # endif
292 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
295 #  include <memory.h>
296 # endif
297 # include <string.h>
298 #endif
299 #if HAVE_STRINGS_H
300 # include <strings.h>
301 #endif
302 #if HAVE_INTTYPES_H
303 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 #  include <stdint.h>
307 # endif
308 #endif
309 #if HAVE_UNISTD_H
310 # include <unistd.h>
311 #endif"
312
313 ac_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP eap_mschapv2_cflags eap_mschapv2_ldflags targetname LIBOBJS LTLIBOBJS'
314 ac_subst_files=''
315
316 # Initialize some variables set by options.
317 ac_init_help=
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
321 cache_file=/dev/null
322 exec_prefix=NONE
323 no_create=
324 no_recursion=
325 prefix=NONE
326 program_prefix=NONE
327 program_suffix=NONE
328 program_transform_name=s,x,x,
329 silent=
330 site=
331 srcdir=
332 verbose=
333 x_includes=NONE
334 x_libraries=NONE
335
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
353
354 ac_prev=
355 for ac_option
356 do
357   # If the previous option needs an argument, assign it.
358   if test -n "$ac_prev"; then
359     eval "$ac_prev=\$ac_option"
360     ac_prev=
361     continue
362   fi
363
364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
366   # Accept the important Cygnus configure options, so we can diagnose typos.
367
368   case $ac_option in
369
370   -bindir | --bindir | --bindi | --bind | --bin | --bi)
371     ac_prev=bindir ;;
372   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373     bindir=$ac_optarg ;;
374
375   -build | --build | --buil | --bui | --bu)
376     ac_prev=build_alias ;;
377   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378     build_alias=$ac_optarg ;;
379
380   -cache-file | --cache-file | --cache-fil | --cache-fi \
381   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382     ac_prev=cache_file ;;
383   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385     cache_file=$ac_optarg ;;
386
387   --config-cache | -C)
388     cache_file=config.cache ;;
389
390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391     ac_prev=datadir ;;
392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393   | --da=*)
394     datadir=$ac_optarg ;;
395
396   -disable-* | --disable-*)
397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398     # Reject names that are not valid shell variable names.
399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401    { (exit 1); exit 1; }; }
402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403     eval "enable_$ac_feature=no" ;;
404
405   -enable-* | --enable-*)
406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407     # Reject names that are not valid shell variable names.
408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410    { (exit 1); exit 1; }; }
411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412     case $ac_option in
413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414       *) ac_optarg=yes ;;
415     esac
416     eval "enable_$ac_feature='$ac_optarg'" ;;
417
418   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420   | --exec | --exe | --ex)
421     ac_prev=exec_prefix ;;
422   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424   | --exec=* | --exe=* | --ex=*)
425     exec_prefix=$ac_optarg ;;
426
427   -gas | --gas | --ga | --g)
428     # Obsolete; use --with-gas.
429     with_gas=yes ;;
430
431   -help | --help | --hel | --he | -h)
432     ac_init_help=long ;;
433   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434     ac_init_help=recursive ;;
435   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436     ac_init_help=short ;;
437
438   -host | --host | --hos | --ho)
439     ac_prev=host_alias ;;
440   -host=* | --host=* | --hos=* | --ho=*)
441     host_alias=$ac_optarg ;;
442
443   -includedir | --includedir | --includedi | --included | --include \
444   | --includ | --inclu | --incl | --inc)
445     ac_prev=includedir ;;
446   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447   | --includ=* | --inclu=* | --incl=* | --inc=*)
448     includedir=$ac_optarg ;;
449
450   -infodir | --infodir | --infodi | --infod | --info | --inf)
451     ac_prev=infodir ;;
452   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453     infodir=$ac_optarg ;;
454
455   -libdir | --libdir | --libdi | --libd)
456     ac_prev=libdir ;;
457   -libdir=* | --libdir=* | --libdi=* | --libd=*)
458     libdir=$ac_optarg ;;
459
460   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461   | --libexe | --libex | --libe)
462     ac_prev=libexecdir ;;
463   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464   | --libexe=* | --libex=* | --libe=*)
465     libexecdir=$ac_optarg ;;
466
467   -localstatedir | --localstatedir | --localstatedi | --localstated \
468   | --localstate | --localstat | --localsta | --localst \
469   | --locals | --local | --loca | --loc | --lo)
470     ac_prev=localstatedir ;;
471   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474     localstatedir=$ac_optarg ;;
475
476   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477     ac_prev=mandir ;;
478   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479     mandir=$ac_optarg ;;
480
481   -nfp | --nfp | --nf)
482     # Obsolete; use --without-fp.
483     with_fp=no ;;
484
485   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486   | --no-cr | --no-c | -n)
487     no_create=yes ;;
488
489   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491     no_recursion=yes ;;
492
493   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495   | --oldin | --oldi | --old | --ol | --o)
496     ac_prev=oldincludedir ;;
497   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500     oldincludedir=$ac_optarg ;;
501
502   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503     ac_prev=prefix ;;
504   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505     prefix=$ac_optarg ;;
506
507   -program-prefix | --program-prefix | --program-prefi | --program-pref \
508   | --program-pre | --program-pr | --program-p)
509     ac_prev=program_prefix ;;
510   -program-prefix=* | --program-prefix=* | --program-prefi=* \
511   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512     program_prefix=$ac_optarg ;;
513
514   -program-suffix | --program-suffix | --program-suffi | --program-suff \
515   | --program-suf | --program-su | --program-s)
516     ac_prev=program_suffix ;;
517   -program-suffix=* | --program-suffix=* | --program-suffi=* \
518   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519     program_suffix=$ac_optarg ;;
520
521   -program-transform-name | --program-transform-name \
522   | --program-transform-nam | --program-transform-na \
523   | --program-transform-n | --program-transform- \
524   | --program-transform | --program-transfor \
525   | --program-transfo | --program-transf \
526   | --program-trans | --program-tran \
527   | --progr-tra | --program-tr | --program-t)
528     ac_prev=program_transform_name ;;
529   -program-transform-name=* | --program-transform-name=* \
530   | --program-transform-nam=* | --program-transform-na=* \
531   | --program-transform-n=* | --program-transform-=* \
532   | --program-transform=* | --program-transfor=* \
533   | --program-transfo=* | --program-transf=* \
534   | --program-trans=* | --program-tran=* \
535   | --progr-tra=* | --program-tr=* | --program-t=*)
536     program_transform_name=$ac_optarg ;;
537
538   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539   | -silent | --silent | --silen | --sile | --sil)
540     silent=yes ;;
541
542   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543     ac_prev=sbindir ;;
544   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545   | --sbi=* | --sb=*)
546     sbindir=$ac_optarg ;;
547
548   -sharedstatedir | --sharedstatedir | --sharedstatedi \
549   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550   | --sharedst | --shareds | --shared | --share | --shar \
551   | --sha | --sh)
552     ac_prev=sharedstatedir ;;
553   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556   | --sha=* | --sh=*)
557     sharedstatedir=$ac_optarg ;;
558
559   -site | --site | --sit)
560     ac_prev=site ;;
561   -site=* | --site=* | --sit=*)
562     site=$ac_optarg ;;
563
564   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565     ac_prev=srcdir ;;
566   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567     srcdir=$ac_optarg ;;
568
569   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570   | --syscon | --sysco | --sysc | --sys | --sy)
571     ac_prev=sysconfdir ;;
572   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574     sysconfdir=$ac_optarg ;;
575
576   -target | --target | --targe | --targ | --tar | --ta | --t)
577     ac_prev=target_alias ;;
578   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579     target_alias=$ac_optarg ;;
580
581   -v | -verbose | --verbose | --verbos | --verbo | --verb)
582     verbose=yes ;;
583
584   -version | --version | --versio | --versi | --vers | -V)
585     ac_init_version=: ;;
586
587   -with-* | --with-*)
588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589     # Reject names that are not valid shell variable names.
590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591       { echo "$as_me: error: invalid package name: $ac_package" >&2
592    { (exit 1); exit 1; }; }
593     ac_package=`echo $ac_package| sed 's/-/_/g'`
594     case $ac_option in
595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596       *) ac_optarg=yes ;;
597     esac
598     eval "with_$ac_package='$ac_optarg'" ;;
599
600   -without-* | --without-*)
601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602     # Reject names that are not valid shell variable names.
603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604       { echo "$as_me: error: invalid package name: $ac_package" >&2
605    { (exit 1); exit 1; }; }
606     ac_package=`echo $ac_package | sed 's/-/_/g'`
607     eval "with_$ac_package=no" ;;
608
609   --x)
610     # Obsolete; use --with-x.
611     with_x=yes ;;
612
613   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614   | --x-incl | --x-inc | --x-in | --x-i)
615     ac_prev=x_includes ;;
616   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618     x_includes=$ac_optarg ;;
619
620   -x-libraries | --x-libraries | --x-librarie | --x-librari \
621   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622     ac_prev=x_libraries ;;
623   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625     x_libraries=$ac_optarg ;;
626
627   -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629    { (exit 1); exit 1; }; }
630     ;;
631
632   *=*)
633     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634     # Reject names that are not valid shell variable names.
635     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637    { (exit 1); exit 1; }; }
638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639     eval "$ac_envvar='$ac_optarg'"
640     export $ac_envvar ;;
641
642   *)
643     # FIXME: should be removed in autoconf 3.0.
644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648     ;;
649
650   esac
651 done
652
653 if test -n "$ac_prev"; then
654   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655   { echo "$as_me: error: missing argument to $ac_option" >&2
656    { (exit 1); exit 1; }; }
657 fi
658
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
661 do
662   eval ac_val=$`echo $ac_var`
663   case $ac_val in
664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666    { (exit 1); exit 1; }; };;
667   esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672               localstatedir libdir includedir oldincludedir infodir mandir
673 do
674   eval ac_val=$`echo $ac_var`
675   case $ac_val in
676     [\\/$]* | ?:[\\/]* ) ;;
677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678    { (exit 1); exit 1; }; };;
679   esac
680 done
681
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
685 build=$build_alias
686 host=$host_alias
687 target=$target_alias
688
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691   if test "x$build_alias" = x; then
692     cross_compiling=maybe
693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694     If a cross compiler is detected then cross compile mode will be used." >&2
695   elif test "x$build_alias" != "x$host_alias"; then
696     cross_compiling=yes
697   fi
698 fi
699
700 ac_tool_prefix=
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
703 test "$silent" = yes && exec 6>/dev/null
704
705
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708   ac_srcdir_defaulted=yes
709   # Try the directory containing this script, then its parent.
710   ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712          X"$0" : 'X\(//\)[^/]' \| \
713          X"$0" : 'X\(//\)$' \| \
714          X"$0" : 'X\(/\)' \| \
715          .     : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719           /^X\(\/\/\)$/{ s//\1/; q; }
720           /^X\(\/\).*/{ s//\1/; q; }
721           s/.*/./; q'`
722   srcdir=$ac_confdir
723   if test ! -r $srcdir/$ac_unique_file; then
724     srcdir=..
725   fi
726 else
727   ac_srcdir_defaulted=no
728 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730   if test "$ac_srcdir_defaulted" = yes; then
731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732    { (exit 1); exit 1; }; }
733   else
734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735    { (exit 1); exit 1; }; }
736   fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740    { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
774
775 #
776 # Report the --help message.
777 #
778 if test "$ac_init_help" = "long"; then
779   # Omit some internal or obsolete options to make the list less imposing.
780   # This message is too long to be a string in the A/UX 3.1 sh.
781   cat <<_ACEOF
782 \`configure' configures this package to adapt to many kinds of systems.
783
784 Usage: $0 [OPTION]... [VAR=VALUE]...
785
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE.  See below for descriptions of some of the useful variables.
788
789 Defaults for the options are specified in brackets.
790
791 Configuration:
792   -h, --help              display this help and exit
793       --help=short        display options specific to this package
794       --help=recursive    display the short help of all the included packages
795   -V, --version           display version information and exit
796   -q, --quiet, --silent   do not print \`checking...' messages
797       --cache-file=FILE   cache test results in FILE [disabled]
798   -C, --config-cache      alias for \`--cache-file=config.cache'
799   -n, --no-create         do not create output files
800       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
801
802 _ACEOF
803
804   cat <<_ACEOF
805 Installation directories:
806   --prefix=PREFIX         install architecture-independent files in PREFIX
807                           [$ac_default_prefix]
808   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809                           [PREFIX]
810
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
815
816 For better control, use the options below.
817
818 Fine tuning of the installation directories:
819   --bindir=DIR           user executables [EPREFIX/bin]
820   --sbindir=DIR          system admin executables [EPREFIX/sbin]
821   --libexecdir=DIR       program executables [EPREFIX/libexec]
822   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
823   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
824   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
825   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
826   --libdir=DIR           object code libraries [EPREFIX/lib]
827   --includedir=DIR       C header files [PREFIX/include]
828   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
829   --infodir=DIR          info documentation [PREFIX/info]
830   --mandir=DIR           man documentation [PREFIX/man]
831 _ACEOF
832
833   cat <<\_ACEOF
834 _ACEOF
835 fi
836
837 if test -n "$ac_init_help"; then
838
839   cat <<\_ACEOF
840
841 Some influential environment variables:
842   CC          C compiler command
843   CFLAGS      C compiler flags
844   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
845               nonstandard directory <lib dir>
846   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
847               headers in a nonstandard directory <include dir>
848   CPP         C preprocessor
849
850 Use these variables to override the choices made by `configure' or to help
851 it to find libraries and programs with nonstandard names/locations.
852
853 _ACEOF
854 fi
855
856 if test "$ac_init_help" = "recursive"; then
857   # If there are subdirs, report their specific --help.
858   ac_popdir=`pwd`
859   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
860     test -d $ac_dir || continue
861     ac_builddir=.
862
863 if test "$ac_dir" != .; then
864   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865   # A "../" for each directory in $ac_dir_suffix.
866   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
867 else
868   ac_dir_suffix= ac_top_builddir=
869 fi
870
871 case $srcdir in
872   .)  # No --srcdir option.  We are building in place.
873     ac_srcdir=.
874     if test -z "$ac_top_builddir"; then
875        ac_top_srcdir=.
876     else
877        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
878     fi ;;
879   [\\/]* | ?:[\\/]* )  # Absolute path.
880     ac_srcdir=$srcdir$ac_dir_suffix;
881     ac_top_srcdir=$srcdir ;;
882   *) # Relative path.
883     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884     ac_top_srcdir=$ac_top_builddir$srcdir ;;
885 esac
886
887 # Do not use `cd foo && pwd` to compute absolute paths, because
888 # the directories may not exist.
889 case `pwd` in
890 .) ac_abs_builddir="$ac_dir";;
891 *)
892   case "$ac_dir" in
893   .) ac_abs_builddir=`pwd`;;
894   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
895   *) ac_abs_builddir=`pwd`/"$ac_dir";;
896   esac;;
897 esac
898 case $ac_abs_builddir in
899 .) ac_abs_top_builddir=${ac_top_builddir}.;;
900 *)
901   case ${ac_top_builddir}. in
902   .) ac_abs_top_builddir=$ac_abs_builddir;;
903   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
904   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
905   esac;;
906 esac
907 case $ac_abs_builddir in
908 .) ac_abs_srcdir=$ac_srcdir;;
909 *)
910   case $ac_srcdir in
911   .) ac_abs_srcdir=$ac_abs_builddir;;
912   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
913   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
914   esac;;
915 esac
916 case $ac_abs_builddir in
917 .) ac_abs_top_srcdir=$ac_top_srcdir;;
918 *)
919   case $ac_top_srcdir in
920   .) ac_abs_top_srcdir=$ac_abs_builddir;;
921   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
922   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
923   esac;;
924 esac
925
926     cd $ac_dir
927     # Check for guested configure; otherwise get Cygnus style configure.
928     if test -f $ac_srcdir/configure.gnu; then
929       echo
930       $SHELL $ac_srcdir/configure.gnu  --help=recursive
931     elif test -f $ac_srcdir/configure; then
932       echo
933       $SHELL $ac_srcdir/configure  --help=recursive
934     elif test -f $ac_srcdir/configure.ac ||
935            test -f $ac_srcdir/configure.in; then
936       echo
937       $ac_configure --help
938     else
939       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
940     fi
941     cd "$ac_popdir"
942   done
943 fi
944
945 test -n "$ac_init_help" && exit 0
946 if $ac_init_version; then
947   cat <<\_ACEOF
948
949 Copyright (C) 2003 Free Software Foundation, Inc.
950 This configure script is free software; the Free Software Foundation
951 gives unlimited permission to copy, distribute and modify it.
952 _ACEOF
953   exit 0
954 fi
955 exec 5>config.log
956 cat >&5 <<_ACEOF
957 This file contains any messages produced by compilers while
958 running configure, to aid debugging if configure makes a mistake.
959
960 It was created by $as_me, which was
961 generated by GNU Autoconf 2.59.  Invocation command line was
962
963   $ $0 $@
964
965 _ACEOF
966 {
967 cat <<_ASUNAME
968 ## --------- ##
969 ## Platform. ##
970 ## --------- ##
971
972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
977
978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
979 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
980
981 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
982 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
984 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
985 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
986 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
987 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
988
989 _ASUNAME
990
991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
992 for as_dir in $PATH
993 do
994   IFS=$as_save_IFS
995   test -z "$as_dir" && as_dir=.
996   echo "PATH: $as_dir"
997 done
998
999 } >&5
1000
1001 cat >&5 <<_ACEOF
1002
1003
1004 ## ----------- ##
1005 ## Core tests. ##
1006 ## ----------- ##
1007
1008 _ACEOF
1009
1010
1011 # Keep a trace of the command line.
1012 # Strip out --no-create and --no-recursion so they do not pile up.
1013 # Strip out --silent because we don't want to record it for future runs.
1014 # Also quote any args containing shell meta-characters.
1015 # Make two passes to allow for proper duplicate-argument suppression.
1016 ac_configure_args=
1017 ac_configure_args0=
1018 ac_configure_args1=
1019 ac_sep=
1020 ac_must_keep_next=false
1021 for ac_pass in 1 2
1022 do
1023   for ac_arg
1024   do
1025     case $ac_arg in
1026     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1027     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028     | -silent | --silent | --silen | --sile | --sil)
1029       continue ;;
1030     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1031       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1032     esac
1033     case $ac_pass in
1034     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1035     2)
1036       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1037       if test $ac_must_keep_next = true; then
1038         ac_must_keep_next=false # Got value, back to normal.
1039       else
1040         case $ac_arg in
1041           *=* | --config-cache | -C | -disable-* | --disable-* \
1042           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1043           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1044           | -with-* | --with-* | -without-* | --without-* | --x)
1045             case "$ac_configure_args0 " in
1046               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1047             esac
1048             ;;
1049           -* ) ac_must_keep_next=true ;;
1050         esac
1051       fi
1052       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1053       # Get rid of the leading space.
1054       ac_sep=" "
1055       ;;
1056     esac
1057   done
1058 done
1059 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1060 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1061
1062 # When interrupted or exit'd, cleanup temporary files, and complete
1063 # config.log.  We remove comments because anyway the quotes in there
1064 # would cause problems or look ugly.
1065 # WARNING: Be sure not to use single quotes in there, as some shells,
1066 # such as our DU 5.0 friend, will then `close' the trap.
1067 trap 'exit_status=$?
1068   # Save into config.log some information that might help in debugging.
1069   {
1070     echo
1071
1072     cat <<\_ASBOX
1073 ## ---------------- ##
1074 ## Cache variables. ##
1075 ## ---------------- ##
1076 _ASBOX
1077     echo
1078     # The following way of writing the cache mishandles newlines in values,
1079 {
1080   (set) 2>&1 |
1081     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1082     *ac_space=\ *)
1083       sed -n \
1084         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1085           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1086       ;;
1087     *)
1088       sed -n \
1089         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090       ;;
1091     esac;
1092 }
1093     echo
1094
1095     cat <<\_ASBOX
1096 ## ----------------- ##
1097 ## Output variables. ##
1098 ## ----------------- ##
1099 _ASBOX
1100     echo
1101     for ac_var in $ac_subst_vars
1102     do
1103       eval ac_val=$`echo $ac_var`
1104       echo "$ac_var='"'"'$ac_val'"'"'"
1105     done | sort
1106     echo
1107
1108     if test -n "$ac_subst_files"; then
1109       cat <<\_ASBOX
1110 ## ------------- ##
1111 ## Output files. ##
1112 ## ------------- ##
1113 _ASBOX
1114       echo
1115       for ac_var in $ac_subst_files
1116       do
1117         eval ac_val=$`echo $ac_var`
1118         echo "$ac_var='"'"'$ac_val'"'"'"
1119       done | sort
1120       echo
1121     fi
1122
1123     if test -s confdefs.h; then
1124       cat <<\_ASBOX
1125 ## ----------- ##
1126 ## confdefs.h. ##
1127 ## ----------- ##
1128 _ASBOX
1129       echo
1130       sed "/^$/d" confdefs.h | sort
1131       echo
1132     fi
1133     test "$ac_signal" != 0 &&
1134       echo "$as_me: caught signal $ac_signal"
1135     echo "$as_me: exit $exit_status"
1136   } >&5
1137   rm -f core *.core &&
1138   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1139     exit $exit_status
1140      ' 0
1141 for ac_signal in 1 2 13 15; do
1142   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1143 done
1144 ac_signal=0
1145
1146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1147 rm -rf conftest* confdefs.h
1148 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1149 echo >confdefs.h
1150
1151 # Predefined preprocessor variables.
1152
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_NAME "$PACKAGE_NAME"
1155 _ACEOF
1156
1157
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1160 _ACEOF
1161
1162
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1165 _ACEOF
1166
1167
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_STRING "$PACKAGE_STRING"
1170 _ACEOF
1171
1172
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1175 _ACEOF
1176
1177
1178 # Let the site file select an alternate cache file if it wants to.
1179 # Prefer explicitly selected file to automatically selected ones.
1180 if test -z "$CONFIG_SITE"; then
1181   if test "x$prefix" != xNONE; then
1182     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1183   else
1184     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1185   fi
1186 fi
1187 for ac_site_file in $CONFIG_SITE; do
1188   if test -r "$ac_site_file"; then
1189     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1190 echo "$as_me: loading site script $ac_site_file" >&6;}
1191     sed 's/^/| /' "$ac_site_file" >&5
1192     . "$ac_site_file"
1193   fi
1194 done
1195
1196 if test -r "$cache_file"; then
1197   # Some versions of bash will fail to source /dev/null (special
1198   # files actually), so we avoid doing that.
1199   if test -f "$cache_file"; then
1200     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1201 echo "$as_me: loading cache $cache_file" >&6;}
1202     case $cache_file in
1203       [\\/]* | ?:[\\/]* ) . $cache_file;;
1204       *)                      . ./$cache_file;;
1205     esac
1206   fi
1207 else
1208   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1209 echo "$as_me: creating cache $cache_file" >&6;}
1210   >$cache_file
1211 fi
1212
1213 # Check that the precious variables saved in the cache have kept the same
1214 # value.
1215 ac_cache_corrupted=false
1216 for ac_var in `(set) 2>&1 |
1217                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1218   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1219   eval ac_new_set=\$ac_env_${ac_var}_set
1220   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1221   eval ac_new_val="\$ac_env_${ac_var}_value"
1222   case $ac_old_set,$ac_new_set in
1223     set,)
1224       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1226       ac_cache_corrupted=: ;;
1227     ,set)
1228       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1230       ac_cache_corrupted=: ;;
1231     ,);;
1232     *)
1233       if test "x$ac_old_val" != "x$ac_new_val"; then
1234         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1235 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1236         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1237 echo "$as_me:   former value:  $ac_old_val" >&2;}
1238         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1239 echo "$as_me:   current value: $ac_new_val" >&2;}
1240         ac_cache_corrupted=:
1241       fi;;
1242   esac
1243   # Pass precious variables to config.status.
1244   if test "$ac_new_set" = set; then
1245     case $ac_new_val in
1246     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248     *) ac_arg=$ac_var=$ac_new_val ;;
1249     esac
1250     case " $ac_configure_args " in
1251       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1252       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1253     esac
1254   fi
1255 done
1256 if $ac_cache_corrupted; then
1257   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1258 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1259   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1260 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1261    { (exit 1); exit 1; }; }
1262 fi
1263
1264 ac_ext=c
1265 ac_cpp='$CPP $CPPFLAGS'
1266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291 if test x$with_rlm_eap_mschapv2 != xno; then
1292
1293         ## We may need more complex checking here.  Assume for now that
1294         ## everyone has it.
1295         ac_ext=c
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1300 if test -n "$ac_tool_prefix"; then
1301   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1303 echo "$as_me:$LINENO: checking for $ac_word" >&5
1304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1305 if test "${ac_cv_prog_CC+set}" = set; then
1306   echo $ECHO_N "(cached) $ECHO_C" >&6
1307 else
1308   if test -n "$CC"; then
1309   ac_cv_prog_CC="$CC" # Let the user override the test.
1310 else
1311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1312 for as_dir in $PATH
1313 do
1314   IFS=$as_save_IFS
1315   test -z "$as_dir" && as_dir=.
1316   for ac_exec_ext in '' $ac_executable_extensions; do
1317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1318     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1320     break 2
1321   fi
1322 done
1323 done
1324
1325 fi
1326 fi
1327 CC=$ac_cv_prog_CC
1328 if test -n "$CC"; then
1329   echo "$as_me:$LINENO: result: $CC" >&5
1330 echo "${ECHO_T}$CC" >&6
1331 else
1332   echo "$as_me:$LINENO: result: no" >&5
1333 echo "${ECHO_T}no" >&6
1334 fi
1335
1336 fi
1337 if test -z "$ac_cv_prog_CC"; then
1338   ac_ct_CC=$CC
1339   # Extract the first word of "gcc", so it can be a program name with args.
1340 set dummy gcc; ac_word=$2
1341 echo "$as_me:$LINENO: checking for $ac_word" >&5
1342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1344   echo $ECHO_N "(cached) $ECHO_C" >&6
1345 else
1346   if test -n "$ac_ct_CC"; then
1347   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1348 else
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1350 for as_dir in $PATH
1351 do
1352   IFS=$as_save_IFS
1353   test -z "$as_dir" && as_dir=.
1354   for ac_exec_ext in '' $ac_executable_extensions; do
1355   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1356     ac_cv_prog_ac_ct_CC="gcc"
1357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1358     break 2
1359   fi
1360 done
1361 done
1362
1363 fi
1364 fi
1365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1366 if test -n "$ac_ct_CC"; then
1367   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1368 echo "${ECHO_T}$ac_ct_CC" >&6
1369 else
1370   echo "$as_me:$LINENO: result: no" >&5
1371 echo "${ECHO_T}no" >&6
1372 fi
1373
1374   CC=$ac_ct_CC
1375 else
1376   CC="$ac_cv_prog_CC"
1377 fi
1378
1379 if test -z "$CC"; then
1380   if test -n "$ac_tool_prefix"; then
1381   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1382 set dummy ${ac_tool_prefix}cc; ac_word=$2
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_CC+set}" = set; then
1386   echo $ECHO_N "(cached) $ECHO_C" >&6
1387 else
1388   if test -n "$CC"; then
1389   ac_cv_prog_CC="$CC" # Let the user override the test.
1390 else
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392 for as_dir in $PATH
1393 do
1394   IFS=$as_save_IFS
1395   test -z "$as_dir" && as_dir=.
1396   for ac_exec_ext in '' $ac_executable_extensions; do
1397   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398     ac_cv_prog_CC="${ac_tool_prefix}cc"
1399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1400     break 2
1401   fi
1402 done
1403 done
1404
1405 fi
1406 fi
1407 CC=$ac_cv_prog_CC
1408 if test -n "$CC"; then
1409   echo "$as_me:$LINENO: result: $CC" >&5
1410 echo "${ECHO_T}$CC" >&6
1411 else
1412   echo "$as_me:$LINENO: result: no" >&5
1413 echo "${ECHO_T}no" >&6
1414 fi
1415
1416 fi
1417 if test -z "$ac_cv_prog_CC"; then
1418   ac_ct_CC=$CC
1419   # Extract the first word of "cc", so it can be a program name with args.
1420 set dummy cc; ac_word=$2
1421 echo "$as_me:$LINENO: checking for $ac_word" >&5
1422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1424   echo $ECHO_N "(cached) $ECHO_C" >&6
1425 else
1426   if test -n "$ac_ct_CC"; then
1427   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1428 else
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 for as_dir in $PATH
1431 do
1432   IFS=$as_save_IFS
1433   test -z "$as_dir" && as_dir=.
1434   for ac_exec_ext in '' $ac_executable_extensions; do
1435   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436     ac_cv_prog_ac_ct_CC="cc"
1437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438     break 2
1439   fi
1440 done
1441 done
1442
1443 fi
1444 fi
1445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1446 if test -n "$ac_ct_CC"; then
1447   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1448 echo "${ECHO_T}$ac_ct_CC" >&6
1449 else
1450   echo "$as_me:$LINENO: result: no" >&5
1451 echo "${ECHO_T}no" >&6
1452 fi
1453
1454   CC=$ac_ct_CC
1455 else
1456   CC="$ac_cv_prog_CC"
1457 fi
1458
1459 fi
1460 if test -z "$CC"; then
1461   # Extract the first word of "cc", so it can be a program name with args.
1462 set dummy cc; ac_word=$2
1463 echo "$as_me:$LINENO: checking for $ac_word" >&5
1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465 if test "${ac_cv_prog_CC+set}" = set; then
1466   echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468   if test -n "$CC"; then
1469   ac_cv_prog_CC="$CC" # Let the user override the test.
1470 else
1471   ac_prog_rejected=no
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473 for as_dir in $PATH
1474 do
1475   IFS=$as_save_IFS
1476   test -z "$as_dir" && as_dir=.
1477   for ac_exec_ext in '' $ac_executable_extensions; do
1478   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1480        ac_prog_rejected=yes
1481        continue
1482      fi
1483     ac_cv_prog_CC="cc"
1484     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485     break 2
1486   fi
1487 done
1488 done
1489
1490 if test $ac_prog_rejected = yes; then
1491   # We found a bogon in the path, so make sure we never use it.
1492   set dummy $ac_cv_prog_CC
1493   shift
1494   if test $# != 0; then
1495     # We chose a different compiler from the bogus one.
1496     # However, it has the same basename, so the bogon will be chosen
1497     # first if we set CC to just the basename; use the full file name.
1498     shift
1499     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1500   fi
1501 fi
1502 fi
1503 fi
1504 CC=$ac_cv_prog_CC
1505 if test -n "$CC"; then
1506   echo "$as_me:$LINENO: result: $CC" >&5
1507 echo "${ECHO_T}$CC" >&6
1508 else
1509   echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1511 fi
1512
1513 fi
1514 if test -z "$CC"; then
1515   if test -n "$ac_tool_prefix"; then
1516   for ac_prog in cl
1517   do
1518     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523   echo $ECHO_N "(cached) $ECHO_C" >&6
1524 else
1525   if test -n "$CC"; then
1526   ac_cv_prog_CC="$CC" # Let the user override the test.
1527 else
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 for as_dir in $PATH
1530 do
1531   IFS=$as_save_IFS
1532   test -z "$as_dir" && as_dir=.
1533   for ac_exec_ext in '' $ac_executable_extensions; do
1534   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537     break 2
1538   fi
1539 done
1540 done
1541
1542 fi
1543 fi
1544 CC=$ac_cv_prog_CC
1545 if test -n "$CC"; then
1546   echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1548 else
1549   echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1551 fi
1552
1553     test -n "$CC" && break
1554   done
1555 fi
1556 if test -z "$CC"; then
1557   ac_ct_CC=$CC
1558   for ac_prog in cl
1559 do
1560   # Extract the first word of "$ac_prog", so it can be a program name with args.
1561 set dummy $ac_prog; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1565   echo $ECHO_N "(cached) $ECHO_C" >&6
1566 else
1567   if test -n "$ac_ct_CC"; then
1568   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 else
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571 for as_dir in $PATH
1572 do
1573   IFS=$as_save_IFS
1574   test -z "$as_dir" && as_dir=.
1575   for ac_exec_ext in '' $ac_executable_extensions; do
1576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577     ac_cv_prog_ac_ct_CC="$ac_prog"
1578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579     break 2
1580   fi
1581 done
1582 done
1583
1584 fi
1585 fi
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1587 if test -n "$ac_ct_CC"; then
1588   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1589 echo "${ECHO_T}$ac_ct_CC" >&6
1590 else
1591   echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1593 fi
1594
1595   test -n "$ac_ct_CC" && break
1596 done
1597
1598   CC=$ac_ct_CC
1599 fi
1600
1601 fi
1602
1603
1604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1605 See \`config.log' for more details." >&5
1606 echo "$as_me: error: no acceptable C compiler found in \$PATH
1607 See \`config.log' for more details." >&2;}
1608    { (exit 1); exit 1; }; }
1609
1610 # Provide some information about the compiler.
1611 echo "$as_me:$LINENO:" \
1612      "checking for C compiler version" >&5
1613 ac_compiler=`set X $ac_compile; echo $2`
1614 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1615   (eval $ac_compiler --version </dev/null >&5) 2>&5
1616   ac_status=$?
1617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618   (exit $ac_status); }
1619 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1620   (eval $ac_compiler -v </dev/null >&5) 2>&5
1621   ac_status=$?
1622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623   (exit $ac_status); }
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1625   (eval $ac_compiler -V </dev/null >&5) 2>&5
1626   ac_status=$?
1627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628   (exit $ac_status); }
1629
1630 cat >conftest.$ac_ext <<_ACEOF
1631 /* confdefs.h.  */
1632 _ACEOF
1633 cat confdefs.h >>conftest.$ac_ext
1634 cat >>conftest.$ac_ext <<_ACEOF
1635 /* end confdefs.h.  */
1636
1637 int
1638 main ()
1639 {
1640
1641   ;
1642   return 0;
1643 }
1644 _ACEOF
1645 ac_clean_files_save=$ac_clean_files
1646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1647 # Try to create an executable without -o first, disregard a.out.
1648 # It will help us diagnose broken compilers, and finding out an intuition
1649 # of exeext.
1650 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1653 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1654   (eval $ac_link_default) 2>&5
1655   ac_status=$?
1656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1657   (exit $ac_status); }; then
1658   # Find the output, starting from the most likely.  This scheme is
1659 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1660 # resort.
1661
1662 # Be careful to initialize this variable, since it used to be cached.
1663 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1664 ac_cv_exeext=
1665 # b.out is created by i960 compilers.
1666 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1667 do
1668   test -f "$ac_file" || continue
1669   case $ac_file in
1670     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1671         ;;
1672     conftest.$ac_ext )
1673         # This is the source file.
1674         ;;
1675     [ab].out )
1676         # We found the default executable, but exeext='' is most
1677         # certainly right.
1678         break;;
1679     *.* )
1680         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1681         # FIXME: I believe we export ac_cv_exeext for Libtool,
1682         # but it would be cool to find out if it's true.  Does anybody
1683         # maintain Libtool? --akim.
1684         export ac_cv_exeext
1685         break;;
1686     * )
1687         break;;
1688   esac
1689 done
1690 else
1691   echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1693
1694 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1695 See \`config.log' for more details." >&5
1696 echo "$as_me: error: C compiler cannot create executables
1697 See \`config.log' for more details." >&2;}
1698    { (exit 77); exit 77; }; }
1699 fi
1700
1701 ac_exeext=$ac_cv_exeext
1702 echo "$as_me:$LINENO: result: $ac_file" >&5
1703 echo "${ECHO_T}$ac_file" >&6
1704
1705 # Check the compiler produces executables we can run.  If not, either
1706 # the compiler is broken, or we cross compile.
1707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1710 # If not cross compiling, check that we can run a simple program.
1711 if test "$cross_compiling" != yes; then
1712   if { ac_try='./$ac_file'
1713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1714   (eval $ac_try) 2>&5
1715   ac_status=$?
1716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717   (exit $ac_status); }; }; then
1718     cross_compiling=no
1719   else
1720     if test "$cross_compiling" = maybe; then
1721         cross_compiling=yes
1722     else
1723         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1724 If you meant to cross compile, use \`--host'.
1725 See \`config.log' for more details." >&5
1726 echo "$as_me: error: cannot run C compiled programs.
1727 If you meant to cross compile, use \`--host'.
1728 See \`config.log' for more details." >&2;}
1729    { (exit 1); exit 1; }; }
1730     fi
1731   fi
1732 fi
1733 echo "$as_me:$LINENO: result: yes" >&5
1734 echo "${ECHO_T}yes" >&6
1735
1736 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1737 ac_clean_files=$ac_clean_files_save
1738 # Check the compiler produces executables we can run.  If not, either
1739 # the compiler is broken, or we cross compile.
1740 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1742 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1743 echo "${ECHO_T}$cross_compiling" >&6
1744
1745 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1748   (eval $ac_link) 2>&5
1749   ac_status=$?
1750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751   (exit $ac_status); }; then
1752   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1753 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1754 # work properly (i.e., refer to `conftest.exe'), while it won't with
1755 # `rm'.
1756 for ac_file in conftest.exe conftest conftest.*; do
1757   test -f "$ac_file" || continue
1758   case $ac_file in
1759     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1760     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1761           export ac_cv_exeext
1762           break;;
1763     * ) break;;
1764   esac
1765 done
1766 else
1767   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1770 See \`config.log' for more details." >&2;}
1771    { (exit 1); exit 1; }; }
1772 fi
1773
1774 rm -f conftest$ac_cv_exeext
1775 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1776 echo "${ECHO_T}$ac_cv_exeext" >&6
1777
1778 rm -f conftest.$ac_ext
1779 EXEEXT=$ac_cv_exeext
1780 ac_exeext=$EXEEXT
1781 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1783 if test "${ac_cv_objext+set}" = set; then
1784   echo $ECHO_N "(cached) $ECHO_C" >&6
1785 else
1786   cat >conftest.$ac_ext <<_ACEOF
1787 /* confdefs.h.  */
1788 _ACEOF
1789 cat confdefs.h >>conftest.$ac_ext
1790 cat >>conftest.$ac_ext <<_ACEOF
1791 /* end confdefs.h.  */
1792
1793 int
1794 main ()
1795 {
1796
1797   ;
1798   return 0;
1799 }
1800 _ACEOF
1801 rm -f conftest.o conftest.obj
1802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1803   (eval $ac_compile) 2>&5
1804   ac_status=$?
1805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806   (exit $ac_status); }; then
1807   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1808   case $ac_file in
1809     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1810     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1811        break;;
1812   esac
1813 done
1814 else
1815   echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1819 See \`config.log' for more details." >&5
1820 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1821 See \`config.log' for more details." >&2;}
1822    { (exit 1); exit 1; }; }
1823 fi
1824
1825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1826 fi
1827 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1828 echo "${ECHO_T}$ac_cv_objext" >&6
1829 OBJEXT=$ac_cv_objext
1830 ac_objext=$OBJEXT
1831 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1834   echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836   cat >conftest.$ac_ext <<_ACEOF
1837 /* confdefs.h.  */
1838 _ACEOF
1839 cat confdefs.h >>conftest.$ac_ext
1840 cat >>conftest.$ac_ext <<_ACEOF
1841 /* end confdefs.h.  */
1842
1843 int
1844 main ()
1845 {
1846 #ifndef __GNUC__
1847        choke me
1848 #endif
1849
1850   ;
1851   return 0;
1852 }
1853 _ACEOF
1854 rm -f conftest.$ac_objext
1855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1856   (eval $ac_compile) 2>conftest.er1
1857   ac_status=$?
1858   grep -v '^ *+' conftest.er1 >conftest.err
1859   rm -f conftest.er1
1860   cat conftest.err >&5
1861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862   (exit $ac_status); } &&
1863          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1865   (eval $ac_try) 2>&5
1866   ac_status=$?
1867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868   (exit $ac_status); }; } &&
1869          { ac_try='test -s conftest.$ac_objext'
1870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1871   (eval $ac_try) 2>&5
1872   ac_status=$?
1873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874   (exit $ac_status); }; }; then
1875   ac_compiler_gnu=yes
1876 else
1877   echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1879
1880 ac_compiler_gnu=no
1881 fi
1882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1883 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1884
1885 fi
1886 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1887 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1888 GCC=`test $ac_compiler_gnu = yes && echo yes`
1889 ac_test_CFLAGS=${CFLAGS+set}
1890 ac_save_CFLAGS=$CFLAGS
1891 CFLAGS="-g"
1892 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1893 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1894 if test "${ac_cv_prog_cc_g+set}" = set; then
1895   echo $ECHO_N "(cached) $ECHO_C" >&6
1896 else
1897   cat >conftest.$ac_ext <<_ACEOF
1898 /* confdefs.h.  */
1899 _ACEOF
1900 cat confdefs.h >>conftest.$ac_ext
1901 cat >>conftest.$ac_ext <<_ACEOF
1902 /* end confdefs.h.  */
1903
1904 int
1905 main ()
1906 {
1907
1908   ;
1909   return 0;
1910 }
1911 _ACEOF
1912 rm -f conftest.$ac_objext
1913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1914   (eval $ac_compile) 2>conftest.er1
1915   ac_status=$?
1916   grep -v '^ *+' conftest.er1 >conftest.err
1917   rm -f conftest.er1
1918   cat conftest.err >&5
1919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920   (exit $ac_status); } &&
1921          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1923   (eval $ac_try) 2>&5
1924   ac_status=$?
1925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926   (exit $ac_status); }; } &&
1927          { ac_try='test -s conftest.$ac_objext'
1928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929   (eval $ac_try) 2>&5
1930   ac_status=$?
1931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932   (exit $ac_status); }; }; then
1933   ac_cv_prog_cc_g=yes
1934 else
1935   echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1937
1938 ac_cv_prog_cc_g=no
1939 fi
1940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1941 fi
1942 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1943 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1944 if test "$ac_test_CFLAGS" = set; then
1945   CFLAGS=$ac_save_CFLAGS
1946 elif test $ac_cv_prog_cc_g = yes; then
1947   if test "$GCC" = yes; then
1948     CFLAGS="-g -O2"
1949   else
1950     CFLAGS="-g"
1951   fi
1952 else
1953   if test "$GCC" = yes; then
1954     CFLAGS="-O2"
1955   else
1956     CFLAGS=
1957   fi
1958 fi
1959 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1960 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1961 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1962   echo $ECHO_N "(cached) $ECHO_C" >&6
1963 else
1964   ac_cv_prog_cc_stdc=no
1965 ac_save_CC=$CC
1966 cat >conftest.$ac_ext <<_ACEOF
1967 /* confdefs.h.  */
1968 _ACEOF
1969 cat confdefs.h >>conftest.$ac_ext
1970 cat >>conftest.$ac_ext <<_ACEOF
1971 /* end confdefs.h.  */
1972 #include <stdarg.h>
1973 #include <stdio.h>
1974 #include <sys/types.h>
1975 #include <sys/stat.h>
1976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1977 struct buf { int x; };
1978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1979 static char *e (p, i)
1980      char **p;
1981      int i;
1982 {
1983   return p[i];
1984 }
1985 static char *f (char * (*g) (char **, int), char **p, ...)
1986 {
1987   char *s;
1988   va_list v;
1989   va_start (v,p);
1990   s = g (p, va_arg (v,int));
1991   va_end (v);
1992   return s;
1993 }
1994
1995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1996    function prototypes and stuff, but not '\xHH' hex character constants.
1997    These don't provoke an error unfortunately, instead are silently treated
1998    as 'x'.  The following induces an error, until -std1 is added to get
1999    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2000    array size at least.  It's necessary to write '\x00'==0 to get something
2001    that's true only with -std1.  */
2002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2003
2004 int test (int i, double x);
2005 struct s1 {int (*f) (int a);};
2006 struct s2 {int (*f) (double a);};
2007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2008 int argc;
2009 char **argv;
2010 int
2011 main ()
2012 {
2013 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2014   ;
2015   return 0;
2016 }
2017 _ACEOF
2018 # Don't try gcc -ansi; that turns off useful extensions and
2019 # breaks some systems' header files.
2020 # AIX                   -qlanglvl=ansi
2021 # Ultrix and OSF/1      -std1
2022 # HP-UX 10.20 and later -Ae
2023 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2024 # SVR4                  -Xc -D__EXTENSIONS__
2025 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2026 do
2027   CC="$ac_save_CC $ac_arg"
2028   rm -f conftest.$ac_objext
2029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2030   (eval $ac_compile) 2>conftest.er1
2031   ac_status=$?
2032   grep -v '^ *+' conftest.er1 >conftest.err
2033   rm -f conftest.er1
2034   cat conftest.err >&5
2035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036   (exit $ac_status); } &&
2037          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039   (eval $ac_try) 2>&5
2040   ac_status=$?
2041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042   (exit $ac_status); }; } &&
2043          { ac_try='test -s conftest.$ac_objext'
2044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045   (eval $ac_try) 2>&5
2046   ac_status=$?
2047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048   (exit $ac_status); }; }; then
2049   ac_cv_prog_cc_stdc=$ac_arg
2050 break
2051 else
2052   echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2054
2055 fi
2056 rm -f conftest.err conftest.$ac_objext
2057 done
2058 rm -f conftest.$ac_ext conftest.$ac_objext
2059 CC=$ac_save_CC
2060
2061 fi
2062
2063 case "x$ac_cv_prog_cc_stdc" in
2064   x|xno)
2065     echo "$as_me:$LINENO: result: none needed" >&5
2066 echo "${ECHO_T}none needed" >&6 ;;
2067   *)
2068     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2069 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2070     CC="$CC $ac_cv_prog_cc_stdc" ;;
2071 esac
2072
2073 # Some people use a C++ compiler to compile C.  Since we use `exit',
2074 # in C++ we need to declare it.  In case someone uses the same compiler
2075 # for both compiling C and C++ we need to have the C++ compiler decide
2076 # the declaration of exit, since it's the most demanding environment.
2077 cat >conftest.$ac_ext <<_ACEOF
2078 #ifndef __cplusplus
2079   choke me
2080 #endif
2081 _ACEOF
2082 rm -f conftest.$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084   (eval $ac_compile) 2>conftest.er1
2085   ac_status=$?
2086   grep -v '^ *+' conftest.er1 >conftest.err
2087   rm -f conftest.er1
2088   cat conftest.err >&5
2089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090   (exit $ac_status); } &&
2091          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2093   (eval $ac_try) 2>&5
2094   ac_status=$?
2095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096   (exit $ac_status); }; } &&
2097          { ac_try='test -s conftest.$ac_objext'
2098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2099   (eval $ac_try) 2>&5
2100   ac_status=$?
2101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102   (exit $ac_status); }; }; then
2103   for ac_declaration in \
2104    '' \
2105    'extern "C" void std::exit (int) throw (); using std::exit;' \
2106    'extern "C" void std::exit (int); using std::exit;' \
2107    'extern "C" void exit (int) throw ();' \
2108    'extern "C" void exit (int);' \
2109    'void exit (int);'
2110 do
2111   cat >conftest.$ac_ext <<_ACEOF
2112 /* confdefs.h.  */
2113 _ACEOF
2114 cat confdefs.h >>conftest.$ac_ext
2115 cat >>conftest.$ac_ext <<_ACEOF
2116 /* end confdefs.h.  */
2117 $ac_declaration
2118 #include <stdlib.h>
2119 int
2120 main ()
2121 {
2122 exit (42);
2123   ;
2124   return 0;
2125 }
2126 _ACEOF
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129   (eval $ac_compile) 2>conftest.er1
2130   ac_status=$?
2131   grep -v '^ *+' conftest.er1 >conftest.err
2132   rm -f conftest.er1
2133   cat conftest.err >&5
2134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135   (exit $ac_status); } &&
2136          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138   (eval $ac_try) 2>&5
2139   ac_status=$?
2140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141   (exit $ac_status); }; } &&
2142          { ac_try='test -s conftest.$ac_objext'
2143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144   (eval $ac_try) 2>&5
2145   ac_status=$?
2146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147   (exit $ac_status); }; }; then
2148   :
2149 else
2150   echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2152
2153 continue
2154 fi
2155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2156   cat >conftest.$ac_ext <<_ACEOF
2157 /* confdefs.h.  */
2158 _ACEOF
2159 cat confdefs.h >>conftest.$ac_ext
2160 cat >>conftest.$ac_ext <<_ACEOF
2161 /* end confdefs.h.  */
2162 $ac_declaration
2163 int
2164 main ()
2165 {
2166 exit (42);
2167   ;
2168   return 0;
2169 }
2170 _ACEOF
2171 rm -f conftest.$ac_objext
2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2173   (eval $ac_compile) 2>conftest.er1
2174   ac_status=$?
2175   grep -v '^ *+' conftest.er1 >conftest.err
2176   rm -f conftest.er1
2177   cat conftest.err >&5
2178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179   (exit $ac_status); } &&
2180          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182   (eval $ac_try) 2>&5
2183   ac_status=$?
2184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185   (exit $ac_status); }; } &&
2186          { ac_try='test -s conftest.$ac_objext'
2187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188   (eval $ac_try) 2>&5
2189   ac_status=$?
2190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191   (exit $ac_status); }; }; then
2192   break
2193 else
2194   echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2196
2197 fi
2198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2199 done
2200 rm -f conftest*
2201 if test -n "$ac_declaration"; then
2202   echo '#ifdef __cplusplus' >>confdefs.h
2203   echo $ac_declaration      >>confdefs.h
2204   echo '#endif'             >>confdefs.h
2205 fi
2206
2207 else
2208   echo "$as_me: failed program was:" >&5
2209 sed 's/^/| /' conftest.$ac_ext >&5
2210
2211 fi
2212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2213 ac_ext=c
2214 ac_cpp='$CPP $CPPFLAGS'
2215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218
2219
2220 ac_ext=c
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2226 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2227 # On Suns, sometimes $CPP names a directory.
2228 if test -n "$CPP" && test -d "$CPP"; then
2229   CPP=
2230 fi
2231 if test -z "$CPP"; then
2232   if test "${ac_cv_prog_CPP+set}" = set; then
2233   echo $ECHO_N "(cached) $ECHO_C" >&6
2234 else
2235       # Double quotes because CPP needs to be expanded
2236     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2237     do
2238       ac_preproc_ok=false
2239 for ac_c_preproc_warn_flag in '' yes
2240 do
2241   # Use a header file that comes with gcc, so configuring glibc
2242   # with a fresh cross-compiler works.
2243   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2244   # <limits.h> exists even on freestanding compilers.
2245   # On the NeXT, cc -E runs the code through the compiler's parser,
2246   # not just through cpp. "Syntax error" is here to catch this case.
2247   cat >conftest.$ac_ext <<_ACEOF
2248 /* confdefs.h.  */
2249 _ACEOF
2250 cat confdefs.h >>conftest.$ac_ext
2251 cat >>conftest.$ac_ext <<_ACEOF
2252 /* end confdefs.h.  */
2253 #ifdef __STDC__
2254 # include <limits.h>
2255 #else
2256 # include <assert.h>
2257 #endif
2258                      Syntax error
2259 _ACEOF
2260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2261   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2262   ac_status=$?
2263   grep -v '^ *+' conftest.er1 >conftest.err
2264   rm -f conftest.er1
2265   cat conftest.err >&5
2266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267   (exit $ac_status); } >/dev/null; then
2268   if test -s conftest.err; then
2269     ac_cpp_err=$ac_c_preproc_warn_flag
2270     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2271   else
2272     ac_cpp_err=
2273   fi
2274 else
2275   ac_cpp_err=yes
2276 fi
2277 if test -z "$ac_cpp_err"; then
2278   :
2279 else
2280   echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2282
2283   # Broken: fails on valid input.
2284 continue
2285 fi
2286 rm -f conftest.err conftest.$ac_ext
2287
2288   # OK, works on sane cases.  Now check whether non-existent headers
2289   # can be detected and how.
2290   cat >conftest.$ac_ext <<_ACEOF
2291 /* confdefs.h.  */
2292 _ACEOF
2293 cat confdefs.h >>conftest.$ac_ext
2294 cat >>conftest.$ac_ext <<_ACEOF
2295 /* end confdefs.h.  */
2296 #include <ac_nonexistent.h>
2297 _ACEOF
2298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2299   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2300   ac_status=$?
2301   grep -v '^ *+' conftest.er1 >conftest.err
2302   rm -f conftest.er1
2303   cat conftest.err >&5
2304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305   (exit $ac_status); } >/dev/null; then
2306   if test -s conftest.err; then
2307     ac_cpp_err=$ac_c_preproc_warn_flag
2308     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2309   else
2310     ac_cpp_err=
2311   fi
2312 else
2313   ac_cpp_err=yes
2314 fi
2315 if test -z "$ac_cpp_err"; then
2316   # Broken: success on invalid input.
2317 continue
2318 else
2319   echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2321
2322   # Passes both tests.
2323 ac_preproc_ok=:
2324 break
2325 fi
2326 rm -f conftest.err conftest.$ac_ext
2327
2328 done
2329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2330 rm -f conftest.err conftest.$ac_ext
2331 if $ac_preproc_ok; then
2332   break
2333 fi
2334
2335     done
2336     ac_cv_prog_CPP=$CPP
2337
2338 fi
2339   CPP=$ac_cv_prog_CPP
2340 else
2341   ac_cv_prog_CPP=$CPP
2342 fi
2343 echo "$as_me:$LINENO: result: $CPP" >&5
2344 echo "${ECHO_T}$CPP" >&6
2345 ac_preproc_ok=false
2346 for ac_c_preproc_warn_flag in '' yes
2347 do
2348   # Use a header file that comes with gcc, so configuring glibc
2349   # with a fresh cross-compiler works.
2350   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2351   # <limits.h> exists even on freestanding compilers.
2352   # On the NeXT, cc -E runs the code through the compiler's parser,
2353   # not just through cpp. "Syntax error" is here to catch this case.
2354   cat >conftest.$ac_ext <<_ACEOF
2355 /* confdefs.h.  */
2356 _ACEOF
2357 cat confdefs.h >>conftest.$ac_ext
2358 cat >>conftest.$ac_ext <<_ACEOF
2359 /* end confdefs.h.  */
2360 #ifdef __STDC__
2361 # include <limits.h>
2362 #else
2363 # include <assert.h>
2364 #endif
2365                      Syntax error
2366 _ACEOF
2367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2368   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2369   ac_status=$?
2370   grep -v '^ *+' conftest.er1 >conftest.err
2371   rm -f conftest.er1
2372   cat conftest.err >&5
2373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374   (exit $ac_status); } >/dev/null; then
2375   if test -s conftest.err; then
2376     ac_cpp_err=$ac_c_preproc_warn_flag
2377     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2378   else
2379     ac_cpp_err=
2380   fi
2381 else
2382   ac_cpp_err=yes
2383 fi
2384 if test -z "$ac_cpp_err"; then
2385   :
2386 else
2387   echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2389
2390   # Broken: fails on valid input.
2391 continue
2392 fi
2393 rm -f conftest.err conftest.$ac_ext
2394
2395   # OK, works on sane cases.  Now check whether non-existent headers
2396   # can be detected and how.
2397   cat >conftest.$ac_ext <<_ACEOF
2398 /* confdefs.h.  */
2399 _ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h.  */
2403 #include <ac_nonexistent.h>
2404 _ACEOF
2405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2406   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2407   ac_status=$?
2408   grep -v '^ *+' conftest.er1 >conftest.err
2409   rm -f conftest.er1
2410   cat conftest.err >&5
2411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412   (exit $ac_status); } >/dev/null; then
2413   if test -s conftest.err; then
2414     ac_cpp_err=$ac_c_preproc_warn_flag
2415     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2416   else
2417     ac_cpp_err=
2418   fi
2419 else
2420   ac_cpp_err=yes
2421 fi
2422 if test -z "$ac_cpp_err"; then
2423   # Broken: success on invalid input.
2424 continue
2425 else
2426   echo "$as_me: failed program was:" >&5
2427 sed 's/^/| /' conftest.$ac_ext >&5
2428
2429   # Passes both tests.
2430 ac_preproc_ok=:
2431 break
2432 fi
2433 rm -f conftest.err conftest.$ac_ext
2434
2435 done
2436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2437 rm -f conftest.err conftest.$ac_ext
2438 if $ac_preproc_ok; then
2439   :
2440 else
2441   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2444 See \`config.log' for more details." >&2;}
2445    { (exit 1); exit 1; }; }
2446 fi
2447
2448 ac_ext=c
2449 ac_cpp='$CPP $CPPFLAGS'
2450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453
2454
2455 echo "$as_me:$LINENO: checking for egrep" >&5
2456 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2457 if test "${ac_cv_prog_egrep+set}" = set; then
2458   echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2461     then ac_cv_prog_egrep='grep -E'
2462     else ac_cv_prog_egrep='egrep'
2463     fi
2464 fi
2465 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2466 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2467  EGREP=$ac_cv_prog_egrep
2468
2469
2470 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2472 if test "${ac_cv_header_stdc+set}" = set; then
2473   echo $ECHO_N "(cached) $ECHO_C" >&6
2474 else
2475   cat >conftest.$ac_ext <<_ACEOF
2476 /* confdefs.h.  */
2477 _ACEOF
2478 cat confdefs.h >>conftest.$ac_ext
2479 cat >>conftest.$ac_ext <<_ACEOF
2480 /* end confdefs.h.  */
2481 #include <stdlib.h>
2482 #include <stdarg.h>
2483 #include <string.h>
2484 #include <float.h>
2485
2486 int
2487 main ()
2488 {
2489
2490   ;
2491   return 0;
2492 }
2493 _ACEOF
2494 rm -f conftest.$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496   (eval $ac_compile) 2>conftest.er1
2497   ac_status=$?
2498   grep -v '^ *+' conftest.er1 >conftest.err
2499   rm -f conftest.er1
2500   cat conftest.err >&5
2501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502   (exit $ac_status); } &&
2503          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505   (eval $ac_try) 2>&5
2506   ac_status=$?
2507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508   (exit $ac_status); }; } &&
2509          { ac_try='test -s conftest.$ac_objext'
2510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511   (eval $ac_try) 2>&5
2512   ac_status=$?
2513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514   (exit $ac_status); }; }; then
2515   ac_cv_header_stdc=yes
2516 else
2517   echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.$ac_ext >&5
2519
2520 ac_cv_header_stdc=no
2521 fi
2522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2523
2524 if test $ac_cv_header_stdc = yes; then
2525   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2526   cat >conftest.$ac_ext <<_ACEOF
2527 /* confdefs.h.  */
2528 _ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h.  */
2532 #include <string.h>
2533
2534 _ACEOF
2535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2536   $EGREP "memchr" >/dev/null 2>&1; then
2537   :
2538 else
2539   ac_cv_header_stdc=no
2540 fi
2541 rm -f conftest*
2542
2543 fi
2544
2545 if test $ac_cv_header_stdc = yes; then
2546   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2547   cat >conftest.$ac_ext <<_ACEOF
2548 /* confdefs.h.  */
2549 _ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h.  */
2553 #include <stdlib.h>
2554
2555 _ACEOF
2556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2557   $EGREP "free" >/dev/null 2>&1; then
2558   :
2559 else
2560   ac_cv_header_stdc=no
2561 fi
2562 rm -f conftest*
2563
2564 fi
2565
2566 if test $ac_cv_header_stdc = yes; then
2567   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2568   if test "$cross_compiling" = yes; then
2569   :
2570 else
2571   cat >conftest.$ac_ext <<_ACEOF
2572 /* confdefs.h.  */
2573 _ACEOF
2574 cat confdefs.h >>conftest.$ac_ext
2575 cat >>conftest.$ac_ext <<_ACEOF
2576 /* end confdefs.h.  */
2577 #include <ctype.h>
2578 #if ((' ' & 0x0FF) == 0x020)
2579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2581 #else
2582 # define ISLOWER(c) \
2583                    (('a' <= (c) && (c) <= 'i') \
2584                      || ('j' <= (c) && (c) <= 'r') \
2585                      || ('s' <= (c) && (c) <= 'z'))
2586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2587 #endif
2588
2589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2590 int
2591 main ()
2592 {
2593   int i;
2594   for (i = 0; i < 256; i++)
2595     if (XOR (islower (i), ISLOWER (i))
2596         || toupper (i) != TOUPPER (i))
2597       exit(2);
2598   exit (0);
2599 }
2600 _ACEOF
2601 rm -f conftest$ac_exeext
2602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2603   (eval $ac_link) 2>&5
2604   ac_status=$?
2605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608   (eval $ac_try) 2>&5
2609   ac_status=$?
2610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611   (exit $ac_status); }; }; then
2612   :
2613 else
2614   echo "$as_me: program exited with status $ac_status" >&5
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2617
2618 ( exit $ac_status )
2619 ac_cv_header_stdc=no
2620 fi
2621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2622 fi
2623 fi
2624 fi
2625 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2626 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2627 if test $ac_cv_header_stdc = yes; then
2628
2629 cat >>confdefs.h <<\_ACEOF
2630 #define STDC_HEADERS 1
2631 _ACEOF
2632
2633 fi
2634
2635 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2646                   inttypes.h stdint.h unistd.h
2647 do
2648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2649 echo "$as_me:$LINENO: checking for $ac_header" >&5
2650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2652   echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654   cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h.  */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h.  */
2660 $ac_includes_default
2661
2662 #include <$ac_header>
2663 _ACEOF
2664 rm -f conftest.$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666   (eval $ac_compile) 2>conftest.er1
2667   ac_status=$?
2668   grep -v '^ *+' conftest.er1 >conftest.err
2669   rm -f conftest.er1
2670   cat conftest.err >&5
2671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672   (exit $ac_status); } &&
2673          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675   (eval $ac_try) 2>&5
2676   ac_status=$?
2677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678   (exit $ac_status); }; } &&
2679          { ac_try='test -s conftest.$ac_objext'
2680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681   (eval $ac_try) 2>&5
2682   ac_status=$?
2683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684   (exit $ac_status); }; }; then
2685   eval "$as_ac_Header=yes"
2686 else
2687   echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2689
2690 eval "$as_ac_Header=no"
2691 fi
2692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2693 fi
2694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2697   cat >>confdefs.h <<_ACEOF
2698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2699 _ACEOF
2700
2701 fi
2702
2703 done
2704
2705
2706
2707 for ac_header in malloc.h
2708 do
2709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2711   echo "$as_me:$LINENO: checking for $ac_header" >&5
2712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2714   echo $ECHO_N "(cached) $ECHO_C" >&6
2715 fi
2716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2718 else
2719   # Is the header compilable?
2720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2722 cat >conftest.$ac_ext <<_ACEOF
2723 /* confdefs.h.  */
2724 _ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h.  */
2728 $ac_includes_default
2729 #include <$ac_header>
2730 _ACEOF
2731 rm -f conftest.$ac_objext
2732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733   (eval $ac_compile) 2>conftest.er1
2734   ac_status=$?
2735   grep -v '^ *+' conftest.er1 >conftest.err
2736   rm -f conftest.er1
2737   cat conftest.err >&5
2738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739   (exit $ac_status); } &&
2740          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742   (eval $ac_try) 2>&5
2743   ac_status=$?
2744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745   (exit $ac_status); }; } &&
2746          { ac_try='test -s conftest.$ac_objext'
2747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748   (eval $ac_try) 2>&5
2749   ac_status=$?
2750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751   (exit $ac_status); }; }; then
2752   ac_header_compiler=yes
2753 else
2754   echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2756
2757 ac_header_compiler=no
2758 fi
2759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2761 echo "${ECHO_T}$ac_header_compiler" >&6
2762
2763 # Is the header present?
2764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2766 cat >conftest.$ac_ext <<_ACEOF
2767 /* confdefs.h.  */
2768 _ACEOF
2769 cat confdefs.h >>conftest.$ac_ext
2770 cat >>conftest.$ac_ext <<_ACEOF
2771 /* end confdefs.h.  */
2772 #include <$ac_header>
2773 _ACEOF
2774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2775   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2776   ac_status=$?
2777   grep -v '^ *+' conftest.er1 >conftest.err
2778   rm -f conftest.er1
2779   cat conftest.err >&5
2780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781   (exit $ac_status); } >/dev/null; then
2782   if test -s conftest.err; then
2783     ac_cpp_err=$ac_c_preproc_warn_flag
2784     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2785   else
2786     ac_cpp_err=
2787   fi
2788 else
2789   ac_cpp_err=yes
2790 fi
2791 if test -z "$ac_cpp_err"; then
2792   ac_header_preproc=yes
2793 else
2794   echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2796
2797   ac_header_preproc=no
2798 fi
2799 rm -f conftest.err conftest.$ac_ext
2800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2801 echo "${ECHO_T}$ac_header_preproc" >&6
2802
2803 # So?  What about this header?
2804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2805   yes:no: )
2806     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2808     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2810     ac_header_preproc=yes
2811     ;;
2812   no:yes:* )
2813     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2815     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
2816 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
2817     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2819     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
2820 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
2821     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2823     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2825     (
2826       cat <<\_ASBOX
2827 ## ------------------------------------------ ##
2828 ## Report this to the AC_PACKAGE_NAME lists.  ##
2829 ## ------------------------------------------ ##
2830 _ASBOX
2831     ) |
2832       sed "s/^/$as_me: WARNING:     /" >&2
2833     ;;
2834 esac
2835 echo "$as_me:$LINENO: checking for $ac_header" >&5
2836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2838   echo $ECHO_N "(cached) $ECHO_C" >&6
2839 else
2840   eval "$as_ac_Header=\$ac_header_preproc"
2841 fi
2842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2844
2845 fi
2846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2847   cat >>confdefs.h <<_ACEOF
2848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2849 _ACEOF
2850
2851 fi
2852
2853 done
2854
2855
2856         targetname=rlm_eap_mschapv2     # keep this!  Don't change!
2857 else
2858         targetname=            # keep this!  Don't change!
2859         echo \*\*\* module rlm_eap_mschapv2 is disabled.  # keep this!  Don't change!
2860 fi
2861
2862 if test x"$fail" != x""; then
2863         if test x"${enable_strict_dependencies}" = x"yes"; then
2864                 { { echo "$as_me:$LINENO: error: set --without-rlm_eap_mschapv2 to disable it explicitly." >&5
2865 echo "$as_me: error: set --without-rlm_eap_mschapv2 to disable it explicitly." >&2;}
2866    { (exit 1); exit 1; }; }
2867         else
2868                 { echo "$as_me:$LINENO: WARNING: silently not building rlm_eap_mschapv2." >&5
2869 echo "$as_me: WARNING: silently not building rlm_eap_mschapv2." >&2;}
2870                 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_eap_mschapv2 requires: $fail." >&5
2871 echo "$as_me: WARNING: FAILURE: rlm_eap_mschapv2 requires: $fail." >&2;};
2872                 targetname=""
2873         fi
2874 fi
2875
2876
2877
2878
2879
2880   # keep this!  Don't change!
2881           ac_config_files="$ac_config_files Makefile"
2882 cat >confcache <<\_ACEOF
2883 # This file is a shell script that caches the results of configure
2884 # tests run on this system so they can be shared between configure
2885 # scripts and configure runs, see configure's option --config-cache.
2886 # It is not useful on other systems.  If it contains results you don't
2887 # want to keep, you may remove or edit it.
2888 #
2889 # config.status only pays attention to the cache file if you give it
2890 # the --recheck option to rerun configure.
2891 #
2892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2894 # following values.
2895
2896 _ACEOF
2897
2898 # The following way of writing the cache mishandles newlines in values,
2899 # but we know of no workaround that is simple, portable, and efficient.
2900 # So, don't put newlines in cache variables' values.
2901 # Ultrix sh set writes to stderr and can't be redirected directly,
2902 # and sets the high bit in the cache file unless we assign to the vars.
2903 {
2904   (set) 2>&1 |
2905     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2906     *ac_space=\ *)
2907       # `set' does not quote correctly, so add quotes (double-quote
2908       # substitution turns \\\\ into \\, and sed turns \\ into \).
2909       sed -n \
2910         "s/'/'\\\\''/g;
2911           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2912       ;;
2913     *)
2914       # `set' quotes correctly as required by POSIX, so do not add quotes.
2915       sed -n \
2916         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2917       ;;
2918     esac;
2919 } |
2920   sed '
2921      t clear
2922      : clear
2923      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2924      t end
2925      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2926      : end' >>confcache
2927 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2928   if test -w $cache_file; then
2929     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2930     cat confcache >$cache_file
2931   else
2932     echo "not updating unwritable cache $cache_file"
2933   fi
2934 fi
2935 rm -f confcache
2936
2937 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2938 # Let make expand exec_prefix.
2939 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2940
2941 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2942 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2943 # trailing colons and then remove the whole line if VPATH becomes empty
2944 # (actually we leave an empty line to preserve line numbers).
2945 if test "x$srcdir" = x.; then
2946   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2947 s/:*\$(srcdir):*/:/;
2948 s/:*\${srcdir}:*/:/;
2949 s/:*@srcdir@:*/:/;
2950 s/^\([^=]*=[     ]*\):*/\1/;
2951 s/:*$//;
2952 s/^[^=]*=[       ]*$//;
2953 }'
2954 fi
2955
2956 # Transform confdefs.h into DEFS.
2957 # Protect against shell expansion while executing Makefile rules.
2958 # Protect against Makefile macro expansion.
2959 #
2960 # If the first sed substitution is executed (which looks for macros that
2961 # take arguments), then we branch to the quote section.  Otherwise,
2962 # look for a macro that doesn't take arguments.
2963 cat >confdef2opt.sed <<\_ACEOF
2964 t clear
2965 : clear
2966 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2967 t quote
2968 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2969 t quote
2970 d
2971 : quote
2972 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2973 s,\[,\\&,g
2974 s,\],\\&,g
2975 s,\$,$$,g
2976 p
2977 _ACEOF
2978 # We use echo to avoid assuming a particular line-breaking character.
2979 # The extra dot is to prevent the shell from consuming trailing
2980 # line-breaks from the sub-command output.  A line-break within
2981 # single-quotes doesn't work because, if this script is created in a
2982 # platform that uses two characters for line-breaks (e.g., DOS), tr
2983 # would break.
2984 ac_LF_and_DOT=`echo; echo .`
2985 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2986 rm -f confdef2opt.sed
2987
2988
2989 ac_libobjs=
2990 ac_ltlibobjs=
2991 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2992   # 1. Remove the extension, and $U if already installed.
2993   ac_i=`echo "$ac_i" |
2994          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2995   # 2. Add them.
2996   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2997   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2998 done
2999 LIBOBJS=$ac_libobjs
3000
3001 LTLIBOBJS=$ac_ltlibobjs
3002
3003
3004
3005 : ${CONFIG_STATUS=./config.status}
3006 ac_clean_files_save=$ac_clean_files
3007 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3008 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3009 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3010 cat >$CONFIG_STATUS <<_ACEOF
3011 #! $SHELL
3012 # Generated by $as_me.
3013 # Run this file to recreate the current configuration.
3014 # Compiler output produced by configure, useful for debugging
3015 # configure, is in config.log if it exists.
3016
3017 debug=false
3018 ac_cs_recheck=false
3019 ac_cs_silent=false
3020 SHELL=\${CONFIG_SHELL-$SHELL}
3021 _ACEOF
3022
3023 cat >>$CONFIG_STATUS <<\_ACEOF
3024 ## --------------------- ##
3025 ## M4sh Initialization.  ##
3026 ## --------------------- ##
3027
3028 # Be Bourne compatible
3029 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3030   emulate sh
3031   NULLCMD=:
3032   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3033   # is contrary to our usage.  Disable this feature.
3034   alias -g '${1+"$@"}'='"$@"'
3035 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3036   set -o posix
3037 fi
3038 DUALCASE=1; export DUALCASE # for MKS sh
3039
3040 # Support unset when possible.
3041 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3042   as_unset=unset
3043 else
3044   as_unset=false
3045 fi
3046
3047
3048 # Work around bugs in pre-3.0 UWIN ksh.
3049 $as_unset ENV MAIL MAILPATH
3050 PS1='$ '
3051 PS2='> '
3052 PS4='+ '
3053
3054 # NLS nuisances.
3055 for as_var in \
3056   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3057   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3058   LC_TELEPHONE LC_TIME
3059 do
3060   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3061     eval $as_var=C; export $as_var
3062   else
3063     $as_unset $as_var
3064   fi
3065 done
3066
3067 # Required to use basename.
3068 if expr a : '\(a\)' >/dev/null 2>&1; then
3069   as_expr=expr
3070 else
3071   as_expr=false
3072 fi
3073
3074 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3075   as_basename=basename
3076 else
3077   as_basename=false
3078 fi
3079
3080
3081 # Name of the executable.
3082 as_me=`$as_basename "$0" ||
3083 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3084          X"$0" : 'X\(//\)$' \| \
3085          X"$0" : 'X\(/\)$' \| \
3086          .     : '\(.\)' 2>/dev/null ||
3087 echo X/"$0" |
3088     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3089           /^X\/\(\/\/\)$/{ s//\1/; q; }
3090           /^X\/\(\/\).*/{ s//\1/; q; }
3091           s/.*/./; q'`
3092
3093
3094 # PATH needs CR, and LINENO needs CR and PATH.
3095 # Avoid depending upon Character Ranges.
3096 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3097 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3098 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3099 as_cr_digits='0123456789'
3100 as_cr_alnum=$as_cr_Letters$as_cr_digits
3101
3102 # The user is always right.
3103 if test "${PATH_SEPARATOR+set}" != set; then
3104   echo "#! /bin/sh" >conf$$.sh
3105   echo  "exit 0"   >>conf$$.sh
3106   chmod +x conf$$.sh
3107   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3108     PATH_SEPARATOR=';'
3109   else
3110     PATH_SEPARATOR=:
3111   fi
3112   rm -f conf$$.sh
3113 fi
3114
3115
3116   as_lineno_1=$LINENO
3117   as_lineno_2=$LINENO
3118   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3119   test "x$as_lineno_1" != "x$as_lineno_2" &&
3120   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3121   # Find who we are.  Look in the path if we contain no path at all
3122   # relative or not.
3123   case $0 in
3124     *[\\/]* ) as_myself=$0 ;;
3125     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3127 do
3128   IFS=$as_save_IFS
3129   test -z "$as_dir" && as_dir=.
3130   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3131 done
3132
3133        ;;
3134   esac
3135   # We did not find ourselves, most probably we were run as `sh COMMAND'
3136   # in which case we are not to be found in the path.
3137   if test "x$as_myself" = x; then
3138     as_myself=$0
3139   fi
3140   if test ! -f "$as_myself"; then
3141     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3142 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3143    { (exit 1); exit 1; }; }
3144   fi
3145   case $CONFIG_SHELL in
3146   '')
3147     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3149 do
3150   IFS=$as_save_IFS
3151   test -z "$as_dir" && as_dir=.
3152   for as_base in sh bash ksh sh5; do
3153          case $as_dir in
3154          /*)
3155            if ("$as_dir/$as_base" -c '
3156   as_lineno_1=$LINENO
3157   as_lineno_2=$LINENO
3158   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3159   test "x$as_lineno_1" != "x$as_lineno_2" &&
3160   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3161              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3162              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3163              CONFIG_SHELL=$as_dir/$as_base
3164              export CONFIG_SHELL
3165              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3166            fi;;
3167          esac
3168        done
3169 done
3170 ;;
3171   esac
3172
3173   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3174   # uniformly replaced by the line number.  The first 'sed' inserts a
3175   # line-number line before each line; the second 'sed' does the real
3176   # work.  The second script uses 'N' to pair each line-number line
3177   # with the numbered line, and appends trailing '-' during
3178   # substitution so that $LINENO is not a special case at line end.
3179   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3180   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3181   sed '=' <$as_myself |
3182     sed '
3183       N
3184       s,$,-,
3185       : loop
3186       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3187       t loop
3188       s,-$,,
3189       s,^['$as_cr_digits']*\n,,
3190     ' >$as_me.lineno &&
3191   chmod +x $as_me.lineno ||
3192     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3193 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3194    { (exit 1); exit 1; }; }
3195
3196   # Don't try to exec as it changes $[0], causing all sort of problems
3197   # (the dirname of $[0] is not the place where we might find the
3198   # original and so on.  Autoconf is especially sensible to this).
3199   . ./$as_me.lineno
3200   # Exit status is that of the last command.
3201   exit
3202 }
3203
3204
3205 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3206   *c*,-n*) ECHO_N= ECHO_C='
3207 ' ECHO_T='      ' ;;
3208   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3209   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3210 esac
3211
3212 if expr a : '\(a\)' >/dev/null 2>&1; then
3213   as_expr=expr
3214 else
3215   as_expr=false
3216 fi
3217
3218 rm -f conf$$ conf$$.exe conf$$.file
3219 echo >conf$$.file
3220 if ln -s conf$$.file conf$$ 2>/dev/null; then
3221   # We could just check for DJGPP; but this test a) works b) is more generic
3222   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3223   if test -f conf$$.exe; then
3224     # Don't use ln at all; we don't have any links
3225     as_ln_s='cp -p'
3226   else
3227     as_ln_s='ln -s'
3228   fi
3229 elif ln conf$$.file conf$$ 2>/dev/null; then
3230   as_ln_s=ln
3231 else
3232   as_ln_s='cp -p'
3233 fi
3234 rm -f conf$$ conf$$.exe conf$$.file
3235
3236 if mkdir -p . 2>/dev/null; then
3237   as_mkdir_p=:
3238 else
3239   test -d ./-p && rmdir ./-p
3240   as_mkdir_p=false
3241 fi
3242
3243 as_executable_p="test -f"
3244
3245 # Sed expression to map a string onto a valid CPP name.
3246 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3247
3248 # Sed expression to map a string onto a valid variable name.
3249 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3250
3251
3252 # IFS
3253 # We need space, tab and new line, in precisely that order.
3254 as_nl='
3255 '
3256 IFS="   $as_nl"
3257
3258 # CDPATH.
3259 $as_unset CDPATH
3260
3261 exec 6>&1
3262
3263 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3264 # report actual input values of CONFIG_FILES etc. instead of their
3265 # values after options handling.  Logging --version etc. is OK.
3266 exec 5>>config.log
3267 {
3268   echo
3269   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3270 ## Running $as_me. ##
3271 _ASBOX
3272 } >&5
3273 cat >&5 <<_CSEOF
3274
3275 This file was extended by $as_me, which was
3276 generated by GNU Autoconf 2.59.  Invocation command line was
3277
3278   CONFIG_FILES    = $CONFIG_FILES
3279   CONFIG_HEADERS  = $CONFIG_HEADERS
3280   CONFIG_LINKS    = $CONFIG_LINKS
3281   CONFIG_COMMANDS = $CONFIG_COMMANDS
3282   $ $0 $@
3283
3284 _CSEOF
3285 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3286 echo >&5
3287 _ACEOF
3288
3289 # Files that config.status was made for.
3290 if test -n "$ac_config_files"; then
3291   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3292 fi
3293
3294 if test -n "$ac_config_headers"; then
3295   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3296 fi
3297
3298 if test -n "$ac_config_links"; then
3299   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3300 fi
3301
3302 if test -n "$ac_config_commands"; then
3303   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3304 fi
3305
3306 cat >>$CONFIG_STATUS <<\_ACEOF
3307
3308 ac_cs_usage="\
3309 \`$as_me' instantiates files from templates according to the
3310 current configuration.
3311
3312 Usage: $0 [OPTIONS] [FILE]...
3313
3314   -h, --help       print this help, then exit
3315   -V, --version    print version number, then exit
3316   -q, --quiet      do not print progress messages
3317   -d, --debug      don't remove temporary files
3318       --recheck    update $as_me by reconfiguring in the same conditions
3319   --file=FILE[:TEMPLATE]
3320                    instantiate the configuration file FILE
3321
3322 Configuration files:
3323 $config_files
3324
3325 Report bugs to <bug-autoconf@gnu.org>."
3326 _ACEOF
3327
3328 cat >>$CONFIG_STATUS <<_ACEOF
3329 ac_cs_version="\\
3330 config.status
3331 configured by $0, generated by GNU Autoconf 2.59,
3332   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3333
3334 Copyright (C) 2003 Free Software Foundation, Inc.
3335 This config.status script is free software; the Free Software Foundation
3336 gives unlimited permission to copy, distribute and modify it."
3337 srcdir=$srcdir
3338 _ACEOF
3339
3340 cat >>$CONFIG_STATUS <<\_ACEOF
3341 # If no file are specified by the user, then we need to provide default
3342 # value.  By we need to know if files were specified by the user.
3343 ac_need_defaults=:
3344 while test $# != 0
3345 do
3346   case $1 in
3347   --*=*)
3348     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3349     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3350     ac_shift=:
3351     ;;
3352   -*)
3353     ac_option=$1
3354     ac_optarg=$2
3355     ac_shift=shift
3356     ;;
3357   *) # This is not an option, so the user has probably given explicit
3358      # arguments.
3359      ac_option=$1
3360      ac_need_defaults=false;;
3361   esac
3362
3363   case $ac_option in
3364   # Handling of the options.
3365 _ACEOF
3366 cat >>$CONFIG_STATUS <<\_ACEOF
3367   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3368     ac_cs_recheck=: ;;
3369   --version | --vers* | -V )
3370     echo "$ac_cs_version"; exit 0 ;;
3371   --he | --h)
3372     # Conflict between --help and --header
3373     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3374 Try \`$0 --help' for more information." >&5
3375 echo "$as_me: error: ambiguous option: $1
3376 Try \`$0 --help' for more information." >&2;}
3377    { (exit 1); exit 1; }; };;
3378   --help | --hel | -h )
3379     echo "$ac_cs_usage"; exit 0 ;;
3380   --debug | --d* | -d )
3381     debug=: ;;
3382   --file | --fil | --fi | --f )
3383     $ac_shift
3384     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3385     ac_need_defaults=false;;
3386   --header | --heade | --head | --hea )
3387     $ac_shift
3388     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3389     ac_need_defaults=false;;
3390   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3391   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3392     ac_cs_silent=: ;;
3393
3394   # This is an error.
3395   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3396 Try \`$0 --help' for more information." >&5
3397 echo "$as_me: error: unrecognized option: $1
3398 Try \`$0 --help' for more information." >&2;}
3399    { (exit 1); exit 1; }; } ;;
3400
3401   *) ac_config_targets="$ac_config_targets $1" ;;
3402
3403   esac
3404   shift
3405 done
3406
3407 ac_configure_extra_args=
3408
3409 if $ac_cs_silent; then
3410   exec 6>/dev/null
3411   ac_configure_extra_args="$ac_configure_extra_args --silent"
3412 fi
3413
3414 _ACEOF
3415 cat >>$CONFIG_STATUS <<_ACEOF
3416 if \$ac_cs_recheck; then
3417   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3418   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3419 fi
3420
3421 _ACEOF
3422
3423
3424
3425
3426
3427 cat >>$CONFIG_STATUS <<\_ACEOF
3428 for ac_config_target in $ac_config_targets
3429 do
3430   case "$ac_config_target" in
3431   # Handling of arguments.
3432   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3433   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3434 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3435    { (exit 1); exit 1; }; };;
3436   esac
3437 done
3438
3439 # If the user did not use the arguments to specify the items to instantiate,
3440 # then the envvar interface is used.  Set only those that are not.
3441 # We use the long form for the default assignment because of an extremely
3442 # bizarre bug on SunOS 4.1.3.
3443 if $ac_need_defaults; then
3444   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3445 fi
3446
3447 # Have a temporary directory for convenience.  Make it in the build tree
3448 # simply because there is no reason to put it here, and in addition,
3449 # creating and moving files from /tmp can sometimes cause problems.
3450 # Create a temporary directory, and hook for its removal unless debugging.
3451 $debug ||
3452 {
3453   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3454   trap '{ (exit 1); exit 1; }' 1 2 13 15
3455 }
3456
3457 # Create a (secure) tmp directory for tmp files.
3458
3459 {
3460   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3461   test -n "$tmp" && test -d "$tmp"
3462 }  ||
3463 {
3464   tmp=./confstat$$-$RANDOM
3465   (umask 077 && mkdir $tmp)
3466 } ||
3467 {
3468    echo "$me: cannot create a temporary directory in ." >&2
3469    { (exit 1); exit 1; }
3470 }
3471
3472 _ACEOF
3473
3474 cat >>$CONFIG_STATUS <<_ACEOF
3475
3476 #
3477 # CONFIG_FILES section.
3478 #
3479
3480 # No need to generate the scripts if there are no CONFIG_FILES.
3481 # This happens for instance when ./config.status config.h
3482 if test -n "\$CONFIG_FILES"; then
3483   # Protect against being on the right side of a sed subst in config.status.
3484   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3485    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3486 s,@SHELL@,$SHELL,;t t
3487 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3488 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3489 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3490 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3491 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3492 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3493 s,@exec_prefix@,$exec_prefix,;t t
3494 s,@prefix@,$prefix,;t t
3495 s,@program_transform_name@,$program_transform_name,;t t
3496 s,@bindir@,$bindir,;t t
3497 s,@sbindir@,$sbindir,;t t
3498 s,@libexecdir@,$libexecdir,;t t
3499 s,@datadir@,$datadir,;t t
3500 s,@sysconfdir@,$sysconfdir,;t t
3501 s,@sharedstatedir@,$sharedstatedir,;t t
3502 s,@localstatedir@,$localstatedir,;t t
3503 s,@libdir@,$libdir,;t t
3504 s,@includedir@,$includedir,;t t
3505 s,@oldincludedir@,$oldincludedir,;t t
3506 s,@infodir@,$infodir,;t t
3507 s,@mandir@,$mandir,;t t
3508 s,@build_alias@,$build_alias,;t t
3509 s,@host_alias@,$host_alias,;t t
3510 s,@target_alias@,$target_alias,;t t
3511 s,@DEFS@,$DEFS,;t t
3512 s,@ECHO_C@,$ECHO_C,;t t
3513 s,@ECHO_N@,$ECHO_N,;t t
3514 s,@ECHO_T@,$ECHO_T,;t t
3515 s,@LIBS@,$LIBS,;t t
3516 s,@CC@,$CC,;t t
3517 s,@CFLAGS@,$CFLAGS,;t t
3518 s,@LDFLAGS@,$LDFLAGS,;t t
3519 s,@CPPFLAGS@,$CPPFLAGS,;t t
3520 s,@ac_ct_CC@,$ac_ct_CC,;t t
3521 s,@EXEEXT@,$EXEEXT,;t t
3522 s,@OBJEXT@,$OBJEXT,;t t
3523 s,@CPP@,$CPP,;t t
3524 s,@EGREP@,$EGREP,;t t
3525 s,@eap_mschapv2_cflags@,$eap_mschapv2_cflags,;t t
3526 s,@eap_mschapv2_ldflags@,$eap_mschapv2_ldflags,;t t
3527 s,@targetname@,$targetname,;t t
3528 s,@LIBOBJS@,$LIBOBJS,;t t
3529 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3530 CEOF
3531
3532 _ACEOF
3533
3534   cat >>$CONFIG_STATUS <<\_ACEOF
3535   # Split the substitutions into bite-sized pieces for seds with
3536   # small command number limits, like on Digital OSF/1 and HP-UX.
3537   ac_max_sed_lines=48
3538   ac_sed_frag=1 # Number of current file.
3539   ac_beg=1 # First line for current file.
3540   ac_end=$ac_max_sed_lines # Line after last line for current file.
3541   ac_more_lines=:
3542   ac_sed_cmds=
3543   while $ac_more_lines; do
3544     if test $ac_beg -gt 1; then
3545       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3546     else
3547       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3548     fi
3549     if test ! -s $tmp/subs.frag; then
3550       ac_more_lines=false
3551     else
3552       # The purpose of the label and of the branching condition is to
3553       # speed up the sed processing (if there are no `@' at all, there
3554       # is no need to browse any of the substitutions).
3555       # These are the two extra sed commands mentioned above.
3556       (echo ':t
3557   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3558       if test -z "$ac_sed_cmds"; then
3559         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3560       else
3561         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3562       fi
3563       ac_sed_frag=`expr $ac_sed_frag + 1`
3564       ac_beg=$ac_end
3565       ac_end=`expr $ac_end + $ac_max_sed_lines`
3566     fi
3567   done
3568   if test -z "$ac_sed_cmds"; then
3569     ac_sed_cmds=cat
3570   fi
3571 fi # test -n "$CONFIG_FILES"
3572
3573 _ACEOF
3574 cat >>$CONFIG_STATUS <<\_ACEOF
3575 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3576   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3577   case $ac_file in
3578   - | *:- | *:-:* ) # input from stdin
3579         cat >$tmp/stdin
3580         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3581         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3582   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3583         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3584   * )   ac_file_in=$ac_file.in ;;
3585   esac
3586
3587   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3588   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3590          X"$ac_file" : 'X\(//\)[^/]' \| \
3591          X"$ac_file" : 'X\(//\)$' \| \
3592          X"$ac_file" : 'X\(/\)' \| \
3593          .     : '\(.\)' 2>/dev/null ||
3594 echo X"$ac_file" |
3595     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3596           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3597           /^X\(\/\/\)$/{ s//\1/; q; }
3598           /^X\(\/\).*/{ s//\1/; q; }
3599           s/.*/./; q'`
3600   { if $as_mkdir_p; then
3601     mkdir -p "$ac_dir"
3602   else
3603     as_dir="$ac_dir"
3604     as_dirs=
3605     while test ! -d "$as_dir"; do
3606       as_dirs="$as_dir $as_dirs"
3607       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3609          X"$as_dir" : 'X\(//\)[^/]' \| \
3610          X"$as_dir" : 'X\(//\)$' \| \
3611          X"$as_dir" : 'X\(/\)' \| \
3612          .     : '\(.\)' 2>/dev/null ||
3613 echo X"$as_dir" |
3614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3615           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3616           /^X\(\/\/\)$/{ s//\1/; q; }
3617           /^X\(\/\).*/{ s//\1/; q; }
3618           s/.*/./; q'`
3619     done
3620     test ! -n "$as_dirs" || mkdir $as_dirs
3621   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3622 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3623    { (exit 1); exit 1; }; }; }
3624
3625   ac_builddir=.
3626
3627 if test "$ac_dir" != .; then
3628   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3629   # A "../" for each directory in $ac_dir_suffix.
3630   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3631 else
3632   ac_dir_suffix= ac_top_builddir=
3633 fi
3634
3635 case $srcdir in
3636   .)  # No --srcdir option.  We are building in place.
3637     ac_srcdir=.
3638     if test -z "$ac_top_builddir"; then
3639        ac_top_srcdir=.
3640     else
3641        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3642     fi ;;
3643   [\\/]* | ?:[\\/]* )  # Absolute path.
3644     ac_srcdir=$srcdir$ac_dir_suffix;
3645     ac_top_srcdir=$srcdir ;;
3646   *) # Relative path.
3647     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3648     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3649 esac
3650
3651 # Do not use `cd foo && pwd` to compute absolute paths, because
3652 # the directories may not exist.
3653 case `pwd` in
3654 .) ac_abs_builddir="$ac_dir";;
3655 *)
3656   case "$ac_dir" in
3657   .) ac_abs_builddir=`pwd`;;
3658   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3659   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3660   esac;;
3661 esac
3662 case $ac_abs_builddir in
3663 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3664 *)
3665   case ${ac_top_builddir}. in
3666   .) ac_abs_top_builddir=$ac_abs_builddir;;
3667   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3668   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3669   esac;;
3670 esac
3671 case $ac_abs_builddir in
3672 .) ac_abs_srcdir=$ac_srcdir;;
3673 *)
3674   case $ac_srcdir in
3675   .) ac_abs_srcdir=$ac_abs_builddir;;
3676   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3677   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3678   esac;;
3679 esac
3680 case $ac_abs_builddir in
3681 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3682 *)
3683   case $ac_top_srcdir in
3684   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3685   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3686   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3687   esac;;
3688 esac
3689
3690
3691
3692   # Let's still pretend it is `configure' which instantiates (i.e., don't
3693   # use $as_me), people would be surprised to read:
3694   #    /* config.h.  Generated by config.status.  */
3695   if test x"$ac_file" = x-; then
3696     configure_input=
3697   else
3698     configure_input="$ac_file.  "
3699   fi
3700   configure_input=$configure_input"Generated from `echo $ac_file_in |
3701                                      sed 's,.*/,,'` by configure."
3702
3703   # First look for the input files in the build tree, otherwise in the
3704   # src tree.
3705   ac_file_inputs=`IFS=:
3706     for f in $ac_file_in; do
3707       case $f in
3708       -) echo $tmp/stdin ;;
3709       [\\/$]*)
3710          # Absolute (can't be DOS-style, as IFS=:)
3711          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3712 echo "$as_me: error: cannot find input file: $f" >&2;}
3713    { (exit 1); exit 1; }; }
3714          echo "$f";;
3715       *) # Relative
3716          if test -f "$f"; then
3717            # Build tree
3718            echo "$f"
3719          elif test -f "$srcdir/$f"; then
3720            # Source tree
3721            echo "$srcdir/$f"
3722          else
3723            # /dev/null tree
3724            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3725 echo "$as_me: error: cannot find input file: $f" >&2;}
3726    { (exit 1); exit 1; }; }
3727          fi;;
3728       esac
3729     done` || { (exit 1); exit 1; }
3730
3731   if test x"$ac_file" != x-; then
3732     { echo "$as_me:$LINENO: creating $ac_file" >&5
3733 echo "$as_me: creating $ac_file" >&6;}
3734     rm -f "$ac_file"
3735   fi
3736 _ACEOF
3737 cat >>$CONFIG_STATUS <<_ACEOF
3738   sed "$ac_vpsub
3739 $extrasub
3740 _ACEOF
3741 cat >>$CONFIG_STATUS <<\_ACEOF
3742 :t
3743 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3744 s,@configure_input@,$configure_input,;t t
3745 s,@srcdir@,$ac_srcdir,;t t
3746 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3747 s,@top_srcdir@,$ac_top_srcdir,;t t
3748 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3749 s,@builddir@,$ac_builddir,;t t
3750 s,@abs_builddir@,$ac_abs_builddir,;t t
3751 s,@top_builddir@,$ac_top_builddir,;t t
3752 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3753 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3754   rm -f $tmp/stdin
3755   if test x"$ac_file" != x-; then
3756     mv $tmp/out $ac_file
3757   else
3758     cat $tmp/out
3759     rm -f $tmp/out
3760   fi
3761
3762 done
3763 _ACEOF
3764
3765 cat >>$CONFIG_STATUS <<\_ACEOF
3766
3767 { (exit 0); exit 0; }
3768 _ACEOF
3769 chmod +x $CONFIG_STATUS
3770 ac_clean_files=$ac_clean_files_save
3771
3772
3773 # configure is writing to config.log, and then calls config.status.
3774 # config.status does its own redirection, appending to config.log.
3775 # Unfortunately, on DOS this fails, as config.log is still kept open
3776 # by configure, so config.status won't be able to write to it; its
3777 # output is simply discarded.  So we exec the FD to /dev/null,
3778 # effectively closing config.log, so it can be properly (re)opened and
3779 # appended to by config.status.  When coming back to configure, we
3780 # need to make the FD available again.
3781 if test "$no_create" != yes; then
3782   ac_cs_success=:
3783   ac_config_status_args=
3784   test "$silent" = yes &&
3785     ac_config_status_args="$ac_config_status_args --quiet"
3786   exec 5>/dev/null
3787   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3788   exec 5>>config.log
3789   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3790   # would make configure fail if this is the last instruction.
3791   $ac_cs_success || { (exit 1); exit 1; }
3792 fi
3793   # keep this!  Don't change!