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