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