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