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