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