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