import from HEAD:
[freeradius.git] / src / modules / rlm_eap / configure
1 #! /bin/sh
2 # From configure.in Revision: 1.4 .
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"
1824                          || test ! -s conftest.err'
1825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1826   (eval $ac_try) 2>&5
1827   ac_status=$?
1828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829   (exit $ac_status); }; } &&
1830          { ac_try='test -s conftest.$ac_objext'
1831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1832   (eval $ac_try) 2>&5
1833   ac_status=$?
1834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835   (exit $ac_status); }; }; then
1836   ac_compiler_gnu=yes
1837 else
1838   echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1840
1841 ac_compiler_gnu=no
1842 fi
1843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1845
1846 fi
1847 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1848 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1849 GCC=`test $ac_compiler_gnu = yes && echo yes`
1850 ac_test_CFLAGS=${CFLAGS+set}
1851 ac_save_CFLAGS=$CFLAGS
1852 CFLAGS="-g"
1853 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1854 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1855 if test "${ac_cv_prog_cc_g+set}" = set; then
1856   echo $ECHO_N "(cached) $ECHO_C" >&6
1857 else
1858   cat >conftest.$ac_ext <<_ACEOF
1859 /* confdefs.h.  */
1860 _ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h.  */
1864
1865 int
1866 main ()
1867 {
1868
1869   ;
1870   return 0;
1871 }
1872 _ACEOF
1873 rm -f conftest.$ac_objext
1874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1875   (eval $ac_compile) 2>conftest.er1
1876   ac_status=$?
1877   grep -v '^ *+' conftest.er1 >conftest.err
1878   rm -f conftest.er1
1879   cat conftest.err >&5
1880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881   (exit $ac_status); } &&
1882          { ac_try='test -z "$ac_c_werror_flag"
1883                          || test ! -s conftest.err'
1884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1885   (eval $ac_try) 2>&5
1886   ac_status=$?
1887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888   (exit $ac_status); }; } &&
1889          { ac_try='test -s conftest.$ac_objext'
1890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1891   (eval $ac_try) 2>&5
1892   ac_status=$?
1893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894   (exit $ac_status); }; }; then
1895   ac_cv_prog_cc_g=yes
1896 else
1897   echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.$ac_ext >&5
1899
1900 ac_cv_prog_cc_g=no
1901 fi
1902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1903 fi
1904 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1905 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1906 if test "$ac_test_CFLAGS" = set; then
1907   CFLAGS=$ac_save_CFLAGS
1908 elif test $ac_cv_prog_cc_g = yes; then
1909   if test "$GCC" = yes; then
1910     CFLAGS="-g -O2"
1911   else
1912     CFLAGS="-g"
1913   fi
1914 else
1915   if test "$GCC" = yes; then
1916     CFLAGS="-O2"
1917   else
1918     CFLAGS=
1919   fi
1920 fi
1921 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1922 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1923 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1924   echo $ECHO_N "(cached) $ECHO_C" >&6
1925 else
1926   ac_cv_prog_cc_stdc=no
1927 ac_save_CC=$CC
1928 cat >conftest.$ac_ext <<_ACEOF
1929 /* confdefs.h.  */
1930 _ACEOF
1931 cat confdefs.h >>conftest.$ac_ext
1932 cat >>conftest.$ac_ext <<_ACEOF
1933 /* end confdefs.h.  */
1934 #include <stdarg.h>
1935 #include <stdio.h>
1936 #include <sys/types.h>
1937 #include <sys/stat.h>
1938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1939 struct buf { int x; };
1940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1941 static char *e (p, i)
1942      char **p;
1943      int i;
1944 {
1945   return p[i];
1946 }
1947 static char *f (char * (*g) (char **, int), char **p, ...)
1948 {
1949   char *s;
1950   va_list v;
1951   va_start (v,p);
1952   s = g (p, va_arg (v,int));
1953   va_end (v);
1954   return s;
1955 }
1956
1957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1958    function prototypes and stuff, but not '\xHH' hex character constants.
1959    These don't provoke an error unfortunately, instead are silently treated
1960    as 'x'.  The following induces an error, until -std1 is added to get
1961    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1962    array size at least.  It's necessary to write '\x00'==0 to get something
1963    that's true only with -std1.  */
1964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1965
1966 int test (int i, double x);
1967 struct s1 {int (*f) (int a);};
1968 struct s2 {int (*f) (double a);};
1969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1970 int argc;
1971 char **argv;
1972 int
1973 main ()
1974 {
1975 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1976   ;
1977   return 0;
1978 }
1979 _ACEOF
1980 # Don't try gcc -ansi; that turns off useful extensions and
1981 # breaks some systems' header files.
1982 # AIX                   -qlanglvl=ansi
1983 # Ultrix and OSF/1      -std1
1984 # HP-UX 10.20 and later -Ae
1985 # HP-UX older versions  -Aa -D_HPUX_SOURCE
1986 # SVR4                  -Xc -D__EXTENSIONS__
1987 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1988 do
1989   CC="$ac_save_CC $ac_arg"
1990   rm -f conftest.$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992   (eval $ac_compile) 2>conftest.er1
1993   ac_status=$?
1994   grep -v '^ *+' conftest.er1 >conftest.err
1995   rm -f conftest.er1
1996   cat conftest.err >&5
1997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998   (exit $ac_status); } &&
1999          { ac_try='test -z "$ac_c_werror_flag"
2000                          || test ! -s conftest.err'
2001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002   (eval $ac_try) 2>&5
2003   ac_status=$?
2004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005   (exit $ac_status); }; } &&
2006          { ac_try='test -s conftest.$ac_objext'
2007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008   (eval $ac_try) 2>&5
2009   ac_status=$?
2010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011   (exit $ac_status); }; }; then
2012   ac_cv_prog_cc_stdc=$ac_arg
2013 break
2014 else
2015   echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2017
2018 fi
2019 rm -f conftest.err conftest.$ac_objext
2020 done
2021 rm -f conftest.$ac_ext conftest.$ac_objext
2022 CC=$ac_save_CC
2023
2024 fi
2025
2026 case "x$ac_cv_prog_cc_stdc" in
2027   x|xno)
2028     echo "$as_me:$LINENO: result: none needed" >&5
2029 echo "${ECHO_T}none needed" >&6 ;;
2030   *)
2031     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2032 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2033     CC="$CC $ac_cv_prog_cc_stdc" ;;
2034 esac
2035
2036 # Some people use a C++ compiler to compile C.  Since we use `exit',
2037 # in C++ we need to declare it.  In case someone uses the same compiler
2038 # for both compiling C and C++ we need to have the C++ compiler decide
2039 # the declaration of exit, since it's the most demanding environment.
2040 cat >conftest.$ac_ext <<_ACEOF
2041 #ifndef __cplusplus
2042   choke me
2043 #endif
2044 _ACEOF
2045 rm -f conftest.$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047   (eval $ac_compile) 2>conftest.er1
2048   ac_status=$?
2049   grep -v '^ *+' conftest.er1 >conftest.err
2050   rm -f conftest.er1
2051   cat conftest.err >&5
2052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053   (exit $ac_status); } &&
2054          { ac_try='test -z "$ac_c_werror_flag"
2055                          || test ! -s conftest.err'
2056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057   (eval $ac_try) 2>&5
2058   ac_status=$?
2059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060   (exit $ac_status); }; } &&
2061          { ac_try='test -s conftest.$ac_objext'
2062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063   (eval $ac_try) 2>&5
2064   ac_status=$?
2065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066   (exit $ac_status); }; }; then
2067   for ac_declaration in \
2068    '' \
2069    'extern "C" void std::exit (int) throw (); using std::exit;' \
2070    'extern "C" void std::exit (int); using std::exit;' \
2071    'extern "C" void exit (int) throw ();' \
2072    'extern "C" void exit (int);' \
2073    'void exit (int);'
2074 do
2075   cat >conftest.$ac_ext <<_ACEOF
2076 /* confdefs.h.  */
2077 _ACEOF
2078 cat confdefs.h >>conftest.$ac_ext
2079 cat >>conftest.$ac_ext <<_ACEOF
2080 /* end confdefs.h.  */
2081 $ac_declaration
2082 #include <stdlib.h>
2083 int
2084 main ()
2085 {
2086 exit (42);
2087   ;
2088   return 0;
2089 }
2090 _ACEOF
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093   (eval $ac_compile) 2>conftest.er1
2094   ac_status=$?
2095   grep -v '^ *+' conftest.er1 >conftest.err
2096   rm -f conftest.er1
2097   cat conftest.err >&5
2098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099   (exit $ac_status); } &&
2100          { ac_try='test -z "$ac_c_werror_flag"
2101                          || test ! -s conftest.err'
2102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103   (eval $ac_try) 2>&5
2104   ac_status=$?
2105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106   (exit $ac_status); }; } &&
2107          { ac_try='test -s conftest.$ac_objext'
2108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109   (eval $ac_try) 2>&5
2110   ac_status=$?
2111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112   (exit $ac_status); }; }; then
2113   :
2114 else
2115   echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.$ac_ext >&5
2117
2118 continue
2119 fi
2120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2121   cat >conftest.$ac_ext <<_ACEOF
2122 /* confdefs.h.  */
2123 _ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h.  */
2127 $ac_declaration
2128 int
2129 main ()
2130 {
2131 exit (42);
2132   ;
2133   return 0;
2134 }
2135 _ACEOF
2136 rm -f conftest.$ac_objext
2137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2138   (eval $ac_compile) 2>conftest.er1
2139   ac_status=$?
2140   grep -v '^ *+' conftest.er1 >conftest.err
2141   rm -f conftest.er1
2142   cat conftest.err >&5
2143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144   (exit $ac_status); } &&
2145          { ac_try='test -z "$ac_c_werror_flag"
2146                          || test ! -s conftest.err'
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); }; } &&
2152          { ac_try='test -s conftest.$ac_objext'
2153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154   (eval $ac_try) 2>&5
2155   ac_status=$?
2156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157   (exit $ac_status); }; }; then
2158   break
2159 else
2160   echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2162
2163 fi
2164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2165 done
2166 rm -f conftest*
2167 if test -n "$ac_declaration"; then
2168   echo '#ifdef __cplusplus' >>confdefs.h
2169   echo $ac_declaration      >>confdefs.h
2170   echo '#endif'             >>confdefs.h
2171 fi
2172
2173 else
2174   echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.$ac_ext >&5
2176
2177 fi
2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2179 ac_ext=c
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184
2185
2186         eapsubdirs=
2187         for foo in `find ./types -name configure -print`; do
2188           bar=`echo $foo | sed 's%/configure$%%g'`
2189           eapsubdirs="$eapsubdirs $bar"
2190         done
2191
2192                 ln -s ../../../install-sh install-sh
2193
2194                                         ac_aux_dir=
2195 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2196   if test -f $ac_dir/install-sh; then
2197     ac_aux_dir=$ac_dir
2198     ac_install_sh="$ac_aux_dir/install-sh -c"
2199     break
2200   elif test -f $ac_dir/install.sh; then
2201     ac_aux_dir=$ac_dir
2202     ac_install_sh="$ac_aux_dir/install.sh -c"
2203     break
2204   elif test -f $ac_dir/shtool; then
2205     ac_aux_dir=$ac_dir
2206     ac_install_sh="$ac_aux_dir/shtool install -c"
2207     break
2208   fi
2209 done
2210 if test -z "$ac_aux_dir"; then
2211   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2212 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2213    { (exit 1); exit 1; }; }
2214 fi
2215 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2216 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2217 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2218
2219
2220
2221 subdirs="$subdirs $eapsubdirs"
2222
2223         rm install-sh
2224
2225
2226         targetname=rlm_eap
2227 else
2228         targetname=
2229         echo \*\*\* module rlm_eap is disabled.
2230 fi
2231
2232 if test x"$fail" != x""; then
2233         if test x"${enable_strict_dependencies}" = x"yes"; then
2234                 { { echo "$as_me:$LINENO: error: set --without-rlm_eap to disable it explicitly." >&5
2235 echo "$as_me: error: set --without-rlm_eap to disable it explicitly." >&2;}
2236    { (exit 1); exit 1; }; }
2237         else
2238                 { echo "$as_me:$LINENO: WARNING: silently not building rlm_eap." >&5
2239 echo "$as_me: WARNING: silently not building rlm_eap." >&2;}
2240                 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_eap requires: $fail." >&5
2241 echo "$as_me: WARNING: FAILURE: rlm_eap requires: $fail." >&2;}
2242                 if test x"$headersuggestion" != x; then
2243                         { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2244 echo "$as_me: WARNING: $headersuggestion" >&2;}
2245                 fi
2246                 if test x"$libsuggestion" != x; then
2247                         { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2248 echo "$as_me: WARNING: $libsuggestion" >&2;}
2249                 fi
2250                 targetname=""
2251             eapsubdirs=""
2252         fi
2253 fi
2254
2255 eaptypes=types
2256 if test x"$eapsubdirs" = x""; then
2257         eaptypes=""
2258 fi
2259
2260 eap_ldflags=$SMART_LIBS
2261 eap_cflags=$SMART_CFLAGS
2262
2263
2264
2265
2266           ac_config_files="$ac_config_files Makefile"
2267 cat >confcache <<\_ACEOF
2268 # This file is a shell script that caches the results of configure
2269 # tests run on this system so they can be shared between configure
2270 # scripts and configure runs, see configure's option --config-cache.
2271 # It is not useful on other systems.  If it contains results you don't
2272 # want to keep, you may remove or edit it.
2273 #
2274 # config.status only pays attention to the cache file if you give it
2275 # the --recheck option to rerun configure.
2276 #
2277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2279 # following values.
2280
2281 _ACEOF
2282
2283 # The following way of writing the cache mishandles newlines in values,
2284 # but we know of no workaround that is simple, portable, and efficient.
2285 # So, don't put newlines in cache variables' values.
2286 # Ultrix sh set writes to stderr and can't be redirected directly,
2287 # and sets the high bit in the cache file unless we assign to the vars.
2288 {
2289   (set) 2>&1 |
2290     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2291     *ac_space=\ *)
2292       # `set' does not quote correctly, so add quotes (double-quote
2293       # substitution turns \\\\ into \\, and sed turns \\ into \).
2294       sed -n \
2295         "s/'/'\\\\''/g;
2296           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2297       ;;
2298     *)
2299       # `set' quotes correctly as required by POSIX, so do not add quotes.
2300       sed -n \
2301         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2302       ;;
2303     esac;
2304 } |
2305   sed '
2306      t clear
2307      : clear
2308      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2309      t end
2310      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2311      : end' >>confcache
2312 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2313   if test -w $cache_file; then
2314     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2315     cat confcache >$cache_file
2316   else
2317     echo "not updating unwritable cache $cache_file"
2318   fi
2319 fi
2320 rm -f confcache
2321
2322 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2323 # Let make expand exec_prefix.
2324 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2325
2326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2328 # trailing colons and then remove the whole line if VPATH becomes empty
2329 # (actually we leave an empty line to preserve line numbers).
2330 if test "x$srcdir" = x.; then
2331   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2332 s/:*\$(srcdir):*/:/;
2333 s/:*\${srcdir}:*/:/;
2334 s/:*@srcdir@:*/:/;
2335 s/^\([^=]*=[     ]*\):*/\1/;
2336 s/:*$//;
2337 s/^[^=]*=[       ]*$//;
2338 }'
2339 fi
2340
2341 # Transform confdefs.h into DEFS.
2342 # Protect against shell expansion while executing Makefile rules.
2343 # Protect against Makefile macro expansion.
2344 #
2345 # If the first sed substitution is executed (which looks for macros that
2346 # take arguments), then we branch to the quote section.  Otherwise,
2347 # look for a macro that doesn't take arguments.
2348 cat >confdef2opt.sed <<\_ACEOF
2349 t clear
2350 : clear
2351 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2352 t quote
2353 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2354 t quote
2355 d
2356 : quote
2357 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2358 s,\[,\\&,g
2359 s,\],\\&,g
2360 s,\$,$$,g
2361 p
2362 _ACEOF
2363 # We use echo to avoid assuming a particular line-breaking character.
2364 # The extra dot is to prevent the shell from consuming trailing
2365 # line-breaks from the sub-command output.  A line-break within
2366 # single-quotes doesn't work because, if this script is created in a
2367 # platform that uses two characters for line-breaks (e.g., DOS), tr
2368 # would break.
2369 ac_LF_and_DOT=`echo; echo .`
2370 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2371 rm -f confdef2opt.sed
2372
2373
2374 ac_libobjs=
2375 ac_ltlibobjs=
2376 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2377   # 1. Remove the extension, and $U if already installed.
2378   ac_i=`echo "$ac_i" |
2379          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2380   # 2. Add them.
2381   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2382   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2383 done
2384 LIBOBJS=$ac_libobjs
2385
2386 LTLIBOBJS=$ac_ltlibobjs
2387
2388
2389
2390 : ${CONFIG_STATUS=./config.status}
2391 ac_clean_files_save=$ac_clean_files
2392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2393 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2394 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2395 cat >$CONFIG_STATUS <<_ACEOF
2396 #! $SHELL
2397 # Generated by $as_me.
2398 # Run this file to recreate the current configuration.
2399 # Compiler output produced by configure, useful for debugging
2400 # configure, is in config.log if it exists.
2401
2402 debug=false
2403 ac_cs_recheck=false
2404 ac_cs_silent=false
2405 SHELL=\${CONFIG_SHELL-$SHELL}
2406 _ACEOF
2407
2408 cat >>$CONFIG_STATUS <<\_ACEOF
2409 ## --------------------- ##
2410 ## M4sh Initialization.  ##
2411 ## --------------------- ##
2412
2413 # Be Bourne compatible
2414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2415   emulate sh
2416   NULLCMD=:
2417   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2418   # is contrary to our usage.  Disable this feature.
2419   alias -g '${1+"$@"}'='"$@"'
2420 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2421   set -o posix
2422 fi
2423 DUALCASE=1; export DUALCASE # for MKS sh
2424
2425 # Support unset when possible.
2426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2427   as_unset=unset
2428 else
2429   as_unset=false
2430 fi
2431
2432
2433 # Work around bugs in pre-3.0 UWIN ksh.
2434 $as_unset ENV MAIL MAILPATH
2435 PS1='$ '
2436 PS2='> '
2437 PS4='+ '
2438
2439 # NLS nuisances.
2440 for as_var in \
2441   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2442   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2443   LC_TELEPHONE LC_TIME
2444 do
2445   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2446     eval $as_var=C; export $as_var
2447   else
2448     $as_unset $as_var
2449   fi
2450 done
2451
2452 # Required to use basename.
2453 if expr a : '\(a\)' >/dev/null 2>&1; then
2454   as_expr=expr
2455 else
2456   as_expr=false
2457 fi
2458
2459 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2460   as_basename=basename
2461 else
2462   as_basename=false
2463 fi
2464
2465
2466 # Name of the executable.
2467 as_me=`$as_basename "$0" ||
2468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2469          X"$0" : 'X\(//\)$' \| \
2470          X"$0" : 'X\(/\)$' \| \
2471          .     : '\(.\)' 2>/dev/null ||
2472 echo X/"$0" |
2473     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2474           /^X\/\(\/\/\)$/{ s//\1/; q; }
2475           /^X\/\(\/\).*/{ s//\1/; q; }
2476           s/.*/./; q'`
2477
2478
2479 # PATH needs CR, and LINENO needs CR and PATH.
2480 # Avoid depending upon Character Ranges.
2481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2484 as_cr_digits='0123456789'
2485 as_cr_alnum=$as_cr_Letters$as_cr_digits
2486
2487 # The user is always right.
2488 if test "${PATH_SEPARATOR+set}" != set; then
2489   echo "#! /bin/sh" >conf$$.sh
2490   echo  "exit 0"   >>conf$$.sh
2491   chmod +x conf$$.sh
2492   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2493     PATH_SEPARATOR=';'
2494   else
2495     PATH_SEPARATOR=:
2496   fi
2497   rm -f conf$$.sh
2498 fi
2499
2500
2501   as_lineno_1=$LINENO
2502   as_lineno_2=$LINENO
2503   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2504   test "x$as_lineno_1" != "x$as_lineno_2" &&
2505   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2506   # Find who we are.  Look in the path if we contain no path at all
2507   # relative or not.
2508   case $0 in
2509     *[\\/]* ) as_myself=$0 ;;
2510     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513   IFS=$as_save_IFS
2514   test -z "$as_dir" && as_dir=.
2515   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2516 done
2517
2518        ;;
2519   esac
2520   # We did not find ourselves, most probably we were run as `sh COMMAND'
2521   # in which case we are not to be found in the path.
2522   if test "x$as_myself" = x; then
2523     as_myself=$0
2524   fi
2525   if test ! -f "$as_myself"; then
2526     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2527 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2528    { (exit 1); exit 1; }; }
2529   fi
2530   case $CONFIG_SHELL in
2531   '')
2532     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2534 do
2535   IFS=$as_save_IFS
2536   test -z "$as_dir" && as_dir=.
2537   for as_base in sh bash ksh sh5; do
2538          case $as_dir in
2539          /*)
2540            if ("$as_dir/$as_base" -c '
2541   as_lineno_1=$LINENO
2542   as_lineno_2=$LINENO
2543   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2544   test "x$as_lineno_1" != "x$as_lineno_2" &&
2545   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2546              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2547              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2548              CONFIG_SHELL=$as_dir/$as_base
2549              export CONFIG_SHELL
2550              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2551            fi;;
2552          esac
2553        done
2554 done
2555 ;;
2556   esac
2557
2558   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2559   # uniformly replaced by the line number.  The first 'sed' inserts a
2560   # line-number line before each line; the second 'sed' does the real
2561   # work.  The second script uses 'N' to pair each line-number line
2562   # with the numbered line, and appends trailing '-' during
2563   # substitution so that $LINENO is not a special case at line end.
2564   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2565   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2566   sed '=' <$as_myself |
2567     sed '
2568       N
2569       s,$,-,
2570       : loop
2571       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2572       t loop
2573       s,-$,,
2574       s,^['$as_cr_digits']*\n,,
2575     ' >$as_me.lineno &&
2576   chmod +x $as_me.lineno ||
2577     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2578 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2579    { (exit 1); exit 1; }; }
2580
2581   # Don't try to exec as it changes $[0], causing all sort of problems
2582   # (the dirname of $[0] is not the place where we might find the
2583   # original and so on.  Autoconf is especially sensible to this).
2584   . ./$as_me.lineno
2585   # Exit status is that of the last command.
2586   exit
2587 }
2588
2589
2590 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2591   *c*,-n*) ECHO_N= ECHO_C='
2592 ' ECHO_T='      ' ;;
2593   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2594   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2595 esac
2596
2597 if expr a : '\(a\)' >/dev/null 2>&1; then
2598   as_expr=expr
2599 else
2600   as_expr=false
2601 fi
2602
2603 rm -f conf$$ conf$$.exe conf$$.file
2604 echo >conf$$.file
2605 if ln -s conf$$.file conf$$ 2>/dev/null; then
2606   # We could just check for DJGPP; but this test a) works b) is more generic
2607   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2608   if test -f conf$$.exe; then
2609     # Don't use ln at all; we don't have any links
2610     as_ln_s='cp -p'
2611   else
2612     as_ln_s='ln -s'
2613   fi
2614 elif ln conf$$.file conf$$ 2>/dev/null; then
2615   as_ln_s=ln
2616 else
2617   as_ln_s='cp -p'
2618 fi
2619 rm -f conf$$ conf$$.exe conf$$.file
2620
2621 if mkdir -p . 2>/dev/null; then
2622   as_mkdir_p=:
2623 else
2624   test -d ./-p && rmdir ./-p
2625   as_mkdir_p=false
2626 fi
2627
2628 as_executable_p="test -f"
2629
2630 # Sed expression to map a string onto a valid CPP name.
2631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2632
2633 # Sed expression to map a string onto a valid variable name.
2634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2635
2636
2637 # IFS
2638 # We need space, tab and new line, in precisely that order.
2639 as_nl='
2640 '
2641 IFS="   $as_nl"
2642
2643 # CDPATH.
2644 $as_unset CDPATH
2645
2646 exec 6>&1
2647
2648 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2649 # report actual input values of CONFIG_FILES etc. instead of their
2650 # values after options handling.  Logging --version etc. is OK.
2651 exec 5>>config.log
2652 {
2653   echo
2654   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2655 ## Running $as_me. ##
2656 _ASBOX
2657 } >&5
2658 cat >&5 <<_CSEOF
2659
2660 This file was extended by $as_me, which was
2661 generated by GNU Autoconf 2.59.  Invocation command line was
2662
2663   CONFIG_FILES    = $CONFIG_FILES
2664   CONFIG_HEADERS  = $CONFIG_HEADERS
2665   CONFIG_LINKS    = $CONFIG_LINKS
2666   CONFIG_COMMANDS = $CONFIG_COMMANDS
2667   $ $0 $@
2668
2669 _CSEOF
2670 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2671 echo >&5
2672 _ACEOF
2673
2674 # Files that config.status was made for.
2675 if test -n "$ac_config_files"; then
2676   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2677 fi
2678
2679 if test -n "$ac_config_headers"; then
2680   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2681 fi
2682
2683 if test -n "$ac_config_links"; then
2684   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2685 fi
2686
2687 if test -n "$ac_config_commands"; then
2688   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2689 fi
2690
2691 cat >>$CONFIG_STATUS <<\_ACEOF
2692
2693 ac_cs_usage="\
2694 \`$as_me' instantiates files from templates according to the
2695 current configuration.
2696
2697 Usage: $0 [OPTIONS] [FILE]...
2698
2699   -h, --help       print this help, then exit
2700   -V, --version    print version number, then exit
2701   -q, --quiet      do not print progress messages
2702   -d, --debug      don't remove temporary files
2703       --recheck    update $as_me by reconfiguring in the same conditions
2704   --file=FILE[:TEMPLATE]
2705                    instantiate the configuration file FILE
2706
2707 Configuration files:
2708 $config_files
2709
2710 Report bugs to <bug-autoconf@gnu.org>."
2711 _ACEOF
2712
2713 cat >>$CONFIG_STATUS <<_ACEOF
2714 ac_cs_version="\\
2715 config.status
2716 configured by $0, generated by GNU Autoconf 2.59,
2717   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2718
2719 Copyright (C) 2003 Free Software Foundation, Inc.
2720 This config.status script is free software; the Free Software Foundation
2721 gives unlimited permission to copy, distribute and modify it."
2722 srcdir=$srcdir
2723 _ACEOF
2724
2725 cat >>$CONFIG_STATUS <<\_ACEOF
2726 # If no file are specified by the user, then we need to provide default
2727 # value.  By we need to know if files were specified by the user.
2728 ac_need_defaults=:
2729 while test $# != 0
2730 do
2731   case $1 in
2732   --*=*)
2733     ac_option=`expr "x$1" : 'x\([^=]*\)='`
2734     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2735     ac_shift=:
2736     ;;
2737   -*)
2738     ac_option=$1
2739     ac_optarg=$2
2740     ac_shift=shift
2741     ;;
2742   *) # This is not an option, so the user has probably given explicit
2743      # arguments.
2744      ac_option=$1
2745      ac_need_defaults=false;;
2746   esac
2747
2748   case $ac_option in
2749   # Handling of the options.
2750 _ACEOF
2751 cat >>$CONFIG_STATUS <<\_ACEOF
2752   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2753     ac_cs_recheck=: ;;
2754   --version | --vers* | -V )
2755     echo "$ac_cs_version"; exit 0 ;;
2756   --he | --h)
2757     # Conflict between --help and --header
2758     { { echo "$as_me:$LINENO: error: ambiguous option: $1
2759 Try \`$0 --help' for more information." >&5
2760 echo "$as_me: error: ambiguous option: $1
2761 Try \`$0 --help' for more information." >&2;}
2762    { (exit 1); exit 1; }; };;
2763   --help | --hel | -h )
2764     echo "$ac_cs_usage"; exit 0 ;;
2765   --debug | --d* | -d )
2766     debug=: ;;
2767   --file | --fil | --fi | --f )
2768     $ac_shift
2769     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2770     ac_need_defaults=false;;
2771   --header | --heade | --head | --hea )
2772     $ac_shift
2773     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2774     ac_need_defaults=false;;
2775   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2776   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2777     ac_cs_silent=: ;;
2778
2779   # This is an error.
2780   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2781 Try \`$0 --help' for more information." >&5
2782 echo "$as_me: error: unrecognized option: $1
2783 Try \`$0 --help' for more information." >&2;}
2784    { (exit 1); exit 1; }; } ;;
2785
2786   *) ac_config_targets="$ac_config_targets $1" ;;
2787
2788   esac
2789   shift
2790 done
2791
2792 ac_configure_extra_args=
2793
2794 if $ac_cs_silent; then
2795   exec 6>/dev/null
2796   ac_configure_extra_args="$ac_configure_extra_args --silent"
2797 fi
2798
2799 _ACEOF
2800 cat >>$CONFIG_STATUS <<_ACEOF
2801 if \$ac_cs_recheck; then
2802   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2803   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2804 fi
2805
2806 _ACEOF
2807
2808
2809
2810
2811
2812 cat >>$CONFIG_STATUS <<\_ACEOF
2813 for ac_config_target in $ac_config_targets
2814 do
2815   case "$ac_config_target" in
2816   # Handling of arguments.
2817   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2818   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2819 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2820    { (exit 1); exit 1; }; };;
2821   esac
2822 done
2823
2824 # If the user did not use the arguments to specify the items to instantiate,
2825 # then the envvar interface is used.  Set only those that are not.
2826 # We use the long form for the default assignment because of an extremely
2827 # bizarre bug on SunOS 4.1.3.
2828 if $ac_need_defaults; then
2829   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2830 fi
2831
2832 # Have a temporary directory for convenience.  Make it in the build tree
2833 # simply because there is no reason to put it here, and in addition,
2834 # creating and moving files from /tmp can sometimes cause problems.
2835 # Create a temporary directory, and hook for its removal unless debugging.
2836 $debug ||
2837 {
2838   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2839   trap '{ (exit 1); exit 1; }' 1 2 13 15
2840 }
2841
2842 # Create a (secure) tmp directory for tmp files.
2843
2844 {
2845   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2846   test -n "$tmp" && test -d "$tmp"
2847 }  ||
2848 {
2849   tmp=./confstat$$-$RANDOM
2850   (umask 077 && mkdir $tmp)
2851 } ||
2852 {
2853    echo "$me: cannot create a temporary directory in ." >&2
2854    { (exit 1); exit 1; }
2855 }
2856
2857 _ACEOF
2858
2859 cat >>$CONFIG_STATUS <<_ACEOF
2860
2861 #
2862 # CONFIG_FILES section.
2863 #
2864
2865 # No need to generate the scripts if there are no CONFIG_FILES.
2866 # This happens for instance when ./config.status config.h
2867 if test -n "\$CONFIG_FILES"; then
2868   # Protect against being on the right side of a sed subst in config.status.
2869   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2870    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2871 s,@SHELL@,$SHELL,;t t
2872 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2873 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2874 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2875 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2876 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2877 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2878 s,@exec_prefix@,$exec_prefix,;t t
2879 s,@prefix@,$prefix,;t t
2880 s,@program_transform_name@,$program_transform_name,;t t
2881 s,@bindir@,$bindir,;t t
2882 s,@sbindir@,$sbindir,;t t
2883 s,@libexecdir@,$libexecdir,;t t
2884 s,@datadir@,$datadir,;t t
2885 s,@sysconfdir@,$sysconfdir,;t t
2886 s,@sharedstatedir@,$sharedstatedir,;t t
2887 s,@localstatedir@,$localstatedir,;t t
2888 s,@libdir@,$libdir,;t t
2889 s,@includedir@,$includedir,;t t
2890 s,@oldincludedir@,$oldincludedir,;t t
2891 s,@infodir@,$infodir,;t t
2892 s,@mandir@,$mandir,;t t
2893 s,@build_alias@,$build_alias,;t t
2894 s,@host_alias@,$host_alias,;t t
2895 s,@target_alias@,$target_alias,;t t
2896 s,@DEFS@,$DEFS,;t t
2897 s,@ECHO_C@,$ECHO_C,;t t
2898 s,@ECHO_N@,$ECHO_N,;t t
2899 s,@ECHO_T@,$ECHO_T,;t t
2900 s,@LIBS@,$LIBS,;t t
2901 s,@CC@,$CC,;t t
2902 s,@CFLAGS@,$CFLAGS,;t t
2903 s,@LDFLAGS@,$LDFLAGS,;t t
2904 s,@CPPFLAGS@,$CPPFLAGS,;t t
2905 s,@ac_ct_CC@,$ac_ct_CC,;t t
2906 s,@EXEEXT@,$EXEEXT,;t t
2907 s,@OBJEXT@,$OBJEXT,;t t
2908 s,@subdirs@,$subdirs,;t t
2909 s,@eaptypes@,$eaptypes,;t t
2910 s,@eap_ldflags@,$eap_ldflags,;t t
2911 s,@eap_cflags@,$eap_cflags,;t t
2912 s,@targetname@,$targetname,;t t
2913 s,@LIBOBJS@,$LIBOBJS,;t t
2914 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2915 CEOF
2916
2917 _ACEOF
2918
2919   cat >>$CONFIG_STATUS <<\_ACEOF
2920   # Split the substitutions into bite-sized pieces for seds with
2921   # small command number limits, like on Digital OSF/1 and HP-UX.
2922   ac_max_sed_lines=48
2923   ac_sed_frag=1 # Number of current file.
2924   ac_beg=1 # First line for current file.
2925   ac_end=$ac_max_sed_lines # Line after last line for current file.
2926   ac_more_lines=:
2927   ac_sed_cmds=
2928   while $ac_more_lines; do
2929     if test $ac_beg -gt 1; then
2930       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2931     else
2932       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2933     fi
2934     if test ! -s $tmp/subs.frag; then
2935       ac_more_lines=false
2936     else
2937       # The purpose of the label and of the branching condition is to
2938       # speed up the sed processing (if there are no `@' at all, there
2939       # is no need to browse any of the substitutions).
2940       # These are the two extra sed commands mentioned above.
2941       (echo ':t
2942   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2943       if test -z "$ac_sed_cmds"; then
2944         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2945       else
2946         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2947       fi
2948       ac_sed_frag=`expr $ac_sed_frag + 1`
2949       ac_beg=$ac_end
2950       ac_end=`expr $ac_end + $ac_max_sed_lines`
2951     fi
2952   done
2953   if test -z "$ac_sed_cmds"; then
2954     ac_sed_cmds=cat
2955   fi
2956 fi # test -n "$CONFIG_FILES"
2957
2958 _ACEOF
2959 cat >>$CONFIG_STATUS <<\_ACEOF
2960 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2961   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2962   case $ac_file in
2963   - | *:- | *:-:* ) # input from stdin
2964         cat >$tmp/stdin
2965         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2966         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2967   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2968         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2969   * )   ac_file_in=$ac_file.in ;;
2970   esac
2971
2972   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2973   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2975          X"$ac_file" : 'X\(//\)[^/]' \| \
2976          X"$ac_file" : 'X\(//\)$' \| \
2977          X"$ac_file" : 'X\(/\)' \| \
2978          .     : '\(.\)' 2>/dev/null ||
2979 echo X"$ac_file" |
2980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2981           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2982           /^X\(\/\/\)$/{ s//\1/; q; }
2983           /^X\(\/\).*/{ s//\1/; q; }
2984           s/.*/./; q'`
2985   { if $as_mkdir_p; then
2986     mkdir -p "$ac_dir"
2987   else
2988     as_dir="$ac_dir"
2989     as_dirs=
2990     while test ! -d "$as_dir"; do
2991       as_dirs="$as_dir $as_dirs"
2992       as_dir=`(dirname "$as_dir") 2>/dev/null ||
2993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2994          X"$as_dir" : 'X\(//\)[^/]' \| \
2995          X"$as_dir" : 'X\(//\)$' \| \
2996          X"$as_dir" : 'X\(/\)' \| \
2997          .     : '\(.\)' 2>/dev/null ||
2998 echo X"$as_dir" |
2999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3000           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3001           /^X\(\/\/\)$/{ s//\1/; q; }
3002           /^X\(\/\).*/{ s//\1/; q; }
3003           s/.*/./; q'`
3004     done
3005     test ! -n "$as_dirs" || mkdir $as_dirs
3006   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3008    { (exit 1); exit 1; }; }; }
3009
3010   ac_builddir=.
3011
3012 if test "$ac_dir" != .; then
3013   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3014   # A "../" for each directory in $ac_dir_suffix.
3015   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3016 else
3017   ac_dir_suffix= ac_top_builddir=
3018 fi
3019
3020 case $srcdir in
3021   .)  # No --srcdir option.  We are building in place.
3022     ac_srcdir=.
3023     if test -z "$ac_top_builddir"; then
3024        ac_top_srcdir=.
3025     else
3026        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3027     fi ;;
3028   [\\/]* | ?:[\\/]* )  # Absolute path.
3029     ac_srcdir=$srcdir$ac_dir_suffix;
3030     ac_top_srcdir=$srcdir ;;
3031   *) # Relative path.
3032     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3033     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3034 esac
3035
3036 # Do not use `cd foo && pwd` to compute absolute paths, because
3037 # the directories may not exist.
3038 case `pwd` in
3039 .) ac_abs_builddir="$ac_dir";;
3040 *)
3041   case "$ac_dir" in
3042   .) ac_abs_builddir=`pwd`;;
3043   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3044   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3045   esac;;
3046 esac
3047 case $ac_abs_builddir in
3048 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3049 *)
3050   case ${ac_top_builddir}. in
3051   .) ac_abs_top_builddir=$ac_abs_builddir;;
3052   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3053   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3054   esac;;
3055 esac
3056 case $ac_abs_builddir in
3057 .) ac_abs_srcdir=$ac_srcdir;;
3058 *)
3059   case $ac_srcdir in
3060   .) ac_abs_srcdir=$ac_abs_builddir;;
3061   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3062   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3063   esac;;
3064 esac
3065 case $ac_abs_builddir in
3066 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3067 *)
3068   case $ac_top_srcdir in
3069   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3070   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3071   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3072   esac;;
3073 esac
3074
3075
3076
3077   if test x"$ac_file" != x-; then
3078     { echo "$as_me:$LINENO: creating $ac_file" >&5
3079 echo "$as_me: creating $ac_file" >&6;}
3080     rm -f "$ac_file"
3081   fi
3082   # Let's still pretend it is `configure' which instantiates (i.e., don't
3083   # use $as_me), people would be surprised to read:
3084   #    /* config.h.  Generated by config.status.  */
3085   if test x"$ac_file" = x-; then
3086     configure_input=
3087   else
3088     configure_input="$ac_file.  "
3089   fi
3090   configure_input=$configure_input"Generated from `echo $ac_file_in |
3091                                      sed 's,.*/,,'` by configure."
3092
3093   # First look for the input files in the build tree, otherwise in the
3094   # src tree.
3095   ac_file_inputs=`IFS=:
3096     for f in $ac_file_in; do
3097       case $f in
3098       -) echo $tmp/stdin ;;
3099       [\\/$]*)
3100          # Absolute (can't be DOS-style, as IFS=:)
3101          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3102 echo "$as_me: error: cannot find input file: $f" >&2;}
3103    { (exit 1); exit 1; }; }
3104          echo "$f";;
3105       *) # Relative
3106          if test -f "$f"; then
3107            # Build tree
3108            echo "$f"
3109          elif test -f "$srcdir/$f"; then
3110            # Source tree
3111            echo "$srcdir/$f"
3112          else
3113            # /dev/null tree
3114            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3115 echo "$as_me: error: cannot find input file: $f" >&2;}
3116    { (exit 1); exit 1; }; }
3117          fi;;
3118       esac
3119     done` || { (exit 1); exit 1; }
3120 _ACEOF
3121 cat >>$CONFIG_STATUS <<_ACEOF
3122   sed "$ac_vpsub
3123 $extrasub
3124 _ACEOF
3125 cat >>$CONFIG_STATUS <<\_ACEOF
3126 :t
3127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3128 s,@configure_input@,$configure_input,;t t
3129 s,@srcdir@,$ac_srcdir,;t t
3130 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3131 s,@top_srcdir@,$ac_top_srcdir,;t t
3132 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3133 s,@builddir@,$ac_builddir,;t t
3134 s,@abs_builddir@,$ac_abs_builddir,;t t
3135 s,@top_builddir@,$ac_top_builddir,;t t
3136 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3137 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3138   rm -f $tmp/stdin
3139   if test x"$ac_file" != x-; then
3140     mv $tmp/out $ac_file
3141   else
3142     cat $tmp/out
3143     rm -f $tmp/out
3144   fi
3145
3146 done
3147 _ACEOF
3148
3149 cat >>$CONFIG_STATUS <<\_ACEOF
3150
3151 { (exit 0); exit 0; }
3152 _ACEOF
3153 chmod +x $CONFIG_STATUS
3154 ac_clean_files=$ac_clean_files_save
3155
3156
3157 # configure is writing to config.log, and then calls config.status.
3158 # config.status does its own redirection, appending to config.log.
3159 # Unfortunately, on DOS this fails, as config.log is still kept open
3160 # by configure, so config.status won't be able to write to it; its
3161 # output is simply discarded.  So we exec the FD to /dev/null,
3162 # effectively closing config.log, so it can be properly (re)opened and
3163 # appended to by config.status.  When coming back to configure, we
3164 # need to make the FD available again.
3165 if test "$no_create" != yes; then
3166   ac_cs_success=:
3167   ac_config_status_args=
3168   test "$silent" = yes &&
3169     ac_config_status_args="$ac_config_status_args --quiet"
3170   exec 5>/dev/null
3171   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3172   exec 5>>config.log
3173   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3174   # would make configure fail if this is the last instruction.
3175   $ac_cs_success || { (exit 1); exit 1; }
3176 fi
3177
3178 #
3179 # CONFIG_SUBDIRS section.
3180 #
3181 if test "$no_recursion" != yes; then
3182
3183   # Remove --cache-file and --srcdir arguments so they do not pile up.
3184   ac_sub_configure_args=
3185   ac_prev=
3186   for ac_arg in $ac_configure_args; do
3187     if test -n "$ac_prev"; then
3188       ac_prev=
3189       continue
3190     fi
3191     case $ac_arg in
3192     -cache-file | --cache-file | --cache-fil | --cache-fi \
3193     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3194       ac_prev=cache_file ;;
3195     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3196     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3197     | --c=*)
3198       ;;
3199     --config-cache | -C)
3200       ;;
3201     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3202       ac_prev=srcdir ;;
3203     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3204       ;;
3205     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3206       ac_prev=prefix ;;
3207     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3208       ;;
3209     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3210     esac
3211   done
3212
3213   # Always prepend --prefix to ensure using the same prefix
3214   # in subdir configurations.
3215   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3216
3217   ac_popdir=`pwd`
3218   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3219
3220     # Do not complain, so a configure script can configure whichever
3221     # parts of a large source tree are present.
3222     test -d $srcdir/$ac_dir || continue
3223
3224     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3225 echo "$as_me: configuring in $ac_dir" >&6;}
3226     { if $as_mkdir_p; then
3227     mkdir -p "$ac_dir"
3228   else
3229     as_dir="$ac_dir"
3230     as_dirs=
3231     while test ! -d "$as_dir"; do
3232       as_dirs="$as_dir $as_dirs"
3233       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235          X"$as_dir" : 'X\(//\)[^/]' \| \
3236          X"$as_dir" : 'X\(//\)$' \| \
3237          X"$as_dir" : 'X\(/\)' \| \
3238          .     : '\(.\)' 2>/dev/null ||
3239 echo X"$as_dir" |
3240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3241           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3242           /^X\(\/\/\)$/{ s//\1/; q; }
3243           /^X\(\/\).*/{ s//\1/; q; }
3244           s/.*/./; q'`
3245     done
3246     test ! -n "$as_dirs" || mkdir $as_dirs
3247   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3248 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3249    { (exit 1); exit 1; }; }; }
3250
3251     ac_builddir=.
3252
3253 if test "$ac_dir" != .; then
3254   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3255   # A "../" for each directory in $ac_dir_suffix.
3256   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3257 else
3258   ac_dir_suffix= ac_top_builddir=
3259 fi
3260
3261 case $srcdir in
3262   .)  # No --srcdir option.  We are building in place.
3263     ac_srcdir=.
3264     if test -z "$ac_top_builddir"; then
3265        ac_top_srcdir=.
3266     else
3267        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3268     fi ;;
3269   [\\/]* | ?:[\\/]* )  # Absolute path.
3270     ac_srcdir=$srcdir$ac_dir_suffix;
3271     ac_top_srcdir=$srcdir ;;
3272   *) # Relative path.
3273     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3274     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3275 esac
3276
3277 # Do not use `cd foo && pwd` to compute absolute paths, because
3278 # the directories may not exist.
3279 case `pwd` in
3280 .) ac_abs_builddir="$ac_dir";;
3281 *)
3282   case "$ac_dir" in
3283   .) ac_abs_builddir=`pwd`;;
3284   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3285   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3286   esac;;
3287 esac
3288 case $ac_abs_builddir in
3289 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3290 *)
3291   case ${ac_top_builddir}. in
3292   .) ac_abs_top_builddir=$ac_abs_builddir;;
3293   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3294   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3295   esac;;
3296 esac
3297 case $ac_abs_builddir in
3298 .) ac_abs_srcdir=$ac_srcdir;;
3299 *)
3300   case $ac_srcdir in
3301   .) ac_abs_srcdir=$ac_abs_builddir;;
3302   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3303   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3304   esac;;
3305 esac
3306 case $ac_abs_builddir in
3307 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3308 *)
3309   case $ac_top_srcdir in
3310   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3311   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3312   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3313   esac;;
3314 esac
3315
3316
3317     cd $ac_dir
3318
3319     # Check for guested configure; otherwise get Cygnus style configure.
3320     if test -f $ac_srcdir/configure.gnu; then
3321       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3322     elif test -f $ac_srcdir/configure; then
3323       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3324     elif test -f $ac_srcdir/configure.in; then
3325       ac_sub_configure=$ac_configure
3326     else
3327       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3328 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3329       ac_sub_configure=
3330     fi
3331
3332     # The recursion is here.
3333     if test -n "$ac_sub_configure"; then
3334       # Make the cache file name correct relative to the subdirectory.
3335       case $cache_file in
3336       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3337       *) # Relative path.
3338         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3339       esac
3340
3341       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3342 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3343       # The eval makes quoting arguments work.
3344       eval $ac_sub_configure $ac_sub_configure_args \
3345            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3346         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3347 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3348    { (exit 1); exit 1; }; }
3349     fi
3350
3351     cd $ac_popdir
3352   done
3353 fi
3354