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