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