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