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