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