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