Debian Codegraph @

configure

raw
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 <[email protected]>.
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
15 if 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+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for 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
45 do
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
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo 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.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if 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
99 fi
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
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
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
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
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
154 done
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
189 case `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= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if 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
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_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.
233 as_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.
238 as_nl='
239 '
240 IFS=" $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.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${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.
270 PACKAGE_NAME='mdf2iso'
271 PACKAGE_TARNAME='mdf2iso'
272 PACKAGE_VERSION='0.3.0'
273 PACKAGE_STRING='mdf2iso 0.3.0'
274 PACKAGE_BUGREPORT='[email protected]'
275
276 ac_unique_file="src/mdf2iso.c"
277 # Factoring default headers for most tests.
278 ac_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
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_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.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
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
629 Try \`$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
652 done
653
654 if 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; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
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
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674 do
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
681 done
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.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if 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
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if 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 ||
717 echo 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
727 else
728 ac_srcdir_defaulted=no
729 fi
730 if 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
738 fi
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; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775
776 #
777 # Report the --help message.
778 #
779 if 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
785 Usage: $0 [OPTION]... [VAR=VALUE]...
786
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
789
790 Defaults for the options are specified in brackets.
791
792 Configuration:
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
806 Installation 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
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
816
817 For better control, use the options below.
818
819 Fine 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
836 Program 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
841 fi
842
843 if 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
849 Optional 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
855 Some 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
864 Use these variables to override the choices made by `configure' or to help
865 it to find libraries and programs with nonstandard names/locations.
866
867 Report bugs to <[email protected]>.
868 _ACEOF
869 fi
870
871 if 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
878 if 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'`
882 else
883 ac_dir_suffix= ac_top_builddir=
884 fi
885
886 case $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 ;;
900 esac
901
902 # Do not use `cd foo && pwd` to compute absolute paths, because
903 # the directories may not exist.
904 case `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;;
912 esac
913 case $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;;
921 esac
922 case $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;;
930 esac
931 case $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;;
939 esac
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
958 fi
959
960 test -n "$ac_init_help" && exit 0
961 if $ac_init_version; then
962 cat <<\_ACEOF
963 mdf2iso configure 0.3.0
964 generated by GNU Autoconf 2.59
965
966 Copyright (C) 2003 Free Software Foundation, Inc.
967 This configure script is free software; the Free Software Foundation
968 gives unlimited permission to copy, distribute and modify it.
969 _ACEOF
970 exit 0
971 fi
972 exec 5>config.log
973 cat >&5 <<_ACEOF
974 This file contains any messages produced by compilers while
975 running configure, to aid debugging if configure makes a mistake.
976
977 It was created by mdf2iso $as_me 0.3.0, which was
978 generated by GNU Autoconf 2.59. Invocation command line was
979
980 $ $0 $@
981
982 _ACEOF
983 {
984 cat <<_ASUNAME
985 ## --------- ##
986 ## Platform. ##
987 ## --------- ##
988
989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
993 uname -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`
1001 hostinfo = `(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
1008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1009 for as_dir in $PATH
1010 do
1011 IFS=$as_save_IFS
1012 test -z "$as_dir" && as_dir=.
1013 echo "PATH: $as_dir"
1014 done
1015
1016 } >&5
1017
1018 cat >&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.
1033 ac_configure_args=
1034 ac_configure_args0=
1035 ac_configure_args1=
1036 ac_sep=
1037 ac_must_keep_next=false
1038 for ac_pass in 1 2
1039 do
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
1075 done
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.
1084 trap '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
1158 for ac_signal in 1 2 13 15; do
1159 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1160 done
1161 ac_signal=0
1162
1163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1164 rm -rf conftest* confdefs.h
1165 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1166 echo >confdefs.h
1167
1168 # Predefined preprocessor variables.
1169
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_NAME "$PACKAGE_NAME"
1172 _ACEOF
1173
1174
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1177 _ACEOF
1178
1179
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1182 _ACEOF
1183
1184
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_STRING "$PACKAGE_STRING"
1187 _ACEOF
1188
1189
1190 cat >>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.
1197 if 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
1203 fi
1204 for 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
1207 echo "$as_me: loading site script $ac_site_file" >&6;}
1208 sed 's/^/| /' "$ac_site_file" >&5
1209 . "$ac_site_file"
1210 fi
1211 done
1212
1213 if 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
1218 echo "$as_me: loading cache $cache_file" >&6;}
1219 case $cache_file in
1220 [\\/]* | ?:[\\/]* ) . $cache_file;;
1221 *) . ./$cache_file;;
1222 esac
1223 fi
1224 else
1225 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1226 echo "$as_me: creating cache $cache_file" >&6;}
1227 >$cache_file
1228 fi
1229
1230 # Check that the precious variables saved in the cache have kept the same
1231 # value.
1232 ac_cache_corrupted=false
1233 for 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
1242 echo "$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
1246 echo "$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
1252 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1253 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1254 echo "$as_me: former value: $ac_old_val" >&2;}
1255 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1256 echo "$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
1272 done
1273 if $ac_cache_corrupted; then
1274 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1275 echo "$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
1277 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1278 { (exit 1); exit 1; }; }
1279 fi
1280
1281 ac_ext=c
1282 ac_cpp='$CPP $CPPFLAGS'
1283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1285 ac_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
1316 am__api_version="1.9"
1317 ac_aux_dir=
1318 for 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
1332 done
1333 if test -z "$ac_aux_dir"; then
1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1335 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1336 { (exit 1); exit 1; }; }
1337 fi
1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1340 ac_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.
1355 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1356 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1357 if test -z "$INSTALL"; then
1358 if test "${ac_cv_path_install+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 else
1361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1362 for as_dir in $PATH
1363 do
1364 IFS=$as_save_IFS
1365 test -z "$as_dir" && as_dir=.
1366 # Account for people who put trailing slashes in PATH elements.
1367 case $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 ;;
1395 esac
1396 done
1397
1398
1399 fi
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
1409 fi
1410 echo "$as_me:$LINENO: result: $INSTALL" >&5
1411 echo "${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.
1415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1416
1417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1418
1419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1420
1421 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1422 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1423 # Just in case
1424 sleep 1
1425 echo 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).
1431 if (
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
1446 alias in your environment" >&5
1447 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1448 alias in your environment" >&2;}
1449 { (exit 1); exit 1; }; }
1450 fi
1451
1452 test "$2" = conftest.file
1453 )
1454 then
1455 # Ok.
1456 :
1457 else
1458 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1459 Check your system clock" >&5
1460 echo "$as_me: error: newly created file is older than distributed files!
1461 Check your system clock" >&2;}
1462 { (exit 1); exit 1; }; }
1463 fi
1464 echo "$as_me:$LINENO: result: yes" >&5
1465 echo "${ECHO_T}yes" >&6
1466 test "$program_prefix" != NONE &&
1467 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1468 # Use a double $ so make ignores it.
1469 test "$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.
1473 cat <<\_ACEOF >conftest.sed
1474 s/[\\$]/&&/g;s/;s,x,x,$//
1475 _ACEOF
1476 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1477 rm conftest.sed
1478
1479 # expand $ac_aux_dir to an absolute path
1480 am_aux_dir=`cd $ac_aux_dir && pwd`
1481
1482 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1483 # Use eval to expand $SHELL
1484 if eval "$MISSING --run true"; then
1485 am_missing_run="$MISSING --run "
1486 else
1487 am_missing_run=
1488 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1489 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1490 fi
1491
1492 if 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 --'
1508 else
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
1523 fi
1524
1525 for ac_prog in gawk mawk nawk awk
1526 do
1527 # Extract the first word of "$ac_prog", so it can be a program name with args.
1528 set dummy $ac_prog; ac_word=$2
1529 echo "$as_me:$LINENO: checking for $ac_word" >&5
1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1531 if test "${ac_cv_prog_AWK+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 else
1534 if test -n "$AWK"; then
1535 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1536 else
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1539 do
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
1548 done
1549 done
1550
1551 fi
1552 fi
1553 AWK=$ac_cv_prog_AWK
1554 if test -n "$AWK"; then
1555 echo "$as_me:$LINENO: result: $AWK" >&5
1556 echo "${ECHO_T}$AWK" >&6
1557 else
1558 echo "$as_me:$LINENO: result: no" >&5
1559 echo "${ECHO_T}no" >&6
1560 fi
1561
1562 test -n "$AWK" && break
1563 done
1564
1565 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1566 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1567 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1568 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 else
1571 cat >conftest.make <<\_ACEOF
1572 all:
1573 @echo 'ac_maketemp="$(MAKE)"'
1574 _ACEOF
1575 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1576 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1577 if test -n "$ac_maketemp"; then
1578 eval ac_cv_prog_make_${ac_make}_set=yes
1579 else
1580 eval ac_cv_prog_make_${ac_make}_set=no
1581 fi
1582 rm -f conftest.make
1583 fi
1584 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1585 echo "$as_me:$LINENO: result: yes" >&5
1586 echo "${ECHO_T}yes" >&6
1587 SET_MAKE=
1588 else
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1591 SET_MAKE="MAKE=${MAKE-make}"
1592 fi
1593
1594 rm -rf .tst 2>/dev/null
1595 mkdir .tst 2>/dev/null
1596 if test -d .tst; then
1597 am__leading_dot=.
1598 else
1599 am__leading_dot=_
1600 fi
1601 rmdir .tst 2>/dev/null
1602
1603 # test to see if srcdir already configured
1604 if 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
1607 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1608 { (exit 1); exit 1; }; }
1609 fi
1610
1611 # test whether we have cygpath
1612 if 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
1618 fi
1619
1620
1621 # Define the identity of the package.
1622 PACKAGE='mdf2iso'
1623 VERSION='0.3.0'
1624
1625
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE "$PACKAGE"
1628 _ACEOF
1629
1630
1631 cat >>confdefs.h <<_ACEOF
1632 #define VERSION "$VERSION"
1633 _ACEOF
1634
1635 # Some tools Automake needs.
1636
1637 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1638
1639
1640 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1641
1642
1643 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1644
1645
1646 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1647
1648
1649 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1650
1651 install_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.
1657 if 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.
1660 set dummy ${ac_tool_prefix}strip; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_STRIP+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 else
1666 if test -n "$STRIP"; then
1667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1668 else
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 for as_dir in $PATH
1671 do
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
1680 done
1681 done
1682
1683 fi
1684 fi
1685 STRIP=$ac_cv_prog_STRIP
1686 if test -n "$STRIP"; then
1687 echo "$as_me:$LINENO: result: $STRIP" >&5
1688 echo "${ECHO_T}$STRIP" >&6
1689 else
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1692 fi
1693
1694 fi
1695 if 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.
1698 set dummy strip; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 else
1704 if test -n "$ac_ct_STRIP"; then
1705 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1706 else
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 for as_dir in $PATH
1709 do
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
1718 done
1719 done
1720
1721 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1722 fi
1723 fi
1724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1725 if test -n "$ac_ct_STRIP"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1727 echo "${ECHO_T}$ac_ct_STRIP" >&6
1728 else
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1731 fi
1732
1733 STRIP=$ac_ct_STRIP
1734 else
1735 STRIP="$ac_cv_prog_STRIP"
1736 fi
1737
1738 fi
1739 INSTALL_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
1745 AMTAR=${AMTAR-"${am_missing_run}tar"}
1746
1747 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1748
1749
1750
1751
1752
1753 # Checks for programs.
1754 ac_ext=c
1755 ac_cpp='$CPP $CPPFLAGS'
1756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1759 if 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.
1761 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_CC+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 else
1767 if test -n "$CC"; then
1768 ac_cv_prog_CC="$CC" # Let the user override the test.
1769 else
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771 for as_dir in $PATH
1772 do
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
1781 done
1782 done
1783
1784 fi
1785 fi
1786 CC=$ac_cv_prog_CC
1787 if test -n "$CC"; then
1788 echo "$as_me:$LINENO: result: $CC" >&5
1789 echo "${ECHO_T}$CC" >&6
1790 else
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 fi
1794
1795 fi
1796 if 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.
1799 set dummy gcc; ac_word=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 else
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1807 else
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1810 do
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
1819 done
1820 done
1821
1822 fi
1823 fi
1824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1828 else
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1831 fi
1832
1833 CC=$ac_ct_CC
1834 else
1835 CC="$ac_cv_prog_CC"
1836 fi
1837
1838 if 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.
1841 set dummy ${ac_tool_prefix}cc; ac_word=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844 if test "${ac_cv_prog_CC+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 else
1847 if test -n "$CC"; then
1848 ac_cv_prog_CC="$CC" # Let the user override the test.
1849 else
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 for as_dir in $PATH
1852 do
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
1861 done
1862 done
1863
1864 fi
1865 fi
1866 CC=$ac_cv_prog_CC
1867 if test -n "$CC"; then
1868 echo "$as_me:$LINENO: result: $CC" >&5
1869 echo "${ECHO_T}$CC" >&6
1870 else
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1873 fi
1874
1875 fi
1876 if 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.
1879 set dummy cc; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1890 do
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
1899 done
1900 done
1901
1902 fi
1903 fi
1904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1907 echo "${ECHO_T}$ac_ct_CC" >&6
1908 else
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1911 fi
1912
1913 CC=$ac_ct_CC
1914 else
1915 CC="$ac_cv_prog_CC"
1916 fi
1917
1918 fi
1919 if test -z "$CC"; then
1920 # Extract the first word of "cc", so it can be a program name with args.
1921 set dummy cc; ac_word=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC="$CC" # Let the user override the test.
1929 else
1930 ac_prog_rejected=no
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1933 do
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
1946 done
1947 done
1948
1949 if 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
1960 fi
1961 fi
1962 fi
1963 CC=$ac_cv_prog_CC
1964 if test -n "$CC"; then
1965 echo "$as_me:$LINENO: result: $CC" >&5
1966 echo "${ECHO_T}$CC" >&6
1967 else
1968 echo "$as_me:$LINENO: result: no" >&5
1969 echo "${ECHO_T}no" >&6
1970 fi
1971
1972 fi
1973 if 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.
1978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1979 echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1981 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1989 do
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
1998 done
1999 done
2000
2001 fi
2002 fi
2003 CC=$ac_cv_prog_CC
2004 if test -n "$CC"; then
2005 echo "$as_me:$LINENO: result: $CC" >&5
2006 echo "${ECHO_T}$CC" >&6
2007 else
2008 echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6
2010 fi
2011
2012 test -n "$CC" && break
2013 done
2014 fi
2015 if test -z "$CC"; then
2016 ac_ct_CC=$CC
2017 for ac_prog in cl
2018 do
2019 # Extract the first word of "$ac_prog", so it can be a program name with args.
2020 set dummy $ac_prog; ac_word=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 else
2026 if test -n "$ac_ct_CC"; then
2027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2031 do
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
2040 done
2041 done
2042
2043 fi
2044 fi
2045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2046 if test -n "$ac_ct_CC"; then
2047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2048 echo "${ECHO_T}$ac_ct_CC" >&6
2049 else
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2052 fi
2053
2054 test -n "$ac_ct_CC" && break
2055 done
2056
2057 CC=$ac_ct_CC
2058 fi
2059
2060 fi
2061
2062
2063 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2064 See \`config.log' for more details." >&5
2065 echo "$as_me: error: no acceptable C compiler found in \$PATH
2066 See \`config.log' for more details." >&2;}
2067 { (exit 1); exit 1; }; }
2068
2069 # Provide some information about the compiler.
2070 echo "$as_me:$LINENO:" \
2071 "checking for C compiler version" >&5
2072 ac_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
2089 cat >conftest.$ac_ext <<_ACEOF
2090 /* confdefs.h. */
2091 _ACEOF
2092 cat confdefs.h >>conftest.$ac_ext
2093 cat >>conftest.$ac_ext <<_ACEOF
2094 /* end confdefs.h. */
2095
2096 int
2097 main ()
2098 {
2099
2100 ;
2101 return 0;
2102 }
2103 _ACEOF
2104 ac_clean_files_save=$ac_clean_files
2105 ac_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.
2109 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2110 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2111 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2112 if { (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.
2123 ac_cv_exeext=
2124 # b.out is created by i960 compilers.
2125 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2126 do
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
2148 done
2149 else
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2152
2153 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2154 See \`config.log' for more details." >&5
2155 echo "$as_me: error: C compiler cannot create executables
2156 See \`config.log' for more details." >&2;}
2157 { (exit 77); exit 77; }; }
2158 fi
2159
2160 ac_exeext=$ac_cv_exeext
2161 echo "$as_me:$LINENO: result: $ac_file" >&5
2162 echo "${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.
2166 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2167 echo $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.
2170 if 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.
2183 If you meant to cross compile, use \`--host'.
2184 See \`config.log' for more details." >&5
2185 echo "$as_me: error: cannot run C compiled programs.
2186 If you meant to cross compile, use \`--host'.
2187 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }
2189 fi
2190 fi
2191 fi
2192 echo "$as_me:$LINENO: result: yes" >&5
2193 echo "${ECHO_T}yes" >&6
2194
2195 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2196 ac_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.
2199 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2200 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2201 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2202 echo "${ECHO_T}$cross_compiling" >&6
2203
2204 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2205 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2206 if { (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'.
2215 for 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
2224 done
2225 else
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2231 fi
2232
2233 rm -f conftest$ac_cv_exeext
2234 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2235 echo "${ECHO_T}$ac_cv_exeext" >&6
2236
2237 rm -f conftest.$ac_ext
2238 EXEEXT=$ac_cv_exeext
2239 ac_exeext=$EXEEXT
2240 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2241 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2242 if test "${ac_cv_objext+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 else
2245 cat >conftest.$ac_ext <<_ACEOF
2246 /* confdefs.h. */
2247 _ACEOF
2248 cat confdefs.h >>conftest.$ac_ext
2249 cat >>conftest.$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2251
2252 int
2253 main ()
2254 {
2255
2256 ;
2257 return 0;
2258 }
2259 _ACEOF
2260 rm -f conftest.o conftest.obj
2261 if { (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
2272 done
2273 else
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2276
2277 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2278 See \`config.log' for more details." >&5
2279 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2280 See \`config.log' for more details." >&2;}
2281 { (exit 1); exit 1; }; }
2282 fi
2283
2284 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2285 fi
2286 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2287 echo "${ECHO_T}$ac_cv_objext" >&6
2288 OBJEXT=$ac_cv_objext
2289 ac_objext=$OBJEXT
2290 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2291 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2292 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 else
2295 cat >conftest.$ac_ext <<_ACEOF
2296 /* confdefs.h. */
2297 _ACEOF
2298 cat confdefs.h >>conftest.$ac_ext
2299 cat >>conftest.$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2301
2302 int
2303 main ()
2304 {
2305 #ifndef __GNUC__
2306 choke me
2307 #endif
2308
2309 ;
2310 return 0;
2311 }
2312 _ACEOF
2313 rm -f conftest.$ac_objext
2314 if { (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
2336 else
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2339
2340 ac_compiler_gnu=no
2341 fi
2342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2344
2345 fi
2346 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2347 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2348 GCC=`test $ac_compiler_gnu = yes && echo yes`
2349 ac_test_CFLAGS=${CFLAGS+set}
2350 ac_save_CFLAGS=$CFLAGS
2351 CFLAGS="-g"
2352 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2353 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2354 if test "${ac_cv_prog_cc_g+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 cat >conftest.$ac_ext <<_ACEOF
2358 /* confdefs.h. */
2359 _ACEOF
2360 cat confdefs.h >>conftest.$ac_ext
2361 cat >>conftest.$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2363
2364 int
2365 main ()
2366 {
2367
2368 ;
2369 return 0;
2370 }
2371 _ACEOF
2372 rm -f conftest.$ac_objext
2373 if { (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
2395 else
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2398
2399 ac_cv_prog_cc_g=no
2400 fi
2401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2402 fi
2403 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2404 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2405 if test "$ac_test_CFLAGS" = set; then
2406 CFLAGS=$ac_save_CFLAGS
2407 elif 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
2413 else
2414 if test "$GCC" = yes; then
2415 CFLAGS="-O2"
2416 else
2417 CFLAGS=
2418 fi
2419 fi
2420 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2421 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2422 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else
2425 ac_cv_prog_cc_stdc=no
2426 ac_save_CC=$CC
2427 cat >conftest.$ac_ext <<_ACEOF
2428 /* confdefs.h. */
2429 _ACEOF
2430 cat confdefs.h >>conftest.$ac_ext
2431 cat >>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. */
2438 struct buf { int x; };
2439 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2440 static char *e (p, i)
2441 char **p;
2442 int i;
2443 {
2444 return p[i];
2445 }
2446 static 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. */
2463 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2464
2465 int test (int i, double x);
2466 struct s1 {int (*f) (int a);};
2467 struct s2 {int (*f) (double a);};
2468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2469 int argc;
2470 char **argv;
2471 int
2472 main ()
2473 {
2474 return 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__
2486 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2487 do
2488 CC="$ac_save_CC $ac_arg"
2489 rm -f conftest.$ac_objext
2490 if { (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
2512 break
2513 else
2514 echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2516
2517 fi
2518 rm -f conftest.err conftest.$ac_objext
2519 done
2520 rm -f conftest.$ac_ext conftest.$ac_objext
2521 CC=$ac_save_CC
2522
2523 fi
2524
2525 case "x$ac_cv_prog_cc_stdc" in
2526 x|xno)
2527 echo "$as_me:$LINENO: result: none needed" >&5
2528 echo "${ECHO_T}none needed" >&6 ;;
2529 *)
2530 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2531 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2532 CC="$CC $ac_cv_prog_cc_stdc" ;;
2533 esac
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.
2539 cat >conftest.$ac_ext <<_ACEOF
2540 #ifndef __cplusplus
2541 choke me
2542 #endif
2543 _ACEOF
2544 rm -f conftest.$ac_objext
2545 if { (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);'
2573 do
2574 cat >conftest.$ac_ext <<_ACEOF
2575 /* confdefs.h. */
2576 _ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2580 $ac_declaration
2581 #include <stdlib.h>
2582 int
2583 main ()
2584 {
2585 exit (42);
2586 ;
2587 return 0;
2588 }
2589 _ACEOF
2590 rm -f conftest.$ac_objext
2591 if { (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 :
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2616
2617 continue
2618 fi
2619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2620 cat >conftest.$ac_ext <<_ACEOF
2621 /* confdefs.h. */
2622 _ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2626 $ac_declaration
2627 int
2628 main ()
2629 {
2630 exit (42);
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 rm -f conftest.$ac_objext
2636 if { (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
2658 else
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2661
2662 fi
2663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664 done
2665 rm -f conftest*
2666 if test -n "$ac_declaration"; then
2667 echo '#ifdef __cplusplus' >>confdefs.h
2668 echo $ac_declaration >>confdefs.h
2669 echo '#endif' >>confdefs.h
2670 fi
2671
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2675
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_ext=c
2679 ac_cpp='$CPP $CPPFLAGS'
2680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2683 DEPDIR="${am__leading_dot}deps"
2684
2685 ac_config_commands="$ac_config_commands depfiles"
2686
2687
2688 am_make=${MAKE-make}
2689 cat > confinc << 'END'
2690 am__doit:
2691 @echo done
2692 .PHONY: am__doit
2693 END
2694 # If we don't find an include directive, just comment out the code.
2695 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2696 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2697 am__include="#"
2698 am__quote=
2699 _am_result=none
2700 # First try GNU make style include.
2701 echo "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'.
2707 if 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
2711 fi
2712 # Now try BSD make style include.
2713 if 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
2720 fi
2721
2722
2723 echo "$as_me:$LINENO: result: $_am_result" >&5
2724 echo "${ECHO_T}$_am_result" >&6
2725 rm -f confinc confmf
2726
2727 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2728 if test "${enable_dependency_tracking+set}" = set; then
2729 enableval="$enable_dependency_tracking"
2730
2731 fi;
2732 if test "x$enable_dependency_tracking" != xno; then
2733 am_depcomp="$ac_aux_dir/depcomp"
2734 AMDEPBACKSLASH='\'
2735 fi
2736
2737
2738 if test "x$enable_dependency_tracking" != xno; then
2739 AMDEP_TRUE=
2740 AMDEP_FALSE='#'
2741 else
2742 AMDEP_TRUE='#'
2743 AMDEP_FALSE=
2744 fi
2745
2746
2747
2748
2749 depcc="$CC" am_compiler_list=
2750
2751 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2752 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2753 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 else
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
2836 else
2837 am_cv_CC_dependencies_compiler_type=none
2838 fi
2839
2840 fi
2841 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2842 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2843 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2844
2845
2846
2847 if
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='#'
2852 else
2853 am__fastdepCC_TRUE='#'
2854 am__fastdepCC_FALSE=
2855 fi
2856
2857
2858
2859 # Checks for libraries.
2860
2861 # Checks for header files.
2862
2863 ac_ext=c
2864 ac_cpp='$CPP $CPPFLAGS'
2865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2869 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2870 # On Suns, sometimes $CPP names a directory.
2871 if test -n "$CPP" && test -d "$CPP"; then
2872 CPP=
2873 fi
2874 if test -z "$CPP"; then
2875 if test "${ac_cv_prog_CPP+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 else
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
2882 for ac_c_preproc_warn_flag in '' yes
2883 do
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
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>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
2903 if { (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
2917 else
2918 ac_cpp_err=yes
2919 fi
2920 if test -z "$ac_cpp_err"; then
2921 :
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2925
2926 # Broken: fails on valid input.
2927 continue
2928 fi
2929 rm -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
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2939 #include <ac_nonexistent.h>
2940 _ACEOF
2941 if { (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
2955 else
2956 ac_cpp_err=yes
2957 fi
2958 if test -z "$ac_cpp_err"; then
2959 # Broken: success on invalid input.
2960 continue
2961 else
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2964
2965 # Passes both tests.
2966 ac_preproc_ok=:
2967 break
2968 fi
2969 rm -f conftest.err conftest.$ac_ext
2970
2971 done
2972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2973 rm -f conftest.err conftest.$ac_ext
2974 if $ac_preproc_ok; then
2975 break
2976 fi
2977
2978 done
2979 ac_cv_prog_CPP=$CPP
2980
2981 fi
2982 CPP=$ac_cv_prog_CPP
2983 else
2984 ac_cv_prog_CPP=$CPP
2985 fi
2986 echo "$as_me:$LINENO: result: $CPP" >&5
2987 echo "${ECHO_T}$CPP" >&6
2988 ac_preproc_ok=false
2989 for ac_c_preproc_warn_flag in '' yes
2990 do
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
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>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
3010 if { (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
3024 else
3025 ac_cpp_err=yes
3026 fi
3027 if test -z "$ac_cpp_err"; then
3028 :
3029 else
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3032
3033 # Broken: fails on valid input.
3034 continue
3035 fi
3036 rm -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
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3046 #include <ac_nonexistent.h>
3047 _ACEOF
3048 if { (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
3062 else
3063 ac_cpp_err=yes
3064 fi
3065 if test -z "$ac_cpp_err"; then
3066 # Broken: success on invalid input.
3067 continue
3068 else
3069 echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3071
3072 # Passes both tests.
3073 ac_preproc_ok=:
3074 break
3075 fi
3076 rm -f conftest.err conftest.$ac_ext
3077
3078 done
3079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3080 rm -f conftest.err conftest.$ac_ext
3081 if $ac_preproc_ok; then
3082 :
3083 else
3084 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3085 See \`config.log' for more details." >&5
3086 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3087 See \`config.log' for more details." >&2;}
3088 { (exit 1); exit 1; }; }
3089 fi
3090
3091 ac_ext=c
3092 ac_cpp='$CPP $CPPFLAGS'
3093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096
3097
3098 echo "$as_me:$LINENO: checking for egrep" >&5
3099 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3100 if test "${ac_cv_prog_egrep+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 else
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
3107 fi
3108 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3109 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3110 EGREP=$ac_cv_prog_egrep
3111
3112
3113 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3114 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3115 if test "${ac_cv_header_stdc+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118 cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h. */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>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
3129 int
3130 main ()
3131 {
3132
3133 ;
3134 return 0;
3135 }
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (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
3160 else
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3163
3164 ac_cv_header_stdc=no
3165 fi
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3167
3168 if 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
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 #include <string.h>
3177
3178 _ACEOF
3179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3180 $EGREP "memchr" >/dev/null 2>&1; then
3181 :
3182 else
3183 ac_cv_header_stdc=no
3184 fi
3185 rm -f conftest*
3186
3187 fi
3188
3189 if 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
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3197 #include <stdlib.h>
3198
3199 _ACEOF
3200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3201 $EGREP "free" >/dev/null 2>&1; then
3202 :
3203 else
3204 ac_cv_header_stdc=no
3205 fi
3206 rm -f conftest*
3207
3208 fi
3209
3210 if 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 :
3214 else
3215 cat >conftest.$ac_ext <<_ACEOF
3216 /* confdefs.h. */
3217 _ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>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)))
3234 int
3235 main ()
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
3245 rm -f conftest$ac_exeext
3246 if { (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 :
3257 else
3258 echo "$as_me: program exited with status $ac_status" >&5
3259 echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3261
3262 ( exit $ac_status )
3263 ac_cv_header_stdc=no
3264 fi
3265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3266 fi
3267 fi
3268 fi
3269 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3270 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3271 if test $ac_cv_header_stdc = yes; then
3272
3273 cat >>confdefs.h <<\_ACEOF
3274 #define STDC_HEADERS 1
3275 _ACEOF
3276
3277 fi
3278
3279 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3290 inttypes.h stdint.h unistd.h
3291 do
3292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3293 echo "$as_me:$LINENO: checking for $ac_header" >&5
3294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3296 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 else
3298 cat >conftest.$ac_ext <<_ACEOF
3299 /* confdefs.h. */
3300 _ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304 $ac_includes_default
3305
3306 #include <$ac_header>
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (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"
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3334
3335 eval "$as_ac_Header=no"
3336 fi
3337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3338 fi
3339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3341 if 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
3346 fi
3347
3348 done
3349
3350
3351
3352
3353 for ac_header in stdlib.h string.h
3354 do
3355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3357 echo "$as_me:$LINENO: checking for $ac_header" >&5
3358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 fi
3362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3364 else
3365 # Is the header compilable?
3366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3368 cat >conftest.$ac_ext <<_ACEOF
3369 /* confdefs.h. */
3370 _ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 $ac_includes_default
3375 #include <$ac_header>
3376 _ACEOF
3377 rm -f conftest.$ac_objext
3378 if { (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
3400 else
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3403
3404 ac_header_compiler=no
3405 fi
3406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3408 echo "${ECHO_T}$ac_header_compiler" >&6
3409
3410 # Is the header present?
3411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3419 #include <$ac_header>
3420 _ACEOF
3421 if { (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
3435 else
3436 ac_cpp_err=yes
3437 fi
3438 if test -z "$ac_cpp_err"; then
3439 ac_header_preproc=yes
3440 else
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3443
3444 ac_header_preproc=no
3445 fi
3446 rm -f conftest.err conftest.$ac_ext
3447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3448 echo "${ECHO_T}$ac_header_preproc" >&6
3449
3450 # So? What about this header?
3451 case $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
3454 echo "$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
3456 echo "$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
3461 echo "$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
3463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3465 echo "$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
3467 echo "$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
3469 echo "$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
3471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3472 (
3473 cat <<\_ASBOX
3474 ## -------------------------------------------- ##
3475 ## Report this to [email protected] ##
3476 ## -------------------------------------------- ##
3477 _ASBOX
3478 ) |
3479 sed "s/^/$as_me: WARNING: /" >&2
3480 ;;
3481 esac
3482 echo "$as_me:$LINENO: checking for $ac_header" >&5
3483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 else
3487 eval "$as_ac_Header=\$ac_header_preproc"
3488 fi
3489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3491
3492 fi
3493 if 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
3498 fi
3499
3500 done
3501
3502
3503 # Checks for typedefs, structures, and compiler characteristics.
3504 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3505 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3506 if test "${ac_cv_c_const+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 else
3509 cat >conftest.$ac_ext <<_ACEOF
3510 /* confdefs.h. */
3511 _ACEOF
3512 cat confdefs.h >>conftest.$ac_ext
3513 cat >>conftest.$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3515
3516 int
3517 main ()
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
3570 rm -f conftest.$ac_objext
3571 if { (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
3593 else
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3596
3597 ac_cv_c_const=no
3598 fi
3599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3600 fi
3601 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3602 echo "${ECHO_T}$ac_cv_c_const" >&6
3603 if test $ac_cv_c_const = no; then
3604
3605 cat >>confdefs.h <<\_ACEOF
3606 #define const
3607 _ACEOF
3608
3609 fi
3610
3611
3612 # Checks for library functions.
3613 echo "$as_me:$LINENO: checking for working memcmp" >&5
3614 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
3615 if test "${ac_cv_func_memcmp_working+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 else
3618 if test "$cross_compiling" = yes; then
3619 ac_cv_func_memcmp_working=no
3620 else
3621 cat >conftest.$ac_ext <<_ACEOF
3622 /* confdefs.h. */
3623 _ACEOF
3624 cat confdefs.h >>conftest.$ac_ext
3625 cat >>conftest.$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3627 $ac_includes_default
3628 int
3629 main ()
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
3660 rm -f conftest$ac_exeext
3661 if { (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
3672 else
3673 echo "$as_me: program exited with status $ac_status" >&5
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3676
3677 ( exit $ac_status )
3678 ac_cv_func_memcmp_working=no
3679 fi
3680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3681 fi
3682 fi
3683 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
3684 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
3685 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
3686 "memcmp.$ac_objext" | \
3687 *" memcmp.$ac_objext" | \
3688 "memcmp.$ac_objext "* | \
3689 *" memcmp.$ac_objext "* ) ;;
3690 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
3691 esac
3692
3693
3694
3695 for ac_func in strerror
3696 do
3697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3698 echo "$as_me:$LINENO: checking for $ac_func" >&5
3699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3700 if eval "test \"\${$as_ac_var+set}\" = set"; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 else
3703 cat >conftest.$ac_ext <<_ACEOF
3704 /* confdefs.h. */
3705 _ACEOF
3706 cat confdefs.h >>conftest.$ac_ext
3707 cat >>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
3728 extern "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. */
3733 char $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)
3738 choke me
3739 #else
3740 char (*f) () = $ac_func;
3741 #endif
3742 #ifdef __cplusplus
3743 }
3744 #endif
3745
3746 int
3747 main ()
3748 {
3749 return f != $ac_func;
3750 ;
3751 return 0;
3752 }
3753 _ACEOF
3754 rm -f conftest.$ac_objext conftest$ac_exeext
3755 if { (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"
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3780
3781 eval "$as_ac_var=no"
3782 fi
3783 rm -f conftest.err conftest.$ac_objext \
3784 conftest$ac_exeext conftest.$ac_ext
3785 fi
3786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3788 if 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
3793 fi
3794 done
3795
3796
3797 ac_config_files="$ac_config_files Makefile src/Makefile"
3798
3799 cat >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
3844 if 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
3851 fi
3852 rm -f confcache
3853
3854 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3855 # Let make expand exec_prefix.
3856 test "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).
3862 if test "x$srcdir" = x.; then
3863 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3864 s/:*\$(srcdir):*/:/;
3865 s/:*\${srcdir}:*/:/;
3866 s/:*@srcdir@:*/:/;
3867 s/^\([^=]*=[ ]*\):*/\1/;
3868 s/:*$//;
3869 s/^[^=]*=[ ]*$//;
3870 }'
3871 fi
3872
3873 DEFS=-DHAVE_CONFIG_H
3874
3875 ac_libobjs=
3876 ac_ltlibobjs=
3877 for ac_i in : $LIBOBJS; 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'
3884 done
3885 LIBOBJS=$ac_libobjs
3886
3887 LTLIBOBJS=$ac_ltlibobjs
3888
3889
3890 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3891 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3892 Usually this means the macro was only invoked conditionally." >&5
3893 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3894 Usually this means the macro was only invoked conditionally." >&2;}
3895 { (exit 1); exit 1; }; }
3896 fi
3897 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3898 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3899 Usually this means the macro was only invoked conditionally." >&5
3900 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3901 Usually this means the macro was only invoked conditionally." >&2;}
3902 { (exit 1); exit 1; }; }
3903 fi
3904
3905 : ${CONFIG_STATUS=./config.status}
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3908 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3909 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3910 cat >$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
3917 debug=false
3918 ac_cs_recheck=false
3919 ac_cs_silent=false
3920 SHELL=\${CONFIG_SHELL-$SHELL}
3921 _ACEOF
3922
3923 cat >>$CONFIG_STATUS <<\_ACEOF
3924 ## --------------------- ##
3925 ## M4sh Initialization. ##
3926 ## --------------------- ##
3927
3928 # Be Bourne compatible
3929 if 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+"$@"}'='"$@"'
3935 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3936 set -o posix
3937 fi
3938 DUALCASE=1; export DUALCASE # for MKS sh
3939
3940 # Support unset when possible.
3941 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3942 as_unset=unset
3943 else
3944 as_unset=false
3945 fi
3946
3947
3948 # Work around bugs in pre-3.0 UWIN ksh.
3949 $as_unset ENV MAIL MAILPATH
3950 PS1='$ '
3951 PS2='> '
3952 PS4='+ '
3953
3954 # NLS nuisances.
3955 for 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
3959 do
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
3965 done
3966
3967 # Required to use basename.
3968 if expr a : '\(a\)' >/dev/null 2>&1; then
3969 as_expr=expr
3970 else
3971 as_expr=false
3972 fi
3973
3974 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3975 as_basename=basename
3976 else
3977 as_basename=false
3978 fi
3979
3980
3981 # Name of the executable.
3982 as_me=`$as_basename "$0" ||
3983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3984 X"$0" : 'X\(//\)$' \| \
3985 X"$0" : 'X\(/\)$' \| \
3986 . : '\(.\)' 2>/dev/null ||
3987 echo 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.
3996 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3997 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3998 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3999 as_cr_digits='0123456789'
4000 as_cr_alnum=$as_cr_Letters$as_cr_digits
4001
4002 # The user is always right.
4003 if 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
4013 fi
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
4026 for as_dir in $PATH
4027 do
4028 IFS=$as_save_IFS
4029 test -z "$as_dir" && as_dir=.
4030 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4031 done
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
4042 echo "$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
4048 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4049 do
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
4069 done
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
4093 echo "$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
4105 case `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= ;;
4110 esac
4111
4112 if expr a : '\(a\)' >/dev/null 2>&1; then
4113 as_expr=expr
4114 else
4115 as_expr=false
4116 fi
4117
4118 rm -f conf$$ conf$$.exe conf$$.file
4119 echo >conf$$.file
4120 if 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
4129 elif ln conf$$.file conf$$ 2>/dev/null; then
4130 as_ln_s=ln
4131 else
4132 as_ln_s='cp -p'
4133 fi
4134 rm -f conf$$ conf$$.exe conf$$.file
4135
4136 if mkdir -p . 2>/dev/null; then
4137 as_mkdir_p=:
4138 else
4139 test -d ./-p && rmdir ./-p
4140 as_mkdir_p=false
4141 fi
4142
4143 as_executable_p="test -f"
4144
4145 # Sed expression to map a string onto a valid CPP name.
4146 as_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.
4149 as_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.
4154 as_nl='
4155 '
4156 IFS=" $as_nl"
4157
4158 # CDPATH.
4159 $as_unset CDPATH
4160
4161 exec 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.
4166 exec 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
4173 cat >&5 <<_CSEOF
4174
4175 This file was extended by mdf2iso $as_me 0.3.0, which was
4176 generated 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
4185 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4186 echo >&5
4187 _ACEOF
4188
4189 # Files that config.status was made for.
4190 if test -n "$ac_config_files"; then
4191 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4192 fi
4193
4194 if test -n "$ac_config_headers"; then
4195 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4196 fi
4197
4198 if test -n "$ac_config_links"; then
4199 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4200 fi
4201
4202 if test -n "$ac_config_commands"; then
4203 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4204 fi
4205
4206 cat >>$CONFIG_STATUS <<\_ACEOF
4207
4208 ac_cs_usage="\
4209 \`$as_me' instantiates files from templates according to the
4210 current configuration.
4211
4212 Usage: $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
4224 Configuration files:
4225 $config_files
4226
4227 Configuration headers:
4228 $config_headers
4229
4230 Configuration commands:
4231 $config_commands
4232
4233 Report bugs to <[email protected]>."
4234 _ACEOF
4235
4236 cat >>$CONFIG_STATUS <<_ACEOF
4237 ac_cs_version="\\
4238 mdf2iso config.status 0.3.0
4239 configured by $0, generated by GNU Autoconf 2.59,
4240 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4241
4242 Copyright (C) 2003 Free Software Foundation, Inc.
4243 This config.status script is free software; the Free Software Foundation
4244 gives unlimited permission to copy, distribute and modify it."
4245 srcdir=$srcdir
4246 INSTALL="$INSTALL"
4247 _ACEOF
4248
4249 cat >>$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.
4252 ac_need_defaults=:
4253 while test $# != 0
4254 do
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
4275 cat >>$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
4283 Try \`$0 --help' for more information." >&5
4284 echo "$as_me: error: ambiguous option: $1
4285 Try \`$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
4305 Try \`$0 --help' for more information." >&5
4306 echo "$as_me: error: unrecognized option: $1
4307 Try \`$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
4314 done
4315
4316 ac_configure_extra_args=
4317
4318 if $ac_cs_silent; then
4319 exec 6>/dev/null
4320 ac_configure_extra_args="$ac_configure_extra_args --silent"
4321 fi
4322
4323 _ACEOF
4324 cat >>$CONFIG_STATUS <<_ACEOF
4325 if \$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
4328 fi
4329
4330 _ACEOF
4331
4332 cat >>$CONFIG_STATUS <<_ACEOF
4333 #
4334 # INIT-COMMANDS section.
4335 #
4336
4337 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4338
4339 _ACEOF
4340
4341
4342
4343 cat >>$CONFIG_STATUS <<\_ACEOF
4344 for ac_config_target in $ac_config_targets
4345 do
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
4353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4354 { (exit 1); exit 1; }; };;
4355 esac
4356 done
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.
4362 if $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
4366 fi
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
4395 cat >>$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
4403 if 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
4407 s,@SHELL@,$SHELL,;t t
4408 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4409 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4410 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4411 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4412 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4413 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4414 s,@exec_prefix@,$exec_prefix,;t t
4415 s,@prefix@,$prefix,;t t
4416 s,@program_transform_name@,$program_transform_name,;t t
4417 s,@bindir@,$bindir,;t t
4418 s,@sbindir@,$sbindir,;t t
4419 s,@libexecdir@,$libexecdir,;t t
4420 s,@datadir@,$datadir,;t t
4421 s,@sysconfdir@,$sysconfdir,;t t
4422 s,@sharedstatedir@,$sharedstatedir,;t t
4423 s,@localstatedir@,$localstatedir,;t t
4424 s,@libdir@,$libdir,;t t
4425 s,@includedir@,$includedir,;t t
4426 s,@oldincludedir@,$oldincludedir,;t t
4427 s,@infodir@,$infodir,;t t
4428 s,@mandir@,$mandir,;t t
4429 s,@build_alias@,$build_alias,;t t
4430 s,@host_alias@,$host_alias,;t t
4431 s,@target_alias@,$target_alias,;t t
4432 s,@DEFS@,$DEFS,;t t
4433 s,@ECHO_C@,$ECHO_C,;t t
4434 s,@ECHO_N@,$ECHO_N,;t t
4435 s,@ECHO_T@,$ECHO_T,;t t
4436 s,@LIBS@,$LIBS,;t t
4437 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4438 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4439 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4440 s,@CYGPATH_W@,$CYGPATH_W,;t t
4441 s,@PACKAGE@,$PACKAGE,;t t
4442 s,@VERSION@,$VERSION,;t t
4443 s,@ACLOCAL@,$ACLOCAL,;t t
4444 s,@AUTOCONF@,$AUTOCONF,;t t
4445 s,@AUTOMAKE@,$AUTOMAKE,;t t
4446 s,@AUTOHEADER@,$AUTOHEADER,;t t
4447 s,@MAKEINFO@,$MAKEINFO,;t t
4448 s,@install_sh@,$install_sh,;t t
4449 s,@STRIP@,$STRIP,;t t
4450 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4451 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4452 s,@mkdir_p@,$mkdir_p,;t t
4453 s,@AWK@,$AWK,;t t
4454 s,@SET_MAKE@,$SET_MAKE,;t t
4455 s,@am__leading_dot@,$am__leading_dot,;t t
4456 s,@AMTAR@,$AMTAR,;t t
4457 s,@am__tar@,$am__tar,;t t
4458 s,@am__untar@,$am__untar,;t t
4459 s,@CC@,$CC,;t t
4460 s,@CFLAGS@,$CFLAGS,;t t
4461 s,@LDFLAGS@,$LDFLAGS,;t t
4462 s,@CPPFLAGS@,$CPPFLAGS,;t t
4463 s,@ac_ct_CC@,$ac_ct_CC,;t t
4464 s,@EXEEXT@,$EXEEXT,;t t
4465 s,@OBJEXT@,$OBJEXT,;t t
4466 s,@DEPDIR@,$DEPDIR,;t t
4467 s,@am__include@,$am__include,;t t
4468 s,@am__quote@,$am__quote,;t t
4469 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4470 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4471 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4472 s,@CCDEPMODE@,$CCDEPMODE,;t t
4473 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4474 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4475 s,@CPP@,$CPP,;t t
4476 s,@EGREP@,$EGREP,;t t
4477 s,@LIBOBJS@,$LIBOBJS,;t t
4478 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4479 CEOF
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
4520 fi # test -n "$CONFIG_FILES"
4521
4522 _ACEOF
4523 cat >>$CONFIG_STATUS <<\_ACEOF
4524 for 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 ||
4543 echo 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 ||
4562 echo 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
4571 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4572 { (exit 1); exit 1; }; }; }
4573
4574 ac_builddir=.
4575
4576 if 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'`
4580 else
4581 ac_dir_suffix= ac_top_builddir=
4582 fi
4583
4584 case $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 ;;
4598 esac
4599
4600 # Do not use `cd foo && pwd` to compute absolute paths, because
4601 # the directories may not exist.
4602 case `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;;
4610 esac
4611 case $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;;
4619 esac
4620 case $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;;
4628 esac
4629 case $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;;
4637 esac
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
4647 echo "$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
4670 echo "$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
4683 echo "$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
4689 cat >>$CONFIG_STATUS <<_ACEOF
4690 sed "$ac_vpsub
4691 $extrasub
4692 _ACEOF
4693 cat >>$CONFIG_STATUS <<\_ACEOF
4694 :t
4695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4696 s,@configure_input@,$configure_input,;t t
4697 s,@srcdir@,$ac_srcdir,;t t
4698 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4699 s,@top_srcdir@,$ac_top_srcdir,;t t
4700 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4701 s,@builddir@,$ac_builddir,;t t
4702 s,@abs_builddir@,$ac_abs_builddir,;t t
4703 s,@top_builddir@,$ac_top_builddir,;t t
4704 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4705 s,@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
4715 done
4716 _ACEOF
4717 cat >>$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.
4727 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4728 ac_dB='[ ].*$,\1#\2'
4729 ac_dC=' '
4730 ac_dD=',;t'
4731 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4732 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4733 ac_uB='$,\1#\2define\3'
4734 ac_uC=' '
4735 ac_uD=',;t'
4736
4737 for 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
4750 echo "$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
4761 echo "$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
4775 echo "$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.
4792 rm -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'.
4799 cat >confdef2sed.sed <<\_ACEOF
4800 s/[\\&,]/\\&/g
4801 s,[\\$`],\\&,g
4802 t clear
4803 : clear
4804 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4805 t end
4806 s,^[ ]*#[ ]*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.
4812 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4813 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4814 rm -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.
4819 cat >>conftest.undefs <<\_ACEOF
4820 s,^[ ]*#[ ]*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).
4825 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4826 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4827 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4828 echo ' :' >>$CONFIG_STATUS
4829 rm -f conftest.tail
4830 while grep . conftest.defines >/dev/null
4831 do
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
4848 done
4849 rm -f conftest.defines
4850 echo ' fi # grep' >>$CONFIG_STATUS
4851 echo >>$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).
4855 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4856 rm -f conftest.tail
4857 while grep . conftest.undefs >/dev/null
4858 do
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
4875 done
4876 rm -f conftest.undefs
4877
4878 cat >>$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
4892 echo "$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 ||
4900 echo 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 ||
4919 echo 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
4928 echo "$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
4940 for _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
4947 done
4948 echo "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 ||
4954 echo 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
4960 done
4961 _ACEOF
4962 cat >>$CONFIG_STATUS <<\_ACEOF
4963
4964 #
4965 # CONFIG_COMMANDS section.
4966 #
4967 for 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 ||
4976 echo 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 ||
4995 echo 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
5004 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5005 { (exit 1); exit 1; }; }; }
5006
5007 ac_builddir=.
5008
5009 if 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'`
5013 else
5014 ac_dir_suffix= ac_top_builddir=
5015 fi
5016
5017 case $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 ;;
5031 esac
5032
5033 # Do not use `cd foo && pwd` to compute absolute paths, because
5034 # the directories may not exist.
5035 case `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;;
5043 esac
5044 case $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;;
5052 esac
5053 case $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;;
5061 esac
5062 case $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;;
5070 esac
5071
5072
5073 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5074 echo "$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 ||
5092 echo 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 ||
5125 echo 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 ||
5144 echo 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
5153 echo "$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
5159 done
5160 ;;
5161 esac
5162 done
5163 _ACEOF
5164
5165 cat >>$CONFIG_STATUS <<\_ACEOF
5166
5167 { (exit 0); exit 0; }
5168 _ACEOF
5169 chmod +x $CONFIG_STATUS
5170 ac_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.
5181 if 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; }
5192 fi
5193