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