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