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