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