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