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