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