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