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