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