source: vis_dev/vl2mv-2.3/configure @ 54

Last change on this file since 54 was 18, checked in by cecile, 13 years ago

vl2mv added

  • Property svn:executable set to *
File size: 176.5 KB
Line 
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="src/parser/main.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 glulibdir gluincdir vl2mvlibdir local_srcdir AR RANLIB ac_ct_RANLIB AWK SED build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LINKER LEX LEXLIB LEX_OUTPUT_ROOT LN_S SET_MAKE YACC LIBDIRS 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
834System types:
835  --build=BUILD     configure for building on BUILD [guessed]
836  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
837  --target=TARGET   configure for building compilers for TARGET [HOST]
838_ACEOF
839fi
840
841if test -n "$ac_init_help"; then
842
843  cat <<\_ACEOF
844
845Optional Features:
846  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
847  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
848  --enable-gcc            Allow use of gcc if available
849  --enable-64             Use 64-bit pointers on 64-bit Alpha machines
850
851Optional Packages:
852  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
853  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
854  --with-glu-libdir=<libdir> Specify directories to search for the GLU library.                          Expects to find <libdir>/libglu.a
855  --with-glu-incdir=<incdir> Specify directories to search for the GLU headers
856  --with-vl2mv-libdir=<libdir> Specify directories to search for the vl2mv
857                          library and headers.  Defaults to \".\".
858                          Expects to find <libdir>/libvl2mv.a
859  --with-local-srcdir=<srcdir> Specify the root directory to search for
860                          source for packages (the PKGS list).
861                          Expects to find, e.g., <srcdir>/parser/main.c
862  --with-comp-mode=<mode> Specify a special compilation mode:
863                          optimize (the default): Produce optimized
864                                code, with symbol table information
865                                if supported on the platform/compiler,
866                                and without asserts.
867                          debug: Produce unoptimized code with symbol table
868                                information and asserts enabled
869                          purify: Unoptimized code linked with purify
870                          quantify: Optimized code without asserts
871                                linked with quantify
872
873Some influential environment variables:
874  CC          C compiler command
875  CFLAGS      C compiler flags
876  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
877              nonstandard directory <lib dir>
878  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
879              headers in a nonstandard directory <include dir>
880  CPP         C preprocessor
881
882Use these variables to override the choices made by `configure' or to help
883it to find libraries and programs with nonstandard names/locations.
884
885_ACEOF
886fi
887
888if test "$ac_init_help" = "recursive"; then
889  # If there are subdirs, report their specific --help.
890  ac_popdir=`pwd`
891  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892    test -d $ac_dir || continue
893    ac_builddir=.
894
895if test "$ac_dir" != .; then
896  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897  # A "../" for each directory in $ac_dir_suffix.
898  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899else
900  ac_dir_suffix= ac_top_builddir=
901fi
902
903case $srcdir in
904  .)  # No --srcdir option.  We are building in place.
905    ac_srcdir=.
906    if test -z "$ac_top_builddir"; then
907       ac_top_srcdir=.
908    else
909       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910    fi ;;
911  [\\/]* | ?:[\\/]* )  # Absolute path.
912    ac_srcdir=$srcdir$ac_dir_suffix;
913    ac_top_srcdir=$srcdir ;;
914  *) # Relative path.
915    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916    ac_top_srcdir=$ac_top_builddir$srcdir ;;
917esac
918
919# Do not use `cd foo && pwd` to compute absolute paths, because
920# the directories may not exist.
921case `pwd` in
922.) ac_abs_builddir="$ac_dir";;
923*)
924  case "$ac_dir" in
925  .) ac_abs_builddir=`pwd`;;
926  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927  *) ac_abs_builddir=`pwd`/"$ac_dir";;
928  esac;;
929esac
930case $ac_abs_builddir in
931.) ac_abs_top_builddir=${ac_top_builddir}.;;
932*)
933  case ${ac_top_builddir}. in
934  .) ac_abs_top_builddir=$ac_abs_builddir;;
935  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937  esac;;
938esac
939case $ac_abs_builddir in
940.) ac_abs_srcdir=$ac_srcdir;;
941*)
942  case $ac_srcdir in
943  .) ac_abs_srcdir=$ac_abs_builddir;;
944  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946  esac;;
947esac
948case $ac_abs_builddir in
949.) ac_abs_top_srcdir=$ac_top_srcdir;;
950*)
951  case $ac_top_srcdir in
952  .) ac_abs_top_srcdir=$ac_abs_builddir;;
953  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955  esac;;
956esac
957
958    cd $ac_dir
959    # Check for guested configure; otherwise get Cygnus style configure.
960    if test -f $ac_srcdir/configure.gnu; then
961      echo
962      $SHELL $ac_srcdir/configure.gnu  --help=recursive
963    elif test -f $ac_srcdir/configure; then
964      echo
965      $SHELL $ac_srcdir/configure  --help=recursive
966    elif test -f $ac_srcdir/configure.ac ||
967           test -f $ac_srcdir/configure.in; then
968      echo
969      $ac_configure --help
970    else
971      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972    fi
973    cd $ac_popdir
974  done
975fi
976
977test -n "$ac_init_help" && exit 0
978if $ac_init_version; then
979  cat <<\_ACEOF
980
981Copyright (C) 2003 Free Software Foundation, Inc.
982This configure script is free software; the Free Software Foundation
983gives unlimited permission to copy, distribute and modify it.
984_ACEOF
985  exit 0
986fi
987exec 5>config.log
988cat >&5 <<_ACEOF
989This file contains any messages produced by compilers while
990running configure, to aid debugging if configure makes a mistake.
991
992It was created by $as_me, which was
993generated by GNU Autoconf 2.59.  Invocation command line was
994
995  $ $0 $@
996
997_ACEOF
998{
999cat <<_ASUNAME
1000## --------- ##
1001## Platform. ##
1002## --------- ##
1003
1004hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1005uname -m = `(uname -m) 2>/dev/null || echo unknown`
1006uname -r = `(uname -r) 2>/dev/null || echo unknown`
1007uname -s = `(uname -s) 2>/dev/null || echo unknown`
1008uname -v = `(uname -v) 2>/dev/null || echo unknown`
1009
1010/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1011/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1012
1013/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1014/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1015/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1016hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1017/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1018/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1019/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1020
1021_ASUNAME
1022
1023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024for as_dir in $PATH
1025do
1026  IFS=$as_save_IFS
1027  test -z "$as_dir" && as_dir=.
1028  echo "PATH: $as_dir"
1029done
1030
1031} >&5
1032
1033cat >&5 <<_ACEOF
1034
1035
1036## ----------- ##
1037## Core tests. ##
1038## ----------- ##
1039
1040_ACEOF
1041
1042
1043# Keep a trace of the command line.
1044# Strip out --no-create and --no-recursion so they do not pile up.
1045# Strip out --silent because we don't want to record it for future runs.
1046# Also quote any args containing shell meta-characters.
1047# Make two passes to allow for proper duplicate-argument suppression.
1048ac_configure_args=
1049ac_configure_args0=
1050ac_configure_args1=
1051ac_sep=
1052ac_must_keep_next=false
1053for ac_pass in 1 2
1054do
1055  for ac_arg
1056  do
1057    case $ac_arg in
1058    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060    | -silent | --silent | --silen | --sile | --sil)
1061      continue ;;
1062    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1064    esac
1065    case $ac_pass in
1066    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067    2)
1068      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069      if test $ac_must_keep_next = true; then
1070        ac_must_keep_next=false # Got value, back to normal.
1071      else
1072        case $ac_arg in
1073          *=* | --config-cache | -C | -disable-* | --disable-* \
1074          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076          | -with-* | --with-* | -without-* | --without-* | --x)
1077            case "$ac_configure_args0 " in
1078              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079            esac
1080            ;;
1081          -* ) ac_must_keep_next=true ;;
1082        esac
1083      fi
1084      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085      # Get rid of the leading space.
1086      ac_sep=" "
1087      ;;
1088    esac
1089  done
1090done
1091$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093
1094# When interrupted or exit'd, cleanup temporary files, and complete
1095# config.log.  We remove comments because anyway the quotes in there
1096# would cause problems or look ugly.
1097# WARNING: Be sure not to use single quotes in there, as some shells,
1098# such as our DU 5.0 friend, will then `close' the trap.
1099trap 'exit_status=$?
1100  # Save into config.log some information that might help in debugging.
1101  {
1102    echo
1103
1104    cat <<\_ASBOX
1105## ---------------- ##
1106## Cache variables. ##
1107## ---------------- ##
1108_ASBOX
1109    echo
1110    # The following way of writing the cache mishandles newlines in values,
1111{
1112  (set) 2>&1 |
1113    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114    *ac_space=\ *)
1115      sed -n \
1116        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118      ;;
1119    *)
1120      sed -n \
1121        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122      ;;
1123    esac;
1124}
1125    echo
1126
1127    cat <<\_ASBOX
1128## ----------------- ##
1129## Output variables. ##
1130## ----------------- ##
1131_ASBOX
1132    echo
1133    for ac_var in $ac_subst_vars
1134    do
1135      eval ac_val=$`echo $ac_var`
1136      echo "$ac_var='"'"'$ac_val'"'"'"
1137    done | sort
1138    echo
1139
1140    if test -n "$ac_subst_files"; then
1141      cat <<\_ASBOX
1142## ------------- ##
1143## Output files. ##
1144## ------------- ##
1145_ASBOX
1146      echo
1147      for ac_var in $ac_subst_files
1148      do
1149        eval ac_val=$`echo $ac_var`
1150        echo "$ac_var='"'"'$ac_val'"'"'"
1151      done | sort
1152      echo
1153    fi
1154
1155    if test -s confdefs.h; then
1156      cat <<\_ASBOX
1157## ----------- ##
1158## confdefs.h. ##
1159## ----------- ##
1160_ASBOX
1161      echo
1162      sed "/^$/d" confdefs.h | sort
1163      echo
1164    fi
1165    test "$ac_signal" != 0 &&
1166      echo "$as_me: caught signal $ac_signal"
1167    echo "$as_me: exit $exit_status"
1168  } >&5
1169  rm -f core *.core &&
1170  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1171    exit $exit_status
1172     ' 0
1173for ac_signal in 1 2 13 15; do
1174  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175done
1176ac_signal=0
1177
1178# confdefs.h avoids OS command line length limits that DEFS can exceed.
1179rm -rf conftest* confdefs.h
1180# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181echo >confdefs.h
1182
1183# Predefined preprocessor variables.
1184
1185cat >>confdefs.h <<_ACEOF
1186#define PACKAGE_NAME "$PACKAGE_NAME"
1187_ACEOF
1188
1189
1190cat >>confdefs.h <<_ACEOF
1191#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192_ACEOF
1193
1194
1195cat >>confdefs.h <<_ACEOF
1196#define PACKAGE_VERSION "$PACKAGE_VERSION"
1197_ACEOF
1198
1199
1200cat >>confdefs.h <<_ACEOF
1201#define PACKAGE_STRING "$PACKAGE_STRING"
1202_ACEOF
1203
1204
1205cat >>confdefs.h <<_ACEOF
1206#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207_ACEOF
1208
1209
1210# Let the site file select an alternate cache file if it wants to.
1211# Prefer explicitly selected file to automatically selected ones.
1212if test -z "$CONFIG_SITE"; then
1213  if test "x$prefix" != xNONE; then
1214    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215  else
1216    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217  fi
1218fi
1219for ac_site_file in $CONFIG_SITE; do
1220  if test -r "$ac_site_file"; then
1221    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222echo "$as_me: loading site script $ac_site_file" >&6;}
1223    sed 's/^/| /' "$ac_site_file" >&5
1224    . "$ac_site_file"
1225  fi
1226done
1227
1228if test -r "$cache_file"; then
1229  # Some versions of bash will fail to source /dev/null (special
1230  # files actually), so we avoid doing that.
1231  if test -f "$cache_file"; then
1232    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233echo "$as_me: loading cache $cache_file" >&6;}
1234    case $cache_file in
1235      [\\/]* | ?:[\\/]* ) . $cache_file;;
1236      *)                      . ./$cache_file;;
1237    esac
1238  fi
1239else
1240  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241echo "$as_me: creating cache $cache_file" >&6;}
1242  >$cache_file
1243fi
1244
1245# Check that the precious variables saved in the cache have kept the same
1246# value.
1247ac_cache_corrupted=false
1248for ac_var in `(set) 2>&1 |
1249               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1250  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251  eval ac_new_set=\$ac_env_${ac_var}_set
1252  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253  eval ac_new_val="\$ac_env_${ac_var}_value"
1254  case $ac_old_set,$ac_new_set in
1255    set,)
1256      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1257echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1258      ac_cache_corrupted=: ;;
1259    ,set)
1260      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1261echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262      ac_cache_corrupted=: ;;
1263    ,);;
1264    *)
1265      if test "x$ac_old_val" != "x$ac_new_val"; then
1266        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1267echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1268        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1269echo "$as_me:   former value:  $ac_old_val" >&2;}
1270        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1271echo "$as_me:   current value: $ac_new_val" >&2;}
1272        ac_cache_corrupted=:
1273      fi;;
1274  esac
1275  # Pass precious variables to config.status.
1276  if test "$ac_new_set" = set; then
1277    case $ac_new_val in
1278    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1280    *) ac_arg=$ac_var=$ac_new_val ;;
1281    esac
1282    case " $ac_configure_args " in
1283      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1284      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285    esac
1286  fi
1287done
1288if $ac_cache_corrupted; then
1289  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1292echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293   { (exit 1); exit 1; }; }
1294fi
1295
1296ac_ext=c
1297ac_cpp='$CPP $CPPFLAGS'
1298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1300ac_compiler_gnu=$ac_cv_c_compiler_gnu
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321# Look for install.sh, config.guess, and config.sub in the "helpers" dir
1322ac_aux_dir=
1323for ac_dir in helpers $srcdir/helpers; do
1324  if test -f $ac_dir/install-sh; then
1325    ac_aux_dir=$ac_dir
1326    ac_install_sh="$ac_aux_dir/install-sh -c"
1327    break
1328  elif test -f $ac_dir/install.sh; then
1329    ac_aux_dir=$ac_dir
1330    ac_install_sh="$ac_aux_dir/install.sh -c"
1331    break
1332  elif test -f $ac_dir/shtool; then
1333    ac_aux_dir=$ac_dir
1334    ac_install_sh="$ac_aux_dir/shtool install -c"
1335    break
1336  fi
1337done
1338if test -z "$ac_aux_dir"; then
1339  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in helpers $srcdir/helpers" >&5
1340echo "$as_me: error: cannot find install-sh or install.sh in helpers $srcdir/helpers" >&2;}
1341   { (exit 1); exit 1; }; }
1342fi
1343ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346
1347
1348#----------------------------------------------------------------------
1349# Configuration options
1350#----------------------------------------------------------------------
1351
1352# Give the configurer a chance to set the location of the GLU tree
1353
1354
1355
1356# Check whether --with-glu-libdir or --without-glu-libdir was given.
1357if test "${with_glu_libdir+set}" = set; then
1358  withval="$with_glu_libdir"
1359  glulibdir=$withval
1360else
1361  glulibdir=""
1362fi;
1363
1364
1365
1366# Check whether --with-glu-incdir or --without-glu-incdir was given.
1367if test "${with_glu_incdir+set}" = set; then
1368  withval="$with_glu_incdir"
1369  gluincdir=$withval
1370else
1371  gluincdir=""
1372fi;
1373
1374# Give the configurer a chance to set a different location for the VIS
1375# headers and library
1376
1377
1378
1379# Check whether --with-vl2mv-libdir or --without-vl2mv-libdir was given.
1380if test "${with_vl2mv_libdir+set}" = set; then
1381  withval="$with_vl2mv_libdir"
1382  vl2mvlibdir=$withval
1383else
1384  vl2mvlibdir="."
1385fi;
1386
1387# Give the configurer a chance to set a different location for the vl2mv
1388# source.  When specified, "srcdir" points to "master" source, and
1389# "local_srcdir" points to the source under local development.
1390
1391
1392
1393# Check whether --with-local-srcdir or --without-local-srcdir was given.
1394if test "${with_local_srcdir+set}" = set; then
1395  withval="$with_local_srcdir"
1396  local_srcdir=$withval
1397else
1398  local_srcdir=$srcdir
1399fi;
1400
1401
1402#----------------------------------------------------------------------
1403# Checks for programs we need
1404#----------------------------------------------------------------------
1405
1406# Extract the first word of "ar", so it can be a program name with args.
1407set dummy ar; ac_word=$2
1408echo "$as_me:$LINENO: checking for $ac_word" >&5
1409echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1410if test "${ac_cv_path_AR+set}" = set; then
1411  echo $ECHO_N "(cached) $ECHO_C" >&6
1412else
1413  case $AR in
1414  [\\/]* | ?:[\\/]*)
1415  ac_cv_path_AR="$AR" # Let the user override the test with a path.
1416  ;;
1417  *)
1418  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419for as_dir in $PATH
1420do
1421  IFS=$as_save_IFS
1422  test -z "$as_dir" && as_dir=.
1423  for ac_exec_ext in '' $ac_executable_extensions; do
1424  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
1426    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427    break 2
1428  fi
1429done
1430done
1431
1432  test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
1433  ;;
1434esac
1435fi
1436AR=$ac_cv_path_AR
1437
1438if test -n "$AR"; then
1439  echo "$as_me:$LINENO: result: $AR" >&5
1440echo "${ECHO_T}$AR" >&6
1441else
1442  echo "$as_me:$LINENO: result: no" >&5
1443echo "${ECHO_T}no" >&6
1444fi
1445
1446if test -n "$ac_tool_prefix"; then
1447  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1448set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1449echo "$as_me:$LINENO: checking for $ac_word" >&5
1450echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1451if test "${ac_cv_prog_RANLIB+set}" = set; then
1452  echo $ECHO_N "(cached) $ECHO_C" >&6
1453else
1454  if test -n "$RANLIB"; then
1455  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1456else
1457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1458for as_dir in $PATH
1459do
1460  IFS=$as_save_IFS
1461  test -z "$as_dir" && as_dir=.
1462  for ac_exec_ext in '' $ac_executable_extensions; do
1463  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1464    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1465    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466    break 2
1467  fi
1468done
1469done
1470
1471fi
1472fi
1473RANLIB=$ac_cv_prog_RANLIB
1474if test -n "$RANLIB"; then
1475  echo "$as_me:$LINENO: result: $RANLIB" >&5
1476echo "${ECHO_T}$RANLIB" >&6
1477else
1478  echo "$as_me:$LINENO: result: no" >&5
1479echo "${ECHO_T}no" >&6
1480fi
1481
1482fi
1483if test -z "$ac_cv_prog_RANLIB"; then
1484  ac_ct_RANLIB=$RANLIB
1485  # Extract the first word of "ranlib", so it can be a program name with args.
1486set dummy ranlib; ac_word=$2
1487echo "$as_me:$LINENO: checking for $ac_word" >&5
1488echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1489if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1490  echo $ECHO_N "(cached) $ECHO_C" >&6
1491else
1492  if test -n "$ac_ct_RANLIB"; then
1493  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1494else
1495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1496for as_dir in $PATH
1497do
1498  IFS=$as_save_IFS
1499  test -z "$as_dir" && as_dir=.
1500  for ac_exec_ext in '' $ac_executable_extensions; do
1501  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1502    ac_cv_prog_ac_ct_RANLIB="ranlib"
1503    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504    break 2
1505  fi
1506done
1507done
1508
1509  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1510fi
1511fi
1512ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1513if test -n "$ac_ct_RANLIB"; then
1514  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1515echo "${ECHO_T}$ac_ct_RANLIB" >&6
1516else
1517  echo "$as_me:$LINENO: result: no" >&5
1518echo "${ECHO_T}no" >&6
1519fi
1520
1521  RANLIB=$ac_ct_RANLIB
1522else
1523  RANLIB="$ac_cv_prog_RANLIB"
1524fi
1525
1526for ac_prog in gawk mawk nawk awk
1527do
1528  # Extract the first word of "$ac_prog", so it can be a program name with args.
1529set dummy $ac_prog; ac_word=$2
1530echo "$as_me:$LINENO: checking for $ac_word" >&5
1531echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532if test "${ac_cv_prog_AWK+set}" = set; then
1533  echo $ECHO_N "(cached) $ECHO_C" >&6
1534else
1535  if test -n "$AWK"; then
1536  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1537else
1538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539for as_dir in $PATH
1540do
1541  IFS=$as_save_IFS
1542  test -z "$as_dir" && as_dir=.
1543  for ac_exec_ext in '' $ac_executable_extensions; do
1544  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545    ac_cv_prog_AWK="$ac_prog"
1546    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547    break 2
1548  fi
1549done
1550done
1551
1552fi
1553fi
1554AWK=$ac_cv_prog_AWK
1555if test -n "$AWK"; then
1556  echo "$as_me:$LINENO: result: $AWK" >&5
1557echo "${ECHO_T}$AWK" >&6
1558else
1559  echo "$as_me:$LINENO: result: no" >&5
1560echo "${ECHO_T}no" >&6
1561fi
1562
1563  test -n "$AWK" && break
1564done
1565
1566# Extract the first word of "sed", so it can be a program name with args.
1567set dummy sed; ac_word=$2
1568echo "$as_me:$LINENO: checking for $ac_word" >&5
1569echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1570if test "${ac_cv_path_SED+set}" = set; then
1571  echo $ECHO_N "(cached) $ECHO_C" >&6
1572else
1573  case $SED in
1574  [\\/]* | ?:[\\/]*)
1575  ac_cv_path_SED="$SED" # Let the user override the test with a path.
1576  ;;
1577  *)
1578  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579for as_dir in $PATH
1580do
1581  IFS=$as_save_IFS
1582  test -z "$as_dir" && as_dir=.
1583  for ac_exec_ext in '' $ac_executable_extensions; do
1584  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
1586    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587    break 2
1588  fi
1589done
1590done
1591
1592  test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
1593  ;;
1594esac
1595fi
1596SED=$ac_cv_path_SED
1597
1598if test -n "$SED"; then
1599  echo "$as_me:$LINENO: result: $SED" >&5
1600echo "${ECHO_T}$SED" >&6
1601else
1602  echo "$as_me:$LINENO: result: no" >&5
1603echo "${ECHO_T}no" >&6
1604fi
1605
1606
1607# Make sure we can run config.sub.
1608$ac_config_sub sun4 >/dev/null 2>&1 ||
1609  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1610echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1611   { (exit 1); exit 1; }; }
1612
1613echo "$as_me:$LINENO: checking build system type" >&5
1614echo $ECHO_N "checking build system type... $ECHO_C" >&6
1615if test "${ac_cv_build+set}" = set; then
1616  echo $ECHO_N "(cached) $ECHO_C" >&6
1617else
1618  ac_cv_build_alias=$build_alias
1619test -z "$ac_cv_build_alias" &&
1620  ac_cv_build_alias=`$ac_config_guess`
1621test -z "$ac_cv_build_alias" &&
1622  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1623echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1624   { (exit 1); exit 1; }; }
1625ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1626  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1627echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1628   { (exit 1); exit 1; }; }
1629
1630fi
1631echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1632echo "${ECHO_T}$ac_cv_build" >&6
1633build=$ac_cv_build
1634build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1637
1638
1639echo "$as_me:$LINENO: checking host system type" >&5
1640echo $ECHO_N "checking host system type... $ECHO_C" >&6
1641if test "${ac_cv_host+set}" = set; then
1642  echo $ECHO_N "(cached) $ECHO_C" >&6
1643else
1644  ac_cv_host_alias=$host_alias
1645test -z "$ac_cv_host_alias" &&
1646  ac_cv_host_alias=$ac_cv_build_alias
1647ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1648  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1649echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1650   { (exit 1); exit 1; }; }
1651
1652fi
1653echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1654echo "${ECHO_T}$ac_cv_host" >&6
1655host=$ac_cv_host
1656host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1657host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1658host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1659
1660
1661echo "$as_me:$LINENO: checking target system type" >&5
1662echo $ECHO_N "checking target system type... $ECHO_C" >&6
1663if test "${ac_cv_target+set}" = set; then
1664  echo $ECHO_N "(cached) $ECHO_C" >&6
1665else
1666  ac_cv_target_alias=$target_alias
1667test "x$ac_cv_target_alias" = "x" &&
1668  ac_cv_target_alias=$ac_cv_host_alias
1669ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1670  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1671echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1672   { (exit 1); exit 1; }; }
1673
1674fi
1675echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1676echo "${ECHO_T}$ac_cv_target" >&6
1677target=$ac_cv_target
1678target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1679target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1680target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1681
1682
1683# The aliases save the names the user supplied, while $host etc.
1684# will get canonicalized.
1685test -n "$target_alias" &&
1686  test "$program_prefix$program_suffix$program_transform_name" = \
1687    NONENONEs,x,x, &&
1688  program_prefix=${target_alias}-
1689
1690
1691# Balakrisha Kumthekar (kumtheka@colorado.edu): making a special case
1692# for ultrix install, since its annoying about setting groupids.
1693case "$target" in
1694  mips-dec-ultrix*)
1695    INSTALL="helpers/install-sh -c"
1696    INSTALL_PROGRAM="\${INSTALL}"
1697    INSTALL_DATA="\${INSTALL} -m 644";;
1698
1699  *)
1700  # Find a good install program.  We prefer a C program (faster),
1701# so one script is as good as another.  But avoid the broken or
1702# incompatible versions:
1703# SysV /etc/install, /usr/sbin/install
1704# SunOS /usr/etc/install
1705# IRIX /sbin/install
1706# AIX /bin/install
1707# AmigaOS /C/install, which installs bootblocks on floppy discs
1708# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1709# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1710# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1711# OS/2's system install, which has a completely different semantic
1712# ./install, which can be erroneously created by make from ./install.sh.
1713echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1714echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1715if test -z "$INSTALL"; then
1716if test "${ac_cv_path_install+set}" = set; then
1717  echo $ECHO_N "(cached) $ECHO_C" >&6
1718else
1719  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720for as_dir in $PATH
1721do
1722  IFS=$as_save_IFS
1723  test -z "$as_dir" && as_dir=.
1724  # Account for people who put trailing slashes in PATH elements.
1725case $as_dir/ in
1726  ./ | .// | /cC/* | \
1727  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1728  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1729  /usr/ucb/* ) ;;
1730  *)
1731    # OSF1 and SCO ODT 3.0 have their own names for install.
1732    # Don't use installbsd from OSF since it installs stuff as root
1733    # by default.
1734    for ac_prog in ginstall scoinst install; do
1735      for ac_exec_ext in '' $ac_executable_extensions; do
1736        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1737          if test $ac_prog = install &&
1738            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1739            # AIX install.  It has an incompatible calling convention.
1740            :
1741          elif test $ac_prog = install &&
1742            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1743            # program-specific install script used by HP pwplus--don't use.
1744            :
1745          else
1746            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1747            break 3
1748          fi
1749        fi
1750      done
1751    done
1752    ;;
1753esac
1754done
1755
1756
1757fi
1758  if test "${ac_cv_path_install+set}" = set; then
1759    INSTALL=$ac_cv_path_install
1760  else
1761    # As a last resort, use the slow shell script.  We don't cache a
1762    # path for INSTALL within a source directory, because that will
1763    # break other packages using the cache if that directory is
1764    # removed, or if the path is relative.
1765    INSTALL=$ac_install_sh
1766  fi
1767fi
1768echo "$as_me:$LINENO: result: $INSTALL" >&5
1769echo "${ECHO_T}$INSTALL" >&6
1770
1771# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1772# It thinks the first close brace ends the variable substitution.
1773test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1774
1775test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1776
1777test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1778 ;;
1779esac
1780
1781# Determine the name of the C compiler we're going to use
1782
1783# Check whether --enable-gcc or --disable-gcc was given.
1784if test "${enable_gcc+set}" = set; then
1785  enableval="$enable_gcc"
1786  gcc_ok=$enableval
1787else
1788  gcc_ok=no
1789fi;
1790
1791if test "$gcc_ok" != no; then
1792  case "$gcc_ok" in
1793    yes)
1794      CC=gcc ;;
1795    *)
1796      CC=$gcc_ok
1797  esac
1798else
1799# Balakrishna Kumthekar <kumtheka@colorado.edu>
1800# As we do not support cc on RS6000, Cygwin and SunOS.
1801   case "$target" in
1802     rs6000-ibm-aix* | *-pc-cygwin32 | sparc-sun-sunos*)
1803       CC=gcc ;;
1804     *)
1805       CC=cc ;;
1806   esac
1807fi
1808
1809ac_ext=c
1810ac_cpp='$CPP $CPPFLAGS'
1811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813ac_compiler_gnu=$ac_cv_c_compiler_gnu
1814if test -n "$ac_tool_prefix"; then
1815  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1816set dummy ${ac_tool_prefix}gcc; ac_word=$2
1817echo "$as_me:$LINENO: checking for $ac_word" >&5
1818echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1819if test "${ac_cv_prog_CC+set}" = set; then
1820  echo $ECHO_N "(cached) $ECHO_C" >&6
1821else
1822  if test -n "$CC"; then
1823  ac_cv_prog_CC="$CC" # Let the user override the test.
1824else
1825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826for as_dir in $PATH
1827do
1828  IFS=$as_save_IFS
1829  test -z "$as_dir" && as_dir=.
1830  for ac_exec_ext in '' $ac_executable_extensions; do
1831  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1832    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1833    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834    break 2
1835  fi
1836done
1837done
1838
1839fi
1840fi
1841CC=$ac_cv_prog_CC
1842if test -n "$CC"; then
1843  echo "$as_me:$LINENO: result: $CC" >&5
1844echo "${ECHO_T}$CC" >&6
1845else
1846  echo "$as_me:$LINENO: result: no" >&5
1847echo "${ECHO_T}no" >&6
1848fi
1849
1850fi
1851if test -z "$ac_cv_prog_CC"; then
1852  ac_ct_CC=$CC
1853  # Extract the first word of "gcc", so it can be a program name with args.
1854set dummy gcc; ac_word=$2
1855echo "$as_me:$LINENO: checking for $ac_word" >&5
1856echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1857if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1858  echo $ECHO_N "(cached) $ECHO_C" >&6
1859else
1860  if test -n "$ac_ct_CC"; then
1861  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1862else
1863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864for as_dir in $PATH
1865do
1866  IFS=$as_save_IFS
1867  test -z "$as_dir" && as_dir=.
1868  for ac_exec_ext in '' $ac_executable_extensions; do
1869  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1870    ac_cv_prog_ac_ct_CC="gcc"
1871    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872    break 2
1873  fi
1874done
1875done
1876
1877fi
1878fi
1879ac_ct_CC=$ac_cv_prog_ac_ct_CC
1880if test -n "$ac_ct_CC"; then
1881  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1882echo "${ECHO_T}$ac_ct_CC" >&6
1883else
1884  echo "$as_me:$LINENO: result: no" >&5
1885echo "${ECHO_T}no" >&6
1886fi
1887
1888  CC=$ac_ct_CC
1889else
1890  CC="$ac_cv_prog_CC"
1891fi
1892
1893if test -z "$CC"; then
1894  if test -n "$ac_tool_prefix"; then
1895  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1896set dummy ${ac_tool_prefix}cc; ac_word=$2
1897echo "$as_me:$LINENO: checking for $ac_word" >&5
1898echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899if test "${ac_cv_prog_CC+set}" = set; then
1900  echo $ECHO_N "(cached) $ECHO_C" >&6
1901else
1902  if test -n "$CC"; then
1903  ac_cv_prog_CC="$CC" # Let the user override the test.
1904else
1905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906for as_dir in $PATH
1907do
1908  IFS=$as_save_IFS
1909  test -z "$as_dir" && as_dir=.
1910  for ac_exec_ext in '' $ac_executable_extensions; do
1911  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912    ac_cv_prog_CC="${ac_tool_prefix}cc"
1913    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914    break 2
1915  fi
1916done
1917done
1918
1919fi
1920fi
1921CC=$ac_cv_prog_CC
1922if test -n "$CC"; then
1923  echo "$as_me:$LINENO: result: $CC" >&5
1924echo "${ECHO_T}$CC" >&6
1925else
1926  echo "$as_me:$LINENO: result: no" >&5
1927echo "${ECHO_T}no" >&6
1928fi
1929
1930fi
1931if test -z "$ac_cv_prog_CC"; then
1932  ac_ct_CC=$CC
1933  # Extract the first word of "cc", so it can be a program name with args.
1934set dummy cc; ac_word=$2
1935echo "$as_me:$LINENO: checking for $ac_word" >&5
1936echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1938  echo $ECHO_N "(cached) $ECHO_C" >&6
1939else
1940  if test -n "$ac_ct_CC"; then
1941  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1942else
1943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944for as_dir in $PATH
1945do
1946  IFS=$as_save_IFS
1947  test -z "$as_dir" && as_dir=.
1948  for ac_exec_ext in '' $ac_executable_extensions; do
1949  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1950    ac_cv_prog_ac_ct_CC="cc"
1951    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952    break 2
1953  fi
1954done
1955done
1956
1957fi
1958fi
1959ac_ct_CC=$ac_cv_prog_ac_ct_CC
1960if test -n "$ac_ct_CC"; then
1961  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1962echo "${ECHO_T}$ac_ct_CC" >&6
1963else
1964  echo "$as_me:$LINENO: result: no" >&5
1965echo "${ECHO_T}no" >&6
1966fi
1967
1968  CC=$ac_ct_CC
1969else
1970  CC="$ac_cv_prog_CC"
1971fi
1972
1973fi
1974if test -z "$CC"; then
1975  # Extract the first word of "cc", so it can be a program name with args.
1976set dummy cc; ac_word=$2
1977echo "$as_me:$LINENO: checking for $ac_word" >&5
1978echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1979if test "${ac_cv_prog_CC+set}" = set; then
1980  echo $ECHO_N "(cached) $ECHO_C" >&6
1981else
1982  if test -n "$CC"; then
1983  ac_cv_prog_CC="$CC" # Let the user override the test.
1984else
1985  ac_prog_rejected=no
1986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987for as_dir in $PATH
1988do
1989  IFS=$as_save_IFS
1990  test -z "$as_dir" && as_dir=.
1991  for ac_exec_ext in '' $ac_executable_extensions; do
1992  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1994       ac_prog_rejected=yes
1995       continue
1996     fi
1997    ac_cv_prog_CC="cc"
1998    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999    break 2
2000  fi
2001done
2002done
2003
2004if test $ac_prog_rejected = yes; then
2005  # We found a bogon in the path, so make sure we never use it.
2006  set dummy $ac_cv_prog_CC
2007  shift
2008  if test $# != 0; then
2009    # We chose a different compiler from the bogus one.
2010    # However, it has the same basename, so the bogon will be chosen
2011    # first if we set CC to just the basename; use the full file name.
2012    shift
2013    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2014  fi
2015fi
2016fi
2017fi
2018CC=$ac_cv_prog_CC
2019if test -n "$CC"; then
2020  echo "$as_me:$LINENO: result: $CC" >&5
2021echo "${ECHO_T}$CC" >&6
2022else
2023  echo "$as_me:$LINENO: result: no" >&5
2024echo "${ECHO_T}no" >&6
2025fi
2026
2027fi
2028if test -z "$CC"; then
2029  if test -n "$ac_tool_prefix"; then
2030  for ac_prog in cl
2031  do
2032    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2033set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2034echo "$as_me:$LINENO: checking for $ac_word" >&5
2035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2036if test "${ac_cv_prog_CC+set}" = set; then
2037  echo $ECHO_N "(cached) $ECHO_C" >&6
2038else
2039  if test -n "$CC"; then
2040  ac_cv_prog_CC="$CC" # Let the user override the test.
2041else
2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045  IFS=$as_save_IFS
2046  test -z "$as_dir" && as_dir=.
2047  for ac_exec_ext in '' $ac_executable_extensions; do
2048  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2050    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051    break 2
2052  fi
2053done
2054done
2055
2056fi
2057fi
2058CC=$ac_cv_prog_CC
2059if test -n "$CC"; then
2060  echo "$as_me:$LINENO: result: $CC" >&5
2061echo "${ECHO_T}$CC" >&6
2062else
2063  echo "$as_me:$LINENO: result: no" >&5
2064echo "${ECHO_T}no" >&6
2065fi
2066
2067    test -n "$CC" && break
2068  done
2069fi
2070if test -z "$CC"; then
2071  ac_ct_CC=$CC
2072  for ac_prog in cl
2073do
2074  # Extract the first word of "$ac_prog", so it can be a program name with args.
2075set dummy $ac_prog; ac_word=$2
2076echo "$as_me:$LINENO: checking for $ac_word" >&5
2077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2078if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2079  echo $ECHO_N "(cached) $ECHO_C" >&6
2080else
2081  if test -n "$ac_ct_CC"; then
2082  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2083else
2084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085for as_dir in $PATH
2086do
2087  IFS=$as_save_IFS
2088  test -z "$as_dir" && as_dir=.
2089  for ac_exec_ext in '' $ac_executable_extensions; do
2090  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091    ac_cv_prog_ac_ct_CC="$ac_prog"
2092    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093    break 2
2094  fi
2095done
2096done
2097
2098fi
2099fi
2100ac_ct_CC=$ac_cv_prog_ac_ct_CC
2101if test -n "$ac_ct_CC"; then
2102  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2103echo "${ECHO_T}$ac_ct_CC" >&6
2104else
2105  echo "$as_me:$LINENO: result: no" >&5
2106echo "${ECHO_T}no" >&6
2107fi
2108
2109  test -n "$ac_ct_CC" && break
2110done
2111
2112  CC=$ac_ct_CC
2113fi
2114
2115fi
2116
2117
2118test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2119See \`config.log' for more details." >&5
2120echo "$as_me: error: no acceptable C compiler found in \$PATH
2121See \`config.log' for more details." >&2;}
2122   { (exit 1); exit 1; }; }
2123
2124# Provide some information about the compiler.
2125echo "$as_me:$LINENO:" \
2126     "checking for C compiler version" >&5
2127ac_compiler=`set X $ac_compile; echo $2`
2128{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2129  (eval $ac_compiler --version </dev/null >&5) 2>&5
2130  ac_status=$?
2131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132  (exit $ac_status); }
2133{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2134  (eval $ac_compiler -v </dev/null >&5) 2>&5
2135  ac_status=$?
2136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137  (exit $ac_status); }
2138{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2139  (eval $ac_compiler -V </dev/null >&5) 2>&5
2140  ac_status=$?
2141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142  (exit $ac_status); }
2143
2144cat >conftest.$ac_ext <<_ACEOF
2145/* confdefs.h.  */
2146_ACEOF
2147cat confdefs.h >>conftest.$ac_ext
2148cat >>conftest.$ac_ext <<_ACEOF
2149/* end confdefs.h.  */
2150
2151int
2152main ()
2153{
2154
2155  ;
2156  return 0;
2157}
2158_ACEOF
2159ac_clean_files_save=$ac_clean_files
2160ac_clean_files="$ac_clean_files a.out a.exe b.out"
2161# Try to create an executable without -o first, disregard a.out.
2162# It will help us diagnose broken compilers, and finding out an intuition
2163# of exeext.
2164echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2165echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2166ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2167if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2168  (eval $ac_link_default) 2>&5
2169  ac_status=$?
2170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171  (exit $ac_status); }; then
2172  # Find the output, starting from the most likely.  This scheme is
2173# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2174# resort.
2175
2176# Be careful to initialize this variable, since it used to be cached.
2177# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2178ac_cv_exeext=
2179# b.out is created by i960 compilers.
2180for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2181do
2182  test -f "$ac_file" || continue
2183  case $ac_file in
2184    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2185        ;;
2186    conftest.$ac_ext )
2187        # This is the source file.
2188        ;;
2189    [ab].out )
2190        # We found the default executable, but exeext='' is most
2191        # certainly right.
2192        break;;
2193    *.* )
2194        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2195        # FIXME: I believe we export ac_cv_exeext for Libtool,
2196        # but it would be cool to find out if it's true.  Does anybody
2197        # maintain Libtool? --akim.
2198        export ac_cv_exeext
2199        break;;
2200    * )
2201        break;;
2202  esac
2203done
2204else
2205  echo "$as_me: failed program was:" >&5
2206sed 's/^/| /' conftest.$ac_ext >&5
2207
2208{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2209See \`config.log' for more details." >&5
2210echo "$as_me: error: C compiler cannot create executables
2211See \`config.log' for more details." >&2;}
2212   { (exit 77); exit 77; }; }
2213fi
2214
2215ac_exeext=$ac_cv_exeext
2216echo "$as_me:$LINENO: result: $ac_file" >&5
2217echo "${ECHO_T}$ac_file" >&6
2218
2219# Check the compiler produces executables we can run.  If not, either
2220# the compiler is broken, or we cross compile.
2221echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2222echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2223# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2224# If not cross compiling, check that we can run a simple program.
2225if test "$cross_compiling" != yes; then
2226  if { ac_try='./$ac_file'
2227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228  (eval $ac_try) 2>&5
2229  ac_status=$?
2230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231  (exit $ac_status); }; }; then
2232    cross_compiling=no
2233  else
2234    if test "$cross_compiling" = maybe; then
2235        cross_compiling=yes
2236    else
2237        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2238If you meant to cross compile, use \`--host'.
2239See \`config.log' for more details." >&5
2240echo "$as_me: error: cannot run C compiled programs.
2241If you meant to cross compile, use \`--host'.
2242See \`config.log' for more details." >&2;}
2243   { (exit 1); exit 1; }; }
2244    fi
2245  fi
2246fi
2247echo "$as_me:$LINENO: result: yes" >&5
2248echo "${ECHO_T}yes" >&6
2249
2250rm -f a.out a.exe conftest$ac_cv_exeext b.out
2251ac_clean_files=$ac_clean_files_save
2252# Check the compiler produces executables we can run.  If not, either
2253# the compiler is broken, or we cross compile.
2254echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2255echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2256echo "$as_me:$LINENO: result: $cross_compiling" >&5
2257echo "${ECHO_T}$cross_compiling" >&6
2258
2259echo "$as_me:$LINENO: checking for suffix of executables" >&5
2260echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2262  (eval $ac_link) 2>&5
2263  ac_status=$?
2264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265  (exit $ac_status); }; then
2266  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2267# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2268# work properly (i.e., refer to `conftest.exe'), while it won't with
2269# `rm'.
2270for ac_file in conftest.exe conftest conftest.*; do
2271  test -f "$ac_file" || continue
2272  case $ac_file in
2273    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2274    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2275          export ac_cv_exeext
2276          break;;
2277    * ) break;;
2278  esac
2279done
2280else
2281  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2282See \`config.log' for more details." >&5
2283echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2284See \`config.log' for more details." >&2;}
2285   { (exit 1); exit 1; }; }
2286fi
2287
2288rm -f conftest$ac_cv_exeext
2289echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2290echo "${ECHO_T}$ac_cv_exeext" >&6
2291
2292rm -f conftest.$ac_ext
2293EXEEXT=$ac_cv_exeext
2294ac_exeext=$EXEEXT
2295echo "$as_me:$LINENO: checking for suffix of object files" >&5
2296echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2297if test "${ac_cv_objext+set}" = set; then
2298  echo $ECHO_N "(cached) $ECHO_C" >&6
2299else
2300  cat >conftest.$ac_ext <<_ACEOF
2301/* confdefs.h.  */
2302_ACEOF
2303cat confdefs.h >>conftest.$ac_ext
2304cat >>conftest.$ac_ext <<_ACEOF
2305/* end confdefs.h.  */
2306
2307int
2308main ()
2309{
2310
2311  ;
2312  return 0;
2313}
2314_ACEOF
2315rm -f conftest.o conftest.obj
2316if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317  (eval $ac_compile) 2>&5
2318  ac_status=$?
2319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320  (exit $ac_status); }; then
2321  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2322  case $ac_file in
2323    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2324    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2325       break;;
2326  esac
2327done
2328else
2329  echo "$as_me: failed program was:" >&5
2330sed 's/^/| /' conftest.$ac_ext >&5
2331
2332{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2333See \`config.log' for more details." >&5
2334echo "$as_me: error: cannot compute suffix of object files: cannot compile
2335See \`config.log' for more details." >&2;}
2336   { (exit 1); exit 1; }; }
2337fi
2338
2339rm -f conftest.$ac_cv_objext conftest.$ac_ext
2340fi
2341echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2342echo "${ECHO_T}$ac_cv_objext" >&6
2343OBJEXT=$ac_cv_objext
2344ac_objext=$OBJEXT
2345echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2346echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2347if test "${ac_cv_c_compiler_gnu+set}" = set; then
2348  echo $ECHO_N "(cached) $ECHO_C" >&6
2349else
2350  cat >conftest.$ac_ext <<_ACEOF
2351/* confdefs.h.  */
2352_ACEOF
2353cat confdefs.h >>conftest.$ac_ext
2354cat >>conftest.$ac_ext <<_ACEOF
2355/* end confdefs.h.  */
2356
2357int
2358main ()
2359{
2360#ifndef __GNUC__
2361       choke me
2362#endif
2363
2364  ;
2365  return 0;
2366}
2367_ACEOF
2368rm -f conftest.$ac_objext
2369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370  (eval $ac_compile) 2>conftest.er1
2371  ac_status=$?
2372  grep -v '^ *+' conftest.er1 >conftest.err
2373  rm -f conftest.er1
2374  cat conftest.err >&5
2375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376  (exit $ac_status); } &&
2377         { ac_try='test -z "$ac_c_werror_flag"
2378                         || test ! -s conftest.err'
2379  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380  (eval $ac_try) 2>&5
2381  ac_status=$?
2382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383  (exit $ac_status); }; } &&
2384         { ac_try='test -s conftest.$ac_objext'
2385  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386  (eval $ac_try) 2>&5
2387  ac_status=$?
2388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389  (exit $ac_status); }; }; then
2390  ac_compiler_gnu=yes
2391else
2392  echo "$as_me: failed program was:" >&5
2393sed 's/^/| /' conftest.$ac_ext >&5
2394
2395ac_compiler_gnu=no
2396fi
2397rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2398ac_cv_c_compiler_gnu=$ac_compiler_gnu
2399
2400fi
2401echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2402echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2403GCC=`test $ac_compiler_gnu = yes && echo yes`
2404ac_test_CFLAGS=${CFLAGS+set}
2405ac_save_CFLAGS=$CFLAGS
2406CFLAGS="-g"
2407echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2408echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2409if test "${ac_cv_prog_cc_g+set}" = set; then
2410  echo $ECHO_N "(cached) $ECHO_C" >&6
2411else
2412  cat >conftest.$ac_ext <<_ACEOF
2413/* confdefs.h.  */
2414_ACEOF
2415cat confdefs.h >>conftest.$ac_ext
2416cat >>conftest.$ac_ext <<_ACEOF
2417/* end confdefs.h.  */
2418
2419int
2420main ()
2421{
2422
2423  ;
2424  return 0;
2425}
2426_ACEOF
2427rm -f conftest.$ac_objext
2428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429  (eval $ac_compile) 2>conftest.er1
2430  ac_status=$?
2431  grep -v '^ *+' conftest.er1 >conftest.err
2432  rm -f conftest.er1
2433  cat conftest.err >&5
2434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435  (exit $ac_status); } &&
2436         { ac_try='test -z "$ac_c_werror_flag"
2437                         || test ! -s conftest.err'
2438  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439  (eval $ac_try) 2>&5
2440  ac_status=$?
2441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442  (exit $ac_status); }; } &&
2443         { ac_try='test -s conftest.$ac_objext'
2444  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445  (eval $ac_try) 2>&5
2446  ac_status=$?
2447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448  (exit $ac_status); }; }; then
2449  ac_cv_prog_cc_g=yes
2450else
2451  echo "$as_me: failed program was:" >&5
2452sed 's/^/| /' conftest.$ac_ext >&5
2453
2454ac_cv_prog_cc_g=no
2455fi
2456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2457fi
2458echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2459echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2460if test "$ac_test_CFLAGS" = set; then
2461  CFLAGS=$ac_save_CFLAGS
2462elif test $ac_cv_prog_cc_g = yes; then
2463  if test "$GCC" = yes; then
2464    CFLAGS="-g -O2"
2465  else
2466    CFLAGS="-g"
2467  fi
2468else
2469  if test "$GCC" = yes; then
2470    CFLAGS="-O2"
2471  else
2472    CFLAGS=
2473  fi
2474fi
2475echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2476echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2477if test "${ac_cv_prog_cc_stdc+set}" = set; then
2478  echo $ECHO_N "(cached) $ECHO_C" >&6
2479else
2480  ac_cv_prog_cc_stdc=no
2481ac_save_CC=$CC
2482cat >conftest.$ac_ext <<_ACEOF
2483/* confdefs.h.  */
2484_ACEOF
2485cat confdefs.h >>conftest.$ac_ext
2486cat >>conftest.$ac_ext <<_ACEOF
2487/* end confdefs.h.  */
2488#include <stdarg.h>
2489#include <stdio.h>
2490#include <sys/types.h>
2491#include <sys/stat.h>
2492/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2493struct buf { int x; };
2494FILE * (*rcsopen) (struct buf *, struct stat *, int);
2495static char *e (p, i)
2496     char **p;
2497     int i;
2498{
2499  return p[i];
2500}
2501static char *f (char * (*g) (char **, int), char **p, ...)
2502{
2503  char *s;
2504  va_list v;
2505  va_start (v,p);
2506  s = g (p, va_arg (v,int));
2507  va_end (v);
2508  return s;
2509}
2510
2511/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2512   function prototypes and stuff, but not '\xHH' hex character constants.
2513   These don't provoke an error unfortunately, instead are silently treated
2514   as 'x'.  The following induces an error, until -std1 is added to get
2515   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2516   array size at least.  It's necessary to write '\x00'==0 to get something
2517   that's true only with -std1.  */
2518int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2519
2520int test (int i, double x);
2521struct s1 {int (*f) (int a);};
2522struct s2 {int (*f) (double a);};
2523int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2524int argc;
2525char **argv;
2526int
2527main ()
2528{
2529return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2530  ;
2531  return 0;
2532}
2533_ACEOF
2534# Don't try gcc -ansi; that turns off useful extensions and
2535# breaks some systems' header files.
2536# AIX                   -qlanglvl=ansi
2537# Ultrix and OSF/1      -std1
2538# HP-UX 10.20 and later -Ae
2539# HP-UX older versions  -Aa -D_HPUX_SOURCE
2540# SVR4                  -Xc -D__EXTENSIONS__
2541for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2542do
2543  CC="$ac_save_CC $ac_arg"
2544  rm -f conftest.$ac_objext
2545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546  (eval $ac_compile) 2>conftest.er1
2547  ac_status=$?
2548  grep -v '^ *+' conftest.er1 >conftest.err
2549  rm -f conftest.er1
2550  cat conftest.err >&5
2551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552  (exit $ac_status); } &&
2553         { ac_try='test -z "$ac_c_werror_flag"
2554                         || test ! -s conftest.err'
2555  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556  (eval $ac_try) 2>&5
2557  ac_status=$?
2558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559  (exit $ac_status); }; } &&
2560         { ac_try='test -s conftest.$ac_objext'
2561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562  (eval $ac_try) 2>&5
2563  ac_status=$?
2564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565  (exit $ac_status); }; }; then
2566  ac_cv_prog_cc_stdc=$ac_arg
2567break
2568else
2569  echo "$as_me: failed program was:" >&5
2570sed 's/^/| /' conftest.$ac_ext >&5
2571
2572fi
2573rm -f conftest.err conftest.$ac_objext
2574done
2575rm -f conftest.$ac_ext conftest.$ac_objext
2576CC=$ac_save_CC
2577
2578fi
2579
2580case "x$ac_cv_prog_cc_stdc" in
2581  x|xno)
2582    echo "$as_me:$LINENO: result: none needed" >&5
2583echo "${ECHO_T}none needed" >&6 ;;
2584  *)
2585    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2586echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2587    CC="$CC $ac_cv_prog_cc_stdc" ;;
2588esac
2589
2590# Some people use a C++ compiler to compile C.  Since we use `exit',
2591# in C++ we need to declare it.  In case someone uses the same compiler
2592# for both compiling C and C++ we need to have the C++ compiler decide
2593# the declaration of exit, since it's the most demanding environment.
2594cat >conftest.$ac_ext <<_ACEOF
2595#ifndef __cplusplus
2596  choke me
2597#endif
2598_ACEOF
2599rm -f conftest.$ac_objext
2600if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601  (eval $ac_compile) 2>conftest.er1
2602  ac_status=$?
2603  grep -v '^ *+' conftest.er1 >conftest.err
2604  rm -f conftest.er1
2605  cat conftest.err >&5
2606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607  (exit $ac_status); } &&
2608         { ac_try='test -z "$ac_c_werror_flag"
2609                         || test ! -s conftest.err'
2610  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611  (eval $ac_try) 2>&5
2612  ac_status=$?
2613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614  (exit $ac_status); }; } &&
2615         { ac_try='test -s conftest.$ac_objext'
2616  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617  (eval $ac_try) 2>&5
2618  ac_status=$?
2619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620  (exit $ac_status); }; }; then
2621  for ac_declaration in \
2622   '' \
2623   'extern "C" void std::exit (int) throw (); using std::exit;' \
2624   'extern "C" void std::exit (int); using std::exit;' \
2625   'extern "C" void exit (int) throw ();' \
2626   'extern "C" void exit (int);' \
2627   'void exit (int);'
2628do
2629  cat >conftest.$ac_ext <<_ACEOF
2630/* confdefs.h.  */
2631_ACEOF
2632cat confdefs.h >>conftest.$ac_ext
2633cat >>conftest.$ac_ext <<_ACEOF
2634/* end confdefs.h.  */
2635$ac_declaration
2636#include <stdlib.h>
2637int
2638main ()
2639{
2640exit (42);
2641  ;
2642  return 0;
2643}
2644_ACEOF
2645rm -f conftest.$ac_objext
2646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647  (eval $ac_compile) 2>conftest.er1
2648  ac_status=$?
2649  grep -v '^ *+' conftest.er1 >conftest.err
2650  rm -f conftest.er1
2651  cat conftest.err >&5
2652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653  (exit $ac_status); } &&
2654         { ac_try='test -z "$ac_c_werror_flag"
2655                         || test ! -s conftest.err'
2656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657  (eval $ac_try) 2>&5
2658  ac_status=$?
2659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660  (exit $ac_status); }; } &&
2661         { ac_try='test -s conftest.$ac_objext'
2662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663  (eval $ac_try) 2>&5
2664  ac_status=$?
2665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666  (exit $ac_status); }; }; then
2667  :
2668else
2669  echo "$as_me: failed program was:" >&5
2670sed 's/^/| /' conftest.$ac_ext >&5
2671
2672continue
2673fi
2674rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675  cat >conftest.$ac_ext <<_ACEOF
2676/* confdefs.h.  */
2677_ACEOF
2678cat confdefs.h >>conftest.$ac_ext
2679cat >>conftest.$ac_ext <<_ACEOF
2680/* end confdefs.h.  */
2681$ac_declaration
2682int
2683main ()
2684{
2685exit (42);
2686  ;
2687  return 0;
2688}
2689_ACEOF
2690rm -f conftest.$ac_objext
2691if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692  (eval $ac_compile) 2>conftest.er1
2693  ac_status=$?
2694  grep -v '^ *+' conftest.er1 >conftest.err
2695  rm -f conftest.er1
2696  cat conftest.err >&5
2697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698  (exit $ac_status); } &&
2699         { ac_try='test -z "$ac_c_werror_flag"
2700                         || test ! -s conftest.err'
2701  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702  (eval $ac_try) 2>&5
2703  ac_status=$?
2704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705  (exit $ac_status); }; } &&
2706         { ac_try='test -s conftest.$ac_objext'
2707  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708  (eval $ac_try) 2>&5
2709  ac_status=$?
2710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711  (exit $ac_status); }; }; then
2712  break
2713else
2714  echo "$as_me: failed program was:" >&5
2715sed 's/^/| /' conftest.$ac_ext >&5
2716
2717fi
2718rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2719done
2720rm -f conftest*
2721if test -n "$ac_declaration"; then
2722  echo '#ifdef __cplusplus' >>confdefs.h
2723  echo $ac_declaration      >>confdefs.h
2724  echo '#endif'             >>confdefs.h
2725fi
2726
2727else
2728  echo "$as_me: failed program was:" >&5
2729sed 's/^/| /' conftest.$ac_ext >&5
2730
2731fi
2732rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2733ac_ext=c
2734ac_cpp='$CPP $CPPFLAGS'
2735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2737ac_compiler_gnu=$ac_cv_c_compiler_gnu
2738
2739
2740# Check whether --enable-64 or --disable-64 was given.
2741if test "${enable_64+set}" = set; then
2742  enableval="$enable_64"
2743  use_sixty_four=$enableval
2744else
2745  use_sixty_four=no
2746fi;
2747
2748if test "$gcc_ok" != no; then
2749  use_sixty_four=yes
2750fi
2751
2752
2753# Determine the compiler flags to use
2754
2755DEBUG_CFLAGS="-g"
2756DEBUG_LDFLAGS=""
2757
2758case "$target" in
2759
2760  sparc-sun-solaris* | i386-pc-solaris*)
2761        # Sparc and X86 Solaris:
2762        # -xO3: Highest safe level of optimization
2763        # -native: Optimize for the native processor (if supported)
2764        # -dalign: Generate double-word load/store for performance
2765        #          (only for SPARC)
2766        # and other arcane compilation flags.
2767        if test "$GCC" = yes; then
2768          OPTIMIZE_CFLAGS="-O"
2769        else
2770          case "$target" in
2771            sparc-sun-solaris*)
2772              ALIGN=" -dalign" ;;
2773            *)
2774              ALIGN="" ;;
2775          esac
2776          echo "$as_me:$LINENO: checking for -native" >&5
2777echo $ECHO_N "checking for -native... $ECHO_C" >&6
2778          CFLAGS="-xO3 -native$ALIGN"
2779
2780if test "${ac_cv_have_native+set}" = set; then
2781  echo $ECHO_N "(cached) $ECHO_C" >&6
2782else
2783   if test "$cross_compiling" = yes; then
2784  ac_cv_have_native=no
2785else
2786  cat >conftest.$ac_ext <<_ACEOF
2787/* confdefs.h.  */
2788_ACEOF
2789cat confdefs.h >>conftest.$ac_ext
2790cat >>conftest.$ac_ext <<_ACEOF
2791/* end confdefs.h.  */
2792
2793          main(){exit(0);}
2794
2795_ACEOF
2796rm -f conftest$ac_exeext
2797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2798  (eval $ac_link) 2>&5
2799  ac_status=$?
2800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803  (eval $ac_try) 2>&5
2804  ac_status=$?
2805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806  (exit $ac_status); }; }; then
2807  ac_cv_have_native=yes
2808else
2809  echo "$as_me: program exited with status $ac_status" >&5
2810echo "$as_me: failed program was:" >&5
2811sed 's/^/| /' conftest.$ac_ext >&5
2812
2813( exit $ac_status )
2814ac_cv_have_native=no
2815fi
2816rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2817fi
2818fi
2819
2820          if test $ac_cv_have_native = yes ; then
2821            echo "$as_me:$LINENO: result: working" >&5
2822echo "${ECHO_T}working" >&6
2823            OPTIMIZE_CFLAGS="-xO3 -native$ALIGN"
2824          else
2825            echo "$as_me:$LINENO: result: broken" >&5
2826echo "${ECHO_T}broken" >&6
2827            echo "$as_me:$LINENO: checking for fallback optimization flags" >&5
2828echo $ECHO_N "checking for fallback optimization flags... $ECHO_C" >&6
2829            CFLAGS="-xO3 -fns -fsimple=2$ALIGN -ftrap=%none -xlibmil"
2830            if test "${ac_cv_have_fallback+set}" = set; then
2831  echo $ECHO_N "(cached) $ECHO_C" >&6
2832else
2833   if test "$cross_compiling" = yes; then
2834  ac_cv_have_fallback=no
2835else
2836  cat >conftest.$ac_ext <<_ACEOF
2837/* confdefs.h.  */
2838_ACEOF
2839cat confdefs.h >>conftest.$ac_ext
2840cat >>conftest.$ac_ext <<_ACEOF
2841/* end confdefs.h.  */
2842
2843            main(){exit(0);}
2844
2845_ACEOF
2846rm -f conftest$ac_exeext
2847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848  (eval $ac_link) 2>&5
2849  ac_status=$?
2850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2852  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853  (eval $ac_try) 2>&5
2854  ac_status=$?
2855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856  (exit $ac_status); }; }; then
2857  ac_cv_have_fallback=yes
2858else
2859  echo "$as_me: program exited with status $ac_status" >&5
2860echo "$as_me: failed program was:" >&5
2861sed 's/^/| /' conftest.$ac_ext >&5
2862
2863( exit $ac_status )
2864ac_cv_have_fallback=no
2865fi
2866rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2867fi
2868fi
2869
2870            if test $ac_cv_have_fallback = yes ; then
2871              echo "$as_me:$LINENO: result: working" >&5
2872echo "${ECHO_T}working" >&6
2873              OPTIMIZE_CFLAGS="-xO3 -fns -fsimple=2$ALIGN -ftrap=%none -xlibmil"
2874            else
2875              echo "$as_me:$LINENO: result: broken" >&5
2876echo "${ECHO_T}broken" >&6
2877              OPTIMIZE_CFLAGS="-O"
2878            fi
2879          fi
2880        fi
2881        ;;
2882
2883  mips-dec-ultrix*)
2884        # MIPS-based DECstations running Ultrix:
2885        # -std1: Produce non-ANSI code warnings, and define __STDC__
2886        # -O: Use the global "ucode" optimizer
2887        # -Olimit 5000: Don't optimize routines bigger than 5000 basic blocks
2888        OPTIMIZE_CFLAGS="-std1 -O -Olimit 5000" ;;
2889
2890  alpha-dec-osf*)
2891        # DEC Alpha running OSF:
2892
2893        # 64-bit mode:
2894        # -g3: Produce symbol table information for optimized code
2895        # -O4: Enable every optimization
2896        # -std: Enforce the ANSI standard with extensions, define __STDC__
2897        # -ieee_with_no_inexact: Disable (potentially slow) signaling
2898        #   for inexact floating-point results
2899        # -tune host: Tune instructions for the compilation host machine
2900
2901        OPTIMIZE_CFLAGS="-g3 -O4 -std -ieee_with_no_inexact -tune host"
2902        DEBUG_CFLAGS="-g -std -ieee_with_no_inexact"
2903
2904        # -non_shared: Do not use shared libraries
2905        # -om: Generate an OMAGIC file for the om optimizer
2906        OPTIMIZE_LDFLAGS="-non_shared"
2907
2908        if test "$use_sixty_four" = "no"; then
2909          # 32-bit mode:
2910          # -xtaso: Make the compiler respond to #pragma pointer_size directives
2911          OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -xtaso"
2912          DEBUG_CFLAGS="$DEBUG_CFLAGS -xtaso"
2913
2914          # -taso: Load the executable into the lower 31-bit address space
2915          OPTIMIZE_LDFLAGS="$OPTIMIZE_LDFLAGS -om -taso"
2916          DEBUG_LDFLAGS="$DEBUG_LDFLAGS -taso"
2917
2918          cat >>confdefs.h <<\_ACEOF
2919#define SIZEOF_VOID_P 4
2920_ACEOF
2921
2922          ac_sizeof_voidp=4
2923        fi
2924        ;;
2925
2926  hppa*-*-hpux*)
2927        # HP running HPUX
2928        # -Aa: Behave as an ANSI compiler
2929        # -D_HPUX_SOURCE: Include "HP-specific" symbols in the header
2930        #   files (e.g., this means sys/resource.h has struct rusage)
2931        OPTIMIZE_CFLAGS="-O -Aa -D_HPUX_SOURCE"
2932        DEBUG_CFLAGS="-g -Aa -D_HPUX_SOURCE" ;;
2933
2934     *)
2935        # Other systems:
2936        OPTIMIZE_CFLAGS="-O" ;;
2937
2938esac
2939
2940if test "$GCC" = yes; then
2941  case "$target" in
2942    i686-pc-linux-gnu | i386-pc-solaris* | i386-pc-cygwin32)
2943      echo "$as_me:$LINENO: checking for -mcpu and -malign compiler options" >&5
2944echo $ECHO_N "checking for -mcpu and -malign compiler options... $ECHO_C" >&6
2945      CFLAGS="-g -O6 -mcpu=pentiumpro -malign-double"
2946      cat >conftest.$ac_ext <<_ACEOF
2947/* confdefs.h.  */
2948_ACEOF
2949cat confdefs.h >>conftest.$ac_ext
2950cat >>conftest.$ac_ext <<_ACEOF
2951/* end confdefs.h.  */
2952
2953int
2954main ()
2955{
2956
2957  ;
2958  return 0;
2959}
2960_ACEOF
2961rm -f conftest.$ac_objext
2962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963  (eval $ac_compile) 2>conftest.er1
2964  ac_status=$?
2965  grep -v '^ *+' conftest.er1 >conftest.err
2966  rm -f conftest.er1
2967  cat conftest.err >&5
2968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969  (exit $ac_status); } &&
2970         { ac_try='test -z "$ac_c_werror_flag"
2971                         || test ! -s conftest.err'
2972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973  (eval $ac_try) 2>&5
2974  ac_status=$?
2975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976  (exit $ac_status); }; } &&
2977         { ac_try='test -s conftest.$ac_objext'
2978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979  (eval $ac_try) 2>&5
2980  ac_status=$?
2981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982  (exit $ac_status); }; }; then
2983  ac_have_mcpu=yes
2984else
2985  echo "$as_me: failed program was:" >&5
2986sed 's/^/| /' conftest.$ac_ext >&5
2987
2988ac_have_mcpu=no
2989fi
2990rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991      if test "$ac_have_mcpu" = yes; then
2992        echo "$as_me:$LINENO: result: working" >&5
2993echo "${ECHO_T}working" >&6
2994        OPTIMIZE_CFLAGS="-g -O6 -mcpu=pentiumpro -malign-double"
2995      else
2996        echo "$as_me:$LINENO: result: broken" >&5
2997echo "${ECHO_T}broken" >&6
2998        OPTIMIZE_CFLAGS="-g -O3"
2999      fi
3000      ;;
3001    sparc-sun-solaris*)
3002      echo "$as_me:$LINENO: checking for -mtune compiler option" >&5
3003echo $ECHO_N "checking for -mtune compiler option... $ECHO_C" >&6
3004      CFLAGS="-g -O6 -mtune=ultrasparc"
3005      cat >conftest.$ac_ext <<_ACEOF
3006/* confdefs.h.  */
3007_ACEOF
3008cat confdefs.h >>conftest.$ac_ext
3009cat >>conftest.$ac_ext <<_ACEOF
3010/* end confdefs.h.  */
3011
3012int
3013main ()
3014{
3015
3016  ;
3017  return 0;
3018}
3019_ACEOF
3020rm -f conftest.$ac_objext
3021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022  (eval $ac_compile) 2>conftest.er1
3023  ac_status=$?
3024  grep -v '^ *+' conftest.er1 >conftest.err
3025  rm -f conftest.er1
3026  cat conftest.err >&5
3027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028  (exit $ac_status); } &&
3029         { ac_try='test -z "$ac_c_werror_flag"
3030                         || test ! -s conftest.err'
3031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032  (eval $ac_try) 2>&5
3033  ac_status=$?
3034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035  (exit $ac_status); }; } &&
3036         { ac_try='test -s conftest.$ac_objext'
3037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038  (eval $ac_try) 2>&5
3039  ac_status=$?
3040  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041  (exit $ac_status); }; }; then
3042  ac_have_mtune=yes
3043else
3044  echo "$as_me: failed program was:" >&5
3045sed 's/^/| /' conftest.$ac_ext >&5
3046
3047ac_have_mtune=no
3048fi
3049rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3050      if test "$ac_have_mtune" = yes; then
3051        echo "$as_me:$LINENO: result: working" >&5
3052echo "${ECHO_T}working" >&6
3053        OPTIMIZE_CFLAGS="-g -O6 -mtune=ultrasparc"
3054      else
3055        echo "$as_me:$LINENO: result: not working" >&5
3056echo "${ECHO_T}not working" >&6
3057        OPTIMIZE_CFLAGS="-g -O3"
3058      fi
3059      ;;
3060    *)
3061      OPTIMIZE_CFLAGS="-g -O3"
3062      ;;
3063  esac
3064  OPTIMIZE_LDFLAGS=""
3065  DEBUG_CFLAGS="-g"
3066  DEBUG_LDFLAGS=""
3067fi
3068
3069
3070# Check whether --with-comp-mode or --without-comp-mode was given.
3071if test "${with_comp_mode+set}" = set; then
3072  withval="$with_comp_mode"
3073  comp_mode=$withval
3074else
3075  comp_mode=optimize
3076fi;
3077
3078
3079LINKER="$CC"
3080
3081case "$comp_mode" in
3082  debug)
3083       CFLAGS="$DEBUG_CFLAGS"
3084       LDFLAGS="$DEBUG_LDFLAGS" ;;
3085  purify)
3086       CFLAGS="$DEBUG_CFLAGS"
3087       LDFLAGS="$DEBUG_LDFLAGS"
3088       cat >>confdefs.h <<\_ACEOF
3089#define PURIFY 1
3090_ACEOF
3091
3092       LINKER="purify -cache-dir=/tmp $CC" ;;
3093  quantify)
3094       CFLAGS="$OPTIMIZE_CFLAGS"
3095       LDFLAGS="$OPTIMIZE_LDFLAGS"
3096       cat >>confdefs.h <<\_ACEOF
3097#define QUANTIFY 1
3098_ACEOF
3099
3100       cat >>confdefs.h <<\_ACEOF
3101#define NDEBUG 1
3102_ACEOF
3103
3104       LINKER="quantify $CC" ;;
3105  optimize | *)
3106       CFLAGS="$OPTIMIZE_CFLAGS"
3107       LDFLAGS="$OPTIMIZE_LDFLAGS"
3108       cat >>confdefs.h <<\_ACEOF
3109#define NDEBUG 1
3110_ACEOF
3111 ;;
3112esac
3113
3114for ac_prog in flex lex
3115do
3116  # Extract the first word of "$ac_prog", so it can be a program name with args.
3117set dummy $ac_prog; ac_word=$2
3118echo "$as_me:$LINENO: checking for $ac_word" >&5
3119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120if test "${ac_cv_prog_LEX+set}" = set; then
3121  echo $ECHO_N "(cached) $ECHO_C" >&6
3122else
3123  if test -n "$LEX"; then
3124  ac_cv_prog_LEX="$LEX" # Let the user override the test.
3125else
3126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127for as_dir in $PATH
3128do
3129  IFS=$as_save_IFS
3130  test -z "$as_dir" && as_dir=.
3131  for ac_exec_ext in '' $ac_executable_extensions; do
3132  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133    ac_cv_prog_LEX="$ac_prog"
3134    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3135    break 2
3136  fi
3137done
3138done
3139
3140fi
3141fi
3142LEX=$ac_cv_prog_LEX
3143if test -n "$LEX"; then
3144  echo "$as_me:$LINENO: result: $LEX" >&5
3145echo "${ECHO_T}$LEX" >&6
3146else
3147  echo "$as_me:$LINENO: result: no" >&5
3148echo "${ECHO_T}no" >&6
3149fi
3150
3151  test -n "$LEX" && break
3152done
3153test -n "$LEX" || LEX=":"
3154
3155if test -z "$LEXLIB"
3156then
3157  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3158echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3159if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3160  echo $ECHO_N "(cached) $ECHO_C" >&6
3161else
3162  ac_check_lib_save_LIBS=$LIBS
3163LIBS="-lfl  $LIBS"
3164cat >conftest.$ac_ext <<_ACEOF
3165/* confdefs.h.  */
3166_ACEOF
3167cat confdefs.h >>conftest.$ac_ext
3168cat >>conftest.$ac_ext <<_ACEOF
3169/* end confdefs.h.  */
3170
3171/* Override any gcc2 internal prototype to avoid an error.  */
3172#ifdef __cplusplus
3173extern "C"
3174#endif
3175/* We use char because int might match the return type of a gcc2
3176   builtin and then its argument prototype would still apply.  */
3177char yywrap ();
3178int
3179main ()
3180{
3181yywrap ();
3182  ;
3183  return 0;
3184}
3185_ACEOF
3186rm -f conftest.$ac_objext conftest$ac_exeext
3187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188  (eval $ac_link) 2>conftest.er1
3189  ac_status=$?
3190  grep -v '^ *+' conftest.er1 >conftest.err
3191  rm -f conftest.er1
3192  cat conftest.err >&5
3193  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194  (exit $ac_status); } &&
3195         { ac_try='test -z "$ac_c_werror_flag"
3196                         || test ! -s conftest.err'
3197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198  (eval $ac_try) 2>&5
3199  ac_status=$?
3200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201  (exit $ac_status); }; } &&
3202         { ac_try='test -s conftest$ac_exeext'
3203  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204  (eval $ac_try) 2>&5
3205  ac_status=$?
3206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207  (exit $ac_status); }; }; then
3208  ac_cv_lib_fl_yywrap=yes
3209else
3210  echo "$as_me: failed program was:" >&5
3211sed 's/^/| /' conftest.$ac_ext >&5
3212
3213ac_cv_lib_fl_yywrap=no
3214fi
3215rm -f conftest.err conftest.$ac_objext \
3216      conftest$ac_exeext conftest.$ac_ext
3217LIBS=$ac_check_lib_save_LIBS
3218fi
3219echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3220echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3221if test $ac_cv_lib_fl_yywrap = yes; then
3222  LEXLIB="-lfl"
3223else
3224  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3225echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3226if test "${ac_cv_lib_l_yywrap+set}" = set; then
3227  echo $ECHO_N "(cached) $ECHO_C" >&6
3228else
3229  ac_check_lib_save_LIBS=$LIBS
3230LIBS="-ll  $LIBS"
3231cat >conftest.$ac_ext <<_ACEOF
3232/* confdefs.h.  */
3233_ACEOF
3234cat confdefs.h >>conftest.$ac_ext
3235cat >>conftest.$ac_ext <<_ACEOF
3236/* end confdefs.h.  */
3237
3238/* Override any gcc2 internal prototype to avoid an error.  */
3239#ifdef __cplusplus
3240extern "C"
3241#endif
3242/* We use char because int might match the return type of a gcc2
3243   builtin and then its argument prototype would still apply.  */
3244char yywrap ();
3245int
3246main ()
3247{
3248yywrap ();
3249  ;
3250  return 0;
3251}
3252_ACEOF
3253rm -f conftest.$ac_objext conftest$ac_exeext
3254if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3255  (eval $ac_link) 2>conftest.er1
3256  ac_status=$?
3257  grep -v '^ *+' conftest.er1 >conftest.err
3258  rm -f conftest.er1
3259  cat conftest.err >&5
3260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261  (exit $ac_status); } &&
3262         { ac_try='test -z "$ac_c_werror_flag"
3263                         || test ! -s conftest.err'
3264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265  (eval $ac_try) 2>&5
3266  ac_status=$?
3267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268  (exit $ac_status); }; } &&
3269         { ac_try='test -s conftest$ac_exeext'
3270  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271  (eval $ac_try) 2>&5
3272  ac_status=$?
3273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274  (exit $ac_status); }; }; then
3275  ac_cv_lib_l_yywrap=yes
3276else
3277  echo "$as_me: failed program was:" >&5
3278sed 's/^/| /' conftest.$ac_ext >&5
3279
3280ac_cv_lib_l_yywrap=no
3281fi
3282rm -f conftest.err conftest.$ac_objext \
3283      conftest$ac_exeext conftest.$ac_ext
3284LIBS=$ac_check_lib_save_LIBS
3285fi
3286echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3287echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3288if test $ac_cv_lib_l_yywrap = yes; then
3289  LEXLIB="-ll"
3290fi
3291
3292fi
3293
3294fi
3295
3296if test "x$LEX" != "x:"; then
3297  echo "$as_me:$LINENO: checking lex output file root" >&5
3298echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3299if test "${ac_cv_prog_lex_root+set}" = set; then
3300  echo $ECHO_N "(cached) $ECHO_C" >&6
3301else
3302  # The minimal lex program is just a single line: %%.  But some broken lexes
3303# (Solaris, I think it was) want two %% lines, so accommodate them.
3304cat >conftest.l <<_ACEOF
3305%%
3306%%
3307_ACEOF
3308{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3309  (eval $LEX conftest.l) 2>&5
3310  ac_status=$?
3311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312  (exit $ac_status); }
3313if test -f lex.yy.c; then
3314  ac_cv_prog_lex_root=lex.yy
3315elif test -f lexyy.c; then
3316  ac_cv_prog_lex_root=lexyy
3317else
3318  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3319echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3320   { (exit 1); exit 1; }; }
3321fi
3322fi
3323echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3324echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3325rm -f conftest.l
3326LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3327
3328echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3329echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3330if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3331  echo $ECHO_N "(cached) $ECHO_C" >&6
3332else
3333  # POSIX says lex can declare yytext either as a pointer or an array; the
3334# default is implementation-dependent. Figure out which it is, since
3335# not all implementations provide the %pointer and %array declarations.
3336ac_cv_prog_lex_yytext_pointer=no
3337echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3338ac_save_LIBS=$LIBS
3339LIBS="$LIBS $LEXLIB"
3340cat >conftest.$ac_ext <<_ACEOF
3341`cat $LEX_OUTPUT_ROOT.c`
3342_ACEOF
3343rm -f conftest.$ac_objext conftest$ac_exeext
3344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3345  (eval $ac_link) 2>conftest.er1
3346  ac_status=$?
3347  grep -v '^ *+' conftest.er1 >conftest.err
3348  rm -f conftest.er1
3349  cat conftest.err >&5
3350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351  (exit $ac_status); } &&
3352         { ac_try='test -z "$ac_c_werror_flag"
3353                         || test ! -s conftest.err'
3354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355  (eval $ac_try) 2>&5
3356  ac_status=$?
3357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358  (exit $ac_status); }; } &&
3359         { ac_try='test -s conftest$ac_exeext'
3360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361  (eval $ac_try) 2>&5
3362  ac_status=$?
3363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364  (exit $ac_status); }; }; then
3365  ac_cv_prog_lex_yytext_pointer=yes
3366else
3367  echo "$as_me: failed program was:" >&5
3368sed 's/^/| /' conftest.$ac_ext >&5
3369
3370fi
3371rm -f conftest.err conftest.$ac_objext \
3372      conftest$ac_exeext conftest.$ac_ext
3373LIBS=$ac_save_LIBS
3374rm -f "${LEX_OUTPUT_ROOT}.c"
3375
3376fi
3377echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3378echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3379if test $ac_cv_prog_lex_yytext_pointer = yes; then
3380
3381cat >>confdefs.h <<\_ACEOF
3382#define YYTEXT_POINTER 1
3383_ACEOF
3384
3385fi
3386
3387fi
3388echo "$as_me:$LINENO: checking if $LEX accepts the -o and -P options" >&5
3389echo $ECHO_N "checking if $LEX accepts the -o and -P options... $ECHO_C" >&6
3390
3391if test "${ac_cv_flex_accepts_op+set}" = set; then
3392  echo $ECHO_N "(cached) $ECHO_C" >&6
3393else
3394   ac_cv_flex_accepts_op=yes ;
3395echo "%%\
3396%%" | $LEX -Ptest -o/dev/null >/dev/null 2>&1 || ac_cv_flex_accepts_op=no
3397fi
3398
3399if test $ac_cv_flex_accepts_op = yes ; then
3400  echo "$as_me:$LINENO: result: yes" >&5
3401echo "${ECHO_T}yes" >&6
3402else
3403  echo "$as_me:$LINENO: result: no" >&5
3404echo "${ECHO_T}no" >&6
3405  { echo "$as_me:$LINENO: WARNING: You either need a newer version of flex, or need to modify
3406the defintion of LEX in the Makefile to point to a version that does
3407accept -p -t and -o." >&5
3408echo "$as_me: WARNING: You either need a newer version of flex, or need to modify
3409the defintion of LEX in the Makefile to point to a version that does
3410accept -p -t and -o." >&2;}
3411fi
3412
3413echo "$as_me:$LINENO: checking whether ln -s works" >&5
3414echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3415LN_S=$as_ln_s
3416if test "$LN_S" = "ln -s"; then
3417  echo "$as_me:$LINENO: result: yes" >&5
3418echo "${ECHO_T}yes" >&6
3419else
3420  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3421echo "${ECHO_T}no, using $LN_S" >&6
3422fi
3423
3424echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3425echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3426set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3427if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3428  echo $ECHO_N "(cached) $ECHO_C" >&6
3429else
3430  cat >conftest.make <<\_ACEOF
3431all:
3432        @echo 'ac_maketemp="$(MAKE)"'
3433_ACEOF
3434# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3435eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3436if test -n "$ac_maketemp"; then
3437  eval ac_cv_prog_make_${ac_make}_set=yes
3438else
3439  eval ac_cv_prog_make_${ac_make}_set=no
3440fi
3441rm -f conftest.make
3442fi
3443if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3444  echo "$as_me:$LINENO: result: yes" >&5
3445echo "${ECHO_T}yes" >&6
3446  SET_MAKE=
3447else
3448  echo "$as_me:$LINENO: result: no" >&5
3449echo "${ECHO_T}no" >&6
3450  SET_MAKE="MAKE=${MAKE-make}"
3451fi
3452
3453# Extract the first word of "ar", so it can be a program name with args.
3454set dummy ar; ac_word=$2
3455echo "$as_me:$LINENO: checking for $ac_word" >&5
3456echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3457if test "${ac_cv_path_AR+set}" = set; then
3458  echo $ECHO_N "(cached) $ECHO_C" >&6
3459else
3460  case $AR in
3461  [\\/]* | ?:[\\/]*)
3462  ac_cv_path_AR="$AR" # Let the user override the test with a path.
3463  ;;
3464  *)
3465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466for as_dir in $PATH
3467do
3468  IFS=$as_save_IFS
3469  test -z "$as_dir" && as_dir=.
3470  for ac_exec_ext in '' $ac_executable_extensions; do
3471  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
3473    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474    break 2
3475  fi
3476done
3477done
3478
3479  test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
3480  ;;
3481esac
3482fi
3483AR=$ac_cv_path_AR
3484
3485if test -n "$AR"; then
3486  echo "$as_me:$LINENO: result: $AR" >&5
3487echo "${ECHO_T}$AR" >&6
3488else
3489  echo "$as_me:$LINENO: result: no" >&5
3490echo "${ECHO_T}no" >&6
3491fi
3492
3493if test -n "$ac_tool_prefix"; then
3494  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3495set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3496echo "$as_me:$LINENO: checking for $ac_word" >&5
3497echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3498if test "${ac_cv_prog_RANLIB+set}" = set; then
3499  echo $ECHO_N "(cached) $ECHO_C" >&6
3500else
3501  if test -n "$RANLIB"; then
3502  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3503else
3504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505for as_dir in $PATH
3506do
3507  IFS=$as_save_IFS
3508  test -z "$as_dir" && as_dir=.
3509  for ac_exec_ext in '' $ac_executable_extensions; do
3510  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3512    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513    break 2
3514  fi
3515done
3516done
3517
3518fi
3519fi
3520RANLIB=$ac_cv_prog_RANLIB
3521if test -n "$RANLIB"; then
3522  echo "$as_me:$LINENO: result: $RANLIB" >&5
3523echo "${ECHO_T}$RANLIB" >&6
3524else
3525  echo "$as_me:$LINENO: result: no" >&5
3526echo "${ECHO_T}no" >&6
3527fi
3528
3529fi
3530if test -z "$ac_cv_prog_RANLIB"; then
3531  ac_ct_RANLIB=$RANLIB
3532  # Extract the first word of "ranlib", so it can be a program name with args.
3533set dummy ranlib; ac_word=$2
3534echo "$as_me:$LINENO: checking for $ac_word" >&5
3535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3536if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3537  echo $ECHO_N "(cached) $ECHO_C" >&6
3538else
3539  if test -n "$ac_ct_RANLIB"; then
3540  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3541else
3542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543for as_dir in $PATH
3544do
3545  IFS=$as_save_IFS
3546  test -z "$as_dir" && as_dir=.
3547  for ac_exec_ext in '' $ac_executable_extensions; do
3548  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549    ac_cv_prog_ac_ct_RANLIB="ranlib"
3550    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551    break 2
3552  fi
3553done
3554done
3555
3556  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3557fi
3558fi
3559ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3560if test -n "$ac_ct_RANLIB"; then
3561  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3562echo "${ECHO_T}$ac_ct_RANLIB" >&6
3563else
3564  echo "$as_me:$LINENO: result: no" >&5
3565echo "${ECHO_T}no" >&6
3566fi
3567
3568  RANLIB=$ac_ct_RANLIB
3569else
3570  RANLIB="$ac_cv_prog_RANLIB"
3571fi
3572
3573for ac_prog in 'bison -y' byacc
3574do
3575  # Extract the first word of "$ac_prog", so it can be a program name with args.
3576set dummy $ac_prog; ac_word=$2
3577echo "$as_me:$LINENO: checking for $ac_word" >&5
3578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579if test "${ac_cv_prog_YACC+set}" = set; then
3580  echo $ECHO_N "(cached) $ECHO_C" >&6
3581else
3582  if test -n "$YACC"; then
3583  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3584else
3585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586for as_dir in $PATH
3587do
3588  IFS=$as_save_IFS
3589  test -z "$as_dir" && as_dir=.
3590  for ac_exec_ext in '' $ac_executable_extensions; do
3591  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592    ac_cv_prog_YACC="$ac_prog"
3593    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594    break 2
3595  fi
3596done
3597done
3598
3599fi
3600fi
3601YACC=$ac_cv_prog_YACC
3602if test -n "$YACC"; then
3603  echo "$as_me:$LINENO: result: $YACC" >&5
3604echo "${ECHO_T}$YACC" >&6
3605else
3606  echo "$as_me:$LINENO: result: no" >&5
3607echo "${ECHO_T}no" >&6
3608fi
3609
3610  test -n "$YACC" && break
3611done
3612test -n "$YACC" || YACC="yacc"
3613
3614echo "$as_me:$LINENO: checking if $YACC accepts the -p, -t, and -o options" >&5
3615echo $ECHO_N "checking if $YACC accepts the -p, -t, and -o options... $ECHO_C" >&6
3616if test "${ac_cv_yacc_accepts_pto+set}" = set; then
3617  echo $ECHO_N "(cached) $ECHO_C" >&6
3618else
3619   ac_cv_yacc_accepts_pto=yes ;
3620echo "%token terminal\
3621%%\
3622nonterminal: terminal\
3623%%" > config.in
3624$YACC -ptest -o /dev/null config.in >/dev/null 2>&1 || ac_cv_yacc_accepts_pto=norm -f config.in
3625fi
3626
3627if test $ac_cv_yacc_accepts_pto = yes ; then
3628  echo "$as_me:$LINENO: result: yes" >&5
3629echo "${ECHO_T}yes" >&6
3630else
3631  echo "$as_me:$LINENO: result: no" >&5
3632echo "${ECHO_T}no" >&6
3633  { echo "$as_me:$LINENO: WARNING: You either need a newer version of bison, or need to modify
3634the defintion of YACC in the Makefile to point to a version that does
3635accept -p -t and -o." >&5
3636echo "$as_me: WARNING: You either need a newer version of bison, or need to modify
3637the defintion of YACC in the Makefile to point to a version that does
3638accept -p -t and -o." >&2;}
3639fi
3640
3641
3642
3643
3644# add -lucb to LIBS and set LIBDIRS to -L/usr/ucblib
3645# if there's a libucb.a available
3646# (Solaris needs this for signals)
3647
3648ac_save_ldflags="$LDFLAGS"
3649LDFLAGS=-L/usr/ucblib
3650echo "$as_me:$LINENO: checking for main in -lucb" >&5
3651echo $ECHO_N "checking for main in -lucb... $ECHO_C" >&6
3652if test "${ac_cv_lib_ucb_main+set}" = set; then
3653  echo $ECHO_N "(cached) $ECHO_C" >&6
3654else
3655  ac_check_lib_save_LIBS=$LIBS
3656LIBS="-lucb  $LIBS"
3657cat >conftest.$ac_ext <<_ACEOF
3658/* confdefs.h.  */
3659_ACEOF
3660cat confdefs.h >>conftest.$ac_ext
3661cat >>conftest.$ac_ext <<_ACEOF
3662/* end confdefs.h.  */
3663
3664
3665int
3666main ()
3667{
3668main ();
3669  ;
3670  return 0;
3671}
3672_ACEOF
3673rm -f conftest.$ac_objext conftest$ac_exeext
3674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675  (eval $ac_link) 2>conftest.er1
3676  ac_status=$?
3677  grep -v '^ *+' conftest.er1 >conftest.err
3678  rm -f conftest.er1
3679  cat conftest.err >&5
3680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681  (exit $ac_status); } &&
3682         { ac_try='test -z "$ac_c_werror_flag"
3683                         || test ! -s conftest.err'
3684  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685  (eval $ac_try) 2>&5
3686  ac_status=$?
3687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688  (exit $ac_status); }; } &&
3689         { ac_try='test -s conftest$ac_exeext'
3690  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691  (eval $ac_try) 2>&5
3692  ac_status=$?
3693  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694  (exit $ac_status); }; }; then
3695  ac_cv_lib_ucb_main=yes
3696else
3697  echo "$as_me: failed program was:" >&5
3698sed 's/^/| /' conftest.$ac_ext >&5
3699
3700ac_cv_lib_ucb_main=no
3701fi
3702rm -f conftest.err conftest.$ac_objext \
3703      conftest$ac_exeext conftest.$ac_ext
3704LIBS=$ac_check_lib_save_LIBS
3705fi
3706echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_main" >&5
3707echo "${ECHO_T}$ac_cv_lib_ucb_main" >&6
3708if test $ac_cv_lib_ucb_main = yes; then
3709  LIBDIRS=-L/usr/ucblib
3710fi
3711
3712LDFLAGS="$ac_save_ldflags"
3713
3714# add -lbsd if there's a libbsd.a available
3715# (e.g., Linux needs this for bsd_ioctl)
3716
3717echo "$as_me:$LINENO: checking for main in -lbsd" >&5
3718echo $ECHO_N "checking for main in -lbsd... $ECHO_C" >&6
3719if test "${ac_cv_lib_bsd_main+set}" = set; then
3720  echo $ECHO_N "(cached) $ECHO_C" >&6
3721else
3722  ac_check_lib_save_LIBS=$LIBS
3723LIBS="-lbsd  $LIBS"
3724cat >conftest.$ac_ext <<_ACEOF
3725/* confdefs.h.  */
3726_ACEOF
3727cat confdefs.h >>conftest.$ac_ext
3728cat >>conftest.$ac_ext <<_ACEOF
3729/* end confdefs.h.  */
3730
3731
3732int
3733main ()
3734{
3735main ();
3736  ;
3737  return 0;
3738}
3739_ACEOF
3740rm -f conftest.$ac_objext conftest$ac_exeext
3741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3742  (eval $ac_link) 2>conftest.er1
3743  ac_status=$?
3744  grep -v '^ *+' conftest.er1 >conftest.err
3745  rm -f conftest.er1
3746  cat conftest.err >&5
3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748  (exit $ac_status); } &&
3749         { ac_try='test -z "$ac_c_werror_flag"
3750                         || test ! -s conftest.err'
3751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752  (eval $ac_try) 2>&5
3753  ac_status=$?
3754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755  (exit $ac_status); }; } &&
3756         { ac_try='test -s conftest$ac_exeext'
3757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758  (eval $ac_try) 2>&5
3759  ac_status=$?
3760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761  (exit $ac_status); }; }; then
3762  ac_cv_lib_bsd_main=yes
3763else
3764  echo "$as_me: failed program was:" >&5
3765sed 's/^/| /' conftest.$ac_ext >&5
3766
3767ac_cv_lib_bsd_main=no
3768fi
3769rm -f conftest.err conftest.$ac_objext \
3770      conftest$ac_exeext conftest.$ac_ext
3771LIBS=$ac_check_lib_save_LIBS
3772fi
3773echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_main" >&5
3774echo "${ECHO_T}$ac_cv_lib_bsd_main" >&6
3775if test $ac_cv_lib_bsd_main = yes; then
3776  cat >>confdefs.h <<_ACEOF
3777#define HAVE_LIBBSD 1
3778_ACEOF
3779
3780  LIBS="-lbsd $LIBS"
3781
3782fi
3783
3784
3785
3786echo "$as_me:$LINENO: checking for main in -lglu" >&5
3787echo $ECHO_N "checking for main in -lglu... $ECHO_C" >&6
3788if test "${ac_cv_lib_glu_main+set}" = set; then
3789  echo $ECHO_N "(cached) $ECHO_C" >&6
3790else
3791  ac_check_lib_save_LIBS=$LIBS
3792LIBS="-lglu  $LIBS"
3793cat >conftest.$ac_ext <<_ACEOF
3794/* confdefs.h.  */
3795_ACEOF
3796cat confdefs.h >>conftest.$ac_ext
3797cat >>conftest.$ac_ext <<_ACEOF
3798/* end confdefs.h.  */
3799
3800
3801int
3802main ()
3803{
3804main ();
3805  ;
3806  return 0;
3807}
3808_ACEOF
3809rm -f conftest.$ac_objext conftest$ac_exeext
3810if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3811  (eval $ac_link) 2>conftest.er1
3812  ac_status=$?
3813  grep -v '^ *+' conftest.er1 >conftest.err
3814  rm -f conftest.er1
3815  cat conftest.err >&5
3816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817  (exit $ac_status); } &&
3818         { ac_try='test -z "$ac_c_werror_flag"
3819                         || test ! -s conftest.err'
3820  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821  (eval $ac_try) 2>&5
3822  ac_status=$?
3823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824  (exit $ac_status); }; } &&
3825         { ac_try='test -s conftest$ac_exeext'
3826  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827  (eval $ac_try) 2>&5
3828  ac_status=$?
3829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830  (exit $ac_status); }; }; then
3831  ac_cv_lib_glu_main=yes
3832else
3833  echo "$as_me: failed program was:" >&5
3834sed 's/^/| /' conftest.$ac_ext >&5
3835
3836ac_cv_lib_glu_main=no
3837fi
3838rm -f conftest.err conftest.$ac_objext \
3839      conftest$ac_exeext conftest.$ac_ext
3840LIBS=$ac_check_lib_save_LIBS
3841fi
3842echo "$as_me:$LINENO: result: $ac_cv_lib_glu_main" >&5
3843echo "${ECHO_T}$ac_cv_lib_glu_main" >&6
3844if test $ac_cv_lib_glu_main = yes; then
3845  cat >>confdefs.h <<_ACEOF
3846#define HAVE_LIBGLU 1
3847_ACEOF
3848
3849  LIBS="-lglu $LIBS"
3850
3851fi
3852
3853
3854echo "$as_me:$LINENO: checking for main in -lm" >&5
3855echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3856if test "${ac_cv_lib_m_main+set}" = set; then
3857  echo $ECHO_N "(cached) $ECHO_C" >&6
3858else
3859  ac_check_lib_save_LIBS=$LIBS
3860LIBS="-lm  $LIBS"
3861cat >conftest.$ac_ext <<_ACEOF
3862/* confdefs.h.  */
3863_ACEOF
3864cat confdefs.h >>conftest.$ac_ext
3865cat >>conftest.$ac_ext <<_ACEOF
3866/* end confdefs.h.  */
3867
3868
3869int
3870main ()
3871{
3872main ();
3873  ;
3874  return 0;
3875}
3876_ACEOF
3877rm -f conftest.$ac_objext conftest$ac_exeext
3878if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3879  (eval $ac_link) 2>conftest.er1
3880  ac_status=$?
3881  grep -v '^ *+' conftest.er1 >conftest.err
3882  rm -f conftest.er1
3883  cat conftest.err >&5
3884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885  (exit $ac_status); } &&
3886         { ac_try='test -z "$ac_c_werror_flag"
3887                         || test ! -s conftest.err'
3888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889  (eval $ac_try) 2>&5
3890  ac_status=$?
3891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892  (exit $ac_status); }; } &&
3893         { ac_try='test -s conftest$ac_exeext'
3894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895  (eval $ac_try) 2>&5
3896  ac_status=$?
3897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898  (exit $ac_status); }; }; then
3899  ac_cv_lib_m_main=yes
3900else
3901  echo "$as_me: failed program was:" >&5
3902sed 's/^/| /' conftest.$ac_ext >&5
3903
3904ac_cv_lib_m_main=no
3905fi
3906rm -f conftest.err conftest.$ac_objext \
3907      conftest$ac_exeext conftest.$ac_ext
3908LIBS=$ac_check_lib_save_LIBS
3909fi
3910echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3911echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3912if test $ac_cv_lib_m_main = yes; then
3913  cat >>confdefs.h <<_ACEOF
3914#define HAVE_LIBM 1
3915_ACEOF
3916
3917  LIBS="-lm $LIBS"
3918
3919fi
3920
3921
3922ac_ext=c
3923ac_cpp='$CPP $CPPFLAGS'
3924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3928echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3929# On Suns, sometimes $CPP names a directory.
3930if test -n "$CPP" && test -d "$CPP"; then
3931  CPP=
3932fi
3933if test -z "$CPP"; then
3934  if test "${ac_cv_prog_CPP+set}" = set; then
3935  echo $ECHO_N "(cached) $ECHO_C" >&6
3936else
3937      # Double quotes because CPP needs to be expanded
3938    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3939    do
3940      ac_preproc_ok=false
3941for ac_c_preproc_warn_flag in '' yes
3942do
3943  # Use a header file that comes with gcc, so configuring glibc
3944  # with a fresh cross-compiler works.
3945  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3946  # <limits.h> exists even on freestanding compilers.
3947  # On the NeXT, cc -E runs the code through the compiler's parser,
3948  # not just through cpp. "Syntax error" is here to catch this case.
3949  cat >conftest.$ac_ext <<_ACEOF
3950/* confdefs.h.  */
3951_ACEOF
3952cat confdefs.h >>conftest.$ac_ext
3953cat >>conftest.$ac_ext <<_ACEOF
3954/* end confdefs.h.  */
3955#ifdef __STDC__
3956# include <limits.h>
3957#else
3958# include <assert.h>
3959#endif
3960                     Syntax error
3961_ACEOF
3962if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3963  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3964  ac_status=$?
3965  grep -v '^ *+' conftest.er1 >conftest.err
3966  rm -f conftest.er1
3967  cat conftest.err >&5
3968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969  (exit $ac_status); } >/dev/null; then
3970  if test -s conftest.err; then
3971    ac_cpp_err=$ac_c_preproc_warn_flag
3972    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973  else
3974    ac_cpp_err=
3975  fi
3976else
3977  ac_cpp_err=yes
3978fi
3979if test -z "$ac_cpp_err"; then
3980  :
3981else
3982  echo "$as_me: failed program was:" >&5
3983sed 's/^/| /' conftest.$ac_ext >&5
3984
3985  # Broken: fails on valid input.
3986continue
3987fi
3988rm -f conftest.err conftest.$ac_ext
3989
3990  # OK, works on sane cases.  Now check whether non-existent headers
3991  # can be detected and how.
3992  cat >conftest.$ac_ext <<_ACEOF
3993/* confdefs.h.  */
3994_ACEOF
3995cat confdefs.h >>conftest.$ac_ext
3996cat >>conftest.$ac_ext <<_ACEOF
3997/* end confdefs.h.  */
3998#include <ac_nonexistent.h>
3999_ACEOF
4000if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4001  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4002  ac_status=$?
4003  grep -v '^ *+' conftest.er1 >conftest.err
4004  rm -f conftest.er1
4005  cat conftest.err >&5
4006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007  (exit $ac_status); } >/dev/null; then
4008  if test -s conftest.err; then
4009    ac_cpp_err=$ac_c_preproc_warn_flag
4010    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4011  else
4012    ac_cpp_err=
4013  fi
4014else
4015  ac_cpp_err=yes
4016fi
4017if test -z "$ac_cpp_err"; then
4018  # Broken: success on invalid input.
4019continue
4020else
4021  echo "$as_me: failed program was:" >&5
4022sed 's/^/| /' conftest.$ac_ext >&5
4023
4024  # Passes both tests.
4025ac_preproc_ok=:
4026break
4027fi
4028rm -f conftest.err conftest.$ac_ext
4029
4030done
4031# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4032rm -f conftest.err conftest.$ac_ext
4033if $ac_preproc_ok; then
4034  break
4035fi
4036
4037    done
4038    ac_cv_prog_CPP=$CPP
4039
4040fi
4041  CPP=$ac_cv_prog_CPP
4042else
4043  ac_cv_prog_CPP=$CPP
4044fi
4045echo "$as_me:$LINENO: result: $CPP" >&5
4046echo "${ECHO_T}$CPP" >&6
4047ac_preproc_ok=false
4048for ac_c_preproc_warn_flag in '' yes
4049do
4050  # Use a header file that comes with gcc, so configuring glibc
4051  # with a fresh cross-compiler works.
4052  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4053  # <limits.h> exists even on freestanding compilers.
4054  # On the NeXT, cc -E runs the code through the compiler's parser,
4055  # not just through cpp. "Syntax error" is here to catch this case.
4056  cat >conftest.$ac_ext <<_ACEOF
4057/* confdefs.h.  */
4058_ACEOF
4059cat confdefs.h >>conftest.$ac_ext
4060cat >>conftest.$ac_ext <<_ACEOF
4061/* end confdefs.h.  */
4062#ifdef __STDC__
4063# include <limits.h>
4064#else
4065# include <assert.h>
4066#endif
4067                     Syntax error
4068_ACEOF
4069if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4070  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4071  ac_status=$?
4072  grep -v '^ *+' conftest.er1 >conftest.err
4073  rm -f conftest.er1
4074  cat conftest.err >&5
4075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076  (exit $ac_status); } >/dev/null; then
4077  if test -s conftest.err; then
4078    ac_cpp_err=$ac_c_preproc_warn_flag
4079    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4080  else
4081    ac_cpp_err=
4082  fi
4083else
4084  ac_cpp_err=yes
4085fi
4086if test -z "$ac_cpp_err"; then
4087  :
4088else
4089  echo "$as_me: failed program was:" >&5
4090sed 's/^/| /' conftest.$ac_ext >&5
4091
4092  # Broken: fails on valid input.
4093continue
4094fi
4095rm -f conftest.err conftest.$ac_ext
4096
4097  # OK, works on sane cases.  Now check whether non-existent headers
4098  # can be detected and how.
4099  cat >conftest.$ac_ext <<_ACEOF
4100/* confdefs.h.  */
4101_ACEOF
4102cat confdefs.h >>conftest.$ac_ext
4103cat >>conftest.$ac_ext <<_ACEOF
4104/* end confdefs.h.  */
4105#include <ac_nonexistent.h>
4106_ACEOF
4107if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4108  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4109  ac_status=$?
4110  grep -v '^ *+' conftest.er1 >conftest.err
4111  rm -f conftest.er1
4112  cat conftest.err >&5
4113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114  (exit $ac_status); } >/dev/null; then
4115  if test -s conftest.err; then
4116    ac_cpp_err=$ac_c_preproc_warn_flag
4117    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4118  else
4119    ac_cpp_err=
4120  fi
4121else
4122  ac_cpp_err=yes
4123fi
4124if test -z "$ac_cpp_err"; then
4125  # Broken: success on invalid input.
4126continue
4127else
4128  echo "$as_me: failed program was:" >&5
4129sed 's/^/| /' conftest.$ac_ext >&5
4130
4131  # Passes both tests.
4132ac_preproc_ok=:
4133break
4134fi
4135rm -f conftest.err conftest.$ac_ext
4136
4137done
4138# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4139rm -f conftest.err conftest.$ac_ext
4140if $ac_preproc_ok; then
4141  :
4142else
4143  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4144See \`config.log' for more details." >&5
4145echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4146See \`config.log' for more details." >&2;}
4147   { (exit 1); exit 1; }; }
4148fi
4149
4150ac_ext=c
4151ac_cpp='$CPP $CPPFLAGS'
4152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155
4156
4157echo "$as_me:$LINENO: checking for egrep" >&5
4158echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4159if test "${ac_cv_prog_egrep+set}" = set; then
4160  echo $ECHO_N "(cached) $ECHO_C" >&6
4161else
4162  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4163    then ac_cv_prog_egrep='grep -E'
4164    else ac_cv_prog_egrep='egrep'
4165    fi
4166fi
4167echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4168echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4169 EGREP=$ac_cv_prog_egrep
4170
4171
4172echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4173echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4174if test "${ac_cv_header_stdc+set}" = set; then
4175  echo $ECHO_N "(cached) $ECHO_C" >&6
4176else
4177  cat >conftest.$ac_ext <<_ACEOF
4178/* confdefs.h.  */
4179_ACEOF
4180cat confdefs.h >>conftest.$ac_ext
4181cat >>conftest.$ac_ext <<_ACEOF
4182/* end confdefs.h.  */
4183#include <stdlib.h>
4184#include <stdarg.h>
4185#include <string.h>
4186#include <float.h>
4187
4188int
4189main ()
4190{
4191
4192  ;
4193  return 0;
4194}
4195_ACEOF
4196rm -f conftest.$ac_objext
4197if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4198  (eval $ac_compile) 2>conftest.er1
4199  ac_status=$?
4200  grep -v '^ *+' conftest.er1 >conftest.err
4201  rm -f conftest.er1
4202  cat conftest.err >&5
4203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204  (exit $ac_status); } &&
4205         { ac_try='test -z "$ac_c_werror_flag"
4206                         || test ! -s conftest.err'
4207  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208  (eval $ac_try) 2>&5
4209  ac_status=$?
4210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211  (exit $ac_status); }; } &&
4212         { ac_try='test -s conftest.$ac_objext'
4213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214  (eval $ac_try) 2>&5
4215  ac_status=$?
4216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217  (exit $ac_status); }; }; then
4218  ac_cv_header_stdc=yes
4219else
4220  echo "$as_me: failed program was:" >&5
4221sed 's/^/| /' conftest.$ac_ext >&5
4222
4223ac_cv_header_stdc=no
4224fi
4225rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4226
4227if test $ac_cv_header_stdc = yes; then
4228  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4229  cat >conftest.$ac_ext <<_ACEOF
4230/* confdefs.h.  */
4231_ACEOF
4232cat confdefs.h >>conftest.$ac_ext
4233cat >>conftest.$ac_ext <<_ACEOF
4234/* end confdefs.h.  */
4235#include <string.h>
4236
4237_ACEOF
4238if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4239  $EGREP "memchr" >/dev/null 2>&1; then
4240  :
4241else
4242  ac_cv_header_stdc=no
4243fi
4244rm -f conftest*
4245
4246fi
4247
4248if test $ac_cv_header_stdc = yes; then
4249  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4250  cat >conftest.$ac_ext <<_ACEOF
4251/* confdefs.h.  */
4252_ACEOF
4253cat confdefs.h >>conftest.$ac_ext
4254cat >>conftest.$ac_ext <<_ACEOF
4255/* end confdefs.h.  */
4256#include <stdlib.h>
4257
4258_ACEOF
4259if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4260  $EGREP "free" >/dev/null 2>&1; then
4261  :
4262else
4263  ac_cv_header_stdc=no
4264fi
4265rm -f conftest*
4266
4267fi
4268
4269if test $ac_cv_header_stdc = yes; then
4270  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4271  if test "$cross_compiling" = yes; then
4272  :
4273else
4274  cat >conftest.$ac_ext <<_ACEOF
4275/* confdefs.h.  */
4276_ACEOF
4277cat confdefs.h >>conftest.$ac_ext
4278cat >>conftest.$ac_ext <<_ACEOF
4279/* end confdefs.h.  */
4280#include <ctype.h>
4281#if ((' ' & 0x0FF) == 0x020)
4282# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4283# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4284#else
4285# define ISLOWER(c) \
4286                   (('a' <= (c) && (c) <= 'i') \
4287                     || ('j' <= (c) && (c) <= 'r') \
4288                     || ('s' <= (c) && (c) <= 'z'))
4289# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4290#endif
4291
4292#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4293int
4294main ()
4295{
4296  int i;
4297  for (i = 0; i < 256; i++)
4298    if (XOR (islower (i), ISLOWER (i))
4299        || toupper (i) != TOUPPER (i))
4300      exit(2);
4301  exit (0);
4302}
4303_ACEOF
4304rm -f conftest$ac_exeext
4305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4306  (eval $ac_link) 2>&5
4307  ac_status=$?
4308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311  (eval $ac_try) 2>&5
4312  ac_status=$?
4313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314  (exit $ac_status); }; }; then
4315  :
4316else
4317  echo "$as_me: program exited with status $ac_status" >&5
4318echo "$as_me: failed program was:" >&5
4319sed 's/^/| /' conftest.$ac_ext >&5
4320
4321( exit $ac_status )
4322ac_cv_header_stdc=no
4323fi
4324rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4325fi
4326fi
4327fi
4328echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4329echo "${ECHO_T}$ac_cv_header_stdc" >&6
4330if test $ac_cv_header_stdc = yes; then
4331
4332cat >>confdefs.h <<\_ACEOF
4333#define STDC_HEADERS 1
4334_ACEOF
4335
4336fi
4337
4338# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4349                  inttypes.h stdint.h unistd.h
4350do
4351as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4352echo "$as_me:$LINENO: checking for $ac_header" >&5
4353echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4354if eval "test \"\${$as_ac_Header+set}\" = set"; then
4355  echo $ECHO_N "(cached) $ECHO_C" >&6
4356else
4357  cat >conftest.$ac_ext <<_ACEOF
4358/* confdefs.h.  */
4359_ACEOF
4360cat confdefs.h >>conftest.$ac_ext
4361cat >>conftest.$ac_ext <<_ACEOF
4362/* end confdefs.h.  */
4363$ac_includes_default
4364
4365#include <$ac_header>
4366_ACEOF
4367rm -f conftest.$ac_objext
4368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4369  (eval $ac_compile) 2>conftest.er1
4370  ac_status=$?
4371  grep -v '^ *+' conftest.er1 >conftest.err
4372  rm -f conftest.er1
4373  cat conftest.err >&5
4374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375  (exit $ac_status); } &&
4376         { ac_try='test -z "$ac_c_werror_flag"
4377                         || test ! -s conftest.err'
4378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379  (eval $ac_try) 2>&5
4380  ac_status=$?
4381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382  (exit $ac_status); }; } &&
4383         { ac_try='test -s conftest.$ac_objext'
4384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385  (eval $ac_try) 2>&5
4386  ac_status=$?
4387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388  (exit $ac_status); }; }; then
4389  eval "$as_ac_Header=yes"
4390else
4391  echo "$as_me: failed program was:" >&5
4392sed 's/^/| /' conftest.$ac_ext >&5
4393
4394eval "$as_ac_Header=no"
4395fi
4396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4397fi
4398echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4399echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4400if test `eval echo '${'$as_ac_Header'}'` = yes; then
4401  cat >>confdefs.h <<_ACEOF
4402#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4403_ACEOF
4404
4405fi
4406
4407done
4408
4409
4410
4411for ac_header in sys/time.h
4412do
4413as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4414if eval "test \"\${$as_ac_Header+set}\" = set"; then
4415  echo "$as_me:$LINENO: checking for $ac_header" >&5
4416echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4417if eval "test \"\${$as_ac_Header+set}\" = set"; then
4418  echo $ECHO_N "(cached) $ECHO_C" >&6
4419fi
4420echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4421echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4422else
4423  # Is the header compilable?
4424echo "$as_me:$LINENO: checking $ac_header usability" >&5
4425echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4426cat >conftest.$ac_ext <<_ACEOF
4427/* confdefs.h.  */
4428_ACEOF
4429cat confdefs.h >>conftest.$ac_ext
4430cat >>conftest.$ac_ext <<_ACEOF
4431/* end confdefs.h.  */
4432$ac_includes_default
4433#include <$ac_header>
4434_ACEOF
4435rm -f conftest.$ac_objext
4436if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4437  (eval $ac_compile) 2>conftest.er1
4438  ac_status=$?
4439  grep -v '^ *+' conftest.er1 >conftest.err
4440  rm -f conftest.er1
4441  cat conftest.err >&5
4442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443  (exit $ac_status); } &&
4444         { ac_try='test -z "$ac_c_werror_flag"
4445                         || test ! -s conftest.err'
4446  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447  (eval $ac_try) 2>&5
4448  ac_status=$?
4449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450  (exit $ac_status); }; } &&
4451         { ac_try='test -s conftest.$ac_objext'
4452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453  (eval $ac_try) 2>&5
4454  ac_status=$?
4455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456  (exit $ac_status); }; }; then
4457  ac_header_compiler=yes
4458else
4459  echo "$as_me: failed program was:" >&5
4460sed 's/^/| /' conftest.$ac_ext >&5
4461
4462ac_header_compiler=no
4463fi
4464rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4465echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4466echo "${ECHO_T}$ac_header_compiler" >&6
4467
4468# Is the header present?
4469echo "$as_me:$LINENO: checking $ac_header presence" >&5
4470echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4471cat >conftest.$ac_ext <<_ACEOF
4472/* confdefs.h.  */
4473_ACEOF
4474cat confdefs.h >>conftest.$ac_ext
4475cat >>conftest.$ac_ext <<_ACEOF
4476/* end confdefs.h.  */
4477#include <$ac_header>
4478_ACEOF
4479if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4480  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4481  ac_status=$?
4482  grep -v '^ *+' conftest.er1 >conftest.err
4483  rm -f conftest.er1
4484  cat conftest.err >&5
4485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486  (exit $ac_status); } >/dev/null; then
4487  if test -s conftest.err; then
4488    ac_cpp_err=$ac_c_preproc_warn_flag
4489    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4490  else
4491    ac_cpp_err=
4492  fi
4493else
4494  ac_cpp_err=yes
4495fi
4496if test -z "$ac_cpp_err"; then
4497  ac_header_preproc=yes
4498else
4499  echo "$as_me: failed program was:" >&5
4500sed 's/^/| /' conftest.$ac_ext >&5
4501
4502  ac_header_preproc=no
4503fi
4504rm -f conftest.err conftest.$ac_ext
4505echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4506echo "${ECHO_T}$ac_header_preproc" >&6
4507
4508# So?  What about this header?
4509case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4510  yes:no: )
4511    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4512echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4513    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4514echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4515    ac_header_preproc=yes
4516    ;;
4517  no:yes:* )
4518    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4519echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4520    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4521echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4522    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4523echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4524    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4525echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4526    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4527echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4528    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4529echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4530    (
4531      cat <<\_ASBOX
4532## ------------------------------------------ ##
4533## Report this to the AC_PACKAGE_NAME lists.  ##
4534## ------------------------------------------ ##
4535_ASBOX
4536    ) |
4537      sed "s/^/$as_me: WARNING:     /" >&2
4538    ;;
4539esac
4540echo "$as_me:$LINENO: checking for $ac_header" >&5
4541echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4542if eval "test \"\${$as_ac_Header+set}\" = set"; then
4543  echo $ECHO_N "(cached) $ECHO_C" >&6
4544else
4545  eval "$as_ac_Header=\$ac_header_preproc"
4546fi
4547echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4548echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4549
4550fi
4551if test `eval echo '${'$as_ac_Header'}'` = yes; then
4552  cat >>confdefs.h <<_ACEOF
4553#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4554_ACEOF
4555
4556fi
4557
4558done
4559
4560
4561echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4562echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4563if test "${ac_cv_header_time+set}" = set; then
4564  echo $ECHO_N "(cached) $ECHO_C" >&6
4565else
4566  cat >conftest.$ac_ext <<_ACEOF
4567/* confdefs.h.  */
4568_ACEOF
4569cat confdefs.h >>conftest.$ac_ext
4570cat >>conftest.$ac_ext <<_ACEOF
4571/* end confdefs.h.  */
4572#include <sys/types.h>
4573#include <sys/time.h>
4574#include <time.h>
4575
4576int
4577main ()
4578{
4579if ((struct tm *) 0)
4580return 0;
4581  ;
4582  return 0;
4583}
4584_ACEOF
4585rm -f conftest.$ac_objext
4586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587  (eval $ac_compile) 2>conftest.er1
4588  ac_status=$?
4589  grep -v '^ *+' conftest.er1 >conftest.err
4590  rm -f conftest.er1
4591  cat conftest.err >&5
4592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593  (exit $ac_status); } &&
4594         { ac_try='test -z "$ac_c_werror_flag"
4595                         || test ! -s conftest.err'
4596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597  (eval $ac_try) 2>&5
4598  ac_status=$?
4599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600  (exit $ac_status); }; } &&
4601         { ac_try='test -s conftest.$ac_objext'
4602  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603  (eval $ac_try) 2>&5
4604  ac_status=$?
4605  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606  (exit $ac_status); }; }; then
4607  ac_cv_header_time=yes
4608else
4609  echo "$as_me: failed program was:" >&5
4610sed 's/^/| /' conftest.$ac_ext >&5
4611
4612ac_cv_header_time=no
4613fi
4614rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4615fi
4616echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4617echo "${ECHO_T}$ac_cv_header_time" >&6
4618if test $ac_cv_header_time = yes; then
4619
4620cat >>confdefs.h <<\_ACEOF
4621#define TIME_WITH_SYS_TIME 1
4622_ACEOF
4623
4624fi
4625
4626echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4627echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4628if test "${ac_cv_struct_tm+set}" = set; then
4629  echo $ECHO_N "(cached) $ECHO_C" >&6
4630else
4631  cat >conftest.$ac_ext <<_ACEOF
4632/* confdefs.h.  */
4633_ACEOF
4634cat confdefs.h >>conftest.$ac_ext
4635cat >>conftest.$ac_ext <<_ACEOF
4636/* end confdefs.h.  */
4637#include <sys/types.h>
4638#include <time.h>
4639
4640int
4641main ()
4642{
4643struct tm *tp; tp->tm_sec;
4644  ;
4645  return 0;
4646}
4647_ACEOF
4648rm -f conftest.$ac_objext
4649if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4650  (eval $ac_compile) 2>conftest.er1
4651  ac_status=$?
4652  grep -v '^ *+' conftest.er1 >conftest.err
4653  rm -f conftest.er1
4654  cat conftest.err >&5
4655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656  (exit $ac_status); } &&
4657         { ac_try='test -z "$ac_c_werror_flag"
4658                         || test ! -s conftest.err'
4659  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660  (eval $ac_try) 2>&5
4661  ac_status=$?
4662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663  (exit $ac_status); }; } &&
4664         { ac_try='test -s conftest.$ac_objext'
4665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666  (eval $ac_try) 2>&5
4667  ac_status=$?
4668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669  (exit $ac_status); }; }; then
4670  ac_cv_struct_tm=time.h
4671else
4672  echo "$as_me: failed program was:" >&5
4673sed 's/^/| /' conftest.$ac_ext >&5
4674
4675ac_cv_struct_tm=sys/time.h
4676fi
4677rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4678fi
4679echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4680echo "${ECHO_T}$ac_cv_struct_tm" >&6
4681if test $ac_cv_struct_tm = sys/time.h; then
4682
4683cat >>confdefs.h <<\_ACEOF
4684#define TM_IN_SYS_TIME 1
4685_ACEOF
4686
4687fi
4688
4689
4690echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4691echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4692if test "${ac_cv_header_stdc+set}" = set; then
4693  echo $ECHO_N "(cached) $ECHO_C" >&6
4694else
4695  cat >conftest.$ac_ext <<_ACEOF
4696/* confdefs.h.  */
4697_ACEOF
4698cat confdefs.h >>conftest.$ac_ext
4699cat >>conftest.$ac_ext <<_ACEOF
4700/* end confdefs.h.  */
4701#include <stdlib.h>
4702#include <stdarg.h>
4703#include <string.h>
4704#include <float.h>
4705
4706int
4707main ()
4708{
4709
4710  ;
4711  return 0;
4712}
4713_ACEOF
4714rm -f conftest.$ac_objext
4715if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4716  (eval $ac_compile) 2>conftest.er1
4717  ac_status=$?
4718  grep -v '^ *+' conftest.er1 >conftest.err
4719  rm -f conftest.er1
4720  cat conftest.err >&5
4721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722  (exit $ac_status); } &&
4723         { ac_try='test -z "$ac_c_werror_flag"
4724                         || test ! -s conftest.err'
4725  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726  (eval $ac_try) 2>&5
4727  ac_status=$?
4728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729  (exit $ac_status); }; } &&
4730         { ac_try='test -s conftest.$ac_objext'
4731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732  (eval $ac_try) 2>&5
4733  ac_status=$?
4734  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735  (exit $ac_status); }; }; then
4736  ac_cv_header_stdc=yes
4737else
4738  echo "$as_me: failed program was:" >&5
4739sed 's/^/| /' conftest.$ac_ext >&5
4740
4741ac_cv_header_stdc=no
4742fi
4743rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4744
4745if test $ac_cv_header_stdc = yes; then
4746  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4747  cat >conftest.$ac_ext <<_ACEOF
4748/* confdefs.h.  */
4749_ACEOF
4750cat confdefs.h >>conftest.$ac_ext
4751cat >>conftest.$ac_ext <<_ACEOF
4752/* end confdefs.h.  */
4753#include <string.h>
4754
4755_ACEOF
4756if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4757  $EGREP "memchr" >/dev/null 2>&1; then
4758  :
4759else
4760  ac_cv_header_stdc=no
4761fi
4762rm -f conftest*
4763
4764fi
4765
4766if test $ac_cv_header_stdc = yes; then
4767  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4768  cat >conftest.$ac_ext <<_ACEOF
4769/* confdefs.h.  */
4770_ACEOF
4771cat confdefs.h >>conftest.$ac_ext
4772cat >>conftest.$ac_ext <<_ACEOF
4773/* end confdefs.h.  */
4774#include <stdlib.h>
4775
4776_ACEOF
4777if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4778  $EGREP "free" >/dev/null 2>&1; then
4779  :
4780else
4781  ac_cv_header_stdc=no
4782fi
4783rm -f conftest*
4784
4785fi
4786
4787if test $ac_cv_header_stdc = yes; then
4788  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4789  if test "$cross_compiling" = yes; then
4790  :
4791else
4792  cat >conftest.$ac_ext <<_ACEOF
4793/* confdefs.h.  */
4794_ACEOF
4795cat confdefs.h >>conftest.$ac_ext
4796cat >>conftest.$ac_ext <<_ACEOF
4797/* end confdefs.h.  */
4798#include <ctype.h>
4799#if ((' ' & 0x0FF) == 0x020)
4800# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4801# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4802#else
4803# define ISLOWER(c) \
4804                   (('a' <= (c) && (c) <= 'i') \
4805                     || ('j' <= (c) && (c) <= 'r') \
4806                     || ('s' <= (c) && (c) <= 'z'))
4807# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4808#endif
4809
4810#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4811int
4812main ()
4813{
4814  int i;
4815  for (i = 0; i < 256; i++)
4816    if (XOR (islower (i), ISLOWER (i))
4817        || toupper (i) != TOUPPER (i))
4818      exit(2);
4819  exit (0);
4820}
4821_ACEOF
4822rm -f conftest$ac_exeext
4823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4824  (eval $ac_link) 2>&5
4825  ac_status=$?
4826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4828  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829  (eval $ac_try) 2>&5
4830  ac_status=$?
4831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832  (exit $ac_status); }; }; then
4833  :
4834else
4835  echo "$as_me: program exited with status $ac_status" >&5
4836echo "$as_me: failed program was:" >&5
4837sed 's/^/| /' conftest.$ac_ext >&5
4838
4839( exit $ac_status )
4840ac_cv_header_stdc=no
4841fi
4842rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4843fi
4844fi
4845fi
4846echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4847echo "${ECHO_T}$ac_cv_header_stdc" >&6
4848if test $ac_cv_header_stdc = yes; then
4849
4850cat >>confdefs.h <<\_ACEOF
4851#define STDC_HEADERS 1
4852_ACEOF
4853
4854fi
4855
4856
4857for ac_func in strftime
4858do
4859as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4860echo "$as_me:$LINENO: checking for $ac_func" >&5
4861echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4862if eval "test \"\${$as_ac_var+set}\" = set"; then
4863  echo $ECHO_N "(cached) $ECHO_C" >&6
4864else
4865  cat >conftest.$ac_ext <<_ACEOF
4866/* confdefs.h.  */
4867_ACEOF
4868cat confdefs.h >>conftest.$ac_ext
4869cat >>conftest.$ac_ext <<_ACEOF
4870/* end confdefs.h.  */
4871/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4872   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4873#define $ac_func innocuous_$ac_func
4874
4875/* System header to define __stub macros and hopefully few prototypes,
4876    which can conflict with char $ac_func (); below.
4877    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4878    <limits.h> exists even on freestanding compilers.  */
4879
4880#ifdef __STDC__
4881# include <limits.h>
4882#else
4883# include <assert.h>
4884#endif
4885
4886#undef $ac_func
4887
4888/* Override any gcc2 internal prototype to avoid an error.  */
4889#ifdef __cplusplus
4890extern "C"
4891{
4892#endif
4893/* We use char because int might match the return type of a gcc2
4894   builtin and then its argument prototype would still apply.  */
4895char $ac_func ();
4896/* The GNU C library defines this for functions which it implements
4897    to always fail with ENOSYS.  Some functions are actually named
4898    something starting with __ and the normal name is an alias.  */
4899#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4900choke me
4901#else
4902char (*f) () = $ac_func;
4903#endif
4904#ifdef __cplusplus
4905}
4906#endif
4907
4908int
4909main ()
4910{
4911return f != $ac_func;
4912  ;
4913  return 0;
4914}
4915_ACEOF
4916rm -f conftest.$ac_objext conftest$ac_exeext
4917if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4918  (eval $ac_link) 2>conftest.er1
4919  ac_status=$?
4920  grep -v '^ *+' conftest.er1 >conftest.err
4921  rm -f conftest.er1
4922  cat conftest.err >&5
4923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924  (exit $ac_status); } &&
4925         { ac_try='test -z "$ac_c_werror_flag"
4926                         || test ! -s conftest.err'
4927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928  (eval $ac_try) 2>&5
4929  ac_status=$?
4930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931  (exit $ac_status); }; } &&
4932         { ac_try='test -s conftest$ac_exeext'
4933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934  (eval $ac_try) 2>&5
4935  ac_status=$?
4936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937  (exit $ac_status); }; }; then
4938  eval "$as_ac_var=yes"
4939else
4940  echo "$as_me: failed program was:" >&5
4941sed 's/^/| /' conftest.$ac_ext >&5
4942
4943eval "$as_ac_var=no"
4944fi
4945rm -f conftest.err conftest.$ac_objext \
4946      conftest$ac_exeext conftest.$ac_ext
4947fi
4948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4950if test `eval echo '${'$as_ac_var'}'` = yes; then
4951  cat >>confdefs.h <<_ACEOF
4952#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4953_ACEOF
4954
4955else
4956  # strftime is in -lintl on SCO UNIX.
4957echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
4958echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
4959if test "${ac_cv_lib_intl_strftime+set}" = set; then
4960  echo $ECHO_N "(cached) $ECHO_C" >&6
4961else
4962  ac_check_lib_save_LIBS=$LIBS
4963LIBS="-lintl  $LIBS"
4964cat >conftest.$ac_ext <<_ACEOF
4965/* confdefs.h.  */
4966_ACEOF
4967cat confdefs.h >>conftest.$ac_ext
4968cat >>conftest.$ac_ext <<_ACEOF
4969/* end confdefs.h.  */
4970
4971/* Override any gcc2 internal prototype to avoid an error.  */
4972#ifdef __cplusplus
4973extern "C"
4974#endif
4975/* We use char because int might match the return type of a gcc2
4976   builtin and then its argument prototype would still apply.  */
4977char strftime ();
4978int
4979main ()
4980{
4981strftime ();
4982  ;
4983  return 0;
4984}
4985_ACEOF
4986rm -f conftest.$ac_objext conftest$ac_exeext
4987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4988  (eval $ac_link) 2>conftest.er1
4989  ac_status=$?
4990  grep -v '^ *+' conftest.er1 >conftest.err
4991  rm -f conftest.er1
4992  cat conftest.err >&5
4993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994  (exit $ac_status); } &&
4995         { ac_try='test -z "$ac_c_werror_flag"
4996                         || test ! -s conftest.err'
4997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998  (eval $ac_try) 2>&5
4999  ac_status=$?
5000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001  (exit $ac_status); }; } &&
5002         { ac_try='test -s conftest$ac_exeext'
5003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004  (eval $ac_try) 2>&5
5005  ac_status=$?
5006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007  (exit $ac_status); }; }; then
5008  ac_cv_lib_intl_strftime=yes
5009else
5010  echo "$as_me: failed program was:" >&5
5011sed 's/^/| /' conftest.$ac_ext >&5
5012
5013ac_cv_lib_intl_strftime=no
5014fi
5015rm -f conftest.err conftest.$ac_objext \
5016      conftest$ac_exeext conftest.$ac_ext
5017LIBS=$ac_check_lib_save_LIBS
5018fi
5019echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
5020echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
5021if test $ac_cv_lib_intl_strftime = yes; then
5022  cat >>confdefs.h <<\_ACEOF
5023#define HAVE_STRFTIME 1
5024_ACEOF
5025
5026LIBS="-lintl $LIBS"
5027fi
5028
5029fi
5030done
5031
5032
5033for ac_func in vprintf
5034do
5035as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5036echo "$as_me:$LINENO: checking for $ac_func" >&5
5037echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5038if eval "test \"\${$as_ac_var+set}\" = set"; then
5039  echo $ECHO_N "(cached) $ECHO_C" >&6
5040else
5041  cat >conftest.$ac_ext <<_ACEOF
5042/* confdefs.h.  */
5043_ACEOF
5044cat confdefs.h >>conftest.$ac_ext
5045cat >>conftest.$ac_ext <<_ACEOF
5046/* end confdefs.h.  */
5047/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5048   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5049#define $ac_func innocuous_$ac_func
5050
5051/* System header to define __stub macros and hopefully few prototypes,
5052    which can conflict with char $ac_func (); below.
5053    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5054    <limits.h> exists even on freestanding compilers.  */
5055
5056#ifdef __STDC__
5057# include <limits.h>
5058#else
5059# include <assert.h>
5060#endif
5061
5062#undef $ac_func
5063
5064/* Override any gcc2 internal prototype to avoid an error.  */
5065#ifdef __cplusplus
5066extern "C"
5067{
5068#endif
5069/* We use char because int might match the return type of a gcc2
5070   builtin and then its argument prototype would still apply.  */
5071char $ac_func ();
5072/* The GNU C library defines this for functions which it implements
5073    to always fail with ENOSYS.  Some functions are actually named
5074    something starting with __ and the normal name is an alias.  */
5075#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5076choke me
5077#else
5078char (*f) () = $ac_func;
5079#endif
5080#ifdef __cplusplus
5081}
5082#endif
5083
5084int
5085main ()
5086{
5087return f != $ac_func;
5088  ;
5089  return 0;
5090}
5091_ACEOF
5092rm -f conftest.$ac_objext conftest$ac_exeext
5093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094  (eval $ac_link) 2>conftest.er1
5095  ac_status=$?
5096  grep -v '^ *+' conftest.er1 >conftest.err
5097  rm -f conftest.er1
5098  cat conftest.err >&5
5099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100  (exit $ac_status); } &&
5101         { ac_try='test -z "$ac_c_werror_flag"
5102                         || test ! -s conftest.err'
5103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104  (eval $ac_try) 2>&5
5105  ac_status=$?
5106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107  (exit $ac_status); }; } &&
5108         { ac_try='test -s conftest$ac_exeext'
5109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110  (eval $ac_try) 2>&5
5111  ac_status=$?
5112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113  (exit $ac_status); }; }; then
5114  eval "$as_ac_var=yes"
5115else
5116  echo "$as_me: failed program was:" >&5
5117sed 's/^/| /' conftest.$ac_ext >&5
5118
5119eval "$as_ac_var=no"
5120fi
5121rm -f conftest.err conftest.$ac_objext \
5122      conftest$ac_exeext conftest.$ac_ext
5123fi
5124echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5125echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5126if test `eval echo '${'$as_ac_var'}'` = yes; then
5127  cat >>confdefs.h <<_ACEOF
5128#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5129_ACEOF
5130
5131echo "$as_me:$LINENO: checking for _doprnt" >&5
5132echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5133if test "${ac_cv_func__doprnt+set}" = set; then
5134  echo $ECHO_N "(cached) $ECHO_C" >&6
5135else
5136  cat >conftest.$ac_ext <<_ACEOF
5137/* confdefs.h.  */
5138_ACEOF
5139cat confdefs.h >>conftest.$ac_ext
5140cat >>conftest.$ac_ext <<_ACEOF
5141/* end confdefs.h.  */
5142/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5143   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5144#define _doprnt innocuous__doprnt
5145
5146/* System header to define __stub macros and hopefully few prototypes,
5147    which can conflict with char _doprnt (); below.
5148    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5149    <limits.h> exists even on freestanding compilers.  */
5150
5151#ifdef __STDC__
5152# include <limits.h>
5153#else
5154# include <assert.h>
5155#endif
5156
5157#undef _doprnt
5158
5159/* Override any gcc2 internal prototype to avoid an error.  */
5160#ifdef __cplusplus
5161extern "C"
5162{
5163#endif
5164/* We use char because int might match the return type of a gcc2
5165   builtin and then its argument prototype would still apply.  */
5166char _doprnt ();
5167/* The GNU C library defines this for functions which it implements
5168    to always fail with ENOSYS.  Some functions are actually named
5169    something starting with __ and the normal name is an alias.  */
5170#if defined (__stub__doprnt) || defined (__stub____doprnt)
5171choke me
5172#else
5173char (*f) () = _doprnt;
5174#endif
5175#ifdef __cplusplus
5176}
5177#endif
5178
5179int
5180main ()
5181{
5182return f != _doprnt;
5183  ;
5184  return 0;
5185}
5186_ACEOF
5187rm -f conftest.$ac_objext conftest$ac_exeext
5188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5189  (eval $ac_link) 2>conftest.er1
5190  ac_status=$?
5191  grep -v '^ *+' conftest.er1 >conftest.err
5192  rm -f conftest.er1
5193  cat conftest.err >&5
5194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195  (exit $ac_status); } &&
5196         { ac_try='test -z "$ac_c_werror_flag"
5197                         || test ! -s conftest.err'
5198  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5199  (eval $ac_try) 2>&5
5200  ac_status=$?
5201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202  (exit $ac_status); }; } &&
5203         { ac_try='test -s conftest$ac_exeext'
5204  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205  (eval $ac_try) 2>&5
5206  ac_status=$?
5207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208  (exit $ac_status); }; }; then
5209  ac_cv_func__doprnt=yes
5210else
5211  echo "$as_me: failed program was:" >&5
5212sed 's/^/| /' conftest.$ac_ext >&5
5213
5214ac_cv_func__doprnt=no
5215fi
5216rm -f conftest.err conftest.$ac_objext \
5217      conftest$ac_exeext conftest.$ac_ext
5218fi
5219echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5220echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5221if test $ac_cv_func__doprnt = yes; then
5222
5223cat >>confdefs.h <<\_ACEOF
5224#define HAVE_DOPRNT 1
5225_ACEOF
5226
5227fi
5228
5229fi
5230done
5231
5232
5233
5234
5235
5236for ac_func in getcwd gettimeofday strstr
5237do
5238as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5239echo "$as_me:$LINENO: checking for $ac_func" >&5
5240echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5241if eval "test \"\${$as_ac_var+set}\" = set"; then
5242  echo $ECHO_N "(cached) $ECHO_C" >&6
5243else
5244  cat >conftest.$ac_ext <<_ACEOF
5245/* confdefs.h.  */
5246_ACEOF
5247cat confdefs.h >>conftest.$ac_ext
5248cat >>conftest.$ac_ext <<_ACEOF
5249/* end confdefs.h.  */
5250/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5251   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5252#define $ac_func innocuous_$ac_func
5253
5254/* System header to define __stub macros and hopefully few prototypes,
5255    which can conflict with char $ac_func (); below.
5256    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5257    <limits.h> exists even on freestanding compilers.  */
5258
5259#ifdef __STDC__
5260# include <limits.h>
5261#else
5262# include <assert.h>
5263#endif
5264
5265#undef $ac_func
5266
5267/* Override any gcc2 internal prototype to avoid an error.  */
5268#ifdef __cplusplus
5269extern "C"
5270{
5271#endif
5272/* We use char because int might match the return type of a gcc2
5273   builtin and then its argument prototype would still apply.  */
5274char $ac_func ();
5275/* The GNU C library defines this for functions which it implements
5276    to always fail with ENOSYS.  Some functions are actually named
5277    something starting with __ and the normal name is an alias.  */
5278#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5279choke me
5280#else
5281char (*f) () = $ac_func;
5282#endif
5283#ifdef __cplusplus
5284}
5285#endif
5286
5287int
5288main ()
5289{
5290return f != $ac_func;
5291  ;
5292  return 0;
5293}
5294_ACEOF
5295rm -f conftest.$ac_objext conftest$ac_exeext
5296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5297  (eval $ac_link) 2>conftest.er1
5298  ac_status=$?
5299  grep -v '^ *+' conftest.er1 >conftest.err
5300  rm -f conftest.er1
5301  cat conftest.err >&5
5302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303  (exit $ac_status); } &&
5304         { ac_try='test -z "$ac_c_werror_flag"
5305                         || test ! -s conftest.err'
5306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5307  (eval $ac_try) 2>&5
5308  ac_status=$?
5309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310  (exit $ac_status); }; } &&
5311         { ac_try='test -s conftest$ac_exeext'
5312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313  (eval $ac_try) 2>&5
5314  ac_status=$?
5315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316  (exit $ac_status); }; }; then
5317  eval "$as_ac_var=yes"
5318else
5319  echo "$as_me: failed program was:" >&5
5320sed 's/^/| /' conftest.$ac_ext >&5
5321
5322eval "$as_ac_var=no"
5323fi
5324rm -f conftest.err conftest.$ac_objext \
5325      conftest$ac_exeext conftest.$ac_ext
5326fi
5327echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5328echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5329if test `eval echo '${'$as_ac_var'}'` = yes; then
5330  cat >>confdefs.h <<_ACEOF
5331#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5332_ACEOF
5333
5334fi
5335done
5336
5337
5338
5339          ac_config_files="$ac_config_files Makefile"
5340cat >confcache <<\_ACEOF
5341# This file is a shell script that caches the results of configure
5342# tests run on this system so they can be shared between configure
5343# scripts and configure runs, see configure's option --config-cache.
5344# It is not useful on other systems.  If it contains results you don't
5345# want to keep, you may remove or edit it.
5346#
5347# config.status only pays attention to the cache file if you give it
5348# the --recheck option to rerun configure.
5349#
5350# `ac_cv_env_foo' variables (set or unset) will be overridden when
5351# loading this file, other *unset* `ac_cv_foo' will be assigned the
5352# following values.
5353
5354_ACEOF
5355
5356# The following way of writing the cache mishandles newlines in values,
5357# but we know of no workaround that is simple, portable, and efficient.
5358# So, don't put newlines in cache variables' values.
5359# Ultrix sh set writes to stderr and can't be redirected directly,
5360# and sets the high bit in the cache file unless we assign to the vars.
5361{
5362  (set) 2>&1 |
5363    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5364    *ac_space=\ *)
5365      # `set' does not quote correctly, so add quotes (double-quote
5366      # substitution turns \\\\ into \\, and sed turns \\ into \).
5367      sed -n \
5368        "s/'/'\\\\''/g;
5369          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5370      ;;
5371    *)
5372      # `set' quotes correctly as required by POSIX, so do not add quotes.
5373      sed -n \
5374        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5375      ;;
5376    esac;
5377} |
5378  sed '
5379     t clear
5380     : clear
5381     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5382     t end
5383     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5384     : end' >>confcache
5385if diff $cache_file confcache >/dev/null 2>&1; then :; else
5386  if test -w $cache_file; then
5387    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5388    cat confcache >$cache_file
5389  else
5390    echo "not updating unwritable cache $cache_file"
5391  fi
5392fi
5393rm -f confcache
5394
5395test "x$prefix" = xNONE && prefix=$ac_default_prefix
5396# Let make expand exec_prefix.
5397test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5398
5399# VPATH may cause trouble with some makes, so we remove $(srcdir),
5400# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5401# trailing colons and then remove the whole line if VPATH becomes empty
5402# (actually we leave an empty line to preserve line numbers).
5403if test "x$srcdir" = x.; then
5404  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5405s/:*\$(srcdir):*/:/;
5406s/:*\${srcdir}:*/:/;
5407s/:*@srcdir@:*/:/;
5408s/^\([^=]*=[     ]*\):*/\1/;
5409s/:*$//;
5410s/^[^=]*=[       ]*$//;
5411}'
5412fi
5413
5414# Transform confdefs.h into DEFS.
5415# Protect against shell expansion while executing Makefile rules.
5416# Protect against Makefile macro expansion.
5417#
5418# If the first sed substitution is executed (which looks for macros that
5419# take arguments), then we branch to the quote section.  Otherwise,
5420# look for a macro that doesn't take arguments.
5421cat >confdef2opt.sed <<\_ACEOF
5422t clear
5423: clear
5424s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
5425t quote
5426s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
5427t quote
5428d
5429: quote
5430s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
5431s,\[,\\&,g
5432s,\],\\&,g
5433s,\$,$$,g
5434p
5435_ACEOF
5436# We use echo to avoid assuming a particular line-breaking character.
5437# The extra dot is to prevent the shell from consuming trailing
5438# line-breaks from the sub-command output.  A line-break within
5439# single-quotes doesn't work because, if this script is created in a
5440# platform that uses two characters for line-breaks (e.g., DOS), tr
5441# would break.
5442ac_LF_and_DOT=`echo; echo .`
5443DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5444rm -f confdef2opt.sed
5445
5446
5447ac_libobjs=
5448ac_ltlibobjs=
5449for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5450  # 1. Remove the extension, and $U if already installed.
5451  ac_i=`echo "$ac_i" |
5452         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5453  # 2. Add them.
5454  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5455  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5456done
5457LIBOBJS=$ac_libobjs
5458
5459LTLIBOBJS=$ac_ltlibobjs
5460
5461
5462
5463: ${CONFIG_STATUS=./config.status}
5464ac_clean_files_save=$ac_clean_files
5465ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5466{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5467echo "$as_me: creating $CONFIG_STATUS" >&6;}
5468cat >$CONFIG_STATUS <<_ACEOF
5469#! $SHELL
5470# Generated by $as_me.
5471# Run this file to recreate the current configuration.
5472# Compiler output produced by configure, useful for debugging
5473# configure, is in config.log if it exists.
5474
5475debug=false
5476ac_cs_recheck=false
5477ac_cs_silent=false
5478SHELL=\${CONFIG_SHELL-$SHELL}
5479_ACEOF
5480
5481cat >>$CONFIG_STATUS <<\_ACEOF
5482## --------------------- ##
5483## M4sh Initialization.  ##
5484## --------------------- ##
5485
5486# Be Bourne compatible
5487if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5488  emulate sh
5489  NULLCMD=:
5490  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5491  # is contrary to our usage.  Disable this feature.
5492  alias -g '${1+"$@"}'='"$@"'
5493elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5494  set -o posix
5495fi
5496DUALCASE=1; export DUALCASE # for MKS sh
5497
5498# Support unset when possible.
5499if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5500  as_unset=unset
5501else
5502  as_unset=false
5503fi
5504
5505
5506# Work around bugs in pre-3.0 UWIN ksh.
5507$as_unset ENV MAIL MAILPATH
5508PS1='$ '
5509PS2='> '
5510PS4='+ '
5511
5512# NLS nuisances.
5513for as_var in \
5514  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5515  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5516  LC_TELEPHONE LC_TIME
5517do
5518  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5519    eval $as_var=C; export $as_var
5520  else
5521    $as_unset $as_var
5522  fi
5523done
5524
5525# Required to use basename.
5526if expr a : '\(a\)' >/dev/null 2>&1; then
5527  as_expr=expr
5528else
5529  as_expr=false
5530fi
5531
5532if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5533  as_basename=basename
5534else
5535  as_basename=false
5536fi
5537
5538
5539# Name of the executable.
5540as_me=`$as_basename "$0" ||
5541$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5542         X"$0" : 'X\(//\)$' \| \
5543         X"$0" : 'X\(/\)$' \| \
5544         .     : '\(.\)' 2>/dev/null ||
5545echo X/"$0" |
5546    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5547          /^X\/\(\/\/\)$/{ s//\1/; q; }
5548          /^X\/\(\/\).*/{ s//\1/; q; }
5549          s/.*/./; q'`
5550
5551
5552# PATH needs CR, and LINENO needs CR and PATH.
5553# Avoid depending upon Character Ranges.
5554as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5555as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5556as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5557as_cr_digits='0123456789'
5558as_cr_alnum=$as_cr_Letters$as_cr_digits
5559
5560# The user is always right.
5561if test "${PATH_SEPARATOR+set}" != set; then
5562  echo "#! /bin/sh" >conf$$.sh
5563  echo  "exit 0"   >>conf$$.sh
5564  chmod +x conf$$.sh
5565  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5566    PATH_SEPARATOR=';'
5567  else
5568    PATH_SEPARATOR=:
5569  fi
5570  rm -f conf$$.sh
5571fi
5572
5573
5574  as_lineno_1=$LINENO
5575  as_lineno_2=$LINENO
5576  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5577  test "x$as_lineno_1" != "x$as_lineno_2" &&
5578  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5579  # Find who we are.  Look in the path if we contain no path at all
5580  # relative or not.
5581  case $0 in
5582    *[\\/]* ) as_myself=$0 ;;
5583    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584for as_dir in $PATH
5585do
5586  IFS=$as_save_IFS
5587  test -z "$as_dir" && as_dir=.
5588  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5589done
5590
5591       ;;
5592  esac
5593  # We did not find ourselves, most probably we were run as `sh COMMAND'
5594  # in which case we are not to be found in the path.
5595  if test "x$as_myself" = x; then
5596    as_myself=$0
5597  fi
5598  if test ! -f "$as_myself"; then
5599    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5600echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5601   { (exit 1); exit 1; }; }
5602  fi
5603  case $CONFIG_SHELL in
5604  '')
5605    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5607do
5608  IFS=$as_save_IFS
5609  test -z "$as_dir" && as_dir=.
5610  for as_base in sh bash ksh sh5; do
5611         case $as_dir in
5612         /*)
5613           if ("$as_dir/$as_base" -c '
5614  as_lineno_1=$LINENO
5615  as_lineno_2=$LINENO
5616  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5617  test "x$as_lineno_1" != "x$as_lineno_2" &&
5618  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5619             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5620             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5621             CONFIG_SHELL=$as_dir/$as_base
5622             export CONFIG_SHELL
5623             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5624           fi;;
5625         esac
5626       done
5627done
5628;;
5629  esac
5630
5631  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5632  # uniformly replaced by the line number.  The first 'sed' inserts a
5633  # line-number line before each line; the second 'sed' does the real
5634  # work.  The second script uses 'N' to pair each line-number line
5635  # with the numbered line, and appends trailing '-' during
5636  # substitution so that $LINENO is not a special case at line end.
5637  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5638  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5639  sed '=' <$as_myself |
5640    sed '
5641      N
5642      s,$,-,
5643      : loop
5644      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5645      t loop
5646      s,-$,,
5647      s,^['$as_cr_digits']*\n,,
5648    ' >$as_me.lineno &&
5649  chmod +x $as_me.lineno ||
5650    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5651echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5652   { (exit 1); exit 1; }; }
5653
5654  # Don't try to exec as it changes $[0], causing all sort of problems
5655  # (the dirname of $[0] is not the place where we might find the
5656  # original and so on.  Autoconf is especially sensible to this).
5657  . ./$as_me.lineno
5658  # Exit status is that of the last command.
5659  exit
5660}
5661
5662
5663case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5664  *c*,-n*) ECHO_N= ECHO_C='
5665' ECHO_T='      ' ;;
5666  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5667  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5668esac
5669
5670if expr a : '\(a\)' >/dev/null 2>&1; then
5671  as_expr=expr
5672else
5673  as_expr=false
5674fi
5675
5676rm -f conf$$ conf$$.exe conf$$.file
5677echo >conf$$.file
5678if ln -s conf$$.file conf$$ 2>/dev/null; then
5679  # We could just check for DJGPP; but this test a) works b) is more generic
5680  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5681  if test -f conf$$.exe; then
5682    # Don't use ln at all; we don't have any links
5683    as_ln_s='cp -p'
5684  else
5685    as_ln_s='ln -s'
5686  fi
5687elif ln conf$$.file conf$$ 2>/dev/null; then
5688  as_ln_s=ln
5689else
5690  as_ln_s='cp -p'
5691fi
5692rm -f conf$$ conf$$.exe conf$$.file
5693
5694if mkdir -p . 2>/dev/null; then
5695  as_mkdir_p=:
5696else
5697  test -d ./-p && rmdir ./-p
5698  as_mkdir_p=false
5699fi
5700
5701as_executable_p="test -f"
5702
5703# Sed expression to map a string onto a valid CPP name.
5704as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5705
5706# Sed expression to map a string onto a valid variable name.
5707as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5708
5709
5710# IFS
5711# We need space, tab and new line, in precisely that order.
5712as_nl='
5713'
5714IFS="   $as_nl"
5715
5716# CDPATH.
5717$as_unset CDPATH
5718
5719exec 6>&1
5720
5721# Open the log real soon, to keep \$[0] and so on meaningful, and to
5722# report actual input values of CONFIG_FILES etc. instead of their
5723# values after options handling.  Logging --version etc. is OK.
5724exec 5>>config.log
5725{
5726  echo
5727  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5728## Running $as_me. ##
5729_ASBOX
5730} >&5
5731cat >&5 <<_CSEOF
5732
5733This file was extended by $as_me, which was
5734generated by GNU Autoconf 2.59.  Invocation command line was
5735
5736  CONFIG_FILES    = $CONFIG_FILES
5737  CONFIG_HEADERS  = $CONFIG_HEADERS
5738  CONFIG_LINKS    = $CONFIG_LINKS
5739  CONFIG_COMMANDS = $CONFIG_COMMANDS
5740  $ $0 $@
5741
5742_CSEOF
5743echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5744echo >&5
5745_ACEOF
5746
5747# Files that config.status was made for.
5748if test -n "$ac_config_files"; then
5749  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5750fi
5751
5752if test -n "$ac_config_headers"; then
5753  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5754fi
5755
5756if test -n "$ac_config_links"; then
5757  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5758fi
5759
5760if test -n "$ac_config_commands"; then
5761  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5762fi
5763
5764cat >>$CONFIG_STATUS <<\_ACEOF
5765
5766ac_cs_usage="\
5767\`$as_me' instantiates files from templates according to the
5768current configuration.
5769
5770Usage: $0 [OPTIONS] [FILE]...
5771
5772  -h, --help       print this help, then exit
5773  -V, --version    print version number, then exit
5774  -q, --quiet      do not print progress messages
5775  -d, --debug      don't remove temporary files
5776      --recheck    update $as_me by reconfiguring in the same conditions
5777  --file=FILE[:TEMPLATE]
5778                   instantiate the configuration file FILE
5779
5780Configuration files:
5781$config_files
5782
5783Report bugs to <bug-autoconf@gnu.org>."
5784_ACEOF
5785
5786cat >>$CONFIG_STATUS <<_ACEOF
5787ac_cs_version="\\
5788config.status
5789configured by $0, generated by GNU Autoconf 2.59,
5790  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5791
5792Copyright (C) 2003 Free Software Foundation, Inc.
5793This config.status script is free software; the Free Software Foundation
5794gives unlimited permission to copy, distribute and modify it."
5795srcdir=$srcdir
5796INSTALL="$INSTALL"
5797_ACEOF
5798
5799cat >>$CONFIG_STATUS <<\_ACEOF
5800# If no file are specified by the user, then we need to provide default
5801# value.  By we need to know if files were specified by the user.
5802ac_need_defaults=:
5803while test $# != 0
5804do
5805  case $1 in
5806  --*=*)
5807    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5808    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5809    ac_shift=:
5810    ;;
5811  -*)
5812    ac_option=$1
5813    ac_optarg=$2
5814    ac_shift=shift
5815    ;;
5816  *) # This is not an option, so the user has probably given explicit
5817     # arguments.
5818     ac_option=$1
5819     ac_need_defaults=false;;
5820  esac
5821
5822  case $ac_option in
5823  # Handling of the options.
5824_ACEOF
5825cat >>$CONFIG_STATUS <<\_ACEOF
5826  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5827    ac_cs_recheck=: ;;
5828  --version | --vers* | -V )
5829    echo "$ac_cs_version"; exit 0 ;;
5830  --he | --h)
5831    # Conflict between --help and --header
5832    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5833Try \`$0 --help' for more information." >&5
5834echo "$as_me: error: ambiguous option: $1
5835Try \`$0 --help' for more information." >&2;}
5836   { (exit 1); exit 1; }; };;
5837  --help | --hel | -h )
5838    echo "$ac_cs_usage"; exit 0 ;;
5839  --debug | --d* | -d )
5840    debug=: ;;
5841  --file | --fil | --fi | --f )
5842    $ac_shift
5843    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5844    ac_need_defaults=false;;
5845  --header | --heade | --head | --hea )
5846    $ac_shift
5847    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5848    ac_need_defaults=false;;
5849  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5850  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5851    ac_cs_silent=: ;;
5852
5853  # This is an error.
5854  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5855Try \`$0 --help' for more information." >&5
5856echo "$as_me: error: unrecognized option: $1
5857Try \`$0 --help' for more information." >&2;}
5858   { (exit 1); exit 1; }; } ;;
5859
5860  *) ac_config_targets="$ac_config_targets $1" ;;
5861
5862  esac
5863  shift
5864done
5865
5866ac_configure_extra_args=
5867
5868if $ac_cs_silent; then
5869  exec 6>/dev/null
5870  ac_configure_extra_args="$ac_configure_extra_args --silent"
5871fi
5872
5873_ACEOF
5874cat >>$CONFIG_STATUS <<_ACEOF
5875if \$ac_cs_recheck; then
5876  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5877  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5878fi
5879
5880_ACEOF
5881
5882
5883
5884
5885
5886cat >>$CONFIG_STATUS <<\_ACEOF
5887for ac_config_target in $ac_config_targets
5888do
5889  case "$ac_config_target" in
5890  # Handling of arguments.
5891  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5892  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5893echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5894   { (exit 1); exit 1; }; };;
5895  esac
5896done
5897
5898# If the user did not use the arguments to specify the items to instantiate,
5899# then the envvar interface is used.  Set only those that are not.
5900# We use the long form for the default assignment because of an extremely
5901# bizarre bug on SunOS 4.1.3.
5902if $ac_need_defaults; then
5903  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5904fi
5905
5906# Have a temporary directory for convenience.  Make it in the build tree
5907# simply because there is no reason to put it here, and in addition,
5908# creating and moving files from /tmp can sometimes cause problems.
5909# Create a temporary directory, and hook for its removal unless debugging.
5910$debug ||
5911{
5912  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5913  trap '{ (exit 1); exit 1; }' 1 2 13 15
5914}
5915
5916# Create a (secure) tmp directory for tmp files.
5917
5918{
5919  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5920  test -n "$tmp" && test -d "$tmp"
5921}  ||
5922{
5923  tmp=./confstat$$-$RANDOM
5924  (umask 077 && mkdir $tmp)
5925} ||
5926{
5927   echo "$me: cannot create a temporary directory in ." >&2
5928   { (exit 1); exit 1; }
5929}
5930
5931_ACEOF
5932
5933cat >>$CONFIG_STATUS <<_ACEOF
5934
5935#
5936# CONFIG_FILES section.
5937#
5938
5939# No need to generate the scripts if there are no CONFIG_FILES.
5940# This happens for instance when ./config.status config.h
5941if test -n "\$CONFIG_FILES"; then
5942  # Protect against being on the right side of a sed subst in config.status.
5943  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5944   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5945s,@SHELL@,$SHELL,;t t
5946s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5947s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5948s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5949s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5950s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5951s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5952s,@exec_prefix@,$exec_prefix,;t t
5953s,@prefix@,$prefix,;t t
5954s,@program_transform_name@,$program_transform_name,;t t
5955s,@bindir@,$bindir,;t t
5956s,@sbindir@,$sbindir,;t t
5957s,@libexecdir@,$libexecdir,;t t
5958s,@datadir@,$datadir,;t t
5959s,@sysconfdir@,$sysconfdir,;t t
5960s,@sharedstatedir@,$sharedstatedir,;t t
5961s,@localstatedir@,$localstatedir,;t t
5962s,@libdir@,$libdir,;t t
5963s,@includedir@,$includedir,;t t
5964s,@oldincludedir@,$oldincludedir,;t t
5965s,@infodir@,$infodir,;t t
5966s,@mandir@,$mandir,;t t
5967s,@build_alias@,$build_alias,;t t
5968s,@host_alias@,$host_alias,;t t
5969s,@target_alias@,$target_alias,;t t
5970s,@DEFS@,$DEFS,;t t
5971s,@ECHO_C@,$ECHO_C,;t t
5972s,@ECHO_N@,$ECHO_N,;t t
5973s,@ECHO_T@,$ECHO_T,;t t
5974s,@LIBS@,$LIBS,;t t
5975s,@glulibdir@,$glulibdir,;t t
5976s,@gluincdir@,$gluincdir,;t t
5977s,@vl2mvlibdir@,$vl2mvlibdir,;t t
5978s,@local_srcdir@,$local_srcdir,;t t
5979s,@AR@,$AR,;t t
5980s,@RANLIB@,$RANLIB,;t t
5981s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5982s,@AWK@,$AWK,;t t
5983s,@SED@,$SED,;t t
5984s,@build@,$build,;t t
5985s,@build_cpu@,$build_cpu,;t t
5986s,@build_vendor@,$build_vendor,;t t
5987s,@build_os@,$build_os,;t t
5988s,@host@,$host,;t t
5989s,@host_cpu@,$host_cpu,;t t
5990s,@host_vendor@,$host_vendor,;t t
5991s,@host_os@,$host_os,;t t
5992s,@target@,$target,;t t
5993s,@target_cpu@,$target_cpu,;t t
5994s,@target_vendor@,$target_vendor,;t t
5995s,@target_os@,$target_os,;t t
5996s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5997s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5998s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5999s,@CC@,$CC,;t t
6000s,@CFLAGS@,$CFLAGS,;t t
6001s,@LDFLAGS@,$LDFLAGS,;t t
6002s,@CPPFLAGS@,$CPPFLAGS,;t t
6003s,@ac_ct_CC@,$ac_ct_CC,;t t
6004s,@EXEEXT@,$EXEEXT,;t t
6005s,@OBJEXT@,$OBJEXT,;t t
6006s,@LINKER@,$LINKER,;t t
6007s,@LEX@,$LEX,;t t
6008s,@LEXLIB@,$LEXLIB,;t t
6009s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
6010s,@LN_S@,$LN_S,;t t
6011s,@SET_MAKE@,$SET_MAKE,;t t
6012s,@YACC@,$YACC,;t t
6013s,@LIBDIRS@,$LIBDIRS,;t t
6014s,@CPP@,$CPP,;t t
6015s,@EGREP@,$EGREP,;t t
6016s,@LIBOBJS@,$LIBOBJS,;t t
6017s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6018CEOF
6019
6020_ACEOF
6021
6022  cat >>$CONFIG_STATUS <<\_ACEOF
6023  # Split the substitutions into bite-sized pieces for seds with
6024  # small command number limits, like on Digital OSF/1 and HP-UX.
6025  ac_max_sed_lines=48
6026  ac_sed_frag=1 # Number of current file.
6027  ac_beg=1 # First line for current file.
6028  ac_end=$ac_max_sed_lines # Line after last line for current file.
6029  ac_more_lines=:
6030  ac_sed_cmds=
6031  while $ac_more_lines; do
6032    if test $ac_beg -gt 1; then
6033      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6034    else
6035      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6036    fi
6037    if test ! -s $tmp/subs.frag; then
6038      ac_more_lines=false
6039    else
6040      # The purpose of the label and of the branching condition is to
6041      # speed up the sed processing (if there are no `@' at all, there
6042      # is no need to browse any of the substitutions).
6043      # These are the two extra sed commands mentioned above.
6044      (echo ':t
6045  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6046      if test -z "$ac_sed_cmds"; then
6047        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6048      else
6049        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6050      fi
6051      ac_sed_frag=`expr $ac_sed_frag + 1`
6052      ac_beg=$ac_end
6053      ac_end=`expr $ac_end + $ac_max_sed_lines`
6054    fi
6055  done
6056  if test -z "$ac_sed_cmds"; then
6057    ac_sed_cmds=cat
6058  fi
6059fi # test -n "$CONFIG_FILES"
6060
6061_ACEOF
6062cat >>$CONFIG_STATUS <<\_ACEOF
6063for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6064  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6065  case $ac_file in
6066  - | *:- | *:-:* ) # input from stdin
6067        cat >$tmp/stdin
6068        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6069        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6070  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6071        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6072  * )   ac_file_in=$ac_file.in ;;
6073  esac
6074
6075  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6076  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6077$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6078         X"$ac_file" : 'X\(//\)[^/]' \| \
6079         X"$ac_file" : 'X\(//\)$' \| \
6080         X"$ac_file" : 'X\(/\)' \| \
6081         .     : '\(.\)' 2>/dev/null ||
6082echo X"$ac_file" |
6083    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6084          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6085          /^X\(\/\/\)$/{ s//\1/; q; }
6086          /^X\(\/\).*/{ s//\1/; q; }
6087          s/.*/./; q'`
6088  { if $as_mkdir_p; then
6089    mkdir -p "$ac_dir"
6090  else
6091    as_dir="$ac_dir"
6092    as_dirs=
6093    while test ! -d "$as_dir"; do
6094      as_dirs="$as_dir $as_dirs"
6095      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6096$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097         X"$as_dir" : 'X\(//\)[^/]' \| \
6098         X"$as_dir" : 'X\(//\)$' \| \
6099         X"$as_dir" : 'X\(/\)' \| \
6100         .     : '\(.\)' 2>/dev/null ||
6101echo X"$as_dir" |
6102    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6103          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6104          /^X\(\/\/\)$/{ s//\1/; q; }
6105          /^X\(\/\).*/{ s//\1/; q; }
6106          s/.*/./; q'`
6107    done
6108    test ! -n "$as_dirs" || mkdir $as_dirs
6109  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6110echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6111   { (exit 1); exit 1; }; }; }
6112
6113  ac_builddir=.
6114
6115if test "$ac_dir" != .; then
6116  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6117  # A "../" for each directory in $ac_dir_suffix.
6118  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6119else
6120  ac_dir_suffix= ac_top_builddir=
6121fi
6122
6123case $srcdir in
6124  .)  # No --srcdir option.  We are building in place.
6125    ac_srcdir=.
6126    if test -z "$ac_top_builddir"; then
6127       ac_top_srcdir=.
6128    else
6129       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6130    fi ;;
6131  [\\/]* | ?:[\\/]* )  # Absolute path.
6132    ac_srcdir=$srcdir$ac_dir_suffix;
6133    ac_top_srcdir=$srcdir ;;
6134  *) # Relative path.
6135    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6136    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6137esac
6138
6139# Do not use `cd foo && pwd` to compute absolute paths, because
6140# the directories may not exist.
6141case `pwd` in
6142.) ac_abs_builddir="$ac_dir";;
6143*)
6144  case "$ac_dir" in
6145  .) ac_abs_builddir=`pwd`;;
6146  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6147  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6148  esac;;
6149esac
6150case $ac_abs_builddir in
6151.) ac_abs_top_builddir=${ac_top_builddir}.;;
6152*)
6153  case ${ac_top_builddir}. in
6154  .) ac_abs_top_builddir=$ac_abs_builddir;;
6155  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6156  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6157  esac;;
6158esac
6159case $ac_abs_builddir in
6160.) ac_abs_srcdir=$ac_srcdir;;
6161*)
6162  case $ac_srcdir in
6163  .) ac_abs_srcdir=$ac_abs_builddir;;
6164  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6165  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6166  esac;;
6167esac
6168case $ac_abs_builddir in
6169.) ac_abs_top_srcdir=$ac_top_srcdir;;
6170*)
6171  case $ac_top_srcdir in
6172  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6173  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6174  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6175  esac;;
6176esac
6177
6178
6179  case $INSTALL in
6180  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6181  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6182  esac
6183
6184  if test x"$ac_file" != x-; then
6185    { echo "$as_me:$LINENO: creating $ac_file" >&5
6186echo "$as_me: creating $ac_file" >&6;}
6187    rm -f "$ac_file"
6188  fi
6189  # Let's still pretend it is `configure' which instantiates (i.e., don't
6190  # use $as_me), people would be surprised to read:
6191  #    /* config.h.  Generated by config.status.  */
6192  if test x"$ac_file" = x-; then
6193    configure_input=
6194  else
6195    configure_input="$ac_file.  "
6196  fi
6197  configure_input=$configure_input"Generated from `echo $ac_file_in |
6198                                     sed 's,.*/,,'` by configure."
6199
6200  # First look for the input files in the build tree, otherwise in the
6201  # src tree.
6202  ac_file_inputs=`IFS=:
6203    for f in $ac_file_in; do
6204      case $f in
6205      -) echo $tmp/stdin ;;
6206      [\\/$]*)
6207         # Absolute (can't be DOS-style, as IFS=:)
6208         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6209echo "$as_me: error: cannot find input file: $f" >&2;}
6210   { (exit 1); exit 1; }; }
6211         echo "$f";;
6212      *) # Relative
6213         if test -f "$f"; then
6214           # Build tree
6215           echo "$f"
6216         elif test -f "$srcdir/$f"; then
6217           # Source tree
6218           echo "$srcdir/$f"
6219         else
6220           # /dev/null tree
6221           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6222echo "$as_me: error: cannot find input file: $f" >&2;}
6223   { (exit 1); exit 1; }; }
6224         fi;;
6225      esac
6226    done` || { (exit 1); exit 1; }
6227_ACEOF
6228cat >>$CONFIG_STATUS <<_ACEOF
6229  sed "$ac_vpsub
6230$extrasub
6231_ACEOF
6232cat >>$CONFIG_STATUS <<\_ACEOF
6233:t
6234/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6235s,@configure_input@,$configure_input,;t t
6236s,@srcdir@,$ac_srcdir,;t t
6237s,@abs_srcdir@,$ac_abs_srcdir,;t t
6238s,@top_srcdir@,$ac_top_srcdir,;t t
6239s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6240s,@builddir@,$ac_builddir,;t t
6241s,@abs_builddir@,$ac_abs_builddir,;t t
6242s,@top_builddir@,$ac_top_builddir,;t t
6243s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6244s,@INSTALL@,$ac_INSTALL,;t t
6245" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6246  rm -f $tmp/stdin
6247  if test x"$ac_file" != x-; then
6248    mv $tmp/out $ac_file
6249  else
6250    cat $tmp/out
6251    rm -f $tmp/out
6252  fi
6253
6254done
6255_ACEOF
6256
6257cat >>$CONFIG_STATUS <<\_ACEOF
6258
6259{ (exit 0); exit 0; }
6260_ACEOF
6261chmod +x $CONFIG_STATUS
6262ac_clean_files=$ac_clean_files_save
6263
6264
6265# configure is writing to config.log, and then calls config.status.
6266# config.status does its own redirection, appending to config.log.
6267# Unfortunately, on DOS this fails, as config.log is still kept open
6268# by configure, so config.status won't be able to write to it; its
6269# output is simply discarded.  So we exec the FD to /dev/null,
6270# effectively closing config.log, so it can be properly (re)opened and
6271# appended to by config.status.  When coming back to configure, we
6272# need to make the FD available again.
6273if test "$no_create" != yes; then
6274  ac_cs_success=:
6275  ac_config_status_args=
6276  test "$silent" = yes &&
6277    ac_config_status_args="$ac_config_status_args --quiet"
6278  exec 5>/dev/null
6279  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6280  exec 5>>config.log
6281  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6282  # would make configure fail if this is the last instruction.
6283  $ac_cs_success || { (exit 1); exit 1; }
6284fi
6285
Note: See TracBrowser for help on using the repository browser.