Debian Codegraph @

contrib/gcc/sdl-mngplay/autom4te.cache/output.1

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