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