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