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