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