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