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-adobe-100dpi 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-adobe-100dpi'
598 PACKAGE_TARNAME='font-adobe-100dpi'
599 PACKAGE_VERSION='1.0.1'
600 PACKAGE_STRING='font-adobe-100dpi 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-adobe-100dpi 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
1415 [DATAROOTDIR/doc/font-adobe-100dpi]
1416 --htmldir=DIR html documentation [DOCDIR]
1417 --dvidir=DIR dvi documentation [DOCDIR]
1418 --pdfdir=DIR pdf documentation [DOCDIR]
1419 --psdir=DIR ps documentation [DOCDIR]
1420 _ACEOF
1421
1422 cat <<\_ACEOF
1423
1424 Program names:
1425 --program-prefix=PREFIX prepend PREFIX to installed program names
1426 --program-suffix=SUFFIX append SUFFIX to installed program names
1427 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1428
1429 System types:
1430 --build=BUILD configure for building on BUILD [guessed]
1431 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1432 _ACEOF
1433 fi
1434
1435 if test -n "$ac_init_help"; then
1436 case $ac_init_help in
1437 short | recursive ) echo "Configuration of font-adobe-100dpi 1.0.1:";;
1438 esac
1439 cat <<\_ACEOF
1440
1441 Optional Features:
1442 --disable-option-checking ignore unrecognized --enable/--with options
1443 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1444 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1445 --enable-maintainer-mode enable make rules and dependencies not useful
1446 (and sometimes confusing) to the casual installer
1447 --disable-dependency-tracking speeds up one-time build
1448 --enable-dependency-tracking do not reject slow dependency extractors
1449 --enable-silent-rules less verbose build output (undo: `make V=1')
1450 --disable-silent-rules verbose build output (undo: `make V=0')
1451 --enable-strict-compilation
1452 Enable all warnings from compiler and make them
1453 errors (default: disabled)
1454 --disable-iso8859-1 Build ISO8859-1 fonts (default: yes)
1455 --disable-iso8859-2 Build ISO8859-2 fonts (default: yes)
1456 --disable-iso8859-3 Build ISO8859-3 fonts (default: yes)
1457 --disable-iso8859-4 Build ISO8859-4 fonts (default: yes)
1458 --disable-iso8859-9 Build ISO8859-9 fonts (default: yes)
1459 --disable-iso8859-10 Build ISO8859-10 fonts (default: yes)
1460 --disable-iso8859-13 Build ISO8859-13 fonts (default: yes)
1461 --disable-iso8859-14 Build ISO8859-14 fonts (default: yes)
1462 --disable-iso8859-15 Build ISO8859-15 fonts (default: yes)
1463
1464 Optional Packages:
1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1467 --with-release-version=STRING
1468 Use release version string in package name
1469 --with-fontrootdir=DIR Path to root directory for font files
1470 --with-fontdir=DIR Path to 100dpi files [FONTROOTDIR/100dpi]
1471 --with-compression=<no|compress|gzip|bzip2>
1472 compression method to use on pcf fonts
1473
1474 Some influential environment variables:
1475 CC C compiler command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 nonstandard directory <lib dir>
1479 LIBS libraries to pass to the linker, e.g. -l<library>
1480 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1481 you have headers in a nonstandard directory <include dir>
1482 CPP C preprocessor
1483 PKG_CONFIG path to pkg-config utility
1484 MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config
1485 MAPS_LIBS linker flags for MAPS, overriding pkg-config
1486
1487 Use these variables to override the choices made by `configure' or to help
1488 it to find libraries and programs with nonstandard names/locations.
1489
1490 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1491 _ACEOF
1492 ac_status=$?
1493 fi
1494
1495 if test "$ac_init_help" = "recursive"; then
1496 # If there are subdirs, report their specific --help.
1497 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498 test -d "$ac_dir" ||
1499 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500 continue
1501 ac_builddir=.
1502
1503 case "$ac_dir" in
1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 *)
1506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1507 # A ".." for each directory in $ac_dir_suffix.
1508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1509 case $ac_top_builddir_sub in
1510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 esac ;;
1513 esac
1514 ac_abs_top_builddir=$ac_pwd
1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1516 # for backward compatibility:
1517 ac_top_builddir=$ac_top_build_prefix
1518
1519 case $srcdir in
1520 .) # We are building in place.
1521 ac_srcdir=.
1522 ac_top_srcdir=$ac_top_builddir_sub
1523 ac_abs_top_srcdir=$ac_pwd ;;
1524 [\\/]* | ?:[\\/]* ) # Absolute name.
1525 ac_srcdir=$srcdir$ac_dir_suffix;
1526 ac_top_srcdir=$srcdir
1527 ac_abs_top_srcdir=$srcdir ;;
1528 *) # Relative name.
1529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530 ac_top_srcdir=$ac_top_build_prefix$srcdir
1531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532 esac
1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534
1535 cd "$ac_dir" || { ac_status=$?; continue; }
1536 # Check for guested configure.
1537 if test -f "$ac_srcdir/configure.gnu"; then
1538 echo &&
1539 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540 elif test -f "$ac_srcdir/configure"; then
1541 echo &&
1542 $SHELL "$ac_srcdir/configure" --help=recursive
1543 else
1544 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 fi || ac_status=$?
1546 cd "$ac_pwd" || { ac_status=$?; break; }
1547 done
1548 fi
1549
1550 test -n "$ac_init_help" && exit $ac_status
1551 if $ac_init_version; then
1552 cat <<\_ACEOF
1553 font-adobe-100dpi configure 1.0.1
1554 generated by GNU Autoconf 2.63
1555
1556 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1557 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1558 This configure script is free software; the Free Software Foundation
1559 gives unlimited permission to copy, distribute and modify it.
1560 _ACEOF
1561 exit
1562 fi
1563 cat >config.log <<_ACEOF
1564 This file contains any messages produced by compilers while
1565 running configure, to aid debugging if configure makes a mistake.
1566
1567 It was created by font-adobe-100dpi $as_me 1.0.1, which was
1568 generated by GNU Autoconf 2.63. Invocation command line was
1569
1570 $ $0 $@
1571
1572 _ACEOF
1573 exec 5>>config.log
1574 {
1575 cat <<_ASUNAME
1576 ## --------- ##
1577 ## Platform. ##
1578 ## --------- ##
1579
1580 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1581 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1582 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1583 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1584 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1585
1586 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1587 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1588
1589 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1590 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1591 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1592 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1593 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1594 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1595 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1596
1597 _ASUNAME
1598
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600 for as_dir in $PATH
1601 do
1602 IFS=$as_save_IFS
1603 test -z "$as_dir" && as_dir=.
1604 $as_echo "PATH: $as_dir"
1605 done
1606 IFS=$as_save_IFS
1607
1608 } >&5
1609
1610 cat >&5 <<_ACEOF
1611
1612
1613 ## ----------- ##
1614 ## Core tests. ##
1615 ## ----------- ##
1616
1617 _ACEOF
1618
1619
1620 # Keep a trace of the command line.
1621 # Strip out --no-create and --no-recursion so they do not pile up.
1622 # Strip out --silent because we don't want to record it for future runs.
1623 # Also quote any args containing shell meta-characters.
1624 # Make two passes to allow for proper duplicate-argument suppression.
1625 ac_configure_args=
1626 ac_configure_args0=
1627 ac_configure_args1=
1628 ac_must_keep_next=false
1629 for ac_pass in 1 2
1630 do
1631 for ac_arg
1632 do
1633 case $ac_arg in
1634 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1636 | -silent | --silent | --silen | --sile | --sil)
1637 continue ;;
1638 *\'*)
1639 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1640 esac
1641 case $ac_pass in
1642 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1643 2)
1644 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1645 if test $ac_must_keep_next = true; then
1646 ac_must_keep_next=false # Got value, back to normal.
1647 else
1648 case $ac_arg in
1649 *=* | --config-cache | -C | -disable-* | --disable-* \
1650 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1651 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1652 | -with-* | --with-* | -without-* | --without-* | --x)
1653 case "$ac_configure_args0 " in
1654 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1655 esac
1656 ;;
1657 -* ) ac_must_keep_next=true ;;
1658 esac
1659 fi
1660 ac_configure_args="$ac_configure_args '$ac_arg'"
1661 ;;
1662 esac
1663 done
1664 done
1665 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1666 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1667
1668 # When interrupted or exit'd, cleanup temporary files, and complete
1669 # config.log. We remove comments because anyway the quotes in there
1670 # would cause problems or look ugly.
1671 # WARNING: Use '\'' to represent an apostrophe within the trap.
1672 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1673 trap 'exit_status=$?
1674 # Save into config.log some information that might help in debugging.
1675 {
1676 echo
1677
1678 cat <<\_ASBOX
1679 ## ---------------- ##
1680 ## Cache variables. ##
1681 ## ---------------- ##
1682 _ASBOX
1683 echo
1684 # The following way of writing the cache mishandles newlines in values,
1685 (
1686 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1687 eval ac_val=\$$ac_var
1688 case $ac_val in #(
1689 *${as_nl}*)
1690 case $ac_var in #(
1691 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1692 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1693 esac
1694 case $ac_var in #(
1695 _ | IFS | as_nl) ;; #(
1696 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1697 *) $as_unset $ac_var ;;
1698 esac ;;
1699 esac
1700 done
1701 (set) 2>&1 |
1702 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1703 *${as_nl}ac_space=\ *)
1704 sed -n \
1705 "s/'\''/'\''\\\\'\'''\''/g;
1706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1707 ;; #(
1708 *)
1709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1710 ;;
1711 esac |
1712 sort
1713 )
1714 echo
1715
1716 cat <<\_ASBOX
1717 ## ----------------- ##
1718 ## Output variables. ##
1719 ## ----------------- ##
1720 _ASBOX
1721 echo
1722 for ac_var in $ac_subst_vars
1723 do
1724 eval ac_val=\$$ac_var
1725 case $ac_val in
1726 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727 esac
1728 $as_echo "$ac_var='\''$ac_val'\''"
1729 done | sort
1730 echo
1731
1732 if test -n "$ac_subst_files"; then
1733 cat <<\_ASBOX
1734 ## ------------------- ##
1735 ## File substitutions. ##
1736 ## ------------------- ##
1737 _ASBOX
1738 echo
1739 for ac_var in $ac_subst_files
1740 do
1741 eval ac_val=\$$ac_var
1742 case $ac_val in
1743 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 esac
1745 $as_echo "$ac_var='\''$ac_val'\''"
1746 done | sort
1747 echo
1748 fi
1749
1750 if test -s confdefs.h; then
1751 cat <<\_ASBOX
1752 ## ----------- ##
1753 ## confdefs.h. ##
1754 ## ----------- ##
1755 _ASBOX
1756 echo
1757 cat confdefs.h
1758 echo
1759 fi
1760 test "$ac_signal" != 0 &&
1761 $as_echo "$as_me: caught signal $ac_signal"
1762 $as_echo "$as_me: exit $exit_status"
1763 } >&5
1764 rm -f core *.core core.conftest.* &&
1765 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1766 exit $exit_status
1767 ' 0
1768 for ac_signal in 1 2 13 15; do
1769 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1770 done
1771 ac_signal=0
1772
1773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1774 rm -f -r conftest* confdefs.h
1775
1776 # Predefined preprocessor variables.
1777
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_NAME "$PACKAGE_NAME"
1780 _ACEOF
1781
1782
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1785 _ACEOF
1786
1787
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1790 _ACEOF
1791
1792
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_STRING "$PACKAGE_STRING"
1795 _ACEOF
1796
1797
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1800 _ACEOF
1801
1802
1803 # Let the site file select an alternate cache file if it wants to.
1804 # Prefer an explicitly selected file to automatically selected ones.
1805 ac_site_file1=NONE
1806 ac_site_file2=NONE
1807 if test -n "$CONFIG_SITE"; then
1808 ac_site_file1=$CONFIG_SITE
1809 elif test "x$prefix" != xNONE; then
1810 ac_site_file1=$prefix/share/config.site
1811 ac_site_file2=$prefix/etc/config.site
1812 else
1813 ac_site_file1=$ac_default_prefix/share/config.site
1814 ac_site_file2=$ac_default_prefix/etc/config.site
1815 fi
1816 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1817 do
1818 test "x$ac_site_file" = xNONE && continue
1819 if test -r "$ac_site_file"; then
1820 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1821 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1822 sed 's/^/| /' "$ac_site_file" >&5
1823 . "$ac_site_file"
1824 fi
1825 done
1826
1827 if test -r "$cache_file"; then
1828 # Some versions of bash will fail to source /dev/null (special
1829 # files actually), so we avoid doing that.
1830 if test -f "$cache_file"; then
1831 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1832 $as_echo "$as_me: loading cache $cache_file" >&6;}
1833 case $cache_file in
1834 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1835 *) . "./$cache_file";;
1836 esac
1837 fi
1838 else
1839 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1840 $as_echo "$as_me: creating cache $cache_file" >&6;}
1841 >$cache_file
1842 fi
1843
1844 # Check that the precious variables saved in the cache have kept the same
1845 # value.
1846 ac_cache_corrupted=false
1847 for ac_var in $ac_precious_vars; do
1848 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1849 eval ac_new_set=\$ac_env_${ac_var}_set
1850 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1851 eval ac_new_val=\$ac_env_${ac_var}_value
1852 case $ac_old_set,$ac_new_set in
1853 set,)
1854 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1855 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1856 ac_cache_corrupted=: ;;
1857 ,set)
1858 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1859 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1860 ac_cache_corrupted=: ;;
1861 ,);;
1862 *)
1863 if test "x$ac_old_val" != "x$ac_new_val"; then
1864 # differences in whitespace do not lead to failure.
1865 ac_old_val_w=`echo x $ac_old_val`
1866 ac_new_val_w=`echo x $ac_new_val`
1867 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1868 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1869 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1870 ac_cache_corrupted=:
1871 else
1872 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1873 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1874 eval $ac_var=\$ac_old_val
1875 fi
1876 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1877 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1878 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1879 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1880 fi;;
1881 esac
1882 # Pass precious variables to config.status.
1883 if test "$ac_new_set" = set; then
1884 case $ac_new_val in
1885 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1886 *) ac_arg=$ac_var=$ac_new_val ;;
1887 esac
1888 case " $ac_configure_args " in
1889 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1890 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1891 esac
1892 fi
1893 done
1894 if $ac_cache_corrupted; then
1895 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1897 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1898 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1899 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1900 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1901 { (exit 1); exit 1; }; }
1902 fi
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
1928 ac_ext=c
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1933
1934
1935 am__api_version='1.11'
1936
1937 ac_aux_dir=
1938 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1939 if test -f "$ac_dir/install-sh"; then
1940 ac_aux_dir=$ac_dir
1941 ac_install_sh="$ac_aux_dir/install-sh -c"
1942 break
1943 elif test -f "$ac_dir/install.sh"; then
1944 ac_aux_dir=$ac_dir
1945 ac_install_sh="$ac_aux_dir/install.sh -c"
1946 break
1947 elif test -f "$ac_dir/shtool"; then
1948 ac_aux_dir=$ac_dir
1949 ac_install_sh="$ac_aux_dir/shtool install -c"
1950 break
1951 fi
1952 done
1953 if test -z "$ac_aux_dir"; then
1954 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1955 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1956 { (exit 1); exit 1; }; }
1957 fi
1958
1959 # These three variables are undocumented and unsupported,
1960 # and are intended to be withdrawn in a future Autoconf release.
1961 # They can cause serious problems if a builder's source tree is in a directory
1962 # whose full name contains unusual characters.
1963 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1964 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1965 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1966
1967
1968 # Find a good install program. We prefer a C program (faster),
1969 # so one script is as good as another. But avoid the broken or
1970 # incompatible versions:
1971 # SysV /etc/install, /usr/sbin/install
1972 # SunOS /usr/etc/install
1973 # IRIX /sbin/install
1974 # AIX /bin/install
1975 # AmigaOS /C/install, which installs bootblocks on floppy discs
1976 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1977 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1978 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1979 # OS/2's system install, which has a completely different semantic
1980 # ./install, which can be erroneously created by make from ./install.sh.
1981 # Reject install programs that cannot install multiple files.
1982 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1983 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1984 if test -z "$INSTALL"; then
1985 if test "${ac_cv_path_install+set}" = set; then
1986 $as_echo_n "(cached) " >&6
1987 else
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 for as_dir in $PATH
1990 do
1991 IFS=$as_save_IFS
1992 test -z "$as_dir" && as_dir=.
1993 # Account for people who put trailing slashes in PATH elements.
1994 case $as_dir/ in
1995 ./ | .// | /cC/* | \
1996 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1997 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1998 /usr/ucb/* ) ;;
1999 *)
2000 # OSF1 and SCO ODT 3.0 have their own names for install.
2001 # Don't use installbsd from OSF since it installs stuff as root
2002 # by default.
2003 for ac_prog in ginstall scoinst install; do
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2006 if test $ac_prog = install &&
2007 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2008 # AIX install. It has an incompatible calling convention.
2009 :
2010 elif test $ac_prog = install &&
2011 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # program-specific install script used by HP pwplus--don't use.
2013 :
2014 else
2015 rm -rf conftest.one conftest.two conftest.dir
2016 echo one > conftest.one
2017 echo two > conftest.two
2018 mkdir conftest.dir
2019 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2020 test -s conftest.one && test -s conftest.two &&
2021 test -s conftest.dir/conftest.one &&
2022 test -s conftest.dir/conftest.two
2023 then
2024 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2025 break 3
2026 fi
2027 fi
2028 fi
2029 done
2030 done
2031 ;;
2032 esac
2033
2034 done
2035 IFS=$as_save_IFS
2036
2037 rm -rf conftest.one conftest.two conftest.dir
2038
2039 fi
2040 if test "${ac_cv_path_install+set}" = set; then
2041 INSTALL=$ac_cv_path_install
2042 else
2043 # As a last resort, use the slow shell script. Don't cache a
2044 # value for INSTALL within a source directory, because that will
2045 # break other packages using the cache if that directory is
2046 # removed, or if the value is a relative name.
2047 INSTALL=$ac_install_sh
2048 fi
2049 fi
2050 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2051 $as_echo "$INSTALL" >&6; }
2052
2053 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2054 # It thinks the first close brace ends the variable substitution.
2055 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2056
2057 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2058
2059 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060
2061 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2062 $as_echo_n "checking whether build environment is sane... " >&6; }
2063 # Just in case
2064 sleep 1
2065 echo timestamp > conftest.file
2066 # Reject unsafe characters in $srcdir or the absolute working directory
2067 # name. Accept space and tab only in the latter.
2068 am_lf='
2069 '
2070 case `pwd` in
2071 *[\\\"\#\$\&\'\`$am_lf]*)
2072 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2073 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2074 { (exit 1); exit 1; }; };;
2075 esac
2076 case $srcdir in
2077 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2078 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2079 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2080 { (exit 1); exit 1; }; };;
2081 esac
2082
2083 # Do `set' in a subshell so we don't clobber the current shell's
2084 # arguments. Must try -L first in case configure is actually a
2085 # symlink; some systems play weird games with the mod time of symlinks
2086 # (eg FreeBSD returns the mod time of the symlink's containing
2087 # directory).
2088 if (
2089 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2090 if test "$*" = "X"; then
2091 # -L didn't work.
2092 set X `ls -t "$srcdir/configure" conftest.file`
2093 fi
2094 rm -f conftest.file
2095 if test "$*" != "X $srcdir/configure conftest.file" \
2096 && test "$*" != "X conftest.file $srcdir/configure"; then
2097
2098 # If neither matched, then we have a broken ls. This can happen
2099 # if, for instance, CONFIG_SHELL is bash and it inherits a
2100 # broken ls alias from the environment. This has actually
2101 # happened. Such a system could not be considered "sane".
2102 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2103 alias in your environment" >&5
2104 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2105 alias in your environment" >&2;}
2106 { (exit 1); exit 1; }; }
2107 fi
2108
2109 test "$2" = conftest.file
2110 )
2111 then
2112 # Ok.
2113 :
2114 else
2115 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116 Check your system clock" >&5
2117 $as_echo "$as_me: error: newly created file is older than distributed files!
2118 Check your system clock" >&2;}
2119 { (exit 1); exit 1; }; }
2120 fi
2121 { $as_echo "$as_me:$LINENO: result: yes" >&5
2122 $as_echo "yes" >&6; }
2123 test "$program_prefix" != NONE &&
2124 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2125 # Use a double $ so make ignores it.
2126 test "$program_suffix" != NONE &&
2127 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2128 # Double any \ or $.
2129 # By default was `s,x,x', remove it if useless.
2130 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2131 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2132
2133 # expand $ac_aux_dir to an absolute path
2134 am_aux_dir=`cd $ac_aux_dir && pwd`
2135
2136 if test x"${MISSING+set}" != xset; then
2137 case $am_aux_dir in
2138 *\ * | *\ *)
2139 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2140 *)
2141 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2142 esac
2143 fi
2144 # Use eval to expand $SHELL
2145 if eval "$MISSING --run true"; then
2146 am_missing_run="$MISSING --run "
2147 else
2148 am_missing_run=
2149 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2150 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2151 fi
2152
2153 if test x"${install_sh}" != xset; then
2154 case $am_aux_dir in
2155 *\ * | *\ *)
2156 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2157 *)
2158 install_sh="\${SHELL} $am_aux_dir/install-sh"
2159 esac
2160 fi
2161
2162 # Installed binaries are usually stripped using `strip' when the user
2163 # run `make install-strip'. However `strip' might not be the right
2164 # tool to use in cross-compilation environments, therefore Automake
2165 # will honor the `STRIP' environment variable to overrule this program.
2166 if test "$cross_compiling" != no; then
2167 if test -n "$ac_tool_prefix"; then
2168 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2169 set dummy ${ac_tool_prefix}strip; ac_word=$2
2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if test "${ac_cv_prog_STRIP+set}" = set; then
2173 $as_echo_n "(cached) " >&6
2174 else
2175 if test -n "$STRIP"; then
2176 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2177 else
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2180 do
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 break 2
2188 fi
2189 done
2190 done
2191 IFS=$as_save_IFS
2192
2193 fi
2194 fi
2195 STRIP=$ac_cv_prog_STRIP
2196 if test -n "$STRIP"; then
2197 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2198 $as_echo "$STRIP" >&6; }
2199 else
2200 { $as_echo "$as_me:$LINENO: result: no" >&5
2201 $as_echo "no" >&6; }
2202 fi
2203
2204
2205 fi
2206 if test -z "$ac_cv_prog_STRIP"; then
2207 ac_ct_STRIP=$STRIP
2208 # Extract the first word of "strip", so it can be a program name with args.
2209 set dummy strip; ac_word=$2
2210 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2213 $as_echo_n "(cached) " >&6
2214 else
2215 if test -n "$ac_ct_STRIP"; then
2216 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2217 else
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH
2220 do
2221 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_ac_ct_STRIP="strip"
2226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2228 fi
2229 done
2230 done
2231 IFS=$as_save_IFS
2232
2233 fi
2234 fi
2235 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2236 if test -n "$ac_ct_STRIP"; then
2237 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2238 $as_echo "$ac_ct_STRIP" >&6; }
2239 else
2240 { $as_echo "$as_me:$LINENO: result: no" >&5
2241 $as_echo "no" >&6; }
2242 fi
2243
2244 if test "x$ac_ct_STRIP" = x; then
2245 STRIP=":"
2246 else
2247 case $cross_compiling:$ac_tool_warned in
2248 yes:)
2249 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2251 ac_tool_warned=yes ;;
2252 esac
2253 STRIP=$ac_ct_STRIP
2254 fi
2255 else
2256 STRIP="$ac_cv_prog_STRIP"
2257 fi
2258
2259 fi
2260 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2261
2262 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2263 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2264 if test -z "$MKDIR_P"; then
2265 if test "${ac_cv_path_mkdir+set}" = set; then
2266 $as_echo_n "(cached) " >&6
2267 else
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2270 do
2271 IFS=$as_save_IFS
2272 test -z "$as_dir" && as_dir=.
2273 for ac_prog in mkdir gmkdir; do
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2276 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2277 'mkdir (GNU coreutils) '* | \
2278 'mkdir (coreutils) '* | \
2279 'mkdir (fileutils) '4.1*)
2280 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2281 break 3;;
2282 esac
2283 done
2284 done
2285 done
2286 IFS=$as_save_IFS
2287
2288 fi
2289
2290 if test "${ac_cv_path_mkdir+set}" = set; then
2291 MKDIR_P="$ac_cv_path_mkdir -p"
2292 else
2293 # As a last resort, use the slow shell script. Don't cache a
2294 # value for MKDIR_P within a source directory, because that will
2295 # break other packages using the cache if that directory is
2296 # removed, or if the value is a relative name.
2297 test -d ./--version && rmdir ./--version
2298 MKDIR_P="$ac_install_sh -d"
2299 fi
2300 fi
2301 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2302 $as_echo "$MKDIR_P" >&6; }
2303
2304 mkdir_p="$MKDIR_P"
2305 case $mkdir_p in
2306 [\\/$]* | ?:[\\/]*) ;;
2307 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2308 esac
2309
2310 for ac_prog in gawk mawk nawk awk
2311 do
2312 # Extract the first word of "$ac_prog", so it can be a program name with args.
2313 set dummy $ac_prog; ac_word=$2
2314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 $as_echo_n "checking for $ac_word... " >&6; }
2316 if test "${ac_cv_prog_AWK+set}" = set; then
2317 $as_echo_n "(cached) " >&6
2318 else
2319 if test -n "$AWK"; then
2320 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2321 else
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2324 do
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_prog_AWK="$ac_prog"
2330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 break 2
2332 fi
2333 done
2334 done
2335 IFS=$as_save_IFS
2336
2337 fi
2338 fi
2339 AWK=$ac_cv_prog_AWK
2340 if test -n "$AWK"; then
2341 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2342 $as_echo "$AWK" >&6; }
2343 else
2344 { $as_echo "$as_me:$LINENO: result: no" >&5
2345 $as_echo "no" >&6; }
2346 fi
2347
2348
2349 test -n "$AWK" && break
2350 done
2351
2352 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2353 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2354 set x ${MAKE-make}
2355 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2356 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2357 $as_echo_n "(cached) " >&6
2358 else
2359 cat >conftest.make <<\_ACEOF
2360 SHELL = /bin/sh
2361 all:
2362 @echo '@@@%%%=$(MAKE)=@@@%%%'
2363 _ACEOF
2364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2365 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2366 *@@@%%%=?*=@@@%%%*)
2367 eval ac_cv_prog_make_${ac_make}_set=yes;;
2368 *)
2369 eval ac_cv_prog_make_${ac_make}_set=no;;
2370 esac
2371 rm -f conftest.make
2372 fi
2373 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2374 { $as_echo "$as_me:$LINENO: result: yes" >&5
2375 $as_echo "yes" >&6; }
2376 SET_MAKE=
2377 else
2378 { $as_echo "$as_me:$LINENO: result: no" >&5
2379 $as_echo "no" >&6; }
2380 SET_MAKE="MAKE=${MAKE-make}"
2381 fi
2382
2383 rm -rf .tst 2>/dev/null
2384 mkdir .tst 2>/dev/null
2385 if test -d .tst; then
2386 am__leading_dot=.
2387 else
2388 am__leading_dot=_
2389 fi
2390 rmdir .tst 2>/dev/null
2391
2392 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2393 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2394 # is not polluted with repeated "-I."
2395 am__isrc=' -I$(srcdir)'
2396 # test to see if srcdir already configured
2397 if test -f $srcdir/config.status; then
2398 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2399 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2400 { (exit 1); exit 1; }; }
2401 fi
2402 fi
2403
2404 # test whether we have cygpath
2405 if test -z "$CYGPATH_W"; then
2406 if (cygpath --version) >/dev/null 2>/dev/null; then
2407 CYGPATH_W='cygpath -w'
2408 else
2409 CYGPATH_W=echo
2410 fi
2411 fi
2412
2413
2414 # Define the identity of the package.
2415 PACKAGE='font-adobe-100dpi'
2416 VERSION='1.0.1'
2417
2418
2419 cat >>confdefs.h <<_ACEOF
2420 #define PACKAGE "$PACKAGE"
2421 _ACEOF
2422
2423
2424 cat >>confdefs.h <<_ACEOF
2425 #define VERSION "$VERSION"
2426 _ACEOF
2427
2428 # Some tools Automake needs.
2429
2430 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2431
2432
2433 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2434
2435
2436 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2437
2438
2439 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2440
2441
2442 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2443
2444 # We need awk for the "check" target. The system "awk" is bad on
2445 # some platforms.
2446 # Always define AMTAR for backward compatibility.
2447
2448 AMTAR=${AMTAR-"${am_missing_run}tar"}
2449
2450 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2451
2452
2453
2454
2455
2456
2457 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2458 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2459 # Check whether --enable-maintainer-mode was given.
2460 if test "${enable_maintainer_mode+set}" = set; then
2461 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2462 else
2463 USE_MAINTAINER_MODE=no
2464 fi
2465
2466 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2467 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2468 if test $USE_MAINTAINER_MODE = yes; then
2469 MAINTAINER_MODE_TRUE=
2470 MAINTAINER_MODE_FALSE='#'
2471 else
2472 MAINTAINER_MODE_TRUE='#'
2473 MAINTAINER_MODE_FALSE=
2474 fi
2475
2476 MAINT=$MAINTAINER_MODE_TRUE
2477
2478
2479
2480 # Require xorg-macros: XORG_DEFAULT_OPTIONS
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492 DEPDIR="${am__leading_dot}deps"
2493
2494 ac_config_commands="$ac_config_commands depfiles"
2495
2496
2497 am_make=${MAKE-make}
2498 cat > confinc << 'END'
2499 am__doit:
2500 @echo this is the am__doit target
2501 .PHONY: am__doit
2502 END
2503 # If we don't find an include directive, just comment out the code.
2504 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2505 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2506 am__include="#"
2507 am__quote=
2508 _am_result=none
2509 # First try GNU make style include.
2510 echo "include confinc" > confmf
2511 # Ignore all kinds of additional output from `make'.
2512 case `$am_make -s -f confmf 2> /dev/null` in #(
2513 *the\ am__doit\ target*)
2514 am__include=include
2515 am__quote=
2516 _am_result=GNU
2517 ;;
2518 esac
2519 # Now try BSD make style include.
2520 if test "$am__include" = "#"; then
2521 echo '.include "confinc"' > confmf
2522 case `$am_make -s -f confmf 2> /dev/null` in #(
2523 *the\ am__doit\ target*)
2524 am__include=.include
2525 am__quote="\""
2526 _am_result=BSD
2527 ;;
2528 esac
2529 fi
2530
2531
2532 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2533 $as_echo "$_am_result" >&6; }
2534 rm -f confinc confmf
2535
2536 # Check whether --enable-dependency-tracking was given.
2537 if test "${enable_dependency_tracking+set}" = set; then
2538 enableval=$enable_dependency_tracking;
2539 fi
2540
2541 if test "x$enable_dependency_tracking" != xno; then
2542 am_depcomp="$ac_aux_dir/depcomp"
2543 AMDEPBACKSLASH='\'
2544 fi
2545 if test "x$enable_dependency_tracking" != xno; then
2546 AMDEP_TRUE=
2547 AMDEP_FALSE='#'
2548 else
2549 AMDEP_TRUE='#'
2550 AMDEP_FALSE=
2551 fi
2552
2553
2554 ac_ext=c
2555 ac_cpp='$CPP $CPPFLAGS'
2556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2559 if test -n "$ac_tool_prefix"; then
2560 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2561 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2562 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 $as_echo_n "(cached) " >&6
2566 else
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC="$CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2572 do
2573 IFS=$as_save_IFS
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2578 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 break 2
2580 fi
2581 done
2582 done
2583 IFS=$as_save_IFS
2584
2585 fi
2586 fi
2587 CC=$ac_cv_prog_CC
2588 if test -n "$CC"; then
2589 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2590 $as_echo "$CC" >&6; }
2591 else
2592 { $as_echo "$as_me:$LINENO: result: no" >&5
2593 $as_echo "no" >&6; }
2594 fi
2595
2596
2597 fi
2598 if test -z "$ac_cv_prog_CC"; then
2599 ac_ct_CC=$CC
2600 # Extract the first word of "gcc", so it can be a program name with args.
2601 set dummy gcc; ac_word=$2
2602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2605 $as_echo_n "(cached) " >&6
2606 else
2607 if test -n "$ac_ct_CC"; then
2608 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2609 else
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH
2612 do
2613 IFS=$as_save_IFS
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_ac_ct_CC="gcc"
2618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 break 2
2620 fi
2621 done
2622 done
2623 IFS=$as_save_IFS
2624
2625 fi
2626 fi
2627 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2628 if test -n "$ac_ct_CC"; then
2629 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2630 $as_echo "$ac_ct_CC" >&6; }
2631 else
2632 { $as_echo "$as_me:$LINENO: result: no" >&5
2633 $as_echo "no" >&6; }
2634 fi
2635
2636 if test "x$ac_ct_CC" = x; then
2637 CC=""
2638 else
2639 case $cross_compiling:$ac_tool_warned in
2640 yes:)
2641 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned=yes ;;
2644 esac
2645 CC=$ac_ct_CC
2646 fi
2647 else
2648 CC="$ac_cv_prog_CC"
2649 fi
2650
2651 if test -z "$CC"; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}cc; ac_word=$2
2655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then
2658 $as_echo_n "(cached) " >&6
2659 else
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC="$CC" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666 IFS=$as_save_IFS
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_CC="${ac_tool_prefix}cc"
2671 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2673 fi
2674 done
2675 done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 CC=$ac_cv_prog_CC
2681 if test -n "$CC"; then
2682 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2683 $as_echo "$CC" >&6; }
2684 else
2685 { $as_echo "$as_me:$LINENO: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689
2690 fi
2691 fi
2692 if test -z "$CC"; then
2693 # Extract the first word of "cc", so it can be a program name with args.
2694 set dummy cc; ac_word=$2
2695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if test "${ac_cv_prog_CC+set}" = set; then
2698 $as_echo_n "(cached) " >&6
2699 else
2700 if test -n "$CC"; then
2701 ac_cv_prog_CC="$CC" # Let the user override the test.
2702 else
2703 ac_prog_rejected=no
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2712 ac_prog_rejected=yes
2713 continue
2714 fi
2715 ac_cv_prog_CC="cc"
2716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 break 2
2718 fi
2719 done
2720 done
2721 IFS=$as_save_IFS
2722
2723 if test $ac_prog_rejected = yes; then
2724 # We found a bogon in the path, so make sure we never use it.
2725 set dummy $ac_cv_prog_CC
2726 shift
2727 if test $# != 0; then
2728 # We chose a different compiler from the bogus one.
2729 # However, it has the same basename, so the bogon will be chosen
2730 # first if we set CC to just the basename; use the full file name.
2731 shift
2732 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2733 fi
2734 fi
2735 fi
2736 fi
2737 CC=$ac_cv_prog_CC
2738 if test -n "$CC"; then
2739 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2740 $as_echo "$CC" >&6; }
2741 else
2742 { $as_echo "$as_me:$LINENO: result: no" >&5
2743 $as_echo "no" >&6; }
2744 fi
2745
2746
2747 fi
2748 if test -z "$CC"; then
2749 if test -n "$ac_tool_prefix"; then
2750 for ac_prog in cl.exe
2751 do
2752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2755 $as_echo_n "checking for $ac_word... " >&6; }
2756 if test "${ac_cv_prog_CC+set}" = set; then
2757 $as_echo_n "(cached) " >&6
2758 else
2759 if test -n "$CC"; then
2760 ac_cv_prog_CC="$CC" # Let the user override the test.
2761 else
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2764 do
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 for ac_exec_ext in '' $ac_executable_extensions; do
2768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2769 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2770 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 break 2
2772 fi
2773 done
2774 done
2775 IFS=$as_save_IFS
2776
2777 fi
2778 fi
2779 CC=$ac_cv_prog_CC
2780 if test -n "$CC"; then
2781 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2782 $as_echo "$CC" >&6; }
2783 else
2784 { $as_echo "$as_me:$LINENO: result: no" >&5
2785 $as_echo "no" >&6; }
2786 fi
2787
2788
2789 test -n "$CC" && break
2790 done
2791 fi
2792 if test -z "$CC"; then
2793 ac_ct_CC=$CC
2794 for ac_prog in cl.exe
2795 do
2796 # Extract the first word of "$ac_prog", so it can be a program name with args.
2797 set dummy $ac_prog; ac_word=$2
2798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2799 $as_echo_n "checking for $ac_word... " >&6; }
2800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2802 else
2803 if test -n "$ac_ct_CC"; then
2804 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2805 else
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 for as_dir in $PATH
2808 do
2809 IFS=$as_save_IFS
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2813 ac_cv_prog_ac_ct_CC="$ac_prog"
2814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 break 2
2816 fi
2817 done
2818 done
2819 IFS=$as_save_IFS
2820
2821 fi
2822 fi
2823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2824 if test -n "$ac_ct_CC"; then
2825 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2826 $as_echo "$ac_ct_CC" >&6; }
2827 else
2828 { $as_echo "$as_me:$LINENO: result: no" >&5
2829 $as_echo "no" >&6; }
2830 fi
2831
2832
2833 test -n "$ac_ct_CC" && break
2834 done
2835
2836 if test "x$ac_ct_CC" = x; then
2837 CC=""
2838 else
2839 case $cross_compiling:$ac_tool_warned in
2840 yes:)
2841 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2843 ac_tool_warned=yes ;;
2844 esac
2845 CC=$ac_ct_CC
2846 fi
2847 fi
2848
2849 fi
2850
2851
2852 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2854 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2855 See \`config.log' for more details." >&5
2856 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2857 See \`config.log' for more details." >&2;}
2858 { (exit 1); exit 1; }; }; }
2859
2860 # Provide some information about the compiler.
2861 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2862 set X $ac_compile
2863 ac_compiler=$2
2864 { (ac_try="$ac_compiler --version >&5"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2870 $as_echo "$ac_try_echo") >&5
2871 (eval "$ac_compiler --version >&5") 2>&5
2872 ac_status=$?
2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2875 { (ac_try="$ac_compiler -v >&5"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_compiler -v >&5") 2>&5
2883 ac_status=$?
2884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2886 { (ac_try="$ac_compiler -V >&5"
2887 case "(($ac_try" in
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2890 esac
2891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2892 $as_echo "$ac_try_echo") >&5
2893 (eval "$ac_compiler -V >&5") 2>&5
2894 ac_status=$?
2895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2897
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2904
2905 int
2906 main ()
2907 {
2908
2909 ;
2910 return 0;
2911 }
2912 _ACEOF
2913 ac_clean_files_save=$ac_clean_files
2914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2915 # Try to create an executable without -o first, disregard a.out.
2916 # It will help us diagnose broken compilers, and finding out an intuition
2917 # of exeext.
2918 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2919 $as_echo_n "checking for C compiler default output file name... " >&6; }
2920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2921
2922 # The possible output files:
2923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2924
2925 ac_rmfiles=
2926 for ac_file in $ac_files
2927 do
2928 case $ac_file in
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2931 esac
2932 done
2933 rm -f $ac_rmfiles
2934
2935 if { (ac_try="$ac_link_default"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2941 $as_echo "$ac_try_echo") >&5
2942 (eval "$ac_link_default") 2>&5
2943 ac_status=$?
2944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; then
2946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2949 # so that the user can short-circuit this test for compilers unknown to
2950 # Autoconf.
2951 for ac_file in $ac_files ''
2952 do
2953 test -f "$ac_file" || continue
2954 case $ac_file in
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2956 ;;
2957 [ab].out )
2958 # We found the default executable, but exeext='' is most
2959 # certainly right.
2960 break;;
2961 *.* )
2962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2963 then :; else
2964 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2965 fi
2966 # We set ac_cv_exeext here because the later test for it is not
2967 # safe: cross compilers may not add the suffix if given an `-o'
2968 # argument, so we may need to know it at that point already.
2969 # Even if this section looks crufty: it has the advantage of
2970 # actually working.
2971 break;;
2972 * )
2973 break;;
2974 esac
2975 done
2976 test "$ac_cv_exeext" = no && ac_cv_exeext=
2977
2978 else
2979 ac_file=''
2980 fi
2981
2982 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2983 $as_echo "$ac_file" >&6; }
2984 if test -z "$ac_file"; then
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2987
2988 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2991 See \`config.log' for more details." >&5
2992 $as_echo "$as_me: error: C compiler cannot create executables
2993 See \`config.log' for more details." >&2;}
2994 { (exit 77); exit 77; }; }; }
2995 fi
2996
2997 ac_exeext=$ac_cv_exeext
2998
2999 # Check that the compiler produces executables we can run. If not, either
3000 # the compiler is broken, or we cross compile.
3001 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3002 $as_echo_n "checking whether the C compiler works... " >&6; }
3003 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3004 # If not cross compiling, check that we can run a simple program.
3005 if test "$cross_compiling" != yes; then
3006 if { ac_try='./$ac_file'
3007 { (case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3010 esac
3011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012 $as_echo "$ac_try_echo") >&5
3013 (eval "$ac_try") 2>&5
3014 ac_status=$?
3015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 cross_compiling=no
3018 else
3019 if test "$cross_compiling" = maybe; then
3020 cross_compiling=yes
3021 else
3022 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3025 If you meant to cross compile, use \`--host'.
3026 See \`config.log' for more details." >&5
3027 $as_echo "$as_me: error: cannot run C compiled programs.
3028 If you meant to cross compile, use \`--host'.
3029 See \`config.log' for more details." >&2;}
3030 { (exit 1); exit 1; }; }; }
3031 fi
3032 fi
3033 fi
3034 { $as_echo "$as_me:$LINENO: result: yes" >&5
3035 $as_echo "yes" >&6; }
3036
3037 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3038 ac_clean_files=$ac_clean_files_save
3039 # Check that the compiler produces executables we can run. If not, either
3040 # the compiler is broken, or we cross compile.
3041 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3042 $as_echo_n "checking whether we are cross compiling... " >&6; }
3043 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3044 $as_echo "$cross_compiling" >&6; }
3045
3046 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3047 $as_echo_n "checking for suffix of executables... " >&6; }
3048 if { (ac_try="$ac_link"
3049 case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052 esac
3053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054 $as_echo "$ac_try_echo") >&5
3055 (eval "$ac_link") 2>&5
3056 ac_status=$?
3057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; then
3059 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3060 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3061 # work properly (i.e., refer to `conftest.exe'), while it won't with
3062 # `rm'.
3063 for ac_file in conftest.exe conftest conftest.*; do
3064 test -f "$ac_file" || continue
3065 case $ac_file in
3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3067 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068 break;;
3069 * ) break;;
3070 esac
3071 done
3072 else
3073 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3076 See \`config.log' for more details." >&5
3077 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3078 See \`config.log' for more details." >&2;}
3079 { (exit 1); exit 1; }; }; }
3080 fi
3081
3082 rm -f conftest$ac_cv_exeext
3083 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3084 $as_echo "$ac_cv_exeext" >&6; }
3085
3086 rm -f conftest.$ac_ext
3087 EXEEXT=$ac_cv_exeext
3088 ac_exeext=$EXEEXT
3089 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3090 $as_echo_n "checking for suffix of object files... " >&6; }
3091 if test "${ac_cv_objext+set}" = set; then
3092 $as_echo_n "(cached) " >&6
3093 else
3094 cat >conftest.$ac_ext <<_ACEOF
3095 /* confdefs.h. */
3096 _ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3100
3101 int
3102 main ()
3103 {
3104
3105 ;
3106 return 0;
3107 }
3108 _ACEOF
3109 rm -f conftest.o conftest.obj
3110 if { (ac_try="$ac_compile"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3116 $as_echo "$ac_try_echo") >&5
3117 (eval "$ac_compile") 2>&5
3118 ac_status=$?
3119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; then
3121 for ac_file in conftest.o conftest.obj conftest.*; do
3122 test -f "$ac_file" || continue;
3123 case $ac_file in
3124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3125 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3126 break;;
3127 esac
3128 done
3129 else
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3132
3133 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3136 See \`config.log' for more details." >&5
3137 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3138 See \`config.log' for more details." >&2;}
3139 { (exit 1); exit 1; }; }; }
3140 fi
3141
3142 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3143 fi
3144 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3145 $as_echo "$ac_cv_objext" >&6; }
3146 OBJEXT=$ac_cv_objext
3147 ac_objext=$OBJEXT
3148 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3149 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3150 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3151 $as_echo_n "(cached) " >&6
3152 else
3153 cat >conftest.$ac_ext <<_ACEOF
3154 /* confdefs.h. */
3155 _ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3159
3160 int
3161 main ()
3162 {
3163 #ifndef __GNUC__
3164 choke me
3165 #endif
3166
3167 ;
3168 return 0;
3169 }
3170 _ACEOF
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3178 $as_echo "$ac_try_echo") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3180 ac_status=$?
3181 grep -v '^ *+' conftest.er1 >conftest.err
3182 rm -f conftest.er1
3183 cat conftest.err >&5
3184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.$ac_objext; then
3189 ac_compiler_gnu=yes
3190 else
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3193
3194 ac_compiler_gnu=no
3195 fi
3196
3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3199
3200 fi
3201 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3202 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3203 if test $ac_compiler_gnu = yes; then
3204 GCC=yes
3205 else
3206 GCC=
3207 fi
3208 ac_test_CFLAGS=${CFLAGS+set}
3209 ac_save_CFLAGS=$CFLAGS
3210 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3211 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3212 if test "${ac_cv_prog_cc_g+set}" = set; then
3213 $as_echo_n "(cached) " >&6
3214 else
3215 ac_save_c_werror_flag=$ac_c_werror_flag
3216 ac_c_werror_flag=yes
3217 ac_cv_prog_cc_g=no
3218 CFLAGS="-g"
3219 cat >conftest.$ac_ext <<_ACEOF
3220 /* confdefs.h. */
3221 _ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3225
3226 int
3227 main ()
3228 {
3229
3230 ;
3231 return 0;
3232 }
3233 _ACEOF
3234 rm -f conftest.$ac_objext
3235 if { (ac_try="$ac_compile"
3236 case "(($ac_try" in
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3239 esac
3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241 $as_echo "$ac_try_echo") >&5
3242 (eval "$ac_compile") 2>conftest.er1
3243 ac_status=$?
3244 grep -v '^ *+' conftest.er1 >conftest.err
3245 rm -f conftest.er1
3246 cat conftest.err >&5
3247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } && {
3249 test -z "$ac_c_werror_flag" ||
3250 test ! -s conftest.err
3251 } && test -s conftest.$ac_objext; then
3252 ac_cv_prog_cc_g=yes
3253 else
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3256
3257 CFLAGS=""
3258 cat >conftest.$ac_ext <<_ACEOF
3259 /* confdefs.h. */
3260 _ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3264
3265 int
3266 main ()
3267 {
3268
3269 ;
3270 return 0;
3271 }
3272 _ACEOF
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3275 case "(($ac_try" in
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3278 esac
3279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3280 $as_echo "$ac_try_echo") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3282 ac_status=$?
3283 grep -v '^ *+' conftest.er1 >conftest.err
3284 rm -f conftest.er1
3285 cat conftest.err >&5
3286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } && {
3288 test -z "$ac_c_werror_flag" ||
3289 test ! -s conftest.err
3290 } && test -s conftest.$ac_objext; then
3291 :
3292 else
3293 $as_echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3295
3296 ac_c_werror_flag=$ac_save_c_werror_flag
3297 CFLAGS="-g"
3298 cat >conftest.$ac_ext <<_ACEOF
3299 /* confdefs.h. */
3300 _ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304
3305 int
3306 main ()
3307 {
3308
3309 ;
3310 return 0;
3311 }
3312 _ACEOF
3313 rm -f conftest.$ac_objext
3314 if { (ac_try="$ac_compile"
3315 case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3320 $as_echo "$ac_try_echo") >&5
3321 (eval "$ac_compile") 2>conftest.er1
3322 ac_status=$?
3323 grep -v '^ *+' conftest.er1 >conftest.err
3324 rm -f conftest.er1
3325 cat conftest.err >&5
3326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } && {
3328 test -z "$ac_c_werror_flag" ||
3329 test ! -s conftest.err
3330 } && test -s conftest.$ac_objext; then
3331 ac_cv_prog_cc_g=yes
3332 else
3333 $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3335
3336
3337 fi
3338
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 fi
3341
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 fi
3344
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 ac_c_werror_flag=$ac_save_c_werror_flag
3347 fi
3348 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3349 $as_echo "$ac_cv_prog_cc_g" >&6; }
3350 if test "$ac_test_CFLAGS" = set; then
3351 CFLAGS=$ac_save_CFLAGS
3352 elif test $ac_cv_prog_cc_g = yes; then
3353 if test "$GCC" = yes; then
3354 CFLAGS="-g -O2"
3355 else
3356 CFLAGS="-g"
3357 fi
3358 else
3359 if test "$GCC" = yes; then
3360 CFLAGS="-O2"
3361 else
3362 CFLAGS=
3363 fi
3364 fi
3365 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3366 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3367 if test "${ac_cv_prog_cc_c89+set}" = set; then
3368 $as_echo_n "(cached) " >&6
3369 else
3370 ac_cv_prog_cc_c89=no
3371 ac_save_CC=$CC
3372 cat >conftest.$ac_ext <<_ACEOF
3373 /* confdefs.h. */
3374 _ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 #include <stdarg.h>
3379 #include <stdio.h>
3380 #include <sys/types.h>
3381 #include <sys/stat.h>
3382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3383 struct buf { int x; };
3384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3385 static char *e (p, i)
3386 char **p;
3387 int i;
3388 {
3389 return p[i];
3390 }
3391 static char *f (char * (*g) (char **, int), char **p, ...)
3392 {
3393 char *s;
3394 va_list v;
3395 va_start (v,p);
3396 s = g (p, va_arg (v,int));
3397 va_end (v);
3398 return s;
3399 }
3400
3401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3402 function prototypes and stuff, but not '\xHH' hex character constants.
3403 These don't provoke an error unfortunately, instead are silently treated
3404 as 'x'. The following induces an error, until -std is added to get
3405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3406 array size at least. It's necessary to write '\x00'==0 to get something
3407 that's true only with -std. */
3408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3409
3410 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411 inside strings and character constants. */
3412 #define FOO(x) 'x'
3413 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3414
3415 int test (int i, double x);
3416 struct s1 {int (*f) (int a);};
3417 struct s2 {int (*f) (double a);};
3418 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419 int argc;
3420 char **argv;
3421 int
3422 main ()
3423 {
3424 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3425 ;
3426 return 0;
3427 }
3428 _ACEOF
3429 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3431 do
3432 CC="$ac_save_CC $ac_arg"
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3435 case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438 esac
3439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3440 $as_echo "$ac_try_echo") >&5
3441 (eval "$ac_compile") 2>conftest.er1
3442 ac_status=$?
3443 grep -v '^ *+' conftest.er1 >conftest.err
3444 rm -f conftest.er1
3445 cat conftest.err >&5
3446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } && {
3448 test -z "$ac_c_werror_flag" ||
3449 test ! -s conftest.err
3450 } && test -s conftest.$ac_objext; then
3451 ac_cv_prog_cc_c89=$ac_arg
3452 else
3453 $as_echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3455
3456
3457 fi
3458
3459 rm -f core conftest.err conftest.$ac_objext
3460 test "x$ac_cv_prog_cc_c89" != "xno" && break
3461 done
3462 rm -f conftest.$ac_ext
3463 CC=$ac_save_CC
3464
3465 fi
3466 # AC_CACHE_VAL
3467 case "x$ac_cv_prog_cc_c89" in
3468 x)
3469 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3470 $as_echo "none needed" >&6; } ;;
3471 xno)
3472 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3473 $as_echo "unsupported" >&6; } ;;
3474 *)
3475 CC="$CC $ac_cv_prog_cc_c89"
3476 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3477 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3478 esac
3479
3480
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486
3487 depcc="$CC" am_compiler_list=
3488
3489 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3490 $as_echo_n "checking dependency style of $depcc... " >&6; }
3491 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3495 # We make a subdir and do the tests there. Otherwise we can end up
3496 # making bogus files that we don't know about and never remove. For
3497 # instance it was reported that on HP-UX the gcc test will end up
3498 # making a dummy file named `D' -- because `-MD' means `put the output
3499 # in D'.
3500 mkdir conftest.dir
3501 # Copy depcomp to subdir because otherwise we won't find it if we're
3502 # using a relative directory.
3503 cp "$am_depcomp" conftest.dir
3504 cd conftest.dir
3505 # We will build objects and dependencies in a subdirectory because
3506 # it helps to detect inapplicable dependency modes. For instance
3507 # both Tru64's cc and ICC support -MD to output dependencies as a
3508 # side effect of compilation, but ICC will put the dependencies in
3509 # the current directory while Tru64 will put them in the object
3510 # directory.
3511 mkdir sub
3512
3513 am_cv_CC_dependencies_compiler_type=none
3514 if test "$am_compiler_list" = ""; then
3515 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3516 fi
3517 am__universal=false
3518 case " $depcc " in #(
3519 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3520 esac
3521
3522 for depmode in $am_compiler_list; do
3523 # Setup a source with many dependencies, because some compilers
3524 # like to wrap large dependency lists on column 80 (with \), and
3525 # we should not choose a depcomp mode which is confused by this.
3526 #
3527 # We need to recreate these files for each test, as the compiler may
3528 # overwrite some of them when testing with obscure command lines.
3529 # This happens at least with the AIX C compiler.
3530 : > sub/conftest.c
3531 for i in 1 2 3 4 5 6; do
3532 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3533 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3534 # Solaris 8's {/usr,}/bin/sh.
3535 touch sub/conftst$i.h
3536 done
3537 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3538
3539 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3540 # mode. It turns out that the SunPro C++ compiler does not properly
3541 # handle `-M -o', and we need to detect this. Also, some Intel
3542 # versions had trouble with output in subdirs
3543 am__obj=sub/conftest.${OBJEXT-o}
3544 am__minus_obj="-o $am__obj"
3545 case $depmode in
3546 gcc)
3547 # This depmode causes a compiler race in universal mode.
3548 test "$am__universal" = false || continue
3549 ;;
3550 nosideeffect)
3551 # after this tag, mechanisms are not by side-effect, so they'll
3552 # only be used when explicitly requested
3553 if test "x$enable_dependency_tracking" = xyes; then
3554 continue
3555 else
3556 break
3557 fi
3558 ;;
3559 msvisualcpp | msvcmsys)
3560 # This compiler won't grok `-c -o', but also, the minuso test has
3561 # not run yet. These depmodes are late enough in the game, and
3562 # so weak that their functioning should not be impacted.
3563 am__obj=conftest.${OBJEXT-o}
3564 am__minus_obj=
3565 ;;
3566 none) break ;;
3567 esac
3568 if depmode=$depmode \
3569 source=sub/conftest.c object=$am__obj \
3570 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3571 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3572 >/dev/null 2>conftest.err &&
3573 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3574 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3575 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3576 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3577 # icc doesn't choke on unknown options, it will just issue warnings
3578 # or remarks (even with -Werror). So we grep stderr for any message
3579 # that says an option was ignored or not supported.
3580 # When given -MP, icc 7.0 and 7.1 complain thusly:
3581 # icc: Command line warning: ignoring option '-M'; no argument required
3582 # The diagnosis changed in icc 8.0:
3583 # icc: Command line remark: option '-MP' not supported
3584 if (grep 'ignoring option' conftest.err ||
3585 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3586 am_cv_CC_dependencies_compiler_type=$depmode
3587 break
3588 fi
3589 fi
3590 done
3591
3592 cd ..
3593 rm -rf conftest.dir
3594 else
3595 am_cv_CC_dependencies_compiler_type=none
3596 fi
3597
3598 fi
3599 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3600 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3601 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3602
3603 if
3604 test "x$enable_dependency_tracking" != xno \
3605 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3606 am__fastdepCC_TRUE=
3607 am__fastdepCC_FALSE='#'
3608 else
3609 am__fastdepCC_TRUE='#'
3610 am__fastdepCC_FALSE=
3611 fi
3612
3613
3614
3615 ac_ext=c
3616 ac_cpp='$CPP $CPPFLAGS'
3617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3620 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3621 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3622 # On Suns, sometimes $CPP names a directory.
3623 if test -n "$CPP" && test -d "$CPP"; then
3624 CPP=
3625 fi
3626 if test -z "$CPP"; then
3627 if test "${ac_cv_prog_CPP+set}" = set; then
3628 $as_echo_n "(cached) " >&6
3629 else
3630 # Double quotes because CPP needs to be expanded
3631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3632 do
3633 ac_preproc_ok=false
3634 for ac_c_preproc_warn_flag in '' yes
3635 do
3636 # Use a header file that comes with gcc, so configuring glibc
3637 # with a fresh cross-compiler works.
3638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3639 # <limits.h> exists even on freestanding compilers.
3640 # On the NeXT, cc -E runs the code through the compiler's parser,
3641 # not just through cpp. "Syntax error" is here to catch this case.
3642 cat >conftest.$ac_ext <<_ACEOF
3643 /* confdefs.h. */
3644 _ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3648 #ifdef __STDC__
3649 # include <limits.h>
3650 #else
3651 # include <assert.h>
3652 #endif
3653 Syntax error
3654 _ACEOF
3655 if { (ac_try="$ac_cpp conftest.$ac_ext"
3656 case "(($ac_try" in
3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3659 esac
3660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3661 $as_echo "$ac_try_echo") >&5
3662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3663 ac_status=$?
3664 grep -v '^ *+' conftest.er1 >conftest.err
3665 rm -f conftest.er1
3666 cat conftest.err >&5
3667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } >/dev/null && {
3669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3670 test ! -s conftest.err
3671 }; then
3672 :
3673 else
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3676
3677 # Broken: fails on valid input.
3678 continue
3679 fi
3680
3681 rm -f conftest.err conftest.$ac_ext
3682
3683 # OK, works on sane cases. Now check whether nonexistent headers
3684 # can be detected and how.
3685 cat >conftest.$ac_ext <<_ACEOF
3686 /* confdefs.h. */
3687 _ACEOF
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3691 #include <ac_nonexistent.h>
3692 _ACEOF
3693 if { (ac_try="$ac_cpp conftest.$ac_ext"
3694 case "(($ac_try" in
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3697 esac
3698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3699 $as_echo "$ac_try_echo") >&5
3700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3701 ac_status=$?
3702 grep -v '^ *+' conftest.er1 >conftest.err
3703 rm -f conftest.er1
3704 cat conftest.err >&5
3705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } >/dev/null && {
3707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3708 test ! -s conftest.err
3709 }; then
3710 # Broken: success on invalid input.
3711 continue
3712 else
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3715
3716 # Passes both tests.
3717 ac_preproc_ok=:
3718 break
3719 fi
3720
3721 rm -f conftest.err conftest.$ac_ext
3722
3723 done
3724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3725 rm -f conftest.err conftest.$ac_ext
3726 if $ac_preproc_ok; then
3727 break
3728 fi
3729
3730 done
3731 ac_cv_prog_CPP=$CPP
3732
3733 fi
3734 CPP=$ac_cv_prog_CPP
3735 else
3736 ac_cv_prog_CPP=$CPP
3737 fi
3738 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3739 $as_echo "$CPP" >&6; }
3740 ac_preproc_ok=false
3741 for ac_c_preproc_warn_flag in '' yes
3742 do
3743 # Use a header file that comes with gcc, so configuring glibc
3744 # with a fresh cross-compiler works.
3745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3746 # <limits.h> exists even on freestanding compilers.
3747 # On the NeXT, cc -E runs the code through the compiler's parser,
3748 # not just through cpp. "Syntax error" is here to catch this case.
3749 cat >conftest.$ac_ext <<_ACEOF
3750 /* confdefs.h. */
3751 _ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 #ifdef __STDC__
3756 # include <limits.h>
3757 #else
3758 # include <assert.h>
3759 #endif
3760 Syntax error
3761 _ACEOF
3762 if { (ac_try="$ac_cpp conftest.$ac_ext"
3763 case "(($ac_try" in
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3766 esac
3767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3768 $as_echo "$ac_try_echo") >&5
3769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3770 ac_status=$?
3771 grep -v '^ *+' conftest.er1 >conftest.err
3772 rm -f conftest.er1
3773 cat conftest.err >&5
3774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } >/dev/null && {
3776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3777 test ! -s conftest.err
3778 }; then
3779 :
3780 else
3781 $as_echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 # Broken: fails on valid input.
3785 continue
3786 fi
3787
3788 rm -f conftest.err conftest.$ac_ext
3789
3790 # OK, works on sane cases. Now check whether nonexistent headers
3791 # can be detected and how.
3792 cat >conftest.$ac_ext <<_ACEOF
3793 /* confdefs.h. */
3794 _ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>conftest.$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3798 #include <ac_nonexistent.h>
3799 _ACEOF
3800 if { (ac_try="$ac_cpp conftest.$ac_ext"
3801 case "(($ac_try" in
3802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803 *) ac_try_echo=$ac_try;;
3804 esac
3805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3806 $as_echo "$ac_try_echo") >&5
3807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3808 ac_status=$?
3809 grep -v '^ *+' conftest.er1 >conftest.err
3810 rm -f conftest.er1
3811 cat conftest.err >&5
3812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); } >/dev/null && {
3814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3815 test ! -s conftest.err
3816 }; then
3817 # Broken: success on invalid input.
3818 continue
3819 else
3820 $as_echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.$ac_ext >&5
3822
3823 # Passes both tests.
3824 ac_preproc_ok=:
3825 break
3826 fi
3827
3828 rm -f conftest.err conftest.$ac_ext
3829
3830 done
3831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3832 rm -f conftest.err conftest.$ac_ext
3833 if $ac_preproc_ok; then
3834 :
3835 else
3836 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3839 See \`config.log' for more details." >&5
3840 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3841 See \`config.log' for more details." >&2;}
3842 { (exit 1); exit 1; }; }; }
3843 fi
3844
3845 ac_ext=c
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850
3851
3852 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3854 if test "${ac_cv_path_GREP+set}" = set; then
3855 $as_echo_n "(cached) " >&6
3856 else
3857 if test -z "$GREP"; then
3858 ac_path_GREP_found=false
3859 # Loop through the user's path and test for each of PROGNAME-LIST
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3862 do
3863 IFS=$as_save_IFS
3864 test -z "$as_dir" && as_dir=.
3865 for ac_prog in grep ggrep; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3868 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3869 # Check for GNU ac_path_GREP and select it if it is found.
3870 # Check for GNU $ac_path_GREP
3871 case `"$ac_path_GREP" --version 2>&1` in
3872 *GNU*)
3873 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3874 *)
3875 ac_count=0
3876 $as_echo_n 0123456789 >"conftest.in"
3877 while :
3878 do
3879 cat "conftest.in" "conftest.in" >"conftest.tmp"
3880 mv "conftest.tmp" "conftest.in"
3881 cp "conftest.in" "conftest.nl"
3882 $as_echo 'GREP' >> "conftest.nl"
3883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3885 ac_count=`expr $ac_count + 1`
3886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3887 # Best one so far, save it but keep looking for a better one
3888 ac_cv_path_GREP="$ac_path_GREP"
3889 ac_path_GREP_max=$ac_count
3890 fi
3891 # 10*(2^10) chars as input seems more than enough
3892 test $ac_count -gt 10 && break
3893 done
3894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3895 esac
3896
3897 $ac_path_GREP_found && break 3
3898 done
3899 done
3900 done
3901 IFS=$as_save_IFS
3902 if test -z "$ac_cv_path_GREP"; then
3903 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3904 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3905 { (exit 1); exit 1; }; }
3906 fi
3907 else
3908 ac_cv_path_GREP=$GREP
3909 fi
3910
3911 fi
3912 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3913 $as_echo "$ac_cv_path_GREP" >&6; }
3914 GREP="$ac_cv_path_GREP"
3915
3916
3917 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3918 $as_echo_n "checking for egrep... " >&6; }
3919 if test "${ac_cv_path_EGREP+set}" = set; then
3920 $as_echo_n "(cached) " >&6
3921 else
3922 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3923 then ac_cv_path_EGREP="$GREP -E"
3924 else
3925 if test -z "$EGREP"; then
3926 ac_path_EGREP_found=false
3927 # Loop through the user's path and test for each of PROGNAME-LIST
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3930 do
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
3933 for ac_prog in egrep; do
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3936 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3937 # Check for GNU ac_path_EGREP and select it if it is found.
3938 # Check for GNU $ac_path_EGREP
3939 case `"$ac_path_EGREP" --version 2>&1` in
3940 *GNU*)
3941 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3942 *)
3943 ac_count=0
3944 $as_echo_n 0123456789 >"conftest.in"
3945 while :
3946 do
3947 cat "conftest.in" "conftest.in" >"conftest.tmp"
3948 mv "conftest.tmp" "conftest.in"
3949 cp "conftest.in" "conftest.nl"
3950 $as_echo 'EGREP' >> "conftest.nl"
3951 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3953 ac_count=`expr $ac_count + 1`
3954 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3955 # Best one so far, save it but keep looking for a better one
3956 ac_cv_path_EGREP="$ac_path_EGREP"
3957 ac_path_EGREP_max=$ac_count
3958 fi
3959 # 10*(2^10) chars as input seems more than enough
3960 test $ac_count -gt 10 && break
3961 done
3962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3963 esac
3964
3965 $ac_path_EGREP_found && break 3
3966 done
3967 done
3968 done
3969 IFS=$as_save_IFS
3970 if test -z "$ac_cv_path_EGREP"; then
3971 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3972 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3973 { (exit 1); exit 1; }; }
3974 fi
3975 else
3976 ac_cv_path_EGREP=$EGREP
3977 fi
3978
3979 fi
3980 fi
3981 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3982 $as_echo "$ac_cv_path_EGREP" >&6; }
3983 EGREP="$ac_cv_path_EGREP"
3984
3985
3986 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3987 $as_echo_n "checking for ANSI C header files... " >&6; }
3988 if test "${ac_cv_header_stdc+set}" = set; then
3989 $as_echo_n "(cached) " >&6
3990 else
3991 cat >conftest.$ac_ext <<_ACEOF
3992 /* confdefs.h. */
3993 _ACEOF
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3997 #include <stdlib.h>
3998 #include <stdarg.h>
3999 #include <string.h>
4000 #include <float.h>
4001
4002 int
4003 main ()
4004 {
4005
4006 ;
4007 return 0;
4008 }
4009 _ACEOF
4010 rm -f conftest.$ac_objext
4011 if { (ac_try="$ac_compile"
4012 case "(($ac_try" in
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4015 esac
4016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4017 $as_echo "$ac_try_echo") >&5
4018 (eval "$ac_compile") 2>conftest.er1
4019 ac_status=$?
4020 grep -v '^ *+' conftest.er1 >conftest.err
4021 rm -f conftest.er1
4022 cat conftest.err >&5
4023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } && {
4025 test -z "$ac_c_werror_flag" ||
4026 test ! -s conftest.err
4027 } && test -s conftest.$ac_objext; then
4028 ac_cv_header_stdc=yes
4029 else
4030 $as_echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4032
4033 ac_cv_header_stdc=no
4034 fi
4035
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037
4038 if test $ac_cv_header_stdc = yes; then
4039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4040 cat >conftest.$ac_ext <<_ACEOF
4041 /* confdefs.h. */
4042 _ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 #include <string.h>
4047
4048 _ACEOF
4049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4050 $EGREP "memchr" >/dev/null 2>&1; then
4051 :
4052 else
4053 ac_cv_header_stdc=no
4054 fi
4055 rm -f conftest*
4056
4057 fi
4058
4059 if test $ac_cv_header_stdc = yes; then
4060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4061 cat >conftest.$ac_ext <<_ACEOF
4062 /* confdefs.h. */
4063 _ACEOF
4064 cat confdefs.h >>conftest.$ac_ext
4065 cat >>conftest.$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4067 #include <stdlib.h>
4068
4069 _ACEOF
4070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4071 $EGREP "free" >/dev/null 2>&1; then
4072 :
4073 else
4074 ac_cv_header_stdc=no
4075 fi
4076 rm -f conftest*
4077
4078 fi
4079
4080 if test $ac_cv_header_stdc = yes; then
4081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4082 if test "$cross_compiling" = yes; then
4083 :
4084 else
4085 cat >conftest.$ac_ext <<_ACEOF
4086 /* confdefs.h. */
4087 _ACEOF
4088 cat confdefs.h >>conftest.$ac_ext
4089 cat >>conftest.$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4091 #include <ctype.h>
4092 #include <stdlib.h>
4093 #if ((' ' & 0x0FF) == 0x020)
4094 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4095 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4096 #else
4097 # define ISLOWER(c) \
4098 (('a' <= (c) && (c) <= 'i') \
4099 || ('j' <= (c) && (c) <= 'r') \
4100 || ('s' <= (c) && (c) <= 'z'))
4101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4102 #endif
4103
4104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4105 int
4106 main ()
4107 {
4108 int i;
4109 for (i = 0; i < 256; i++)
4110 if (XOR (islower (i), ISLOWER (i))
4111 || toupper (i) != TOUPPER (i))
4112 return 2;
4113 return 0;
4114 }
4115 _ACEOF
4116 rm -f conftest$ac_exeext
4117 if { (ac_try="$ac_link"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4123 $as_echo "$ac_try_echo") >&5
4124 (eval "$ac_link") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4128 { (case "(($ac_try" in
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4131 esac
4132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133 $as_echo "$ac_try_echo") >&5
4134 (eval "$ac_try") 2>&5
4135 ac_status=$?
4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); }; }; then
4138 :
4139 else
4140 $as_echo "$as_me: program exited with status $ac_status" >&5
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4143
4144 ( exit $ac_status )
4145 ac_cv_header_stdc=no
4146 fi
4147 rm -rf conftest.dSYM
4148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4149 fi
4150
4151
4152 fi
4153 fi
4154 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4155 $as_echo "$ac_cv_header_stdc" >&6; }
4156 if test $ac_cv_header_stdc = yes; then
4157
4158 cat >>confdefs.h <<\_ACEOF
4159 #define STDC_HEADERS 1
4160 _ACEOF
4161
4162 fi
4163
4164 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4175 inttypes.h stdint.h unistd.h
4176 do
4177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4179 $as_echo_n "checking for $ac_header... " >&6; }
4180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4181 $as_echo_n "(cached) " >&6
4182 else
4183 cat >conftest.$ac_ext <<_ACEOF
4184 /* confdefs.h. */
4185 _ACEOF
4186 cat confdefs.h >>conftest.$ac_ext
4187 cat >>conftest.$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 $ac_includes_default
4190
4191 #include <$ac_header>
4192 _ACEOF
4193 rm -f conftest.$ac_objext
4194 if { (ac_try="$ac_compile"
4195 case "(($ac_try" in
4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4198 esac
4199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4200 $as_echo "$ac_try_echo") >&5
4201 (eval "$ac_compile") 2>conftest.er1
4202 ac_status=$?
4203 grep -v '^ *+' conftest.er1 >conftest.err
4204 rm -f conftest.er1
4205 cat conftest.err >&5
4206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && {
4208 test -z "$ac_c_werror_flag" ||
4209 test ! -s conftest.err
4210 } && test -s conftest.$ac_objext; then
4211 eval "$as_ac_Header=yes"
4212 else
4213 $as_echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.$ac_ext >&5
4215
4216 eval "$as_ac_Header=no"
4217 fi
4218
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 ac_res=`eval 'as_val=${'$as_ac_Header'}
4222 $as_echo "$as_val"'`
4223 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4224 $as_echo "$ac_res" >&6; }
4225 as_val=`eval 'as_val=${'$as_ac_Header'}
4226 $as_echo "$as_val"'`
4227 if test "x$as_val" = x""yes; then
4228 cat >>confdefs.h <<_ACEOF
4229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4230 _ACEOF
4231
4232 fi
4233
4234 done
4235
4236
4237 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4239 if test "${ac_cv_prog_cc_c99+set}" = set; then
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_cv_prog_cc_c99=no
4243 ac_save_CC=$CC
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdbool.h>
4252 #include <stdlib.h>
4253 #include <wchar.h>
4254 #include <stdio.h>
4255
4256 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4257 #define debug(...) fprintf (stderr, __VA_ARGS__)
4258 #define showlist(...) puts (#__VA_ARGS__)
4259 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4260 static void
4261 test_varargs_macros (void)
4262 {
4263 int x = 1234;
4264 int y = 5678;
4265 debug ("Flag");
4266 debug ("X = %d\n", x);
4267 showlist (The first, second, and third items.);
4268 report (x>y, "x is %d but y is %d", x, y);
4269 }
4270
4271 // Check long long types.
4272 #define BIG64 18446744073709551615ull
4273 #define BIG32 4294967295ul
4274 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4275 #if !BIG_OK
4276 your preprocessor is broken;
4277 #endif
4278 #if BIG_OK
4279 #else
4280 your preprocessor is broken;
4281 #endif
4282 static long long int bignum = -9223372036854775807LL;
4283 static unsigned long long int ubignum = BIG64;
4284
4285 struct incomplete_array
4286 {
4287 int datasize;
4288 double data[];
4289 };
4290
4291 struct named_init {
4292 int number;
4293 const wchar_t *name;
4294 double average;
4295 };
4296
4297 typedef const char *ccp;
4298
4299 static inline int
4300 test_restrict (ccp restrict text)
4301 {
4302 // See if C++-style comments work.
4303 // Iterate through items via the restricted pointer.
4304 // Also check for declarations in for loops.
4305 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4306 continue;
4307 return 0;
4308 }
4309
4310 // Check varargs and va_copy.
4311 static void
4312 test_varargs (const char *format, ...)
4313 {
4314 va_list args;
4315 va_start (args, format);
4316 va_list args_copy;
4317 va_copy (args_copy, args);
4318
4319 const char *str;
4320 int number;
4321 float fnumber;
4322
4323 while (*format)
4324 {
4325 switch (*format++)
4326 {
4327 case 's': // string
4328 str = va_arg (args_copy, const char *);
4329 break;
4330 case 'd': // int
4331 number = va_arg (args_copy, int);
4332 break;
4333 case 'f': // float
4334 fnumber = va_arg (args_copy, double);
4335 break;
4336 default:
4337 break;
4338 }
4339 }
4340 va_end (args_copy);
4341 va_end (args);
4342 }
4343
4344 int
4345 main ()
4346 {
4347
4348 // Check bool.
4349 _Bool success = false;
4350
4351 // Check restrict.
4352 if (test_restrict ("String literal") == 0)
4353 success = true;
4354 char *restrict newvar = "Another string";
4355
4356 // Check varargs.
4357 test_varargs ("s, d' f .", "string", 65, 34.234);
4358 test_varargs_macros ();
4359
4360 // Check flexible array members.
4361 struct incomplete_array *ia =
4362 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4363 ia->datasize = 10;
4364 for (int i = 0; i < ia->datasize; ++i)
4365 ia->data[i] = i * 1.234;
4366
4367 // Check named initializers.
4368 struct named_init ni = {
4369 .number = 34,
4370 .name = L"Test wide string",
4371 .average = 543.34343,
4372 };
4373
4374 ni.number = 58;
4375
4376 int dynamic_array[ni.number];
4377 dynamic_array[ni.number - 1] = 543;
4378
4379 // work around unused variable warnings
4380 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4381 || dynamic_array[ni.number - 1] != 543);
4382
4383 ;
4384 return 0;
4385 }
4386 _ACEOF
4387 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4388 do
4389 CC="$ac_save_CC $ac_arg"
4390 rm -f conftest.$ac_objext
4391 if { (ac_try="$ac_compile"
4392 case "(($ac_try" in
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4395 esac
4396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4397 $as_echo "$ac_try_echo") >&5
4398 (eval "$ac_compile") 2>conftest.er1
4399 ac_status=$?
4400 grep -v '^ *+' conftest.er1 >conftest.err
4401 rm -f conftest.er1
4402 cat conftest.err >&5
4403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } && {
4405 test -z "$ac_c_werror_flag" ||
4406 test ! -s conftest.err
4407 } && test -s conftest.$ac_objext; then
4408 ac_cv_prog_cc_c99=$ac_arg
4409 else
4410 $as_echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.$ac_ext >&5
4412
4413
4414 fi
4415
4416 rm -f core conftest.err conftest.$ac_objext
4417 test "x$ac_cv_prog_cc_c99" != "xno" && break
4418 done
4419 rm -f conftest.$ac_ext
4420 CC=$ac_save_CC
4421
4422 fi
4423 # AC_CACHE_VAL
4424 case "x$ac_cv_prog_cc_c99" in
4425 x)
4426 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4427 $as_echo "none needed" >&6; } ;;
4428 xno)
4429 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4430 $as_echo "unsupported" >&6; } ;;
4431 *)
4432 CC="$CC $ac_cv_prog_cc_c99"
4433 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4434 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4435 esac
4436
4437
4438
4439 # Make sure we can run config.sub.
4440 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4441 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4442 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4443 { (exit 1); exit 1; }; }
4444
4445 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4446 $as_echo_n "checking build system type... " >&6; }
4447 if test "${ac_cv_build+set}" = set; then
4448 $as_echo_n "(cached) " >&6
4449 else
4450 ac_build_alias=$build_alias
4451 test "x$ac_build_alias" = x &&
4452 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4453 test "x$ac_build_alias" = x &&
4454 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4455 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4456 { (exit 1); exit 1; }; }
4457 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4458 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4459 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4460 { (exit 1); exit 1; }; }
4461
4462 fi
4463 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4464 $as_echo "$ac_cv_build" >&6; }
4465 case $ac_cv_build in
4466 *-*-*) ;;
4467 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4468 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4469 { (exit 1); exit 1; }; };;
4470 esac
4471 build=$ac_cv_build
4472 ac_save_IFS=$IFS; IFS='-'
4473 set x $ac_cv_build
4474 shift
4475 build_cpu=$1
4476 build_vendor=$2
4477 shift; shift
4478 # Remember, the first character of IFS is used to create $*,
4479 # except with old shells:
4480 build_os=$*
4481 IFS=$ac_save_IFS
4482 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4483
4484
4485 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4486 $as_echo_n "checking host system type... " >&6; }
4487 if test "${ac_cv_host+set}" = set; then
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test "x$host_alias" = x; then
4491 ac_cv_host=$ac_cv_build
4492 else
4493 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4494 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4495 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4496 { (exit 1); exit 1; }; }
4497 fi
4498
4499 fi
4500 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4501 $as_echo "$ac_cv_host" >&6; }
4502 case $ac_cv_host in
4503 *-*-*) ;;
4504 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4505 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4506 { (exit 1); exit 1; }; };;
4507 esac
4508 host=$ac_cv_host
4509 ac_save_IFS=$IFS; IFS='-'
4510 set x $ac_cv_host
4511 shift
4512 host_cpu=$1
4513 host_vendor=$2
4514 shift; shift
4515 # Remember, the first character of IFS is used to create $*,
4516 # except with old shells:
4517 host_os=$*
4518 IFS=$ac_save_IFS
4519 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4520
4521
4522
4523
4524
4525 if test "x$GCC" = xyes ; then
4526 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4527 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4528 -Wbad-function-cast"
4529 case `$CC -dumpversion` in
4530 3.4.* | 4.*)
4531 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4532 ;;
4533 esac
4534 else
4535 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4536 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4537 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4538 $as_echo_n "(cached) " >&6
4539 else
4540 cat >conftest.$ac_ext <<_ACEOF
4541 /* confdefs.h. */
4542 _ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4546 $ac_includes_default
4547 int
4548 main ()
4549 {
4550 #ifndef __SUNPRO_C
4551 (void) __SUNPRO_C;
4552 #endif
4553
4554 ;
4555 return 0;
4556 }
4557 _ACEOF
4558 rm -f conftest.$ac_objext
4559 if { (ac_try="$ac_compile"
4560 case "(($ac_try" in
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4563 esac
4564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4565 $as_echo "$ac_try_echo") >&5
4566 (eval "$ac_compile") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } && {
4573 test -z "$ac_c_werror_flag" ||
4574 test ! -s conftest.err
4575 } && test -s conftest.$ac_objext; then
4576 ac_cv_have_decl___SUNPRO_C=yes
4577 else
4578 $as_echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4580
4581 ac_cv_have_decl___SUNPRO_C=no
4582 fi
4583
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 fi
4586 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4587 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4588 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4589 SUNCC="yes"
4590 else
4591 SUNCC="no"
4592 fi
4593
4594 if test "x$SUNCC" = "xyes"; then
4595 CWARNFLAGS="-v"
4596 fi
4597 fi
4598
4599 # Check whether --enable-silent-rules was given.
4600 if test "${enable_silent_rules+set}" = set; then
4601 enableval=$enable_silent_rules;
4602 fi
4603
4604 case $enable_silent_rules in
4605 yes) AM_DEFAULT_VERBOSITY=0;;
4606 no) AM_DEFAULT_VERBOSITY=1;;
4607 *) AM_DEFAULT_VERBOSITY=0;;
4608 esac
4609 AM_BACKSLASH='\'
4610
4611
4612
4613
4614
4615
4616
4617 # Check whether --enable-strict-compilation was given.
4618 if test "${enable_strict_compilation+set}" = set; then
4619 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4620 else
4621 STRICT_COMPILE=no
4622 fi
4623
4624 if test "x$STRICT_COMPILE" = "xyes"; then
4625 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4626 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4627 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4628 $as_echo_n "(cached) " >&6
4629 else
4630 cat >conftest.$ac_ext <<_ACEOF
4631 /* confdefs.h. */
4632 _ACEOF
4633 cat confdefs.h >>conftest.$ac_ext
4634 cat >>conftest.$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4636 $ac_includes_default
4637 int
4638 main ()
4639 {
4640 #ifndef __SUNPRO_C
4641 (void) __SUNPRO_C;
4642 #endif
4643
4644 ;
4645 return 0;
4646 }
4647 _ACEOF
4648 rm -f conftest.$ac_objext
4649 if { (ac_try="$ac_compile"
4650 case "(($ac_try" in
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4653 esac
4654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4655 $as_echo "$ac_try_echo") >&5
4656 (eval "$ac_compile") 2>conftest.er1
4657 ac_status=$?
4658 grep -v '^ *+' conftest.er1 >conftest.err
4659 rm -f conftest.er1
4660 cat conftest.err >&5
4661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } && {
4663 test -z "$ac_c_werror_flag" ||
4664 test ! -s conftest.err
4665 } && test -s conftest.$ac_objext; then
4666 ac_cv_have_decl___SUNPRO_C=yes
4667 else
4668 $as_echo "$as_me: failed program was:" >&5
4669 sed 's/^/| /' conftest.$ac_ext >&5
4670
4671 ac_cv_have_decl___SUNPRO_C=no
4672 fi
4673
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 fi
4676 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4677 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4678 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4679 SUNCC="yes"
4680 else
4681 SUNCC="no"
4682 fi
4683
4684 { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4685 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4686 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4687 $as_echo_n "(cached) " >&6
4688 else
4689 cat >conftest.$ac_ext <<_ACEOF
4690 /* confdefs.h. */
4691 _ACEOF
4692 cat confdefs.h >>conftest.$ac_ext
4693 cat >>conftest.$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 $ac_includes_default
4696 int
4697 main ()
4698 {
4699 #ifndef __INTEL_COMPILER
4700 (void) __INTEL_COMPILER;
4701 #endif
4702
4703 ;
4704 return 0;
4705 }
4706 _ACEOF
4707 rm -f conftest.$ac_objext
4708 if { (ac_try="$ac_compile"
4709 case "(($ac_try" in
4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711 *) ac_try_echo=$ac_try;;
4712 esac
4713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4714 $as_echo "$ac_try_echo") >&5
4715 (eval "$ac_compile") 2>conftest.er1
4716 ac_status=$?
4717 grep -v '^ *+' conftest.er1 >conftest.err
4718 rm -f conftest.er1
4719 cat conftest.err >&5
4720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } && {
4722 test -z "$ac_c_werror_flag" ||
4723 test ! -s conftest.err
4724 } && test -s conftest.$ac_objext; then
4725 ac_cv_have_decl___INTEL_COMPILER=yes
4726 else
4727 $as_echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4729
4730 ac_cv_have_decl___INTEL_COMPILER=no
4731 fi
4732
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734 fi
4735 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4736 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4737 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4738 INTELCC="yes"
4739 else
4740 INTELCC="no"
4741 fi
4742
4743 if test "x$GCC" = xyes ; then
4744 STRICT_CFLAGS="-pedantic -Werror"
4745 elif test "x$SUNCC" = "xyes"; then
4746 STRICT_CFLAGS="-errwarn"
4747 elif test "x$INTELCC" = "xyes"; then
4748 STRICT_CFLAGS="-Werror"
4749 fi
4750 fi
4751 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4752
4753
4754
4755
4756 # Check whether --with-release-version was given.
4757 if test "${with_release_version+set}" = set; then
4758 withval=$with_release_version; RELEASE_VERSION="$withval"
4759 else
4760 RELEASE_VERSION=""
4761 fi
4762
4763 if test "x$RELEASE_VERSION" != "x"; then
4764 PACKAGE="$PACKAGE-$RELEASE_VERSION"
4765 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4766 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4767 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4768 fi
4769
4770 cat >>confdefs.h <<_ACEOF
4771 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4772 _ACEOF
4773
4774 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4775 if test "x$PVM" = "x"; then
4776 PVM="0"
4777 fi
4778
4779 cat >>confdefs.h <<_ACEOF
4780 #define PACKAGE_VERSION_MINOR $PVM
4781 _ACEOF
4782
4783 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4784 if test "x$PVP" = "x"; then
4785 PVP="0"
4786 fi
4787
4788 cat >>confdefs.h <<_ACEOF
4789 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4790 _ACEOF
4791
4792
4793
4794 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4795 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4796 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4797
4798 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4799
4800
4801
4802
4803
4804 if test x$APP_MAN_SUFFIX = x ; then
4805 APP_MAN_SUFFIX=1
4806 fi
4807 if test x$APP_MAN_DIR = x ; then
4808 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4809 fi
4810
4811 if test x$LIB_MAN_SUFFIX = x ; then
4812 LIB_MAN_SUFFIX=3
4813 fi
4814 if test x$LIB_MAN_DIR = x ; then
4815 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4816 fi
4817
4818 if test x$FILE_MAN_SUFFIX = x ; then
4819 case $host_os in
4820 solaris*) FILE_MAN_SUFFIX=4 ;;
4821 *) FILE_MAN_SUFFIX=5 ;;
4822 esac
4823 fi
4824 if test x$FILE_MAN_DIR = x ; then
4825 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4826 fi
4827
4828 if test x$MISC_MAN_SUFFIX = x ; then
4829 case $host_os in
4830 solaris*) MISC_MAN_SUFFIX=5 ;;
4831 *) MISC_MAN_SUFFIX=7 ;;
4832 esac
4833 fi
4834 if test x$MISC_MAN_DIR = x ; then
4835 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4836 fi
4837
4838 if test x$DRIVER_MAN_SUFFIX = x ; then
4839 case $host_os in
4840 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4841 *) DRIVER_MAN_SUFFIX=4 ;;
4842 esac
4843 fi
4844 if test x$DRIVER_MAN_DIR = x ; then
4845 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4846 fi
4847
4848 if test x$ADMIN_MAN_SUFFIX = x ; then
4849 case $host_os in
4850 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4851 *) ADMIN_MAN_SUFFIX=8 ;;
4852 esac
4853 fi
4854 if test x$ADMIN_MAN_DIR = x ; then
4855 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4856 fi
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874 # Find a good install program. We prefer a C program (faster),
4875 # so one script is as good as another. But avoid the broken or
4876 # incompatible versions:
4877 # SysV /etc/install, /usr/sbin/install
4878 # SunOS /usr/etc/install
4879 # IRIX /sbin/install
4880 # AIX /bin/install
4881 # AmigaOS /C/install, which installs bootblocks on floppy discs
4882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4885 # OS/2's system install, which has a completely different semantic
4886 # ./install, which can be erroneously created by make from ./install.sh.
4887 # Reject install programs that cannot install multiple files.
4888 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4889 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4890 if test -z "$INSTALL"; then
4891 if test "${ac_cv_path_install+set}" = set; then
4892 $as_echo_n "(cached) " >&6
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 # Account for people who put trailing slashes in PATH elements.
4900 case $as_dir/ in
4901 ./ | .// | /cC/* | \
4902 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4903 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4904 /usr/ucb/* ) ;;
4905 *)
4906 # OSF1 and SCO ODT 3.0 have their own names for install.
4907 # Don't use installbsd from OSF since it installs stuff as root
4908 # by default.
4909 for ac_prog in ginstall scoinst install; do
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4912 if test $ac_prog = install &&
4913 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4914 # AIX install. It has an incompatible calling convention.
4915 :
4916 elif test $ac_prog = install &&
4917 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4918 # program-specific install script used by HP pwplus--don't use.
4919 :
4920 else
4921 rm -rf conftest.one conftest.two conftest.dir
4922 echo one > conftest.one
4923 echo two > conftest.two
4924 mkdir conftest.dir
4925 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4926 test -s conftest.one && test -s conftest.two &&
4927 test -s conftest.dir/conftest.one &&
4928 test -s conftest.dir/conftest.two
4929 then
4930 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4931 break 3
4932 fi
4933 fi
4934 fi
4935 done
4936 done
4937 ;;
4938 esac
4939
4940 done
4941 IFS=$as_save_IFS
4942
4943 rm -rf conftest.one conftest.two conftest.dir
4944
4945 fi
4946 if test "${ac_cv_path_install+set}" = set; then
4947 INSTALL=$ac_cv_path_install
4948 else
4949 # As a last resort, use the slow shell script. Don't cache a
4950 # value for INSTALL within a source directory, because that will
4951 # break other packages using the cache if that directory is
4952 # removed, or if the value is a relative name.
4953 INSTALL=$ac_install_sh
4954 fi
4955 fi
4956 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4957 $as_echo "$INSTALL" >&6; }
4958
4959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4960 # It thinks the first close brace ends the variable substitution.
4961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4962
4963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4964
4965 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4966
4967
4968 # Require X.Org's font util macros 1.1 or later
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4990 $as_echo_n "(cached) " >&6
4991 else
4992 case $PKG_CONFIG in
4993 [\\/]* | ?:[\\/]*)
4994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4995 ;;
4996 *)
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH
4999 do
5000 IFS=$as_save_IFS
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 break 2
5007 fi
5008 done
5009 done
5010 IFS=$as_save_IFS
5011
5012 ;;
5013 esac
5014 fi
5015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5016 if test -n "$PKG_CONFIG"; then
5017 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5018 $as_echo "$PKG_CONFIG" >&6; }
5019 else
5020 { $as_echo "$as_me:$LINENO: result: no" >&5
5021 $as_echo "no" >&6; }
5022 fi
5023
5024
5025 fi
5026 if test -z "$ac_cv_path_PKG_CONFIG"; then
5027 ac_pt_PKG_CONFIG=$PKG_CONFIG
5028 # Extract the first word of "pkg-config", so it can be a program name with args.
5029 set dummy pkg-config; ac_word=$2
5030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5033 $as_echo_n "(cached) " >&6
5034 else
5035 case $ac_pt_PKG_CONFIG in
5036 [\\/]* | ?:[\\/]*)
5037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5038 ;;
5039 *)
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5042 do
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5050 fi
5051 done
5052 done
5053 IFS=$as_save_IFS
5054
5055 ;;
5056 esac
5057 fi
5058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5059 if test -n "$ac_pt_PKG_CONFIG"; then
5060 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5061 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5062 else
5063 { $as_echo "$as_me:$LINENO: result: no" >&5
5064 $as_echo "no" >&6; }
5065 fi
5066
5067 if test "x$ac_pt_PKG_CONFIG" = x; then
5068 PKG_CONFIG=""
5069 else
5070 case $cross_compiling:$ac_tool_warned in
5071 yes:)
5072 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5075 esac
5076 PKG_CONFIG=$ac_pt_PKG_CONFIG
5077 fi
5078 else
5079 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5080 fi
5081
5082 fi
5083 if test -n "$PKG_CONFIG"; then
5084 _pkg_min_version=0.9.0
5085 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5086 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5087 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5088 { $as_echo "$as_me:$LINENO: result: yes" >&5
5089 $as_echo "yes" >&6; }
5090 else
5091 { $as_echo "$as_me:$LINENO: result: no" >&5
5092 $as_echo "no" >&6; }
5093 PKG_CONFIG=""
5094 fi
5095
5096 fi
5097
5098
5099
5100 { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
5101 $as_echo_n "checking for root directory for font files... " >&6; }
5102
5103 # Check whether --with-fontrootdir was given.
5104 if test "${with_fontrootdir+set}" = set; then
5105 withval=$with_fontrootdir; FONTROOTDIR="$withval"
5106 fi
5107
5108 # if --with-fontrootdir not specified...
5109 if test "x${FONTROOTDIR}" = "x"; then
5110 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
5111 fi
5112 # ...and if pkg-config didn't find fontdir in fontutil.pc...
5113 if test "x${FONTROOTDIR}" = "x"; then
5114 FONTROOTDIR="${datadir}/fonts/X11"
5115 fi
5116
5117 { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
5118 $as_echo "${FONTROOTDIR}" >&6; }
5119
5120
5121
5122
5123 { $as_echo "$as_me:$LINENO: checking for directory for 100dpi files" >&5
5124 $as_echo_n "checking for directory for 100dpi files... " >&6; }
5125
5126 # Check whether --with-fontdir was given.
5127 if test "${with_fontdir+set}" = set; then
5128 withval=$with_fontdir; FONTDIR="${withval}"
5129 else
5130 FONTDIR='${FONTROOTDIR}/100dpi'
5131 fi
5132
5133
5134 { $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5
5135 $as_echo "${FONTDIR}" >&6; }
5136
5137
5138
5139
5140 # Extract the first word of "fc-cache", so it can be a program name with args.
5141 set dummy fc-cache; ac_word=$2
5142 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_path_FCCACHE+set}" = set; then
5145 $as_echo_n "(cached) " >&6
5146 else
5147 case $FCCACHE in
5148 [\\/]* | ?:[\\/]*)
5149 ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
5150 ;;
5151 *)
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5154 do
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
5160 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5162 fi
5163 done
5164 done
5165 IFS=$as_save_IFS
5166
5167 ;;
5168 esac
5169 fi
5170 FCCACHE=$ac_cv_path_FCCACHE
5171 if test -n "$FCCACHE"; then
5172 { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
5173 $as_echo "$FCCACHE" >&6; }
5174 else
5175 { $as_echo "$as_me:$LINENO: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179
5180 FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
5181 if test x"$FCCACHE" = x ; then
5182 RUN_FCCACHE="${FCCACHE_WARN}"
5183 else
5184 RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
5185 RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
5186 fi
5187
5188
5189
5190 # Extract the first word of "mkfontdir", so it can be a program name with args.
5191 set dummy mkfontdir; ac_word=$2
5192 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if test "${ac_cv_path_MKFONTDIR+set}" = set; then
5195 $as_echo_n "(cached) " >&6
5196 else
5197 case $MKFONTDIR in
5198 [\\/]* | ?:[\\/]*)
5199 ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
5200 ;;
5201 *)
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 for as_dir in $PATH
5204 do
5205 IFS=$as_save_IFS
5206 test -z "$as_dir" && as_dir=.
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209 ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
5210 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 break 2
5212 fi
5213 done
5214 done
5215 IFS=$as_save_IFS
5216
5217 ;;
5218 esac
5219 fi
5220 MKFONTDIR=$ac_cv_path_MKFONTDIR
5221 if test -n "$MKFONTDIR"; then
5222 { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
5223 $as_echo "$MKFONTDIR" >&6; }
5224 else
5225 { $as_echo "$as_me:$LINENO: result: no" >&5
5226 $as_echo "no" >&6; }
5227 fi
5228
5229
5230 if test x"MKFONTDIR" = x; then
5231 { { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5
5232 $as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;}
5233 { (exit 1); exit 1; }; }
5234 fi
5235
5236
5237
5238 # Extract the first word of "bdftopcf", so it can be a program name with args.
5239 set dummy bdftopcf; ac_word=$2
5240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_path_BDFTOPCF+set}" = set; then
5243 $as_echo_n "(cached) " >&6
5244 else
5245 case $BDFTOPCF in
5246 [\\/]* | ?:[\\/]*)
5247 ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
5248 ;;
5249 *)
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5252 do
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
5258 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5260 fi
5261 done
5262 done
5263 IFS=$as_save_IFS
5264
5265 ;;
5266 esac
5267 fi
5268 BDFTOPCF=$ac_cv_path_BDFTOPCF
5269 if test -n "$BDFTOPCF"; then
5270 { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5
5271 $as_echo "$BDFTOPCF" >&6; }
5272 else
5273 { $as_echo "$as_me:$LINENO: result: no" >&5
5274 $as_echo "no" >&6; }
5275 fi
5276
5277
5278 if test x"BDFTOPCF" = x; then
5279 { { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5
5280 $as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;}
5281 { (exit 1); exit 1; }; }
5282 fi
5283
5284
5285 { $as_echo "$as_me:$LINENO: checking font compression method" >&5
5286 $as_echo_n "checking font compression method... " >&6; }
5287
5288 # Check whether --with-compression was given.
5289 if test "${with_compression+set}" = set; then
5290 withval=$with_compression; compression="$withval"
5291 else
5292 compression="yes"
5293 fi
5294
5295 if test x"$compression" = "xyes" ; then
5296 compression="gzip"
5297 fi
5298 { $as_echo "$as_me:$LINENO: result: ${compression}" >&5
5299 $as_echo "${compression}" >&6; }
5300 case ${compression} in
5301 *compress) COMPRESS_SUFFIX=".Z" ;;
5302 *gzip) COMPRESS_SUFFIX=".gz" ;;
5303 *bzip2) COMPRESS_SUFFIX=".bz2" ;;
5304 no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
5305 *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5
5306 $as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;}
5307 { (exit 1); exit 1; }; } ;;
5308 esac
5309 if test x"$COMPRESS_SUFFIX" != "x" ; then
5310
5311 # Extract the first word of "${compression}", so it can be a program name with args.
5312 set dummy ${compression}; ac_word=$2
5313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if test "${ac_cv_path_COMPRESS+set}" = set; then
5316 $as_echo_n "(cached) " >&6
5317 else
5318 case $COMPRESS in
5319 [\\/]* | ?:[\\/]*)
5320 ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
5321 ;;
5322 *)
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH
5325 do
5326 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
5331 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 break 2
5333 fi
5334 done
5335 done
5336 IFS=$as_save_IFS
5337
5338 ;;
5339 esac
5340 fi
5341 COMPRESS=$ac_cv_path_COMPRESS
5342 if test -n "$COMPRESS"; then
5343 { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5
5344 $as_echo "$COMPRESS" >&6; }
5345 else
5346 { $as_echo "$as_me:$LINENO: result: no" >&5
5347 $as_echo "no" >&6; }
5348 fi
5349
5350
5351 if test x"COMPRESS" = x; then
5352 { { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5
5353 $as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;}
5354 { (exit 1); exit 1; }; }
5355 fi
5356
5357 fi
5358
5359
5360
5361
5362
5363 # Extract the first word of "ucs2any", so it can be a program name with args.
5364 set dummy ucs2any; ac_word=$2
5365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_path_UCS2ANY+set}" = set; then
5368 $as_echo_n "(cached) " >&6
5369 else
5370 case $UCS2ANY in
5371 [\\/]* | ?:[\\/]*)
5372 ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path.
5373 ;;
5374 *)
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5377 do
5378 IFS=$as_save_IFS
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext"
5383 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 break 2
5385 fi
5386 done
5387 done
5388 IFS=$as_save_IFS
5389
5390 ;;
5391 esac
5392 fi
5393 UCS2ANY=$ac_cv_path_UCS2ANY
5394 if test -n "$UCS2ANY"; then
5395 { $as_echo "$as_me:$LINENO: result: $UCS2ANY" >&5
5396 $as_echo "$UCS2ANY" >&6; }
5397 else
5398 { $as_echo "$as_me:$LINENO: result: no" >&5
5399 $as_echo "no" >&6; }
5400 fi
5401
5402
5403 if test x"UCS2ANY" = x; then
5404 { { $as_echo "$as_me:$LINENO: error: ucs2any is required to build $PACKAGE_NAME." >&5
5405 $as_echo "$as_me: error: ucs2any is required to build $PACKAGE_NAME." >&2;}
5406 { (exit 1); exit 1; }; }
5407 fi
5408
5409
5410 pkg_failed=no
5411 { $as_echo "$as_me:$LINENO: checking for MAPS" >&5
5412 $as_echo_n "checking for MAPS... " >&6; }
5413
5414 if test -n "$MAPS_CFLAGS"; then
5415 pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS"
5416 elif test -n "$PKG_CONFIG"; then
5417 if test -n "$PKG_CONFIG" && \
5418 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5
5419 ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
5420 ac_status=$?
5421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; then
5423 pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null`
5424 else
5425 pkg_failed=yes
5426 fi
5427 else
5428 pkg_failed=untried
5429 fi
5430 if test -n "$MAPS_LIBS"; then
5431 pkg_cv_MAPS_LIBS="$MAPS_LIBS"
5432 elif test -n "$PKG_CONFIG"; then
5433 if test -n "$PKG_CONFIG" && \
5434 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5
5435 ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
5436 ac_status=$?
5437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; then
5439 pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null`
5440 else
5441 pkg_failed=yes
5442 fi
5443 else
5444 pkg_failed=untried
5445 fi
5446
5447
5448
5449 if test $pkg_failed = yes; then
5450
5451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5452 _pkg_short_errors_supported=yes
5453 else
5454 _pkg_short_errors_supported=no
5455 fi
5456 if test $_pkg_short_errors_supported = yes; then
5457 MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1`
5458 else
5459 MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1`
5460 fi
5461 # Put the nasty error message in config.log where it belongs
5462 echo "$MAPS_PKG_ERRORS" >&5
5463
5464 { { $as_echo "$as_me:$LINENO: error: Package requirements (fontutil) were not met:
5465
5466 $MAPS_PKG_ERRORS
5467
5468 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5469 installed software in a non-standard prefix.
5470
5471 Alternatively, you may set the environment variables MAPS_CFLAGS
5472 and MAPS_LIBS to avoid the need to call pkg-config.
5473 See the pkg-config man page for more details.
5474 " >&5
5475 $as_echo "$as_me: error: Package requirements (fontutil) were not met:
5476
5477 $MAPS_PKG_ERRORS
5478
5479 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5480 installed software in a non-standard prefix.
5481
5482 Alternatively, you may set the environment variables MAPS_CFLAGS
5483 and MAPS_LIBS to avoid the need to call pkg-config.
5484 See the pkg-config man page for more details.
5485 " >&2;}
5486 { (exit 1); exit 1; }; }
5487 elif test $pkg_failed = untried; then
5488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5490 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5491 is in your PATH or set the PKG_CONFIG environment variable to the full
5492 path to pkg-config.
5493
5494 Alternatively, you may set the environment variables MAPS_CFLAGS
5495 and MAPS_LIBS to avoid the need to call pkg-config.
5496 See the pkg-config man page for more details.
5497
5498 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5499 See \`config.log' for more details." >&5
5500 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5501 is in your PATH or set the PKG_CONFIG environment variable to the full
5502 path to pkg-config.
5503
5504 Alternatively, you may set the environment variables MAPS_CFLAGS
5505 and MAPS_LIBS to avoid the need to call pkg-config.
5506 See the pkg-config man page for more details.
5507
5508 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5509 See \`config.log' for more details." >&2;}
5510 { (exit 1); exit 1; }; }; }
5511 else
5512 MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS
5513 MAPS_LIBS=$pkg_cv_MAPS_LIBS
5514 { $as_echo "$as_me:$LINENO: result: yes" >&5
5515 $as_echo "yes" >&6; }
5516 :
5517 fi
5518 { $as_echo "$as_me:$LINENO: checking for ucs2any encoding data files" >&5
5519 $as_echo_n "checking for ucs2any encoding data files... " >&6; }
5520 MAPFILES_PATH=`pkg-config --variable=mapdir fontutil`
5521
5522 { $as_echo "$as_me:$LINENO: result: ${MAPFILES_PATH}" >&5
5523 $as_echo "${MAPFILES_PATH}" >&6; }
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-adobe-100dpi $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-adobe-100dpi 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