]> git.sur5r.net Git - glabels/blob - barcode-0.98/configure
Imported Upstream version 2.2.8
[glabels] / barcode-0.98 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15   emulate sh
16   NULLCMD=:
17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18   # is contrary to our usage.  Disable this feature.
19   alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21   set -o posix
22 fi
23
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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   as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS="   $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete.  It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="barcode.h"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP GETOPT_O NO_GETOPT NO_LIBPAPER LIBPAPER NO_STRERROR GMAKEDEPEND0 GMAKEDEPEND1 GMAKEDEPEND2 LIBOBJS LTLIBOBJS MAKEINFO REMOVEHTMLTAGS INFOTOHTML'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664    { (exit 1); exit 1; }; };;
665   esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
753 ac_env_CC_value=$CC
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777   # Omit some internal or obsolete options to make the list less imposing.
778   # This message is too long to be a string in the A/UX 3.1 sh.
779   cat <<_ACEOF
780 \`configure' configures this package to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE.  See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790   -h, --help              display this help and exit
791       --help=short        display options specific to this package
792       --help=recursive    display the short help of all the included packages
793   -V, --version           display version information and exit
794   -q, --quiet, --silent   do not print \`checking...' messages
795       --cache-file=FILE   cache test results in FILE [disabled]
796   -C, --config-cache      alias for \`--cache-file=config.cache'
797   -n, --no-create         do not create output files
798       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802   cat <<_ACEOF
803 Installation directories:
804   --prefix=PREFIX         install architecture-independent files in PREFIX
805                           [$ac_default_prefix]
806   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807                           [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817   --bindir=DIR           user executables [EPREFIX/bin]
818   --sbindir=DIR          system admin executables [EPREFIX/sbin]
819   --libexecdir=DIR       program executables [EPREFIX/libexec]
820   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824   --libdir=DIR           object code libraries [EPREFIX/lib]
825   --includedir=DIR       C header files [PREFIX/include]
826   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827   --infodir=DIR          info documentation [PREFIX/info]
828   --mandir=DIR           man documentation [PREFIX/man]
829 _ACEOF
830
831   cat <<\_ACEOF
832 _ACEOF
833 fi
834
835 if test -n "$ac_init_help"; then
836
837   cat <<\_ACEOF
838
839 Some influential environment variables:
840   CC          C compiler command
841   CFLAGS      C compiler flags
842   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
843               nonstandard directory <lib dir>
844   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
845               headers in a nonstandard directory <include dir>
846   CPP         C preprocessor
847
848 Use these variables to override the choices made by `configure' or to help
849 it to find libraries and programs with nonstandard names/locations.
850
851 _ACEOF
852 fi
853
854 if test "$ac_init_help" = "recursive"; then
855   # If there are subdirs, report their specific --help.
856   ac_popdir=`pwd`
857   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
858     test -d $ac_dir || continue
859     ac_builddir=.
860
861 if test "$ac_dir" != .; then
862   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
863   # A "../" for each directory in $ac_dir_suffix.
864   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
865 else
866   ac_dir_suffix= ac_top_builddir=
867 fi
868
869 case $srcdir in
870   .)  # No --srcdir option.  We are building in place.
871     ac_srcdir=.
872     if test -z "$ac_top_builddir"; then
873        ac_top_srcdir=.
874     else
875        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
876     fi ;;
877   [\\/]* | ?:[\\/]* )  # Absolute path.
878     ac_srcdir=$srcdir$ac_dir_suffix;
879     ac_top_srcdir=$srcdir ;;
880   *) # Relative path.
881     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
882     ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 esac
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
885 # absolute.
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
887 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
890
891     cd $ac_dir
892     # Check for guested configure; otherwise get Cygnus style configure.
893     if test -f $ac_srcdir/configure.gnu; then
894       echo
895       $SHELL $ac_srcdir/configure.gnu  --help=recursive
896     elif test -f $ac_srcdir/configure; then
897       echo
898       $SHELL $ac_srcdir/configure  --help=recursive
899     elif test -f $ac_srcdir/configure.ac ||
900            test -f $ac_srcdir/configure.in; then
901       echo
902       $ac_configure --help
903     else
904       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
905     fi
906     cd $ac_popdir
907   done
908 fi
909
910 test -n "$ac_init_help" && exit 0
911 if $ac_init_version; then
912   cat <<\_ACEOF
913
914 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
915 Free Software Foundation, Inc.
916 This configure script is free software; the Free Software Foundation
917 gives unlimited permission to copy, distribute and modify it.
918 _ACEOF
919   exit 0
920 fi
921 exec 5>config.log
922 cat >&5 <<_ACEOF
923 This file contains any messages produced by compilers while
924 running configure, to aid debugging if configure makes a mistake.
925
926 It was created by $as_me, which was
927 generated by GNU Autoconf 2.57.  Invocation command line was
928
929   $ $0 $@
930
931 _ACEOF
932 {
933 cat <<_ASUNAME
934 ## --------- ##
935 ## Platform. ##
936 ## --------- ##
937
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
943
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
946
947 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
948 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
951 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
952 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
953 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
954
955 _ASUNAME
956
957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958 for as_dir in $PATH
959 do
960   IFS=$as_save_IFS
961   test -z "$as_dir" && as_dir=.
962   echo "PATH: $as_dir"
963 done
964
965 } >&5
966
967 cat >&5 <<_ACEOF
968
969
970 ## ----------- ##
971 ## Core tests. ##
972 ## ----------- ##
973
974 _ACEOF
975
976
977 # Keep a trace of the command line.
978 # Strip out --no-create and --no-recursion so they do not pile up.
979 # Strip out --silent because we don't want to record it for future runs.
980 # Also quote any args containing shell meta-characters.
981 # Make two passes to allow for proper duplicate-argument suppression.
982 ac_configure_args=
983 ac_configure_args0=
984 ac_configure_args1=
985 ac_sep=
986 ac_must_keep_next=false
987 for ac_pass in 1 2
988 do
989   for ac_arg
990   do
991     case $ac_arg in
992     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994     | -silent | --silent | --silen | --sile | --sil)
995       continue ;;
996     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
998     esac
999     case $ac_pass in
1000     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1001     2)
1002       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003       if test $ac_must_keep_next = true; then
1004         ac_must_keep_next=false # Got value, back to normal.
1005       else
1006         case $ac_arg in
1007           *=* | --config-cache | -C | -disable-* | --disable-* \
1008           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010           | -with-* | --with-* | -without-* | --without-* | --x)
1011             case "$ac_configure_args0 " in
1012               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1013             esac
1014             ;;
1015           -* ) ac_must_keep_next=true ;;
1016         esac
1017       fi
1018       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019       # Get rid of the leading space.
1020       ac_sep=" "
1021       ;;
1022     esac
1023   done
1024 done
1025 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1027
1028 # When interrupted or exit'd, cleanup temporary files, and complete
1029 # config.log.  We remove comments because anyway the quotes in there
1030 # would cause problems or look ugly.
1031 # WARNING: Be sure not to use single quotes in there, as some shells,
1032 # such as our DU 5.0 friend, will then `close' the trap.
1033 trap 'exit_status=$?
1034   # Save into config.log some information that might help in debugging.
1035   {
1036     echo
1037
1038     cat <<\_ASBOX
1039 ## ---------------- ##
1040 ## Cache variables. ##
1041 ## ---------------- ##
1042 _ASBOX
1043     echo
1044     # The following way of writing the cache mishandles newlines in values,
1045 {
1046   (set) 2>&1 |
1047     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1048     *ac_space=\ *)
1049       sed -n \
1050         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052       ;;
1053     *)
1054       sed -n \
1055         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056       ;;
1057     esac;
1058 }
1059     echo
1060
1061     cat <<\_ASBOX
1062 ## ----------------- ##
1063 ## Output variables. ##
1064 ## ----------------- ##
1065 _ASBOX
1066     echo
1067     for ac_var in $ac_subst_vars
1068     do
1069       eval ac_val=$`echo $ac_var`
1070       echo "$ac_var='"'"'$ac_val'"'"'"
1071     done | sort
1072     echo
1073
1074     if test -n "$ac_subst_files"; then
1075       cat <<\_ASBOX
1076 ## ------------- ##
1077 ## Output files. ##
1078 ## ------------- ##
1079 _ASBOX
1080       echo
1081       for ac_var in $ac_subst_files
1082       do
1083         eval ac_val=$`echo $ac_var`
1084         echo "$ac_var='"'"'$ac_val'"'"'"
1085       done | sort
1086       echo
1087     fi
1088
1089     if test -s confdefs.h; then
1090       cat <<\_ASBOX
1091 ## ----------- ##
1092 ## confdefs.h. ##
1093 ## ----------- ##
1094 _ASBOX
1095       echo
1096       sed "/^$/d" confdefs.h | sort
1097       echo
1098     fi
1099     test "$ac_signal" != 0 &&
1100       echo "$as_me: caught signal $ac_signal"
1101     echo "$as_me: exit $exit_status"
1102   } >&5
1103   rm -f core core.* *.core &&
1104   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1105     exit $exit_status
1106      ' 0
1107 for ac_signal in 1 2 13 15; do
1108   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109 done
1110 ac_signal=0
1111
1112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1113 rm -rf conftest* confdefs.h
1114 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1115 echo >confdefs.h
1116
1117 # Predefined preprocessor variables.
1118
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_NAME "$PACKAGE_NAME"
1121 _ACEOF
1122
1123
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126 _ACEOF
1127
1128
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1131 _ACEOF
1132
1133
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_STRING "$PACKAGE_STRING"
1136 _ACEOF
1137
1138
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1141 _ACEOF
1142
1143
1144 # Let the site file select an alternate cache file if it wants to.
1145 # Prefer explicitly selected file to automatically selected ones.
1146 if test -z "$CONFIG_SITE"; then
1147   if test "x$prefix" != xNONE; then
1148     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1149   else
1150     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1151   fi
1152 fi
1153 for ac_site_file in $CONFIG_SITE; do
1154   if test -r "$ac_site_file"; then
1155     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156 echo "$as_me: loading site script $ac_site_file" >&6;}
1157     sed 's/^/| /' "$ac_site_file" >&5
1158     . "$ac_site_file"
1159   fi
1160 done
1161
1162 if test -r "$cache_file"; then
1163   # Some versions of bash will fail to source /dev/null (special
1164   # files actually), so we avoid doing that.
1165   if test -f "$cache_file"; then
1166     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167 echo "$as_me: loading cache $cache_file" >&6;}
1168     case $cache_file in
1169       [\\/]* | ?:[\\/]* ) . $cache_file;;
1170       *)                      . ./$cache_file;;
1171     esac
1172   fi
1173 else
1174   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175 echo "$as_me: creating cache $cache_file" >&6;}
1176   >$cache_file
1177 fi
1178
1179 # Check that the precious variables saved in the cache have kept the same
1180 # value.
1181 ac_cache_corrupted=false
1182 for ac_var in `(set) 2>&1 |
1183                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185   eval ac_new_set=\$ac_env_${ac_var}_set
1186   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187   eval ac_new_val="\$ac_env_${ac_var}_value"
1188   case $ac_old_set,$ac_new_set in
1189     set,)
1190       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192       ac_cache_corrupted=: ;;
1193     ,set)
1194       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196       ac_cache_corrupted=: ;;
1197     ,);;
1198     *)
1199       if test "x$ac_old_val" != "x$ac_new_val"; then
1200         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1203 echo "$as_me:   former value:  $ac_old_val" >&2;}
1204         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1205 echo "$as_me:   current value: $ac_new_val" >&2;}
1206         ac_cache_corrupted=:
1207       fi;;
1208   esac
1209   # Pass precious variables to config.status.
1210   if test "$ac_new_set" = set; then
1211     case $ac_new_val in
1212     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214     *) ac_arg=$ac_var=$ac_new_val ;;
1215     esac
1216     case " $ac_configure_args " in
1217       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1218       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1219     esac
1220   fi
1221 done
1222 if $ac_cache_corrupted; then
1223   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227    { (exit 1); exit 1; }; }
1228 fi
1229
1230 ac_ext=c
1231 ac_cpp='$CPP $CPPFLAGS'
1232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256 ac_ext=c
1257 ac_cpp='$CPP $CPPFLAGS'
1258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1261 if test -n "$ac_tool_prefix"; then
1262   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1264 echo "$as_me:$LINENO: checking for $ac_word" >&5
1265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1266 if test "${ac_cv_prog_CC+set}" = set; then
1267   echo $ECHO_N "(cached) $ECHO_C" >&6
1268 else
1269   if test -n "$CC"; then
1270   ac_cv_prog_CC="$CC" # Let the user override the test.
1271 else
1272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1273 for as_dir in $PATH
1274 do
1275   IFS=$as_save_IFS
1276   test -z "$as_dir" && as_dir=.
1277   for ac_exec_ext in '' $ac_executable_extensions; do
1278   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1279     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1280     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1281     break 2
1282   fi
1283 done
1284 done
1285
1286 fi
1287 fi
1288 CC=$ac_cv_prog_CC
1289 if test -n "$CC"; then
1290   echo "$as_me:$LINENO: result: $CC" >&5
1291 echo "${ECHO_T}$CC" >&6
1292 else
1293   echo "$as_me:$LINENO: result: no" >&5
1294 echo "${ECHO_T}no" >&6
1295 fi
1296
1297 fi
1298 if test -z "$ac_cv_prog_CC"; then
1299   ac_ct_CC=$CC
1300   # Extract the first word of "gcc", so it can be a program name with args.
1301 set dummy gcc; ac_word=$2
1302 echo "$as_me:$LINENO: checking for $ac_word" >&5
1303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1305   echo $ECHO_N "(cached) $ECHO_C" >&6
1306 else
1307   if test -n "$ac_ct_CC"; then
1308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1309 else
1310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1311 for as_dir in $PATH
1312 do
1313   IFS=$as_save_IFS
1314   test -z "$as_dir" && as_dir=.
1315   for ac_exec_ext in '' $ac_executable_extensions; do
1316   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1317     ac_cv_prog_ac_ct_CC="gcc"
1318     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1319     break 2
1320   fi
1321 done
1322 done
1323
1324 fi
1325 fi
1326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1327 if test -n "$ac_ct_CC"; then
1328   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1329 echo "${ECHO_T}$ac_ct_CC" >&6
1330 else
1331   echo "$as_me:$LINENO: result: no" >&5
1332 echo "${ECHO_T}no" >&6
1333 fi
1334
1335   CC=$ac_ct_CC
1336 else
1337   CC="$ac_cv_prog_CC"
1338 fi
1339
1340 if test -z "$CC"; then
1341   if test -n "$ac_tool_prefix"; then
1342   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1343 set dummy ${ac_tool_prefix}cc; ac_word=$2
1344 echo "$as_me:$LINENO: checking for $ac_word" >&5
1345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346 if test "${ac_cv_prog_CC+set}" = set; then
1347   echo $ECHO_N "(cached) $ECHO_C" >&6
1348 else
1349   if test -n "$CC"; then
1350   ac_cv_prog_CC="$CC" # Let the user override the test.
1351 else
1352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353 for as_dir in $PATH
1354 do
1355   IFS=$as_save_IFS
1356   test -z "$as_dir" && as_dir=.
1357   for ac_exec_ext in '' $ac_executable_extensions; do
1358   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359     ac_cv_prog_CC="${ac_tool_prefix}cc"
1360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1361     break 2
1362   fi
1363 done
1364 done
1365
1366 fi
1367 fi
1368 CC=$ac_cv_prog_CC
1369 if test -n "$CC"; then
1370   echo "$as_me:$LINENO: result: $CC" >&5
1371 echo "${ECHO_T}$CC" >&6
1372 else
1373   echo "$as_me:$LINENO: result: no" >&5
1374 echo "${ECHO_T}no" >&6
1375 fi
1376
1377 fi
1378 if test -z "$ac_cv_prog_CC"; then
1379   ac_ct_CC=$CC
1380   # Extract the first word of "cc", so it can be a program name with args.
1381 set dummy cc; ac_word=$2
1382 echo "$as_me:$LINENO: checking for $ac_word" >&5
1383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1385   echo $ECHO_N "(cached) $ECHO_C" >&6
1386 else
1387   if test -n "$ac_ct_CC"; then
1388   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1389 else
1390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 for as_dir in $PATH
1392 do
1393   IFS=$as_save_IFS
1394   test -z "$as_dir" && as_dir=.
1395   for ac_exec_ext in '' $ac_executable_extensions; do
1396   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1397     ac_cv_prog_ac_ct_CC="cc"
1398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1399     break 2
1400   fi
1401 done
1402 done
1403
1404 fi
1405 fi
1406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1407 if test -n "$ac_ct_CC"; then
1408   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1409 echo "${ECHO_T}$ac_ct_CC" >&6
1410 else
1411   echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1413 fi
1414
1415   CC=$ac_ct_CC
1416 else
1417   CC="$ac_cv_prog_CC"
1418 fi
1419
1420 fi
1421 if test -z "$CC"; then
1422   # Extract the first word of "cc", so it can be a program name with args.
1423 set dummy cc; ac_word=$2
1424 echo "$as_me:$LINENO: checking for $ac_word" >&5
1425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1426 if test "${ac_cv_prog_CC+set}" = set; then
1427   echo $ECHO_N "(cached) $ECHO_C" >&6
1428 else
1429   if test -n "$CC"; then
1430   ac_cv_prog_CC="$CC" # Let the user override the test.
1431 else
1432   ac_prog_rejected=no
1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 for as_dir in $PATH
1435 do
1436   IFS=$as_save_IFS
1437   test -z "$as_dir" && as_dir=.
1438   for ac_exec_ext in '' $ac_executable_extensions; do
1439   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1440     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1441        ac_prog_rejected=yes
1442        continue
1443      fi
1444     ac_cv_prog_CC="cc"
1445     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446     break 2
1447   fi
1448 done
1449 done
1450
1451 if test $ac_prog_rejected = yes; then
1452   # We found a bogon in the path, so make sure we never use it.
1453   set dummy $ac_cv_prog_CC
1454   shift
1455   if test $# != 0; then
1456     # We chose a different compiler from the bogus one.
1457     # However, it has the same basename, so the bogon will be chosen
1458     # first if we set CC to just the basename; use the full file name.
1459     shift
1460     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1461   fi
1462 fi
1463 fi
1464 fi
1465 CC=$ac_cv_prog_CC
1466 if test -n "$CC"; then
1467   echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1469 else
1470   echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1472 fi
1473
1474 fi
1475 if test -z "$CC"; then
1476   if test -n "$ac_tool_prefix"; then
1477   for ac_prog in cl
1478   do
1479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484   echo $ECHO_N "(cached) $ECHO_C" >&6
1485 else
1486   if test -n "$CC"; then
1487   ac_cv_prog_CC="$CC" # Let the user override the test.
1488 else
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1491 do
1492   IFS=$as_save_IFS
1493   test -z "$as_dir" && as_dir=.
1494   for ac_exec_ext in '' $ac_executable_extensions; do
1495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498     break 2
1499   fi
1500 done
1501 done
1502
1503 fi
1504 fi
1505 CC=$ac_cv_prog_CC
1506 if test -n "$CC"; then
1507   echo "$as_me:$LINENO: result: $CC" >&5
1508 echo "${ECHO_T}$CC" >&6
1509 else
1510   echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1512 fi
1513
1514     test -n "$CC" && break
1515   done
1516 fi
1517 if test -z "$CC"; then
1518   ac_ct_CC=$CC
1519   for ac_prog in cl
1520 do
1521   # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy $ac_prog; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1526   echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528   if test -n "$ac_ct_CC"; then
1529   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1530 else
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 for as_dir in $PATH
1533 do
1534   IFS=$as_save_IFS
1535   test -z "$as_dir" && as_dir=.
1536   for ac_exec_ext in '' $ac_executable_extensions; do
1537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538     ac_cv_prog_ac_ct_CC="$ac_prog"
1539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1540     break 2
1541   fi
1542 done
1543 done
1544
1545 fi
1546 fi
1547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1548 if test -n "$ac_ct_CC"; then
1549   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1550 echo "${ECHO_T}$ac_ct_CC" >&6
1551 else
1552   echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1554 fi
1555
1556   test -n "$ac_ct_CC" && break
1557 done
1558
1559   CC=$ac_ct_CC
1560 fi
1561
1562 fi
1563
1564
1565 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1566 See \`config.log' for more details." >&5
1567 echo "$as_me: error: no acceptable C compiler found in \$PATH
1568 See \`config.log' for more details." >&2;}
1569    { (exit 1); exit 1; }; }
1570
1571 # Provide some information about the compiler.
1572 echo "$as_me:$LINENO:" \
1573      "checking for C compiler version" >&5
1574 ac_compiler=`set X $ac_compile; echo $2`
1575 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1576   (eval $ac_compiler --version </dev/null >&5) 2>&5
1577   ac_status=$?
1578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1579   (exit $ac_status); }
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1581   (eval $ac_compiler -v </dev/null >&5) 2>&5
1582   ac_status=$?
1583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584   (exit $ac_status); }
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1586   (eval $ac_compiler -V </dev/null >&5) 2>&5
1587   ac_status=$?
1588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589   (exit $ac_status); }
1590
1591 cat >conftest.$ac_ext <<_ACEOF
1592 #line $LINENO "configure"
1593 /* confdefs.h.  */
1594 _ACEOF
1595 cat confdefs.h >>conftest.$ac_ext
1596 cat >>conftest.$ac_ext <<_ACEOF
1597 /* end confdefs.h.  */
1598
1599 int
1600 main ()
1601 {
1602
1603   ;
1604   return 0;
1605 }
1606 _ACEOF
1607 ac_clean_files_save=$ac_clean_files
1608 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1609 # Try to create an executable without -o first, disregard a.out.
1610 # It will help us diagnose broken compilers, and finding out an intuition
1611 # of exeext.
1612 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1613 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1614 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1615 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1616   (eval $ac_link_default) 2>&5
1617   ac_status=$?
1618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619   (exit $ac_status); }; then
1620   # Find the output, starting from the most likely.  This scheme is
1621 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1622 # resort.
1623
1624 # Be careful to initialize this variable, since it used to be cached.
1625 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1626 ac_cv_exeext=
1627 # b.out is created by i960 compilers.
1628 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1629 do
1630   test -f "$ac_file" || continue
1631   case $ac_file in
1632     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1633         ;;
1634     conftest.$ac_ext )
1635         # This is the source file.
1636         ;;
1637     [ab].out )
1638         # We found the default executable, but exeext='' is most
1639         # certainly right.
1640         break;;
1641     *.* )
1642         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643         # FIXME: I believe we export ac_cv_exeext for Libtool,
1644         # but it would be cool to find out if it's true.  Does anybody
1645         # maintain Libtool? --akim.
1646         export ac_cv_exeext
1647         break;;
1648     * )
1649         break;;
1650   esac
1651 done
1652 else
1653   echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1657 See \`config.log' for more details." >&5
1658 echo "$as_me: error: C compiler cannot create executables
1659 See \`config.log' for more details." >&2;}
1660    { (exit 77); exit 77; }; }
1661 fi
1662
1663 ac_exeext=$ac_cv_exeext
1664 echo "$as_me:$LINENO: result: $ac_file" >&5
1665 echo "${ECHO_T}$ac_file" >&6
1666
1667 # Check the compiler produces executables we can run.  If not, either
1668 # the compiler is broken, or we cross compile.
1669 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1670 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1671 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1672 # If not cross compiling, check that we can run a simple program.
1673 if test "$cross_compiling" != yes; then
1674   if { ac_try='./$ac_file'
1675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676   (eval $ac_try) 2>&5
1677   ac_status=$?
1678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679   (exit $ac_status); }; }; then
1680     cross_compiling=no
1681   else
1682     if test "$cross_compiling" = maybe; then
1683         cross_compiling=yes
1684     else
1685         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1686 If you meant to cross compile, use \`--host'.
1687 See \`config.log' for more details." >&5
1688 echo "$as_me: error: cannot run C compiled programs.
1689 If you meant to cross compile, use \`--host'.
1690 See \`config.log' for more details." >&2;}
1691    { (exit 1); exit 1; }; }
1692     fi
1693   fi
1694 fi
1695 echo "$as_me:$LINENO: result: yes" >&5
1696 echo "${ECHO_T}yes" >&6
1697
1698 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1699 ac_clean_files=$ac_clean_files_save
1700 # Check the compiler produces executables we can run.  If not, either
1701 # the compiler is broken, or we cross compile.
1702 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1703 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1704 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1705 echo "${ECHO_T}$cross_compiling" >&6
1706
1707 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1708 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1710   (eval $ac_link) 2>&5
1711   ac_status=$?
1712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713   (exit $ac_status); }; then
1714   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1715 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1716 # work properly (i.e., refer to `conftest.exe'), while it won't with
1717 # `rm'.
1718 for ac_file in conftest.exe conftest conftest.*; do
1719   test -f "$ac_file" || continue
1720   case $ac_file in
1721     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1722     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1723           export ac_cv_exeext
1724           break;;
1725     * ) break;;
1726   esac
1727 done
1728 else
1729   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1730 See \`config.log' for more details." >&5
1731 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1732 See \`config.log' for more details." >&2;}
1733    { (exit 1); exit 1; }; }
1734 fi
1735
1736 rm -f conftest$ac_cv_exeext
1737 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1738 echo "${ECHO_T}$ac_cv_exeext" >&6
1739
1740 rm -f conftest.$ac_ext
1741 EXEEXT=$ac_cv_exeext
1742 ac_exeext=$EXEEXT
1743 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1744 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1745 if test "${ac_cv_objext+set}" = set; then
1746   echo $ECHO_N "(cached) $ECHO_C" >&6
1747 else
1748   cat >conftest.$ac_ext <<_ACEOF
1749 #line $LINENO "configure"
1750 /* confdefs.h.  */
1751 _ACEOF
1752 cat confdefs.h >>conftest.$ac_ext
1753 cat >>conftest.$ac_ext <<_ACEOF
1754 /* end confdefs.h.  */
1755
1756 int
1757 main ()
1758 {
1759
1760   ;
1761   return 0;
1762 }
1763 _ACEOF
1764 rm -f conftest.o conftest.obj
1765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1766   (eval $ac_compile) 2>&5
1767   ac_status=$?
1768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1769   (exit $ac_status); }; then
1770   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1771   case $ac_file in
1772     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1773     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1774        break;;
1775   esac
1776 done
1777 else
1778   echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1782 See \`config.log' for more details." >&5
1783 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1784 See \`config.log' for more details." >&2;}
1785    { (exit 1); exit 1; }; }
1786 fi
1787
1788 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1789 fi
1790 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1791 echo "${ECHO_T}$ac_cv_objext" >&6
1792 OBJEXT=$ac_cv_objext
1793 ac_objext=$OBJEXT
1794 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1795 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1796 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1797   echo $ECHO_N "(cached) $ECHO_C" >&6
1798 else
1799   cat >conftest.$ac_ext <<_ACEOF
1800 #line $LINENO "configure"
1801 /* confdefs.h.  */
1802 _ACEOF
1803 cat confdefs.h >>conftest.$ac_ext
1804 cat >>conftest.$ac_ext <<_ACEOF
1805 /* end confdefs.h.  */
1806
1807 int
1808 main ()
1809 {
1810 #ifndef __GNUC__
1811        choke me
1812 #endif
1813
1814   ;
1815   return 0;
1816 }
1817 _ACEOF
1818 rm -f conftest.$ac_objext
1819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1820   (eval $ac_compile) 2>&5
1821   ac_status=$?
1822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823   (exit $ac_status); } &&
1824          { ac_try='test -s conftest.$ac_objext'
1825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1826   (eval $ac_try) 2>&5
1827   ac_status=$?
1828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829   (exit $ac_status); }; }; then
1830   ac_compiler_gnu=yes
1831 else
1832   echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1834
1835 ac_compiler_gnu=no
1836 fi
1837 rm -f conftest.$ac_objext conftest.$ac_ext
1838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1839
1840 fi
1841 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1842 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1843 GCC=`test $ac_compiler_gnu = yes && echo yes`
1844 ac_test_CFLAGS=${CFLAGS+set}
1845 ac_save_CFLAGS=$CFLAGS
1846 CFLAGS="-g"
1847 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1848 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1849 if test "${ac_cv_prog_cc_g+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   cat >conftest.$ac_ext <<_ACEOF
1853 #line $LINENO "configure"
1854 /* confdefs.h.  */
1855 _ACEOF
1856 cat confdefs.h >>conftest.$ac_ext
1857 cat >>conftest.$ac_ext <<_ACEOF
1858 /* end confdefs.h.  */
1859
1860 int
1861 main ()
1862 {
1863
1864   ;
1865   return 0;
1866 }
1867 _ACEOF
1868 rm -f conftest.$ac_objext
1869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1870   (eval $ac_compile) 2>&5
1871   ac_status=$?
1872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873   (exit $ac_status); } &&
1874          { ac_try='test -s conftest.$ac_objext'
1875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1876   (eval $ac_try) 2>&5
1877   ac_status=$?
1878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879   (exit $ac_status); }; }; then
1880   ac_cv_prog_cc_g=yes
1881 else
1882   echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1884
1885 ac_cv_prog_cc_g=no
1886 fi
1887 rm -f conftest.$ac_objext conftest.$ac_ext
1888 fi
1889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1890 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1891 if test "$ac_test_CFLAGS" = set; then
1892   CFLAGS=$ac_save_CFLAGS
1893 elif test $ac_cv_prog_cc_g = yes; then
1894   if test "$GCC" = yes; then
1895     CFLAGS="-g -O2"
1896   else
1897     CFLAGS="-g"
1898   fi
1899 else
1900   if test "$GCC" = yes; then
1901     CFLAGS="-O2"
1902   else
1903     CFLAGS=
1904   fi
1905 fi
1906 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1907 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1908 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1909   echo $ECHO_N "(cached) $ECHO_C" >&6
1910 else
1911   ac_cv_prog_cc_stdc=no
1912 ac_save_CC=$CC
1913 cat >conftest.$ac_ext <<_ACEOF
1914 #line $LINENO "configure"
1915 /* confdefs.h.  */
1916 _ACEOF
1917 cat confdefs.h >>conftest.$ac_ext
1918 cat >>conftest.$ac_ext <<_ACEOF
1919 /* end confdefs.h.  */
1920 #include <stdarg.h>
1921 #include <stdio.h>
1922 #include <sys/types.h>
1923 #include <sys/stat.h>
1924 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1925 struct buf { int x; };
1926 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1927 static char *e (p, i)
1928      char **p;
1929      int i;
1930 {
1931   return p[i];
1932 }
1933 static char *f (char * (*g) (char **, int), char **p, ...)
1934 {
1935   char *s;
1936   va_list v;
1937   va_start (v,p);
1938   s = g (p, va_arg (v,int));
1939   va_end (v);
1940   return s;
1941 }
1942 int test (int i, double x);
1943 struct s1 {int (*f) (int a);};
1944 struct s2 {int (*f) (double a);};
1945 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1946 int argc;
1947 char **argv;
1948 int
1949 main ()
1950 {
1951 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1952   ;
1953   return 0;
1954 }
1955 _ACEOF
1956 # Don't try gcc -ansi; that turns off useful extensions and
1957 # breaks some systems' header files.
1958 # AIX                   -qlanglvl=ansi
1959 # Ultrix and OSF/1      -std1
1960 # HP-UX 10.20 and later -Ae
1961 # HP-UX older versions  -Aa -D_HPUX_SOURCE
1962 # SVR4                  -Xc -D__EXTENSIONS__
1963 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1964 do
1965   CC="$ac_save_CC $ac_arg"
1966   rm -f conftest.$ac_objext
1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1968   (eval $ac_compile) 2>&5
1969   ac_status=$?
1970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971   (exit $ac_status); } &&
1972          { ac_try='test -s conftest.$ac_objext'
1973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974   (eval $ac_try) 2>&5
1975   ac_status=$?
1976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977   (exit $ac_status); }; }; then
1978   ac_cv_prog_cc_stdc=$ac_arg
1979 break
1980 else
1981   echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1983
1984 fi
1985 rm -f conftest.$ac_objext
1986 done
1987 rm -f conftest.$ac_ext conftest.$ac_objext
1988 CC=$ac_save_CC
1989
1990 fi
1991
1992 case "x$ac_cv_prog_cc_stdc" in
1993   x|xno)
1994     echo "$as_me:$LINENO: result: none needed" >&5
1995 echo "${ECHO_T}none needed" >&6 ;;
1996   *)
1997     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1998 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1999     CC="$CC $ac_cv_prog_cc_stdc" ;;
2000 esac
2001
2002 # Some people use a C++ compiler to compile C.  Since we use `exit',
2003 # in C++ we need to declare it.  In case someone uses the same compiler
2004 # for both compiling C and C++ we need to have the C++ compiler decide
2005 # the declaration of exit, since it's the most demanding environment.
2006 cat >conftest.$ac_ext <<_ACEOF
2007 #ifndef __cplusplus
2008   choke me
2009 #endif
2010 _ACEOF
2011 rm -f conftest.$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013   (eval $ac_compile) 2>&5
2014   ac_status=$?
2015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016   (exit $ac_status); } &&
2017          { ac_try='test -s conftest.$ac_objext'
2018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019   (eval $ac_try) 2>&5
2020   ac_status=$?
2021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022   (exit $ac_status); }; }; then
2023   for ac_declaration in \
2024    ''\
2025    '#include <stdlib.h>' \
2026    'extern "C" void std::exit (int) throw (); using std::exit;' \
2027    'extern "C" void std::exit (int); using std::exit;' \
2028    'extern "C" void exit (int) throw ();' \
2029    'extern "C" void exit (int);' \
2030    'void exit (int);'
2031 do
2032   cat >conftest.$ac_ext <<_ACEOF
2033 #line $LINENO "configure"
2034 /* confdefs.h.  */
2035 _ACEOF
2036 cat confdefs.h >>conftest.$ac_ext
2037 cat >>conftest.$ac_ext <<_ACEOF
2038 /* end confdefs.h.  */
2039 #include <stdlib.h>
2040 $ac_declaration
2041 int
2042 main ()
2043 {
2044 exit (42);
2045   ;
2046   return 0;
2047 }
2048 _ACEOF
2049 rm -f conftest.$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051   (eval $ac_compile) 2>&5
2052   ac_status=$?
2053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054   (exit $ac_status); } &&
2055          { ac_try='test -s conftest.$ac_objext'
2056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057   (eval $ac_try) 2>&5
2058   ac_status=$?
2059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060   (exit $ac_status); }; }; then
2061   :
2062 else
2063   echo "$as_me: failed program was:" >&5
2064 sed 's/^/| /' conftest.$ac_ext >&5
2065
2066 continue
2067 fi
2068 rm -f conftest.$ac_objext conftest.$ac_ext
2069   cat >conftest.$ac_ext <<_ACEOF
2070 #line $LINENO "configure"
2071 /* confdefs.h.  */
2072 _ACEOF
2073 cat confdefs.h >>conftest.$ac_ext
2074 cat >>conftest.$ac_ext <<_ACEOF
2075 /* end confdefs.h.  */
2076 $ac_declaration
2077 int
2078 main ()
2079 {
2080 exit (42);
2081   ;
2082   return 0;
2083 }
2084 _ACEOF
2085 rm -f conftest.$ac_objext
2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2087   (eval $ac_compile) 2>&5
2088   ac_status=$?
2089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090   (exit $ac_status); } &&
2091          { ac_try='test -s conftest.$ac_objext'
2092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2093   (eval $ac_try) 2>&5
2094   ac_status=$?
2095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096   (exit $ac_status); }; }; then
2097   break
2098 else
2099   echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.$ac_ext >&5
2101
2102 fi
2103 rm -f conftest.$ac_objext conftest.$ac_ext
2104 done
2105 rm -f conftest*
2106 if test -n "$ac_declaration"; then
2107   echo '#ifdef __cplusplus' >>confdefs.h
2108   echo $ac_declaration      >>confdefs.h
2109   echo '#endif'             >>confdefs.h
2110 fi
2111
2112 else
2113   echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.$ac_ext >&5
2115
2116 fi
2117 rm -f conftest.$ac_objext conftest.$ac_ext
2118 ac_ext=c
2119 ac_cpp='$CPP $CPPFLAGS'
2120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2123
2124 if test -n "$ac_tool_prefix"; then
2125   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2127 echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 if test "${ac_cv_prog_RANLIB+set}" = set; then
2130   echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132   if test -n "$RANLIB"; then
2133   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2137 do
2138   IFS=$as_save_IFS
2139   test -z "$as_dir" && as_dir=.
2140   for ac_exec_ext in '' $ac_executable_extensions; do
2141   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2143     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144     break 2
2145   fi
2146 done
2147 done
2148
2149 fi
2150 fi
2151 RANLIB=$ac_cv_prog_RANLIB
2152 if test -n "$RANLIB"; then
2153   echo "$as_me:$LINENO: result: $RANLIB" >&5
2154 echo "${ECHO_T}$RANLIB" >&6
2155 else
2156   echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2158 fi
2159
2160 fi
2161 if test -z "$ac_cv_prog_RANLIB"; then
2162   ac_ct_RANLIB=$RANLIB
2163   # Extract the first word of "ranlib", so it can be a program name with args.
2164 set dummy ranlib; ac_word=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2168   echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170   if test -n "$ac_ct_RANLIB"; then
2171   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2175 do
2176   IFS=$as_save_IFS
2177   test -z "$as_dir" && as_dir=.
2178   for ac_exec_ext in '' $ac_executable_extensions; do
2179   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180     ac_cv_prog_ac_ct_RANLIB="ranlib"
2181     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182     break 2
2183   fi
2184 done
2185 done
2186
2187   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2188 fi
2189 fi
2190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2191 if test -n "$ac_ct_RANLIB"; then
2192   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2193 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2194 else
2195   echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6
2197 fi
2198
2199   RANLIB=$ac_ct_RANLIB
2200 else
2201   RANLIB="$ac_cv_prog_RANLIB"
2202 fi
2203
2204 ac_aux_dir=
2205 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2206   if test -f $ac_dir/install-sh; then
2207     ac_aux_dir=$ac_dir
2208     ac_install_sh="$ac_aux_dir/install-sh -c"
2209     break
2210   elif test -f $ac_dir/install.sh; then
2211     ac_aux_dir=$ac_dir
2212     ac_install_sh="$ac_aux_dir/install.sh -c"
2213     break
2214   elif test -f $ac_dir/shtool; then
2215     ac_aux_dir=$ac_dir
2216     ac_install_sh="$ac_aux_dir/shtool install -c"
2217     break
2218   fi
2219 done
2220 if test -z "$ac_aux_dir"; then
2221   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2222 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2223    { (exit 1); exit 1; }; }
2224 fi
2225 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2226 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2227 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2228
2229 # Find a good install program.  We prefer a C program (faster),
2230 # so one script is as good as another.  But avoid the broken or
2231 # incompatible versions:
2232 # SysV /etc/install, /usr/sbin/install
2233 # SunOS /usr/etc/install
2234 # IRIX /sbin/install
2235 # AIX /bin/install
2236 # AmigaOS /C/install, which installs bootblocks on floppy discs
2237 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2238 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2239 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2240 # ./install, which can be erroneously created by make from ./install.sh.
2241 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2242 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2243 if test -z "$INSTALL"; then
2244 if test "${ac_cv_path_install+set}" = set; then
2245   echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 for as_dir in $PATH
2249 do
2250   IFS=$as_save_IFS
2251   test -z "$as_dir" && as_dir=.
2252   # Account for people who put trailing slashes in PATH elements.
2253 case $as_dir/ in
2254   ./ | .// | /cC/* | \
2255   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2256   /usr/ucb/* ) ;;
2257   *)
2258     # OSF1 and SCO ODT 3.0 have their own names for install.
2259     # Don't use installbsd from OSF since it installs stuff as root
2260     # by default.
2261     for ac_prog in ginstall scoinst install; do
2262       for ac_exec_ext in '' $ac_executable_extensions; do
2263         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2264           if test $ac_prog = install &&
2265             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2266             # AIX install.  It has an incompatible calling convention.
2267             :
2268           elif test $ac_prog = install &&
2269             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270             # program-specific install script used by HP pwplus--don't use.
2271             :
2272           else
2273             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2274             break 3
2275           fi
2276         fi
2277       done
2278     done
2279     ;;
2280 esac
2281 done
2282
2283
2284 fi
2285   if test "${ac_cv_path_install+set}" = set; then
2286     INSTALL=$ac_cv_path_install
2287   else
2288     # As a last resort, use the slow shell script.  We don't cache a
2289     # path for INSTALL within a source directory, because that will
2290     # break other packages using the cache if that directory is
2291     # removed, or if the path is relative.
2292     INSTALL=$ac_install_sh
2293   fi
2294 fi
2295 echo "$as_me:$LINENO: result: $INSTALL" >&5
2296 echo "${ECHO_T}$INSTALL" >&6
2297
2298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2299 # It thinks the first close brace ends the variable substitution.
2300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2301
2302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2303
2304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2305
2306
2307 if test x$GCC = xyes; then
2308         CFLAGS="$CFLAGS -Wall"
2309 fi
2310
2311
2312
2313 ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2322   CPP=
2323 fi
2324 if test -z "$CPP"; then
2325   if test "${ac_cv_prog_CPP+set}" = set; then
2326   echo $ECHO_N "(cached) $ECHO_C" >&6
2327 else
2328       # Double quotes because CPP needs to be expanded
2329     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2330     do
2331       ac_preproc_ok=false
2332 for ac_c_preproc_warn_flag in '' yes
2333 do
2334   # Use a header file that comes with gcc, so configuring glibc
2335   # with a fresh cross-compiler works.
2336   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337   # <limits.h> exists even on freestanding compilers.
2338   # On the NeXT, cc -E runs the code through the compiler's parser,
2339   # not just through cpp. "Syntax error" is here to catch this case.
2340   cat >conftest.$ac_ext <<_ACEOF
2341 #line $LINENO "configure"
2342 /* confdefs.h.  */
2343 _ACEOF
2344 cat confdefs.h >>conftest.$ac_ext
2345 cat >>conftest.$ac_ext <<_ACEOF
2346 /* end confdefs.h.  */
2347 #ifdef __STDC__
2348 # include <limits.h>
2349 #else
2350 # include <assert.h>
2351 #endif
2352                      Syntax error
2353 _ACEOF
2354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2356   ac_status=$?
2357   grep -v '^ *+' conftest.er1 >conftest.err
2358   rm -f conftest.er1
2359   cat conftest.err >&5
2360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361   (exit $ac_status); } >/dev/null; then
2362   if test -s conftest.err; then
2363     ac_cpp_err=$ac_c_preproc_warn_flag
2364   else
2365     ac_cpp_err=
2366   fi
2367 else
2368   ac_cpp_err=yes
2369 fi
2370 if test -z "$ac_cpp_err"; then
2371   :
2372 else
2373   echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2375
2376   # Broken: fails on valid input.
2377 continue
2378 fi
2379 rm -f conftest.err conftest.$ac_ext
2380
2381   # OK, works on sane cases.  Now check whether non-existent headers
2382   # can be detected and how.
2383   cat >conftest.$ac_ext <<_ACEOF
2384 #line $LINENO "configure"
2385 /* confdefs.h.  */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h.  */
2390 #include <ac_nonexistent.h>
2391 _ACEOF
2392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2393   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2394   ac_status=$?
2395   grep -v '^ *+' conftest.er1 >conftest.err
2396   rm -f conftest.er1
2397   cat conftest.err >&5
2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399   (exit $ac_status); } >/dev/null; then
2400   if test -s conftest.err; then
2401     ac_cpp_err=$ac_c_preproc_warn_flag
2402   else
2403     ac_cpp_err=
2404   fi
2405 else
2406   ac_cpp_err=yes
2407 fi
2408 if test -z "$ac_cpp_err"; then
2409   # Broken: success on invalid input.
2410 continue
2411 else
2412   echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2414
2415   # Passes both tests.
2416 ac_preproc_ok=:
2417 break
2418 fi
2419 rm -f conftest.err conftest.$ac_ext
2420
2421 done
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.$ac_ext
2424 if $ac_preproc_ok; then
2425   break
2426 fi
2427
2428     done
2429     ac_cv_prog_CPP=$CPP
2430
2431 fi
2432   CPP=$ac_cv_prog_CPP
2433 else
2434   ac_cv_prog_CPP=$CPP
2435 fi
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2438 ac_preproc_ok=false
2439 for ac_c_preproc_warn_flag in '' yes
2440 do
2441   # Use a header file that comes with gcc, so configuring glibc
2442   # with a fresh cross-compiler works.
2443   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444   # <limits.h> exists even on freestanding compilers.
2445   # On the NeXT, cc -E runs the code through the compiler's parser,
2446   # not just through cpp. "Syntax error" is here to catch this case.
2447   cat >conftest.$ac_ext <<_ACEOF
2448 #line $LINENO "configure"
2449 /* confdefs.h.  */
2450 _ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h.  */
2454 #ifdef __STDC__
2455 # include <limits.h>
2456 #else
2457 # include <assert.h>
2458 #endif
2459                      Syntax error
2460 _ACEOF
2461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2462   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2463   ac_status=$?
2464   grep -v '^ *+' conftest.er1 >conftest.err
2465   rm -f conftest.er1
2466   cat conftest.err >&5
2467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468   (exit $ac_status); } >/dev/null; then
2469   if test -s conftest.err; then
2470     ac_cpp_err=$ac_c_preproc_warn_flag
2471   else
2472     ac_cpp_err=
2473   fi
2474 else
2475   ac_cpp_err=yes
2476 fi
2477 if test -z "$ac_cpp_err"; then
2478   :
2479 else
2480   echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2482
2483   # Broken: fails on valid input.
2484 continue
2485 fi
2486 rm -f conftest.err conftest.$ac_ext
2487
2488   # OK, works on sane cases.  Now check whether non-existent headers
2489   # can be detected and how.
2490   cat >conftest.$ac_ext <<_ACEOF
2491 #line $LINENO "configure"
2492 /* confdefs.h.  */
2493 _ACEOF
2494 cat confdefs.h >>conftest.$ac_ext
2495 cat >>conftest.$ac_ext <<_ACEOF
2496 /* end confdefs.h.  */
2497 #include <ac_nonexistent.h>
2498 _ACEOF
2499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2500   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2501   ac_status=$?
2502   grep -v '^ *+' conftest.er1 >conftest.err
2503   rm -f conftest.er1
2504   cat conftest.err >&5
2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506   (exit $ac_status); } >/dev/null; then
2507   if test -s conftest.err; then
2508     ac_cpp_err=$ac_c_preproc_warn_flag
2509   else
2510     ac_cpp_err=
2511   fi
2512 else
2513   ac_cpp_err=yes
2514 fi
2515 if test -z "$ac_cpp_err"; then
2516   # Broken: success on invalid input.
2517 continue
2518 else
2519   echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.$ac_ext >&5
2521
2522   # Passes both tests.
2523 ac_preproc_ok=:
2524 break
2525 fi
2526 rm -f conftest.err conftest.$ac_ext
2527
2528 done
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.$ac_ext
2531 if $ac_preproc_ok; then
2532   :
2533 else
2534   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538    { (exit 1); exit 1; }; }
2539 fi
2540
2541 ac_ext=c
2542 ac_cpp='$CPP $CPPFLAGS'
2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2546
2547
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551   echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2554     then ac_cv_prog_egrep='grep -E'
2555     else ac_cv_prog_egrep='egrep'
2556     fi
2557 fi
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560  EGREP=$ac_cv_prog_egrep
2561
2562
2563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2565 if test "${ac_cv_header_stdc+set}" = set; then
2566   echo $ECHO_N "(cached) $ECHO_C" >&6
2567 else
2568   cat >conftest.$ac_ext <<_ACEOF
2569 #line $LINENO "configure"
2570 /* confdefs.h.  */
2571 _ACEOF
2572 cat confdefs.h >>conftest.$ac_ext
2573 cat >>conftest.$ac_ext <<_ACEOF
2574 /* end confdefs.h.  */
2575 #include <stdlib.h>
2576 #include <stdarg.h>
2577 #include <string.h>
2578 #include <float.h>
2579
2580 int
2581 main ()
2582 {
2583
2584   ;
2585   return 0;
2586 }
2587 _ACEOF
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590   (eval $ac_compile) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); } &&
2594          { ac_try='test -s conftest.$ac_objext'
2595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596   (eval $ac_try) 2>&5
2597   ac_status=$?
2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599   (exit $ac_status); }; }; then
2600   ac_cv_header_stdc=yes
2601 else
2602   echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 ac_cv_header_stdc=no
2606 fi
2607 rm -f conftest.$ac_objext conftest.$ac_ext
2608
2609 if test $ac_cv_header_stdc = yes; then
2610   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2611   cat >conftest.$ac_ext <<_ACEOF
2612 #line $LINENO "configure"
2613 /* confdefs.h.  */
2614 _ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h.  */
2618 #include <string.h>
2619
2620 _ACEOF
2621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2622   $EGREP "memchr" >/dev/null 2>&1; then
2623   :
2624 else
2625   ac_cv_header_stdc=no
2626 fi
2627 rm -f conftest*
2628
2629 fi
2630
2631 if test $ac_cv_header_stdc = yes; then
2632   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2633   cat >conftest.$ac_ext <<_ACEOF
2634 #line $LINENO "configure"
2635 /* confdefs.h.  */
2636 _ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h.  */
2640 #include <stdlib.h>
2641
2642 _ACEOF
2643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2644   $EGREP "free" >/dev/null 2>&1; then
2645   :
2646 else
2647   ac_cv_header_stdc=no
2648 fi
2649 rm -f conftest*
2650
2651 fi
2652
2653 if test $ac_cv_header_stdc = yes; then
2654   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2655   if test "$cross_compiling" = yes; then
2656   :
2657 else
2658   cat >conftest.$ac_ext <<_ACEOF
2659 #line $LINENO "configure"
2660 /* confdefs.h.  */
2661 _ACEOF
2662 cat confdefs.h >>conftest.$ac_ext
2663 cat >>conftest.$ac_ext <<_ACEOF
2664 /* end confdefs.h.  */
2665 #include <ctype.h>
2666 #if ((' ' & 0x0FF) == 0x020)
2667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2669 #else
2670 # define ISLOWER(c) \
2671                    (('a' <= (c) && (c) <= 'i') \
2672                      || ('j' <= (c) && (c) <= 'r') \
2673                      || ('s' <= (c) && (c) <= 'z'))
2674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2675 #endif
2676
2677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2678 int
2679 main ()
2680 {
2681   int i;
2682   for (i = 0; i < 256; i++)
2683     if (XOR (islower (i), ISLOWER (i))
2684         || toupper (i) != TOUPPER (i))
2685       exit(2);
2686   exit (0);
2687 }
2688 _ACEOF
2689 rm -f conftest$ac_exeext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2691   (eval $ac_link) 2>&5
2692   ac_status=$?
2693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696   (eval $ac_try) 2>&5
2697   ac_status=$?
2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699   (exit $ac_status); }; }; then
2700   :
2701 else
2702   echo "$as_me: program exited with status $ac_status" >&5
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 ( exit $ac_status )
2707 ac_cv_header_stdc=no
2708 fi
2709 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2710 fi
2711 fi
2712 fi
2713 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2714 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2715 if test $ac_cv_header_stdc = yes; then
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define STDC_HEADERS 1
2719 _ACEOF
2720
2721 fi
2722
2723 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2734                   inttypes.h stdint.h unistd.h
2735 do
2736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2737 echo "$as_me:$LINENO: checking for $ac_header" >&5
2738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2740   echo $ECHO_N "(cached) $ECHO_C" >&6
2741 else
2742   cat >conftest.$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2744 /* confdefs.h.  */
2745 _ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h.  */
2749 $ac_includes_default
2750
2751 #include <$ac_header>
2752 _ACEOF
2753 rm -f conftest.$ac_objext
2754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2755   (eval $ac_compile) 2>&5
2756   ac_status=$?
2757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758   (exit $ac_status); } &&
2759          { ac_try='test -s conftest.$ac_objext'
2760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761   (eval $ac_try) 2>&5
2762   ac_status=$?
2763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764   (exit $ac_status); }; }; then
2765   eval "$as_ac_Header=yes"
2766 else
2767   echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2769
2770 eval "$as_ac_Header=no"
2771 fi
2772 rm -f conftest.$ac_objext conftest.$ac_ext
2773 fi
2774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2777   cat >>confdefs.h <<_ACEOF
2778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2779 _ACEOF
2780
2781 fi
2782
2783 done
2784
2785
2786 if test "${ac_cv_header_getopt_h+set}" = set; then
2787   echo "$as_me:$LINENO: checking for getopt.h" >&5
2788 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
2789 if test "${ac_cv_header_getopt_h+set}" = set; then
2790   echo $ECHO_N "(cached) $ECHO_C" >&6
2791 fi
2792 echo "$as_me:$LINENO: result: $ac_cv_header_getopt_h" >&5
2793 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2794 else
2795   # Is the header compilable?
2796 echo "$as_me:$LINENO: checking getopt.h usability" >&5
2797 echo $ECHO_N "checking getopt.h usability... $ECHO_C" >&6
2798 cat >conftest.$ac_ext <<_ACEOF
2799 #line $LINENO "configure"
2800 /* confdefs.h.  */
2801 _ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h.  */
2805 $ac_includes_default
2806 #include <getopt.h>
2807 _ACEOF
2808 rm -f conftest.$ac_objext
2809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2810   (eval $ac_compile) 2>&5
2811   ac_status=$?
2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813   (exit $ac_status); } &&
2814          { ac_try='test -s conftest.$ac_objext'
2815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816   (eval $ac_try) 2>&5
2817   ac_status=$?
2818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819   (exit $ac_status); }; }; then
2820   ac_header_compiler=yes
2821 else
2822   echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2824
2825 ac_header_compiler=no
2826 fi
2827 rm -f conftest.$ac_objext conftest.$ac_ext
2828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2829 echo "${ECHO_T}$ac_header_compiler" >&6
2830
2831 # Is the header present?
2832 echo "$as_me:$LINENO: checking getopt.h presence" >&5
2833 echo $ECHO_N "checking getopt.h presence... $ECHO_C" >&6
2834 cat >conftest.$ac_ext <<_ACEOF
2835 #line $LINENO "configure"
2836 /* confdefs.h.  */
2837 _ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h.  */
2841 #include <getopt.h>
2842 _ACEOF
2843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2844   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2845   ac_status=$?
2846   grep -v '^ *+' conftest.er1 >conftest.err
2847   rm -f conftest.er1
2848   cat conftest.err >&5
2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850   (exit $ac_status); } >/dev/null; then
2851   if test -s conftest.err; then
2852     ac_cpp_err=$ac_c_preproc_warn_flag
2853   else
2854     ac_cpp_err=
2855   fi
2856 else
2857   ac_cpp_err=yes
2858 fi
2859 if test -z "$ac_cpp_err"; then
2860   ac_header_preproc=yes
2861 else
2862   echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2864
2865   ac_header_preproc=no
2866 fi
2867 rm -f conftest.err conftest.$ac_ext
2868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2869 echo "${ECHO_T}$ac_header_preproc" >&6
2870
2871 # So?  What about this header?
2872 case $ac_header_compiler:$ac_header_preproc in
2873   yes:no )
2874     { echo "$as_me:$LINENO: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&5
2875 echo "$as_me: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2876     { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
2877 echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
2878     (
2879       cat <<\_ASBOX
2880 ## ------------------------------------ ##
2881 ## Report this to bug-autoconf@gnu.org. ##
2882 ## ------------------------------------ ##
2883 _ASBOX
2884     ) |
2885       sed "s/^/$as_me: WARNING:     /" >&2
2886     ;;
2887   no:yes )
2888     { echo "$as_me:$LINENO: WARNING: getopt.h: present but cannot be compiled" >&5
2889 echo "$as_me: WARNING: getopt.h: present but cannot be compiled" >&2;}
2890     { echo "$as_me:$LINENO: WARNING: getopt.h: check for missing prerequisite headers?" >&5
2891 echo "$as_me: WARNING: getopt.h: check for missing prerequisite headers?" >&2;}
2892     { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
2893 echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
2894     (
2895       cat <<\_ASBOX
2896 ## ------------------------------------ ##
2897 ## Report this to bug-autoconf@gnu.org. ##
2898 ## ------------------------------------ ##
2899 _ASBOX
2900     ) |
2901       sed "s/^/$as_me: WARNING:     /" >&2
2902     ;;
2903 esac
2904 echo "$as_me:$LINENO: checking for getopt.h" >&5
2905 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
2906 if test "${ac_cv_header_getopt_h+set}" = set; then
2907   echo $ECHO_N "(cached) $ECHO_C" >&6
2908 else
2909   ac_cv_header_getopt_h=$ac_header_preproc
2910 fi
2911 echo "$as_me:$LINENO: result: $ac_cv_header_getopt_h" >&5
2912 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2913
2914 fi
2915 if test $ac_cv_header_getopt_h = yes; then
2916   :
2917 else
2918   NO_GETOPT=-DNO_GETOPT;GETOPT_O=compat/getopt.o
2919 fi
2920
2921
2922 if test "${ac_cv_header_paper_h+set}" = set; then
2923   echo "$as_me:$LINENO: checking for paper.h" >&5
2924 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
2925 if test "${ac_cv_header_paper_h+set}" = set; then
2926   echo $ECHO_N "(cached) $ECHO_C" >&6
2927 fi
2928 echo "$as_me:$LINENO: result: $ac_cv_header_paper_h" >&5
2929 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
2930 else
2931   # Is the header compilable?
2932 echo "$as_me:$LINENO: checking paper.h usability" >&5
2933 echo $ECHO_N "checking paper.h usability... $ECHO_C" >&6
2934 cat >conftest.$ac_ext <<_ACEOF
2935 #line $LINENO "configure"
2936 /* confdefs.h.  */
2937 _ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h.  */
2941 $ac_includes_default
2942 #include <paper.h>
2943 _ACEOF
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946   (eval $ac_compile) 2>&5
2947   ac_status=$?
2948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949   (exit $ac_status); } &&
2950          { ac_try='test -s conftest.$ac_objext'
2951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952   (eval $ac_try) 2>&5
2953   ac_status=$?
2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); }; }; then
2956   ac_header_compiler=yes
2957 else
2958   echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2960
2961 ac_header_compiler=no
2962 fi
2963 rm -f conftest.$ac_objext conftest.$ac_ext
2964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2965 echo "${ECHO_T}$ac_header_compiler" >&6
2966
2967 # Is the header present?
2968 echo "$as_me:$LINENO: checking paper.h presence" >&5
2969 echo $ECHO_N "checking paper.h presence... $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2972 /* confdefs.h.  */
2973 _ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h.  */
2977 #include <paper.h>
2978 _ACEOF
2979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2980   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2981   ac_status=$?
2982   grep -v '^ *+' conftest.er1 >conftest.err
2983   rm -f conftest.er1
2984   cat conftest.err >&5
2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986   (exit $ac_status); } >/dev/null; then
2987   if test -s conftest.err; then
2988     ac_cpp_err=$ac_c_preproc_warn_flag
2989   else
2990     ac_cpp_err=
2991   fi
2992 else
2993   ac_cpp_err=yes
2994 fi
2995 if test -z "$ac_cpp_err"; then
2996   ac_header_preproc=yes
2997 else
2998   echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3000
3001   ac_header_preproc=no
3002 fi
3003 rm -f conftest.err conftest.$ac_ext
3004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3005 echo "${ECHO_T}$ac_header_preproc" >&6
3006
3007 # So?  What about this header?
3008 case $ac_header_compiler:$ac_header_preproc in
3009   yes:no )
3010     { echo "$as_me:$LINENO: WARNING: paper.h: accepted by the compiler, rejected by the preprocessor!" >&5
3011 echo "$as_me: WARNING: paper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012     { echo "$as_me:$LINENO: WARNING: paper.h: proceeding with the preprocessor's result" >&5
3013 echo "$as_me: WARNING: paper.h: proceeding with the preprocessor's result" >&2;}
3014     (
3015       cat <<\_ASBOX
3016 ## ------------------------------------ ##
3017 ## Report this to bug-autoconf@gnu.org. ##
3018 ## ------------------------------------ ##
3019 _ASBOX
3020     ) |
3021       sed "s/^/$as_me: WARNING:     /" >&2
3022     ;;
3023   no:yes )
3024     { echo "$as_me:$LINENO: WARNING: paper.h: present but cannot be compiled" >&5
3025 echo "$as_me: WARNING: paper.h: present but cannot be compiled" >&2;}
3026     { echo "$as_me:$LINENO: WARNING: paper.h: check for missing prerequisite headers?" >&5
3027 echo "$as_me: WARNING: paper.h: check for missing prerequisite headers?" >&2;}
3028     { echo "$as_me:$LINENO: WARNING: paper.h: proceeding with the preprocessor's result" >&5
3029 echo "$as_me: WARNING: paper.h: proceeding with the preprocessor's result" >&2;}
3030     (
3031       cat <<\_ASBOX
3032 ## ------------------------------------ ##
3033 ## Report this to bug-autoconf@gnu.org. ##
3034 ## ------------------------------------ ##
3035 _ASBOX
3036     ) |
3037       sed "s/^/$as_me: WARNING:     /" >&2
3038     ;;
3039 esac
3040 echo "$as_me:$LINENO: checking for paper.h" >&5
3041 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
3042 if test "${ac_cv_header_paper_h+set}" = set; then
3043   echo $ECHO_N "(cached) $ECHO_C" >&6
3044 else
3045   ac_cv_header_paper_h=$ac_header_preproc
3046 fi
3047 echo "$as_me:$LINENO: result: $ac_cv_header_paper_h" >&5
3048 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
3049
3050 fi
3051 if test $ac_cv_header_paper_h = yes; then
3052   LIBPAPER=-lpaper
3053 else
3054   NO_LIBPAPER=-DNO_LIBPAPER
3055 fi
3056
3057
3058
3059 for ac_header in unistd.h
3060 do
3061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3063   echo "$as_me:$LINENO: checking for $ac_header" >&5
3064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3066   echo $ECHO_N "(cached) $ECHO_C" >&6
3067 fi
3068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3070 else
3071   # Is the header compilable?
3072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3074 cat >conftest.$ac_ext <<_ACEOF
3075 #line $LINENO "configure"
3076 /* confdefs.h.  */
3077 _ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h.  */
3081 $ac_includes_default
3082 #include <$ac_header>
3083 _ACEOF
3084 rm -f conftest.$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086   (eval $ac_compile) 2>&5
3087   ac_status=$?
3088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089   (exit $ac_status); } &&
3090          { ac_try='test -s conftest.$ac_objext'
3091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092   (eval $ac_try) 2>&5
3093   ac_status=$?
3094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095   (exit $ac_status); }; }; then
3096   ac_header_compiler=yes
3097 else
3098   echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3100
3101 ac_header_compiler=no
3102 fi
3103 rm -f conftest.$ac_objext conftest.$ac_ext
3104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3105 echo "${ECHO_T}$ac_header_compiler" >&6
3106
3107 # Is the header present?
3108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3110 cat >conftest.$ac_ext <<_ACEOF
3111 #line $LINENO "configure"
3112 /* confdefs.h.  */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h.  */
3117 #include <$ac_header>
3118 _ACEOF
3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3120   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3121   ac_status=$?
3122   grep -v '^ *+' conftest.er1 >conftest.err
3123   rm -f conftest.er1
3124   cat conftest.err >&5
3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126   (exit $ac_status); } >/dev/null; then
3127   if test -s conftest.err; then
3128     ac_cpp_err=$ac_c_preproc_warn_flag
3129   else
3130     ac_cpp_err=
3131   fi
3132 else
3133   ac_cpp_err=yes
3134 fi
3135 if test -z "$ac_cpp_err"; then
3136   ac_header_preproc=yes
3137 else
3138   echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.$ac_ext >&5
3140
3141   ac_header_preproc=no
3142 fi
3143 rm -f conftest.err conftest.$ac_ext
3144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3145 echo "${ECHO_T}$ac_header_preproc" >&6
3146
3147 # So?  What about this header?
3148 case $ac_header_compiler:$ac_header_preproc in
3149   yes:no )
3150     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3152     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3154     (
3155       cat <<\_ASBOX
3156 ## ------------------------------------ ##
3157 ## Report this to bug-autoconf@gnu.org. ##
3158 ## ------------------------------------ ##
3159 _ASBOX
3160     ) |
3161       sed "s/^/$as_me: WARNING:     /" >&2
3162     ;;
3163   no:yes )
3164     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3166     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3168     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3170     (
3171       cat <<\_ASBOX
3172 ## ------------------------------------ ##
3173 ## Report this to bug-autoconf@gnu.org. ##
3174 ## ------------------------------------ ##
3175 _ASBOX
3176     ) |
3177       sed "s/^/$as_me: WARNING:     /" >&2
3178     ;;
3179 esac
3180 echo "$as_me:$LINENO: checking for $ac_header" >&5
3181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3183   echo $ECHO_N "(cached) $ECHO_C" >&6
3184 else
3185   eval "$as_ac_Header=$ac_header_preproc"
3186 fi
3187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3189
3190 fi
3191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3192   cat >>confdefs.h <<_ACEOF
3193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3194 _ACEOF
3195
3196 fi
3197
3198 done
3199
3200
3201 echo "$as_me:$LINENO: checking for strerror" >&5
3202 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3203 if test "${ac_cv_func_strerror+set}" = set; then
3204   echo $ECHO_N "(cached) $ECHO_C" >&6
3205 else
3206   cat >conftest.$ac_ext <<_ACEOF
3207 #line $LINENO "configure"
3208 /* confdefs.h.  */
3209 _ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h.  */
3213 /* System header to define __stub macros and hopefully few prototypes,
3214     which can conflict with char strerror (); below.
3215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216     <limits.h> exists even on freestanding compilers.  */
3217 #ifdef __STDC__
3218 # include <limits.h>
3219 #else
3220 # include <assert.h>
3221 #endif
3222 /* Override any gcc2 internal prototype to avoid an error.  */
3223 #ifdef __cplusplus
3224 extern "C"
3225 {
3226 #endif
3227 /* We use char because int might match the return type of a gcc2
3228    builtin and then its argument prototype would still apply.  */
3229 char strerror ();
3230 /* The GNU C library defines this for functions which it implements
3231     to always fail with ENOSYS.  Some functions are actually named
3232     something starting with __ and the normal name is an alias.  */
3233 #if defined (__stub_strerror) || defined (__stub___strerror)
3234 choke me
3235 #else
3236 char (*f) () = strerror;
3237 #endif
3238 #ifdef __cplusplus
3239 }
3240 #endif
3241
3242 int
3243 main ()
3244 {
3245 return f != strerror;
3246   ;
3247   return 0;
3248 }
3249 _ACEOF
3250 rm -f conftest.$ac_objext conftest$ac_exeext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3252   (eval $ac_link) 2>&5
3253   ac_status=$?
3254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255   (exit $ac_status); } &&
3256          { ac_try='test -s conftest$ac_exeext'
3257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258   (eval $ac_try) 2>&5
3259   ac_status=$?
3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261   (exit $ac_status); }; }; then
3262   ac_cv_func_strerror=yes
3263 else
3264   echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3266
3267 ac_cv_func_strerror=no
3268 fi
3269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3270 fi
3271 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3272 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3273 if test $ac_cv_func_strerror = yes; then
3274   :
3275 else
3276   NO_STRERROR=-DNO_STRERROR
3277 fi
3278
3279
3280 for ac_func in strcasecmp
3281 do
3282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3283 echo "$as_me:$LINENO: checking for $ac_func" >&5
3284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3285 if eval "test \"\${$as_ac_var+set}\" = set"; then
3286   echo $ECHO_N "(cached) $ECHO_C" >&6
3287 else
3288   cat >conftest.$ac_ext <<_ACEOF
3289 #line $LINENO "configure"
3290 /* confdefs.h.  */
3291 _ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h.  */
3295 /* System header to define __stub macros and hopefully few prototypes,
3296     which can conflict with char $ac_func (); below.
3297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3298     <limits.h> exists even on freestanding compilers.  */
3299 #ifdef __STDC__
3300 # include <limits.h>
3301 #else
3302 # include <assert.h>
3303 #endif
3304 /* Override any gcc2 internal prototype to avoid an error.  */
3305 #ifdef __cplusplus
3306 extern "C"
3307 {
3308 #endif
3309 /* We use char because int might match the return type of a gcc2
3310    builtin and then its argument prototype would still apply.  */
3311 char $ac_func ();
3312 /* The GNU C library defines this for functions which it implements
3313     to always fail with ENOSYS.  Some functions are actually named
3314     something starting with __ and the normal name is an alias.  */
3315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3316 choke me
3317 #else
3318 char (*f) () = $ac_func;
3319 #endif
3320 #ifdef __cplusplus
3321 }
3322 #endif
3323
3324 int
3325 main ()
3326 {
3327 return f != $ac_func;
3328   ;
3329   return 0;
3330 }
3331 _ACEOF
3332 rm -f conftest.$ac_objext conftest$ac_exeext
3333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3334   (eval $ac_link) 2>&5
3335   ac_status=$?
3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337   (exit $ac_status); } &&
3338          { ac_try='test -s conftest$ac_exeext'
3339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340   (eval $ac_try) 2>&5
3341   ac_status=$?
3342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343   (exit $ac_status); }; }; then
3344   eval "$as_ac_var=yes"
3345 else
3346   echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3348
3349 eval "$as_ac_var=no"
3350 fi
3351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3352 fi
3353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3355 if test `eval echo '${'$as_ac_var'}'` = yes; then
3356   cat >>confdefs.h <<_ACEOF
3357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3358 _ACEOF
3359
3360 fi
3361 done
3362
3363
3364 echo "$as_me:$LINENO: checking \"for gmake\"" >&5
3365 echo $ECHO_N "checking \"for gmake\"... $ECHO_C" >&6
3366 GMAKE=no
3367 ${MAKE=make} --version 2> /dev/null | grep GNU > /dev/null && GMAKE=yes
3368 echo "$as_me:$LINENO: result: $GMAKE" >&5
3369 echo "${ECHO_T}$GMAKE" >&6
3370 if test "$GMAKE" = "yes"; then
3371         GMAKEDEPEND0='ifeq (.depend,$(wildcard .depend))'
3372         GMAKEDEPEND1='include .depend'
3373         GMAKEDEPEND2='endif'
3374 fi
3375
3376 echo "$as_me:$LINENO: checking \"if makeinfo can output html\"" >&5
3377 echo $ECHO_N "checking \"if makeinfo can output html\"... $ECHO_C" >&6
3378 MAKEINFOHTML=no
3379 ${MAKEINFO=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
3380 echo "$as_me:$LINENO: result: $MAKEINFOHTML" >&5
3381 echo "${ECHO_T}$MAKEINFOHTML" >&6
3382 if test "$MAKEINFOHTML" = "yes"; then
3383    REMOVEHTMLTAGS="cat"
3384    INFOTOHTML="$MAKEINFO --html"
3385 else
3386    REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
3387    INFOTOHTML="perl texi2html -monolithic"
3388 fi
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400           ac_config_files="$ac_config_files Makefile"
3401 cat >confcache <<\_ACEOF
3402 # This file is a shell script that caches the results of configure
3403 # tests run on this system so they can be shared between configure
3404 # scripts and configure runs, see configure's option --config-cache.
3405 # It is not useful on other systems.  If it contains results you don't
3406 # want to keep, you may remove or edit it.
3407 #
3408 # config.status only pays attention to the cache file if you give it
3409 # the --recheck option to rerun configure.
3410 #
3411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3413 # following values.
3414
3415 _ACEOF
3416
3417 # The following way of writing the cache mishandles newlines in values,
3418 # but we know of no workaround that is simple, portable, and efficient.
3419 # So, don't put newlines in cache variables' values.
3420 # Ultrix sh set writes to stderr and can't be redirected directly,
3421 # and sets the high bit in the cache file unless we assign to the vars.
3422 {
3423   (set) 2>&1 |
3424     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3425     *ac_space=\ *)
3426       # `set' does not quote correctly, so add quotes (double-quote
3427       # substitution turns \\\\ into \\, and sed turns \\ into \).
3428       sed -n \
3429         "s/'/'\\\\''/g;
3430           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3431       ;;
3432     *)
3433       # `set' quotes correctly as required by POSIX, so do not add quotes.
3434       sed -n \
3435         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3436       ;;
3437     esac;
3438 } |
3439   sed '
3440      t clear
3441      : clear
3442      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3443      t end
3444      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3445      : end' >>confcache
3446 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3447   if test -w $cache_file; then
3448     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3449     cat confcache >$cache_file
3450   else
3451     echo "not updating unwritable cache $cache_file"
3452   fi
3453 fi
3454 rm -f confcache
3455
3456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3457 # Let make expand exec_prefix.
3458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3459
3460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3462 # trailing colons and then remove the whole line if VPATH becomes empty
3463 # (actually we leave an empty line to preserve line numbers).
3464 if test "x$srcdir" = x.; then
3465   ac_vpsub='/^[         ]*VPATH[        ]*=/{
3466 s/:*\$(srcdir):*/:/;
3467 s/:*\${srcdir}:*/:/;
3468 s/:*@srcdir@:*/:/;
3469 s/^\([^=]*=[    ]*\):*/\1/;
3470 s/:*$//;
3471 s/^[^=]*=[      ]*$//;
3472 }'
3473 fi
3474
3475 # Transform confdefs.h into DEFS.
3476 # Protect against shell expansion while executing Makefile rules.
3477 # Protect against Makefile macro expansion.
3478 #
3479 # If the first sed substitution is executed (which looks for macros that
3480 # take arguments), then we branch to the quote section.  Otherwise,
3481 # look for a macro that doesn't take arguments.
3482 cat >confdef2opt.sed <<\_ACEOF
3483 t clear
3484 : clear
3485 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3486 t quote
3487 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3488 t quote
3489 d
3490 : quote
3491 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
3492 s,\[,\\&,g
3493 s,\],\\&,g
3494 s,\$,$$,g
3495 p
3496 _ACEOF
3497 # We use echo to avoid assuming a particular line-breaking character.
3498 # The extra dot is to prevent the shell from consuming trailing
3499 # line-breaks from the sub-command output.  A line-break within
3500 # single-quotes doesn't work because, if this script is created in a
3501 # platform that uses two characters for line-breaks (e.g., DOS), tr
3502 # would break.
3503 ac_LF_and_DOT=`echo; echo .`
3504 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3505 rm -f confdef2opt.sed
3506
3507
3508 ac_libobjs=
3509 ac_ltlibobjs=
3510 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3511   # 1. Remove the extension, and $U if already installed.
3512   ac_i=`echo "$ac_i" |
3513          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3514   # 2. Add them.
3515   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3516   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3517 done
3518 LIBOBJS=$ac_libobjs
3519
3520 LTLIBOBJS=$ac_ltlibobjs
3521
3522
3523
3524 : ${CONFIG_STATUS=./config.status}
3525 ac_clean_files_save=$ac_clean_files
3526 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3527 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3528 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3529 cat >$CONFIG_STATUS <<_ACEOF
3530 #! $SHELL
3531 # Generated by $as_me.
3532 # Run this file to recreate the current configuration.
3533 # Compiler output produced by configure, useful for debugging
3534 # configure, is in config.log if it exists.
3535
3536 debug=false
3537 ac_cs_recheck=false
3538 ac_cs_silent=false
3539 SHELL=\${CONFIG_SHELL-$SHELL}
3540 _ACEOF
3541
3542 cat >>$CONFIG_STATUS <<\_ACEOF
3543 ## --------------------- ##
3544 ## M4sh Initialization.  ##
3545 ## --------------------- ##
3546
3547 # Be Bourne compatible
3548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3549   emulate sh
3550   NULLCMD=:
3551   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3552   # is contrary to our usage.  Disable this feature.
3553   alias -g '${1+"$@"}'='"$@"'
3554 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3555   set -o posix
3556 fi
3557
3558 # Support unset when possible.
3559 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3560   as_unset=unset
3561 else
3562   as_unset=false
3563 fi
3564
3565
3566 # Work around bugs in pre-3.0 UWIN ksh.
3567 $as_unset ENV MAIL MAILPATH
3568 PS1='$ '
3569 PS2='> '
3570 PS4='+ '
3571
3572 # NLS nuisances.
3573 for as_var in \
3574   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3575   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3576   LC_TELEPHONE LC_TIME
3577 do
3578   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3579     eval $as_var=C; export $as_var
3580   else
3581     $as_unset $as_var
3582   fi
3583 done
3584
3585 # Required to use basename.
3586 if expr a : '\(a\)' >/dev/null 2>&1; then
3587   as_expr=expr
3588 else
3589   as_expr=false
3590 fi
3591
3592 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3593   as_basename=basename
3594 else
3595   as_basename=false
3596 fi
3597
3598
3599 # Name of the executable.
3600 as_me=`$as_basename "$0" ||
3601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3602          X"$0" : 'X\(//\)$' \| \
3603          X"$0" : 'X\(/\)$' \| \
3604          .     : '\(.\)' 2>/dev/null ||
3605 echo X/"$0" |
3606     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3607           /^X\/\(\/\/\)$/{ s//\1/; q; }
3608           /^X\/\(\/\).*/{ s//\1/; q; }
3609           s/.*/./; q'`
3610
3611
3612 # PATH needs CR, and LINENO needs CR and PATH.
3613 # Avoid depending upon Character Ranges.
3614 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3617 as_cr_digits='0123456789'
3618 as_cr_alnum=$as_cr_Letters$as_cr_digits
3619
3620 # The user is always right.
3621 if test "${PATH_SEPARATOR+set}" != set; then
3622   echo "#! /bin/sh" >conf$$.sh
3623   echo  "exit 0"   >>conf$$.sh
3624   chmod +x conf$$.sh
3625   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3626     PATH_SEPARATOR=';'
3627   else
3628     PATH_SEPARATOR=:
3629   fi
3630   rm -f conf$$.sh
3631 fi
3632
3633
3634   as_lineno_1=$LINENO
3635   as_lineno_2=$LINENO
3636   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3637   test "x$as_lineno_1" != "x$as_lineno_2" &&
3638   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3639   # Find who we are.  Look in the path if we contain no path at all
3640   # relative or not.
3641   case $0 in
3642     *[\\/]* ) as_myself=$0 ;;
3643     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3645 do
3646   IFS=$as_save_IFS
3647   test -z "$as_dir" && as_dir=.
3648   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3649 done
3650
3651        ;;
3652   esac
3653   # We did not find ourselves, most probably we were run as `sh COMMAND'
3654   # in which case we are not to be found in the path.
3655   if test "x$as_myself" = x; then
3656     as_myself=$0
3657   fi
3658   if test ! -f "$as_myself"; then
3659     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3660 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3661    { (exit 1); exit 1; }; }
3662   fi
3663   case $CONFIG_SHELL in
3664   '')
3665     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3667 do
3668   IFS=$as_save_IFS
3669   test -z "$as_dir" && as_dir=.
3670   for as_base in sh bash ksh sh5; do
3671          case $as_dir in
3672          /*)
3673            if ("$as_dir/$as_base" -c '
3674   as_lineno_1=$LINENO
3675   as_lineno_2=$LINENO
3676   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3677   test "x$as_lineno_1" != "x$as_lineno_2" &&
3678   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3679              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3680              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3681              CONFIG_SHELL=$as_dir/$as_base
3682              export CONFIG_SHELL
3683              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3684            fi;;
3685          esac
3686        done
3687 done
3688 ;;
3689   esac
3690
3691   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3692   # uniformly replaced by the line number.  The first 'sed' inserts a
3693   # line-number line before each line; the second 'sed' does the real
3694   # work.  The second script uses 'N' to pair each line-number line
3695   # with the numbered line, and appends trailing '-' during
3696   # substitution so that $LINENO is not a special case at line end.
3697   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3698   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3699   sed '=' <$as_myself |
3700     sed '
3701       N
3702       s,$,-,
3703       : loop
3704       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3705       t loop
3706       s,-$,,
3707       s,^['$as_cr_digits']*\n,,
3708     ' >$as_me.lineno &&
3709   chmod +x $as_me.lineno ||
3710     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3711 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3712    { (exit 1); exit 1; }; }
3713
3714   # Don't try to exec as it changes $[0], causing all sort of problems
3715   # (the dirname of $[0] is not the place where we might find the
3716   # original and so on.  Autoconf is especially sensible to this).
3717   . ./$as_me.lineno
3718   # Exit status is that of the last command.
3719   exit
3720 }
3721
3722
3723 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3724   *c*,-n*) ECHO_N= ECHO_C='
3725 ' ECHO_T='      ' ;;
3726   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3727   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3728 esac
3729
3730 if expr a : '\(a\)' >/dev/null 2>&1; then
3731   as_expr=expr
3732 else
3733   as_expr=false
3734 fi
3735
3736 rm -f conf$$ conf$$.exe conf$$.file
3737 echo >conf$$.file
3738 if ln -s conf$$.file conf$$ 2>/dev/null; then
3739   # We could just check for DJGPP; but this test a) works b) is more generic
3740   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3741   if test -f conf$$.exe; then
3742     # Don't use ln at all; we don't have any links
3743     as_ln_s='cp -p'
3744   else
3745     as_ln_s='ln -s'
3746   fi
3747 elif ln conf$$.file conf$$ 2>/dev/null; then
3748   as_ln_s=ln
3749 else
3750   as_ln_s='cp -p'
3751 fi
3752 rm -f conf$$ conf$$.exe conf$$.file
3753
3754 if mkdir -p . 2>/dev/null; then
3755   as_mkdir_p=:
3756 else
3757   as_mkdir_p=false
3758 fi
3759
3760 as_executable_p="test -f"
3761
3762 # Sed expression to map a string onto a valid CPP name.
3763 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3764
3765 # Sed expression to map a string onto a valid variable name.
3766 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3767
3768
3769 # IFS
3770 # We need space, tab and new line, in precisely that order.
3771 as_nl='
3772 '
3773 IFS="   $as_nl"
3774
3775 # CDPATH.
3776 $as_unset CDPATH
3777
3778 exec 6>&1
3779
3780 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3781 # report actual input values of CONFIG_FILES etc. instead of their
3782 # values after options handling.  Logging --version etc. is OK.
3783 exec 5>>config.log
3784 {
3785   echo
3786   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3787 ## Running $as_me. ##
3788 _ASBOX
3789 } >&5
3790 cat >&5 <<_CSEOF
3791
3792 This file was extended by $as_me, which was
3793 generated by GNU Autoconf 2.57.  Invocation command line was
3794
3795   CONFIG_FILES    = $CONFIG_FILES
3796   CONFIG_HEADERS  = $CONFIG_HEADERS
3797   CONFIG_LINKS    = $CONFIG_LINKS
3798   CONFIG_COMMANDS = $CONFIG_COMMANDS
3799   $ $0 $@
3800
3801 _CSEOF
3802 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3803 echo >&5
3804 _ACEOF
3805
3806 # Files that config.status was made for.
3807 if test -n "$ac_config_files"; then
3808   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3809 fi
3810
3811 if test -n "$ac_config_headers"; then
3812   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3813 fi
3814
3815 if test -n "$ac_config_links"; then
3816   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3817 fi
3818
3819 if test -n "$ac_config_commands"; then
3820   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3821 fi
3822
3823 cat >>$CONFIG_STATUS <<\_ACEOF
3824
3825 ac_cs_usage="\
3826 \`$as_me' instantiates files from templates according to the
3827 current configuration.
3828
3829 Usage: $0 [OPTIONS] [FILE]...
3830
3831   -h, --help       print this help, then exit
3832   -V, --version    print version number, then exit
3833   -q, --quiet      do not print progress messages
3834   -d, --debug      don't remove temporary files
3835       --recheck    update $as_me by reconfiguring in the same conditions
3836   --file=FILE[:TEMPLATE]
3837                    instantiate the configuration file FILE
3838
3839 Configuration files:
3840 $config_files
3841
3842 Report bugs to <bug-autoconf@gnu.org>."
3843 _ACEOF
3844
3845 cat >>$CONFIG_STATUS <<_ACEOF
3846 ac_cs_version="\\
3847 config.status
3848 configured by $0, generated by GNU Autoconf 2.57,
3849   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3850
3851 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3852 Free Software Foundation, Inc.
3853 This config.status script is free software; the Free Software Foundation
3854 gives unlimited permission to copy, distribute and modify it."
3855 srcdir=$srcdir
3856 INSTALL="$INSTALL"
3857 _ACEOF
3858
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3860 # If no file are specified by the user, then we need to provide default
3861 # value.  By we need to know if files were specified by the user.
3862 ac_need_defaults=:
3863 while test $# != 0
3864 do
3865   case $1 in
3866   --*=*)
3867     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3868     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3869     ac_shift=:
3870     ;;
3871   -*)
3872     ac_option=$1
3873     ac_optarg=$2
3874     ac_shift=shift
3875     ;;
3876   *) # This is not an option, so the user has probably given explicit
3877      # arguments.
3878      ac_option=$1
3879      ac_need_defaults=false;;
3880   esac
3881
3882   case $ac_option in
3883   # Handling of the options.
3884 _ACEOF
3885 cat >>$CONFIG_STATUS <<\_ACEOF
3886   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3887     ac_cs_recheck=: ;;
3888   --version | --vers* | -V )
3889     echo "$ac_cs_version"; exit 0 ;;
3890   --he | --h)
3891     # Conflict between --help and --header
3892     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3893 Try \`$0 --help' for more information." >&5
3894 echo "$as_me: error: ambiguous option: $1
3895 Try \`$0 --help' for more information." >&2;}
3896    { (exit 1); exit 1; }; };;
3897   --help | --hel | -h )
3898     echo "$ac_cs_usage"; exit 0 ;;
3899   --debug | --d* | -d )
3900     debug=: ;;
3901   --file | --fil | --fi | --f )
3902     $ac_shift
3903     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3904     ac_need_defaults=false;;
3905   --header | --heade | --head | --hea )
3906     $ac_shift
3907     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3908     ac_need_defaults=false;;
3909   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3910   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3911     ac_cs_silent=: ;;
3912
3913   # This is an error.
3914   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3915 Try \`$0 --help' for more information." >&5
3916 echo "$as_me: error: unrecognized option: $1
3917 Try \`$0 --help' for more information." >&2;}
3918    { (exit 1); exit 1; }; } ;;
3919
3920   *) ac_config_targets="$ac_config_targets $1" ;;
3921
3922   esac
3923   shift
3924 done
3925
3926 ac_configure_extra_args=
3927
3928 if $ac_cs_silent; then
3929   exec 6>/dev/null
3930   ac_configure_extra_args="$ac_configure_extra_args --silent"
3931 fi
3932
3933 _ACEOF
3934 cat >>$CONFIG_STATUS <<_ACEOF
3935 if \$ac_cs_recheck; then
3936   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3937   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3938 fi
3939
3940 _ACEOF
3941
3942
3943
3944
3945
3946 cat >>$CONFIG_STATUS <<\_ACEOF
3947 for ac_config_target in $ac_config_targets
3948 do
3949   case "$ac_config_target" in
3950   # Handling of arguments.
3951   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3952   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3953 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3954    { (exit 1); exit 1; }; };;
3955   esac
3956 done
3957
3958 # If the user did not use the arguments to specify the items to instantiate,
3959 # then the envvar interface is used.  Set only those that are not.
3960 # We use the long form for the default assignment because of an extremely
3961 # bizarre bug on SunOS 4.1.3.
3962 if $ac_need_defaults; then
3963   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3964 fi
3965
3966 # Have a temporary directory for convenience.  Make it in the build tree
3967 # simply because there is no reason to put it here, and in addition,
3968 # creating and moving files from /tmp can sometimes cause problems.
3969 # Create a temporary directory, and hook for its removal unless debugging.
3970 $debug ||
3971 {
3972   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3973   trap '{ (exit 1); exit 1; }' 1 2 13 15
3974 }
3975
3976 # Create a (secure) tmp directory for tmp files.
3977
3978 {
3979   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3980   test -n "$tmp" && test -d "$tmp"
3981 }  ||
3982 {
3983   tmp=./confstat$$-$RANDOM
3984   (umask 077 && mkdir $tmp)
3985 } ||
3986 {
3987    echo "$me: cannot create a temporary directory in ." >&2
3988    { (exit 1); exit 1; }
3989 }
3990
3991 _ACEOF
3992
3993 cat >>$CONFIG_STATUS <<_ACEOF
3994
3995 #
3996 # CONFIG_FILES section.
3997 #
3998
3999 # No need to generate the scripts if there are no CONFIG_FILES.
4000 # This happens for instance when ./config.status config.h
4001 if test -n "\$CONFIG_FILES"; then
4002   # Protect against being on the right side of a sed subst in config.status.
4003   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4004    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4005 s,@SHELL@,$SHELL,;t t
4006 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4007 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4008 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4009 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4010 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4011 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4012 s,@exec_prefix@,$exec_prefix,;t t
4013 s,@prefix@,$prefix,;t t
4014 s,@program_transform_name@,$program_transform_name,;t t
4015 s,@bindir@,$bindir,;t t
4016 s,@sbindir@,$sbindir,;t t
4017 s,@libexecdir@,$libexecdir,;t t
4018 s,@datadir@,$datadir,;t t
4019 s,@sysconfdir@,$sysconfdir,;t t
4020 s,@sharedstatedir@,$sharedstatedir,;t t
4021 s,@localstatedir@,$localstatedir,;t t
4022 s,@libdir@,$libdir,;t t
4023 s,@includedir@,$includedir,;t t
4024 s,@oldincludedir@,$oldincludedir,;t t
4025 s,@infodir@,$infodir,;t t
4026 s,@mandir@,$mandir,;t t
4027 s,@build_alias@,$build_alias,;t t
4028 s,@host_alias@,$host_alias,;t t
4029 s,@target_alias@,$target_alias,;t t
4030 s,@DEFS@,$DEFS,;t t
4031 s,@ECHO_C@,$ECHO_C,;t t
4032 s,@ECHO_N@,$ECHO_N,;t t
4033 s,@ECHO_T@,$ECHO_T,;t t
4034 s,@LIBS@,$LIBS,;t t
4035 s,@CC@,$CC,;t t
4036 s,@CFLAGS@,$CFLAGS,;t t
4037 s,@LDFLAGS@,$LDFLAGS,;t t
4038 s,@CPPFLAGS@,$CPPFLAGS,;t t
4039 s,@ac_ct_CC@,$ac_ct_CC,;t t
4040 s,@EXEEXT@,$EXEEXT,;t t
4041 s,@OBJEXT@,$OBJEXT,;t t
4042 s,@RANLIB@,$RANLIB,;t t
4043 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4044 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4045 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4046 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4047 s,@CPP@,$CPP,;t t
4048 s,@EGREP@,$EGREP,;t t
4049 s,@GETOPT_O@,$GETOPT_O,;t t
4050 s,@NO_GETOPT@,$NO_GETOPT,;t t
4051 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
4052 s,@LIBPAPER@,$LIBPAPER,;t t
4053 s,@NO_STRERROR@,$NO_STRERROR,;t t
4054 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
4055 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
4056 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
4057 s,@LIBOBJS@,$LIBOBJS,;t t
4058 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4059 CEOF
4060
4061 _ACEOF
4062
4063   cat >>$CONFIG_STATUS <<\_ACEOF
4064   # Split the substitutions into bite-sized pieces for seds with
4065   # small command number limits, like on Digital OSF/1 and HP-UX.
4066   ac_max_sed_lines=48
4067   ac_sed_frag=1 # Number of current file.
4068   ac_beg=1 # First line for current file.
4069   ac_end=$ac_max_sed_lines # Line after last line for current file.
4070   ac_more_lines=:
4071   ac_sed_cmds=
4072   while $ac_more_lines; do
4073     if test $ac_beg -gt 1; then
4074       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4075     else
4076       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4077     fi
4078     if test ! -s $tmp/subs.frag; then
4079       ac_more_lines=false
4080     else
4081       # The purpose of the label and of the branching condition is to
4082       # speed up the sed processing (if there are no `@' at all, there
4083       # is no need to browse any of the substitutions).
4084       # These are the two extra sed commands mentioned above.
4085       (echo ':t
4086   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4087       if test -z "$ac_sed_cmds"; then
4088         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4089       else
4090         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4091       fi
4092       ac_sed_frag=`expr $ac_sed_frag + 1`
4093       ac_beg=$ac_end
4094       ac_end=`expr $ac_end + $ac_max_sed_lines`
4095     fi
4096   done
4097   if test -z "$ac_sed_cmds"; then
4098     ac_sed_cmds=cat
4099   fi
4100 fi # test -n "$CONFIG_FILES"
4101
4102 _ACEOF
4103 cat >>$CONFIG_STATUS <<\_ACEOF
4104 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4105   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4106   case $ac_file in
4107   - | *:- | *:-:* ) # input from stdin
4108         cat >$tmp/stdin
4109         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4110         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4111   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4112         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4113   * )   ac_file_in=$ac_file.in ;;
4114   esac
4115
4116   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4117   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4119          X"$ac_file" : 'X\(//\)[^/]' \| \
4120          X"$ac_file" : 'X\(//\)$' \| \
4121          X"$ac_file" : 'X\(/\)' \| \
4122          .     : '\(.\)' 2>/dev/null ||
4123 echo X"$ac_file" |
4124     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4125           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4126           /^X\(\/\/\)$/{ s//\1/; q; }
4127           /^X\(\/\).*/{ s//\1/; q; }
4128           s/.*/./; q'`
4129   { if $as_mkdir_p; then
4130     mkdir -p "$ac_dir"
4131   else
4132     as_dir="$ac_dir"
4133     as_dirs=
4134     while test ! -d "$as_dir"; do
4135       as_dirs="$as_dir $as_dirs"
4136       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4138          X"$as_dir" : 'X\(//\)[^/]' \| \
4139          X"$as_dir" : 'X\(//\)$' \| \
4140          X"$as_dir" : 'X\(/\)' \| \
4141          .     : '\(.\)' 2>/dev/null ||
4142 echo X"$as_dir" |
4143     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4144           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4145           /^X\(\/\/\)$/{ s//\1/; q; }
4146           /^X\(\/\).*/{ s//\1/; q; }
4147           s/.*/./; q'`
4148     done
4149     test ! -n "$as_dirs" || mkdir $as_dirs
4150   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4151 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4152    { (exit 1); exit 1; }; }; }
4153
4154   ac_builddir=.
4155
4156 if test "$ac_dir" != .; then
4157   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4158   # A "../" for each directory in $ac_dir_suffix.
4159   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4160 else
4161   ac_dir_suffix= ac_top_builddir=
4162 fi
4163
4164 case $srcdir in
4165   .)  # No --srcdir option.  We are building in place.
4166     ac_srcdir=.
4167     if test -z "$ac_top_builddir"; then
4168        ac_top_srcdir=.
4169     else
4170        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4171     fi ;;
4172   [\\/]* | ?:[\\/]* )  # Absolute path.
4173     ac_srcdir=$srcdir$ac_dir_suffix;
4174     ac_top_srcdir=$srcdir ;;
4175   *) # Relative path.
4176     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4177     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4178 esac
4179 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4180 # absolute.
4181 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4182 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4183 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4184 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4185
4186
4187   case $INSTALL in
4188   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4189   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4190   esac
4191
4192   if test x"$ac_file" != x-; then
4193     { echo "$as_me:$LINENO: creating $ac_file" >&5
4194 echo "$as_me: creating $ac_file" >&6;}
4195     rm -f "$ac_file"
4196   fi
4197   # Let's still pretend it is `configure' which instantiates (i.e., don't
4198   # use $as_me), people would be surprised to read:
4199   #    /* config.h.  Generated by config.status.  */
4200   if test x"$ac_file" = x-; then
4201     configure_input=
4202   else
4203     configure_input="$ac_file.  "
4204   fi
4205   configure_input=$configure_input"Generated from `echo $ac_file_in |
4206                                      sed 's,.*/,,'` by configure."
4207
4208   # First look for the input files in the build tree, otherwise in the
4209   # src tree.
4210   ac_file_inputs=`IFS=:
4211     for f in $ac_file_in; do
4212       case $f in
4213       -) echo $tmp/stdin ;;
4214       [\\/$]*)
4215          # Absolute (can't be DOS-style, as IFS=:)
4216          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4217 echo "$as_me: error: cannot find input file: $f" >&2;}
4218    { (exit 1); exit 1; }; }
4219          echo $f;;
4220       *) # Relative
4221          if test -f "$f"; then
4222            # Build tree
4223            echo $f
4224          elif test -f "$srcdir/$f"; then
4225            # Source tree
4226            echo $srcdir/$f
4227          else
4228            # /dev/null tree
4229            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4230 echo "$as_me: error: cannot find input file: $f" >&2;}
4231    { (exit 1); exit 1; }; }
4232          fi;;
4233       esac
4234     done` || { (exit 1); exit 1; }
4235 _ACEOF
4236 cat >>$CONFIG_STATUS <<_ACEOF
4237   sed "$ac_vpsub
4238 $extrasub
4239 _ACEOF
4240 cat >>$CONFIG_STATUS <<\_ACEOF
4241 :t
4242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4243 s,@configure_input@,$configure_input,;t t
4244 s,@srcdir@,$ac_srcdir,;t t
4245 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4246 s,@top_srcdir@,$ac_top_srcdir,;t t
4247 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4248 s,@builddir@,$ac_builddir,;t t
4249 s,@abs_builddir@,$ac_abs_builddir,;t t
4250 s,@top_builddir@,$ac_top_builddir,;t t
4251 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4252 s,@INSTALL@,$ac_INSTALL,;t t
4253 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4254   rm -f $tmp/stdin
4255   if test x"$ac_file" != x-; then
4256     mv $tmp/out $ac_file
4257   else
4258     cat $tmp/out
4259     rm -f $tmp/out
4260   fi
4261
4262 done
4263 _ACEOF
4264
4265 cat >>$CONFIG_STATUS <<\_ACEOF
4266
4267 { (exit 0); exit 0; }
4268 _ACEOF
4269 chmod +x $CONFIG_STATUS
4270 ac_clean_files=$ac_clean_files_save
4271
4272
4273 # configure is writing to config.log, and then calls config.status.
4274 # config.status does its own redirection, appending to config.log.
4275 # Unfortunately, on DOS this fails, as config.log is still kept open
4276 # by configure, so config.status won't be able to write to it; its
4277 # output is simply discarded.  So we exec the FD to /dev/null,
4278 # effectively closing config.log, so it can be properly (re)opened and
4279 # appended to by config.status.  When coming back to configure, we
4280 # need to make the FD available again.
4281 if test "$no_create" != yes; then
4282   ac_cs_success=:
4283   ac_config_status_args=
4284   test "$silent" = yes &&
4285     ac_config_status_args="$ac_config_status_args --quiet"
4286   exec 5>/dev/null
4287   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4288   exec 5>>config.log
4289   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4290   # would make configure fail if this is the last instruction.
4291   $ac_cs_success || { (exit 1); exit 1; }
4292 fi
4293
4294
4295
4296
4297
4298
4299           ac_config_files="$ac_config_files doc/Makefile"
4300 cat >confcache <<\_ACEOF
4301 # This file is a shell script that caches the results of configure
4302 # tests run on this system so they can be shared between configure
4303 # scripts and configure runs, see configure's option --config-cache.
4304 # It is not useful on other systems.  If it contains results you don't
4305 # want to keep, you may remove or edit it.
4306 #
4307 # config.status only pays attention to the cache file if you give it
4308 # the --recheck option to rerun configure.
4309 #
4310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4312 # following values.
4313
4314 _ACEOF
4315
4316 # The following way of writing the cache mishandles newlines in values,
4317 # but we know of no workaround that is simple, portable, and efficient.
4318 # So, don't put newlines in cache variables' values.
4319 # Ultrix sh set writes to stderr and can't be redirected directly,
4320 # and sets the high bit in the cache file unless we assign to the vars.
4321 {
4322   (set) 2>&1 |
4323     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4324     *ac_space=\ *)
4325       # `set' does not quote correctly, so add quotes (double-quote
4326       # substitution turns \\\\ into \\, and sed turns \\ into \).
4327       sed -n \
4328         "s/'/'\\\\''/g;
4329           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4330       ;;
4331     *)
4332       # `set' quotes correctly as required by POSIX, so do not add quotes.
4333       sed -n \
4334         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4335       ;;
4336     esac;
4337 } |
4338   sed '
4339      t clear
4340      : clear
4341      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4342      t end
4343      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4344      : end' >>confcache
4345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4346   if test -w $cache_file; then
4347     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4348     cat confcache >$cache_file
4349   else
4350     echo "not updating unwritable cache $cache_file"
4351   fi
4352 fi
4353 rm -f confcache
4354
4355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4356 # Let make expand exec_prefix.
4357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4358
4359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4361 # trailing colons and then remove the whole line if VPATH becomes empty
4362 # (actually we leave an empty line to preserve line numbers).
4363 if test "x$srcdir" = x.; then
4364   ac_vpsub='/^[         ]*VPATH[        ]*=/{
4365 s/:*\$(srcdir):*/:/;
4366 s/:*\${srcdir}:*/:/;
4367 s/:*@srcdir@:*/:/;
4368 s/^\([^=]*=[    ]*\):*/\1/;
4369 s/:*$//;
4370 s/^[^=]*=[      ]*$//;
4371 }'
4372 fi
4373
4374 # Transform confdefs.h into DEFS.
4375 # Protect against shell expansion while executing Makefile rules.
4376 # Protect against Makefile macro expansion.
4377 #
4378 # If the first sed substitution is executed (which looks for macros that
4379 # take arguments), then we branch to the quote section.  Otherwise,
4380 # look for a macro that doesn't take arguments.
4381 cat >confdef2opt.sed <<\_ACEOF
4382 t clear
4383 : clear
4384 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4385 t quote
4386 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4387 t quote
4388 d
4389 : quote
4390 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
4391 s,\[,\\&,g
4392 s,\],\\&,g
4393 s,\$,$$,g
4394 p
4395 _ACEOF
4396 # We use echo to avoid assuming a particular line-breaking character.
4397 # The extra dot is to prevent the shell from consuming trailing
4398 # line-breaks from the sub-command output.  A line-break within
4399 # single-quotes doesn't work because, if this script is created in a
4400 # platform that uses two characters for line-breaks (e.g., DOS), tr
4401 # would break.
4402 ac_LF_and_DOT=`echo; echo .`
4403 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4404 rm -f confdef2opt.sed
4405
4406
4407 ac_libobjs=
4408 ac_ltlibobjs=
4409 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4410   # 1. Remove the extension, and $U if already installed.
4411   ac_i=`echo "$ac_i" |
4412          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4413   # 2. Add them.
4414   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4415   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4416 done
4417 LIBOBJS=$ac_libobjs
4418
4419 LTLIBOBJS=$ac_ltlibobjs
4420
4421
4422
4423 : ${CONFIG_STATUS=./config.status}
4424 ac_clean_files_save=$ac_clean_files
4425 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4426 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4427 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4428 cat >$CONFIG_STATUS <<_ACEOF
4429 #! $SHELL
4430 # Generated by $as_me.
4431 # Run this file to recreate the current configuration.
4432 # Compiler output produced by configure, useful for debugging
4433 # configure, is in config.log if it exists.
4434
4435 debug=false
4436 ac_cs_recheck=false
4437 ac_cs_silent=false
4438 SHELL=\${CONFIG_SHELL-$SHELL}
4439 _ACEOF
4440
4441 cat >>$CONFIG_STATUS <<\_ACEOF
4442 ## --------------------- ##
4443 ## M4sh Initialization.  ##
4444 ## --------------------- ##
4445
4446 # Be Bourne compatible
4447 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4448   emulate sh
4449   NULLCMD=:
4450   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4451   # is contrary to our usage.  Disable this feature.
4452   alias -g '${1+"$@"}'='"$@"'
4453 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4454   set -o posix
4455 fi
4456
4457 # Support unset when possible.
4458 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4459   as_unset=unset
4460 else
4461   as_unset=false
4462 fi
4463
4464
4465 # Work around bugs in pre-3.0 UWIN ksh.
4466 $as_unset ENV MAIL MAILPATH
4467 PS1='$ '
4468 PS2='> '
4469 PS4='+ '
4470
4471 # NLS nuisances.
4472 for as_var in \
4473   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4474   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4475   LC_TELEPHONE LC_TIME
4476 do
4477   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4478     eval $as_var=C; export $as_var
4479   else
4480     $as_unset $as_var
4481   fi
4482 done
4483
4484 # Required to use basename.
4485 if expr a : '\(a\)' >/dev/null 2>&1; then
4486   as_expr=expr
4487 else
4488   as_expr=false
4489 fi
4490
4491 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4492   as_basename=basename
4493 else
4494   as_basename=false
4495 fi
4496
4497
4498 # Name of the executable.
4499 as_me=`$as_basename "$0" ||
4500 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4501          X"$0" : 'X\(//\)$' \| \
4502          X"$0" : 'X\(/\)$' \| \
4503          .     : '\(.\)' 2>/dev/null ||
4504 echo X/"$0" |
4505     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4506           /^X\/\(\/\/\)$/{ s//\1/; q; }
4507           /^X\/\(\/\).*/{ s//\1/; q; }
4508           s/.*/./; q'`
4509
4510
4511 # PATH needs CR, and LINENO needs CR and PATH.
4512 # Avoid depending upon Character Ranges.
4513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4516 as_cr_digits='0123456789'
4517 as_cr_alnum=$as_cr_Letters$as_cr_digits
4518
4519 # The user is always right.
4520 if test "${PATH_SEPARATOR+set}" != set; then
4521   echo "#! /bin/sh" >conf$$.sh
4522   echo  "exit 0"   >>conf$$.sh
4523   chmod +x conf$$.sh
4524   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4525     PATH_SEPARATOR=';'
4526   else
4527     PATH_SEPARATOR=:
4528   fi
4529   rm -f conf$$.sh
4530 fi
4531
4532
4533   as_lineno_1=$LINENO
4534   as_lineno_2=$LINENO
4535   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4536   test "x$as_lineno_1" != "x$as_lineno_2" &&
4537   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4538   # Find who we are.  Look in the path if we contain no path at all
4539   # relative or not.
4540   case $0 in
4541     *[\\/]* ) as_myself=$0 ;;
4542     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4544 do
4545   IFS=$as_save_IFS
4546   test -z "$as_dir" && as_dir=.
4547   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4548 done
4549
4550        ;;
4551   esac
4552   # We did not find ourselves, most probably we were run as `sh COMMAND'
4553   # in which case we are not to be found in the path.
4554   if test "x$as_myself" = x; then
4555     as_myself=$0
4556   fi
4557   if test ! -f "$as_myself"; then
4558     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4559 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4560    { (exit 1); exit 1; }; }
4561   fi
4562   case $CONFIG_SHELL in
4563   '')
4564     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4566 do
4567   IFS=$as_save_IFS
4568   test -z "$as_dir" && as_dir=.
4569   for as_base in sh bash ksh sh5; do
4570          case $as_dir in
4571          /*)
4572            if ("$as_dir/$as_base" -c '
4573   as_lineno_1=$LINENO
4574   as_lineno_2=$LINENO
4575   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4576   test "x$as_lineno_1" != "x$as_lineno_2" &&
4577   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4578              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4579              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4580              CONFIG_SHELL=$as_dir/$as_base
4581              export CONFIG_SHELL
4582              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4583            fi;;
4584          esac
4585        done
4586 done
4587 ;;
4588   esac
4589
4590   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4591   # uniformly replaced by the line number.  The first 'sed' inserts a
4592   # line-number line before each line; the second 'sed' does the real
4593   # work.  The second script uses 'N' to pair each line-number line
4594   # with the numbered line, and appends trailing '-' during
4595   # substitution so that $LINENO is not a special case at line end.
4596   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4597   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4598   sed '=' <$as_myself |
4599     sed '
4600       N
4601       s,$,-,
4602       : loop
4603       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4604       t loop
4605       s,-$,,
4606       s,^['$as_cr_digits']*\n,,
4607     ' >$as_me.lineno &&
4608   chmod +x $as_me.lineno ||
4609     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4610 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4611    { (exit 1); exit 1; }; }
4612
4613   # Don't try to exec as it changes $[0], causing all sort of problems
4614   # (the dirname of $[0] is not the place where we might find the
4615   # original and so on.  Autoconf is especially sensible to this).
4616   . ./$as_me.lineno
4617   # Exit status is that of the last command.
4618   exit
4619 }
4620
4621
4622 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4623   *c*,-n*) ECHO_N= ECHO_C='
4624 ' ECHO_T='      ' ;;
4625   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4626   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4627 esac
4628
4629 if expr a : '\(a\)' >/dev/null 2>&1; then
4630   as_expr=expr
4631 else
4632   as_expr=false
4633 fi
4634
4635 rm -f conf$$ conf$$.exe conf$$.file
4636 echo >conf$$.file
4637 if ln -s conf$$.file conf$$ 2>/dev/null; then
4638   # We could just check for DJGPP; but this test a) works b) is more generic
4639   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4640   if test -f conf$$.exe; then
4641     # Don't use ln at all; we don't have any links
4642     as_ln_s='cp -p'
4643   else
4644     as_ln_s='ln -s'
4645   fi
4646 elif ln conf$$.file conf$$ 2>/dev/null; then
4647   as_ln_s=ln
4648 else
4649   as_ln_s='cp -p'
4650 fi
4651 rm -f conf$$ conf$$.exe conf$$.file
4652
4653 if mkdir -p . 2>/dev/null; then
4654   as_mkdir_p=:
4655 else
4656   as_mkdir_p=false
4657 fi
4658
4659 as_executable_p="test -f"
4660
4661 # Sed expression to map a string onto a valid CPP name.
4662 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4663
4664 # Sed expression to map a string onto a valid variable name.
4665 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4666
4667
4668 # IFS
4669 # We need space, tab and new line, in precisely that order.
4670 as_nl='
4671 '
4672 IFS="   $as_nl"
4673
4674 # CDPATH.
4675 $as_unset CDPATH
4676
4677 exec 6>&1
4678
4679 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4680 # report actual input values of CONFIG_FILES etc. instead of their
4681 # values after options handling.  Logging --version etc. is OK.
4682 exec 5>>config.log
4683 {
4684   echo
4685   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4686 ## Running $as_me. ##
4687 _ASBOX
4688 } >&5
4689 cat >&5 <<_CSEOF
4690
4691 This file was extended by $as_me, which was
4692 generated by GNU Autoconf 2.57.  Invocation command line was
4693
4694   CONFIG_FILES    = $CONFIG_FILES
4695   CONFIG_HEADERS  = $CONFIG_HEADERS
4696   CONFIG_LINKS    = $CONFIG_LINKS
4697   CONFIG_COMMANDS = $CONFIG_COMMANDS
4698   $ $0 $@
4699
4700 _CSEOF
4701 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4702 echo >&5
4703 _ACEOF
4704
4705 # Files that config.status was made for.
4706 if test -n "$ac_config_files"; then
4707   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4708 fi
4709
4710 if test -n "$ac_config_headers"; then
4711   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4712 fi
4713
4714 if test -n "$ac_config_links"; then
4715   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4716 fi
4717
4718 if test -n "$ac_config_commands"; then
4719   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4720 fi
4721
4722 cat >>$CONFIG_STATUS <<\_ACEOF
4723
4724 ac_cs_usage="\
4725 \`$as_me' instantiates files from templates according to the
4726 current configuration.
4727
4728 Usage: $0 [OPTIONS] [FILE]...
4729
4730   -h, --help       print this help, then exit
4731   -V, --version    print version number, then exit
4732   -q, --quiet      do not print progress messages
4733   -d, --debug      don't remove temporary files
4734       --recheck    update $as_me by reconfiguring in the same conditions
4735   --file=FILE[:TEMPLATE]
4736                    instantiate the configuration file FILE
4737
4738 Configuration files:
4739 $config_files
4740
4741 Report bugs to <bug-autoconf@gnu.org>."
4742 _ACEOF
4743
4744 cat >>$CONFIG_STATUS <<_ACEOF
4745 ac_cs_version="\\
4746 config.status
4747 configured by $0, generated by GNU Autoconf 2.57,
4748   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4749
4750 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4751 Free Software Foundation, Inc.
4752 This config.status script is free software; the Free Software Foundation
4753 gives unlimited permission to copy, distribute and modify it."
4754 srcdir=$srcdir
4755 INSTALL="$INSTALL"
4756 _ACEOF
4757
4758 cat >>$CONFIG_STATUS <<\_ACEOF
4759 # If no file are specified by the user, then we need to provide default
4760 # value.  By we need to know if files were specified by the user.
4761 ac_need_defaults=:
4762 while test $# != 0
4763 do
4764   case $1 in
4765   --*=*)
4766     ac_option=`expr "x$1" : 'x\([^=]*\)='`
4767     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4768     ac_shift=:
4769     ;;
4770   -*)
4771     ac_option=$1
4772     ac_optarg=$2
4773     ac_shift=shift
4774     ;;
4775   *) # This is not an option, so the user has probably given explicit
4776      # arguments.
4777      ac_option=$1
4778      ac_need_defaults=false;;
4779   esac
4780
4781   case $ac_option in
4782   # Handling of the options.
4783 _ACEOF
4784 cat >>$CONFIG_STATUS <<\_ACEOF
4785   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4786     ac_cs_recheck=: ;;
4787   --version | --vers* | -V )
4788     echo "$ac_cs_version"; exit 0 ;;
4789   --he | --h)
4790     # Conflict between --help and --header
4791     { { echo "$as_me:$LINENO: error: ambiguous option: $1
4792 Try \`$0 --help' for more information." >&5
4793 echo "$as_me: error: ambiguous option: $1
4794 Try \`$0 --help' for more information." >&2;}
4795    { (exit 1); exit 1; }; };;
4796   --help | --hel | -h )
4797     echo "$ac_cs_usage"; exit 0 ;;
4798   --debug | --d* | -d )
4799     debug=: ;;
4800   --file | --fil | --fi | --f )
4801     $ac_shift
4802     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4803     ac_need_defaults=false;;
4804   --header | --heade | --head | --hea )
4805     $ac_shift
4806     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4807     ac_need_defaults=false;;
4808   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4809   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4810     ac_cs_silent=: ;;
4811
4812   # This is an error.
4813   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4814 Try \`$0 --help' for more information." >&5
4815 echo "$as_me: error: unrecognized option: $1
4816 Try \`$0 --help' for more information." >&2;}
4817    { (exit 1); exit 1; }; } ;;
4818
4819   *) ac_config_targets="$ac_config_targets $1" ;;
4820
4821   esac
4822   shift
4823 done
4824
4825 ac_configure_extra_args=
4826
4827 if $ac_cs_silent; then
4828   exec 6>/dev/null
4829   ac_configure_extra_args="$ac_configure_extra_args --silent"
4830 fi
4831
4832 _ACEOF
4833 cat >>$CONFIG_STATUS <<_ACEOF
4834 if \$ac_cs_recheck; then
4835   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4836   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4837 fi
4838
4839 _ACEOF
4840
4841
4842
4843
4844
4845 cat >>$CONFIG_STATUS <<\_ACEOF
4846 for ac_config_target in $ac_config_targets
4847 do
4848   case "$ac_config_target" in
4849   # Handling of arguments.
4850   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4851   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4852   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4853 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4854    { (exit 1); exit 1; }; };;
4855   esac
4856 done
4857
4858 # If the user did not use the arguments to specify the items to instantiate,
4859 # then the envvar interface is used.  Set only those that are not.
4860 # We use the long form for the default assignment because of an extremely
4861 # bizarre bug on SunOS 4.1.3.
4862 if $ac_need_defaults; then
4863   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4864 fi
4865
4866 # Have a temporary directory for convenience.  Make it in the build tree
4867 # simply because there is no reason to put it here, and in addition,
4868 # creating and moving files from /tmp can sometimes cause problems.
4869 # Create a temporary directory, and hook for its removal unless debugging.
4870 $debug ||
4871 {
4872   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4873   trap '{ (exit 1); exit 1; }' 1 2 13 15
4874 }
4875
4876 # Create a (secure) tmp directory for tmp files.
4877
4878 {
4879   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4880   test -n "$tmp" && test -d "$tmp"
4881 }  ||
4882 {
4883   tmp=./confstat$$-$RANDOM
4884   (umask 077 && mkdir $tmp)
4885 } ||
4886 {
4887    echo "$me: cannot create a temporary directory in ." >&2
4888    { (exit 1); exit 1; }
4889 }
4890
4891 _ACEOF
4892
4893 cat >>$CONFIG_STATUS <<_ACEOF
4894
4895 #
4896 # CONFIG_FILES section.
4897 #
4898
4899 # No need to generate the scripts if there are no CONFIG_FILES.
4900 # This happens for instance when ./config.status config.h
4901 if test -n "\$CONFIG_FILES"; then
4902   # Protect against being on the right side of a sed subst in config.status.
4903   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4904    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4905 s,@SHELL@,$SHELL,;t t
4906 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4907 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4908 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4909 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4910 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4911 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4912 s,@exec_prefix@,$exec_prefix,;t t
4913 s,@prefix@,$prefix,;t t
4914 s,@program_transform_name@,$program_transform_name,;t t
4915 s,@bindir@,$bindir,;t t
4916 s,@sbindir@,$sbindir,;t t
4917 s,@libexecdir@,$libexecdir,;t t
4918 s,@datadir@,$datadir,;t t
4919 s,@sysconfdir@,$sysconfdir,;t t
4920 s,@sharedstatedir@,$sharedstatedir,;t t
4921 s,@localstatedir@,$localstatedir,;t t
4922 s,@libdir@,$libdir,;t t
4923 s,@includedir@,$includedir,;t t
4924 s,@oldincludedir@,$oldincludedir,;t t
4925 s,@infodir@,$infodir,;t t
4926 s,@mandir@,$mandir,;t t
4927 s,@build_alias@,$build_alias,;t t
4928 s,@host_alias@,$host_alias,;t t
4929 s,@target_alias@,$target_alias,;t t
4930 s,@DEFS@,$DEFS,;t t
4931 s,@ECHO_C@,$ECHO_C,;t t
4932 s,@ECHO_N@,$ECHO_N,;t t
4933 s,@ECHO_T@,$ECHO_T,;t t
4934 s,@LIBS@,$LIBS,;t t
4935 s,@CC@,$CC,;t t
4936 s,@CFLAGS@,$CFLAGS,;t t
4937 s,@LDFLAGS@,$LDFLAGS,;t t
4938 s,@CPPFLAGS@,$CPPFLAGS,;t t
4939 s,@ac_ct_CC@,$ac_ct_CC,;t t
4940 s,@EXEEXT@,$EXEEXT,;t t
4941 s,@OBJEXT@,$OBJEXT,;t t
4942 s,@RANLIB@,$RANLIB,;t t
4943 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4944 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4945 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4946 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4947 s,@CPP@,$CPP,;t t
4948 s,@EGREP@,$EGREP,;t t
4949 s,@GETOPT_O@,$GETOPT_O,;t t
4950 s,@NO_GETOPT@,$NO_GETOPT,;t t
4951 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
4952 s,@LIBPAPER@,$LIBPAPER,;t t
4953 s,@NO_STRERROR@,$NO_STRERROR,;t t
4954 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
4955 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
4956 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
4957 s,@LIBOBJS@,$LIBOBJS,;t t
4958 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4959 s,@MAKEINFO@,$MAKEINFO,;t t
4960 s,@REMOVEHTMLTAGS@,$REMOVEHTMLTAGS,;t t
4961 s,@INFOTOHTML@,$INFOTOHTML,;t t
4962 CEOF
4963
4964 _ACEOF
4965
4966   cat >>$CONFIG_STATUS <<\_ACEOF
4967   # Split the substitutions into bite-sized pieces for seds with
4968   # small command number limits, like on Digital OSF/1 and HP-UX.
4969   ac_max_sed_lines=48
4970   ac_sed_frag=1 # Number of current file.
4971   ac_beg=1 # First line for current file.
4972   ac_end=$ac_max_sed_lines # Line after last line for current file.
4973   ac_more_lines=:
4974   ac_sed_cmds=
4975   while $ac_more_lines; do
4976     if test $ac_beg -gt 1; then
4977       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4978     else
4979       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4980     fi
4981     if test ! -s $tmp/subs.frag; then
4982       ac_more_lines=false
4983     else
4984       # The purpose of the label and of the branching condition is to
4985       # speed up the sed processing (if there are no `@' at all, there
4986       # is no need to browse any of the substitutions).
4987       # These are the two extra sed commands mentioned above.
4988       (echo ':t
4989   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4990       if test -z "$ac_sed_cmds"; then
4991         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4992       else
4993         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4994       fi
4995       ac_sed_frag=`expr $ac_sed_frag + 1`
4996       ac_beg=$ac_end
4997       ac_end=`expr $ac_end + $ac_max_sed_lines`
4998     fi
4999   done
5000   if test -z "$ac_sed_cmds"; then
5001     ac_sed_cmds=cat
5002   fi
5003 fi # test -n "$CONFIG_FILES"
5004
5005 _ACEOF
5006 cat >>$CONFIG_STATUS <<\_ACEOF
5007 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5008   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5009   case $ac_file in
5010   - | *:- | *:-:* ) # input from stdin
5011         cat >$tmp/stdin
5012         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5013         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5014   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5015         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5016   * )   ac_file_in=$ac_file.in ;;
5017   esac
5018
5019   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5020   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5021 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5022          X"$ac_file" : 'X\(//\)[^/]' \| \
5023          X"$ac_file" : 'X\(//\)$' \| \
5024          X"$ac_file" : 'X\(/\)' \| \
5025          .     : '\(.\)' 2>/dev/null ||
5026 echo X"$ac_file" |
5027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5028           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5029           /^X\(\/\/\)$/{ s//\1/; q; }
5030           /^X\(\/\).*/{ s//\1/; q; }
5031           s/.*/./; q'`
5032   { if $as_mkdir_p; then
5033     mkdir -p "$ac_dir"
5034   else
5035     as_dir="$ac_dir"
5036     as_dirs=
5037     while test ! -d "$as_dir"; do
5038       as_dirs="$as_dir $as_dirs"
5039       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5041          X"$as_dir" : 'X\(//\)[^/]' \| \
5042          X"$as_dir" : 'X\(//\)$' \| \
5043          X"$as_dir" : 'X\(/\)' \| \
5044          .     : '\(.\)' 2>/dev/null ||
5045 echo X"$as_dir" |
5046     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5047           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5048           /^X\(\/\/\)$/{ s//\1/; q; }
5049           /^X\(\/\).*/{ s//\1/; q; }
5050           s/.*/./; q'`
5051     done
5052     test ! -n "$as_dirs" || mkdir $as_dirs
5053   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5054 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5055    { (exit 1); exit 1; }; }; }
5056
5057   ac_builddir=.
5058
5059 if test "$ac_dir" != .; then
5060   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5061   # A "../" for each directory in $ac_dir_suffix.
5062   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5063 else
5064   ac_dir_suffix= ac_top_builddir=
5065 fi
5066
5067 case $srcdir in
5068   .)  # No --srcdir option.  We are building in place.
5069     ac_srcdir=.
5070     if test -z "$ac_top_builddir"; then
5071        ac_top_srcdir=.
5072     else
5073        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5074     fi ;;
5075   [\\/]* | ?:[\\/]* )  # Absolute path.
5076     ac_srcdir=$srcdir$ac_dir_suffix;
5077     ac_top_srcdir=$srcdir ;;
5078   *) # Relative path.
5079     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5080     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5081 esac
5082 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5083 # absolute.
5084 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5085 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5086 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5087 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5088
5089
5090   case $INSTALL in
5091   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5092   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5093   esac
5094
5095   if test x"$ac_file" != x-; then
5096     { echo "$as_me:$LINENO: creating $ac_file" >&5
5097 echo "$as_me: creating $ac_file" >&6;}
5098     rm -f "$ac_file"
5099   fi
5100   # Let's still pretend it is `configure' which instantiates (i.e., don't
5101   # use $as_me), people would be surprised to read:
5102   #    /* config.h.  Generated by config.status.  */
5103   if test x"$ac_file" = x-; then
5104     configure_input=
5105   else
5106     configure_input="$ac_file.  "
5107   fi
5108   configure_input=$configure_input"Generated from `echo $ac_file_in |
5109                                      sed 's,.*/,,'` by configure."
5110
5111   # First look for the input files in the build tree, otherwise in the
5112   # src tree.
5113   ac_file_inputs=`IFS=:
5114     for f in $ac_file_in; do
5115       case $f in
5116       -) echo $tmp/stdin ;;
5117       [\\/$]*)
5118          # Absolute (can't be DOS-style, as IFS=:)
5119          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5120 echo "$as_me: error: cannot find input file: $f" >&2;}
5121    { (exit 1); exit 1; }; }
5122          echo $f;;
5123       *) # Relative
5124          if test -f "$f"; then
5125            # Build tree
5126            echo $f
5127          elif test -f "$srcdir/$f"; then
5128            # Source tree
5129            echo $srcdir/$f
5130          else
5131            # /dev/null tree
5132            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5133 echo "$as_me: error: cannot find input file: $f" >&2;}
5134    { (exit 1); exit 1; }; }
5135          fi;;
5136       esac
5137     done` || { (exit 1); exit 1; }
5138 _ACEOF
5139 cat >>$CONFIG_STATUS <<_ACEOF
5140   sed "$ac_vpsub
5141 $extrasub
5142 _ACEOF
5143 cat >>$CONFIG_STATUS <<\_ACEOF
5144 :t
5145 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5146 s,@configure_input@,$configure_input,;t t
5147 s,@srcdir@,$ac_srcdir,;t t
5148 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5149 s,@top_srcdir@,$ac_top_srcdir,;t t
5150 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5151 s,@builddir@,$ac_builddir,;t t
5152 s,@abs_builddir@,$ac_abs_builddir,;t t
5153 s,@top_builddir@,$ac_top_builddir,;t t
5154 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5155 s,@INSTALL@,$ac_INSTALL,;t t
5156 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5157   rm -f $tmp/stdin
5158   if test x"$ac_file" != x-; then
5159     mv $tmp/out $ac_file
5160   else
5161     cat $tmp/out
5162     rm -f $tmp/out
5163   fi
5164
5165 done
5166 _ACEOF
5167
5168 cat >>$CONFIG_STATUS <<\_ACEOF
5169
5170 { (exit 0); exit 0; }
5171 _ACEOF
5172 chmod +x $CONFIG_STATUS
5173 ac_clean_files=$ac_clean_files_save
5174
5175
5176 # configure is writing to config.log, and then calls config.status.
5177 # config.status does its own redirection, appending to config.log.
5178 # Unfortunately, on DOS this fails, as config.log is still kept open
5179 # by configure, so config.status won't be able to write to it; its
5180 # output is simply discarded.  So we exec the FD to /dev/null,
5181 # effectively closing config.log, so it can be properly (re)opened and
5182 # appended to by config.status.  When coming back to configure, we
5183 # need to make the FD available again.
5184 if test "$no_create" != yes; then
5185   ac_cs_success=:
5186   ac_config_status_args=
5187   test "$silent" = yes &&
5188     ac_config_status_args="$ac_config_status_args --quiet"
5189   exec 5>/dev/null
5190   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5191   exec 5>>config.log
5192   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5193   # would make configure fail if this is the last instruction.
5194   $ac_cs_success || { (exit 1); exit 1; }
5195 fi
5196
5197