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